diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 610cdb3d..be2d3814 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -176,7 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" login_ip = #{loginIp}, login_date = #{loginDate}, update_by = #{updateBy}, - remark = #{remark}, + remark = #{remark}, update_time = sysdate() where user_id = #{userId} diff --git a/sql/ry_20190601.sql b/sql/ry_20190601.sql index 196ad729..c83b2681 100644 --- a/sql/ry_20190601.sql +++ b/sql/ry_20190601.sql @@ -58,7 +58,7 @@ create table sys_user ( create_time datetime comment '创建时间', update_by varchar(64) default '' comment '更新者', update_time datetime comment '更新时间', - remark varchar(500) default '' comment '备注', + remark varchar(500) default null comment '备注', primary key (user_id) ) engine=innodb auto_increment=100 comment = '用户信息表';