|
|
|
@ -274,6 +274,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="updateBy != null and updateBy != ''">update_by,</if> |
|
|
|
<if test="createTime != null ">create_time,</if> |
|
|
|
<if test="updateTime != null ">update_time,</if> |
|
|
|
<if test="otherReasons != null ">other_reasons,</if> |
|
|
|
</trim> |
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
|
@ -312,6 +313,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="updateBy != null and updateBy != ''">#{updateBy},</if> |
|
|
|
<if test="createTime != null ">#{createTime},</if> |
|
|
|
<if test="updateTime != null ">#{updateTime},</if> |
|
|
|
<if test="otherReasons != null ">#{otherReasons},</if> |
|
|
|
</trim> |
|
|
|
</insert> |
|
|
|
|
|
|
|
@ -350,6 +352,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
|
|
|
<if test="createTime != null ">create_time = #{createTime},</if> |
|
|
|
<if test="updateTime != null ">update_time = #{updateTime},</if> |
|
|
|
<if test="otherReasons != null ">other_reasons = #{otherReasons},</if> |
|
|
|
</trim> |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|