Commit 0decc446 by 郑勇

bug: [none] 加修改时间

parent 936261ab
......@@ -51,8 +51,8 @@
#{maxUserCount, jdbcType=INTEGER},
#{fullUseTips, jdbcType=VARCHAR},
#{createdUser, jdbcType=INTEGER},
#{createTime, jdbcType=TIMESTAMP},
#{updateTime, jdbcType=TIMESTAMP}
now(),
now()
)
</insert>
......@@ -77,8 +77,8 @@
#{item.maxUserCount, jdbcType=INTEGER},
#{item.fullUseTips, jdbcType=VARCHAR},
#{item.createdUser, jdbcType=INTEGER},
#{item.createTime, jdbcType=TIMESTAMP},
#{item.updateTime, jdbcType=TIMESTAMP}
now(),
now()
)
</foreach>
</insert>
......@@ -111,9 +111,7 @@
<if test="createTime != null">
create_time = #{createTime},
</if>
<if test="updateTime != null">
update_time = #{updateTime},
</if>
update_time = now()
</set>
WHERE id = #{id}
</update>
......@@ -128,8 +126,7 @@
<if test="item.fullUseTips != null and item.fullUseTips != ''">
full_use_tips = #{item.fullUseTips},
</if>
update_time = now(),
update_time = now()
</set>
WHERE id = #{item.id}
</foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment