diff --git a/src/main/resources/mybatis/mapping/SysLogDao.xml b/src/main/resources/mybatis/mapping/SysLogDao.xml index 08a17ec..65d1394 100644 --- a/src/main/resources/mybatis/mapping/SysLogDao.xml +++ b/src/main/resources/mybatis/mapping/SysLogDao.xml @@ -38,14 +38,15 @@ SELECT LAST_INSERT_ID() INSERT INTO - sys_log(CREATE_TIME,USER_IP,URL) + sys_log(CREATE_TIME,USER_IP,URL,STATUS) VALUES ( #{createTime},#{userIp},#{url},#{status} + ) - 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}