修改字典同步修改数据

This commit is contained in:
RuoYi
2018-07-23 20:34:01 +08:00
parent 58b4a50fdb
commit ef5687b71c
12 changed files with 23 additions and 23 deletions

View File

@@ -71,8 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
update_time = sysdate()
</set>
where 1=1
<if test="postId != null">and post_id = #{postId}</if>
where post_id = #{postId}
</update>
<insert id="insertPost" parameterType="Post" useGeneratedKeys="true" keyProperty="postId">