兴安优化提交

This commit is contained in:
zc
2025-07-14 15:48:19 +08:00
parent 7fe428453d
commit 25c48baa86
16 changed files with 84 additions and 29 deletions

View File

@@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectSysEmpowerRecordVo"/>
<where>
<if test="name != null and name != ''"> and ser.name like concat('%', #{name}, '%')</if>
<if test="peopleId != null and peopleId != ''"> and ser.people_id = #{peopleId}</if>
<if test="peopleId != null"> and ser.people_id = #{peopleId}</if>
<if test="peopleName != null and peopleName != ''"> and p.name like concat('%', #{peopleName}, '%')</if>
<if test="infoDown != null and infoDown != ''"> and ser.info_down = #{infoDown}</if>
<if test="empower != null and empower != ''"> and ser.empower = #{empower}</if>

View File

@@ -139,6 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="joinTime != null">join_time,</if>
<if test="down != null">down,</if>
<if test="delFlag != null">del_flag,</if>
<if test="carryStuffExamine != null and carryStuffExamine != ''">carry_stuff_examine,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null and name != ''">#{name},</if>
@@ -163,6 +164,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="joinTime != null">#{joinTime},</if>
<if test="down != null">#{down},</if>
<if test="delFlag != null">#{delFlag},</if>
<if test="carryStuffExamine != null and carryStuffExamine != ''">#{carryStuffExamine},</if>
</trim>
</insert>
@@ -192,6 +194,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="down != null">down = #{down},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
<if test="openid != null">openid = #{openid},</if>
<if test="carryStuffExamine != null and carryStuffExamine != ''">carry_stuff_examine = #{carryStuffExamine},</if>
</trim>
where id = #{id}
</update>