修复日志数据状态心中问题

master
星期八 5 years ago
parent fba44a6111
commit 5135b12ce3
  1. 5
      src/main/resources/mybatis/mapping/SysLogDao.xml

@ -38,14 +38,15 @@
SELECT LAST_INSERT_ID() SELECT LAST_INSERT_ID()
</selectKey> </selectKey>
INSERT INTO INSERT INTO
sys_log(CREATE_TIME,USER_IP,URL) sys_log(CREATE_TIME,USER_IP,URL,STATUS)
VALUES VALUES
( (
#{createTime},#{userIp},#{url},#{status} #{createTime},#{userIp},#{url},#{status}
)
</insert> </insert>
<update id="update" parameterType="SysLog"> <update id="update" parameterType="SysLog">
UPDATE sys_log SET CREATE_TIME=#{createTime},USER_IP=#{userIp},URL=#{url} name= WHERE id=#{id} UPDATE sys_log SET CREATE_TIME=#{createTime},USER_IP=#{userIp},URL=#{url},STATUS=#{status} WHERE id=#{id}
</update> </update>
<delete id="delete" parameterType="Long"> <delete id="delete" parameterType="Long">

Loading…
Cancel
Save