|
|
@ -183,9 +183,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="applyUser != null">apply_user,</if> |
|
|
|
<if test="applyTime != null">apply_time,</if> |
|
|
|
<if test="supplierId != null">supplier_id,</if> |
|
|
|
del_flag, |
|
|
|
create_time, |
|
|
|
update_time, |
|
|
|
<if test="delFlag != null">del_flag,</if> |
|
|
|
<if test="createTime != null">create_time,</if> |
|
|
|
<if test="updateTime != null">update_time,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
@ -216,9 +216,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="applyUser != null">#{applyUser},</if> |
|
|
|
<if test="applyTime != null">#{applyTime},</if> |
|
|
|
<if test="supplierId != null">#{supplierId},</if> |
|
|
|
0, |
|
|
|
now(), |
|
|
|
now(), |
|
|
|
<if test="delFlag != null">#{del_flag},</if> |
|
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
@ -255,7 +255,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="applyUser != null">apply_user = #{applyUser},</if> |
|
|
|
<if test="applyTime != null">apply_time = #{applyTime},</if> |
|
|
|
<if test="supplierId != null">supplier_id = #{supplierId},</if> |
|
|
|
update_time = now() |
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|