|
@@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updaterCode != null">updater_code = #{updaterCode},</if>
|
|
|
<if test="updatedate != null">updatedate = #{updatedate},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
- <if test="remarks != null">remarks = #{remarks},</if>
|
|
|
+ <if test="remarks != null and remarks != ''">remarks = #{remarks},</if>
|
|
|
<if test="approveStatus != null">approve_status = #{approveStatus},</if>
|
|
|
<if test="confirm1 != null">confirm1 = #{confirm1},</if>
|
|
|
<if test="confirm2 != null">confirm2 = #{confirm2},</if>
|
|
@@ -176,7 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createdate != null">createdate = #{createdate},</if>
|
|
|
<if test="updaterCode != null">updater_code = #{updaterCode},</if>
|
|
|
<if test="updatedate != null">updatedate = #{updatedate},</if>
|
|
|
- <if test="remarks != null">remarks = #{remarks},</if>
|
|
|
+ <if test="remarks != null and remarks != ''">remarks = #{remarks},</if>
|
|
|
</trim>
|
|
|
where id in
|
|
|
<foreach item="id" collection="ids" open="(" separator="," close=")">
|