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

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()
</selectKey>
INSERT INTO
sys_log(CREATE_TIME,USER_IP,URL)
sys_log(CREATE_TIME,USER_IP,URL,STATUS)
VALUES
(
#{createTime},#{userIp},#{url},#{status}
)
</insert>
<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>
<delete id="delete" parameterType="Long">

Loading…
Cancel
Save