diff --git a/os-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/os-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml index 2704519..3706536 100644 --- a/os-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml +++ b/os-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml @@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/os-system/src/main/resources/mapper/system/SysMenuMapper.xml b/os-system/src/main/resources/mapper/system/SysMenuMapper.xml index c8ab2a5..b5304d3 100644 --- a/os-system/src/main/resources/mapper/system/SysMenuMapper.xml +++ b/os-system/src/main/resources/mapper/system/SysMenuMapper.xml @@ -28,7 +28,7 @@ - select menu_id, menu_name, parent_id, order_num, path, component, query, is_frame, is_cache, menu_type, visible, status, isnull(perms,'') as perms, icon, create_time + select menu_id, menu_name, parent_id, order_num, path, component, query, is_frame, is_cache, menu_type, visible, status, ifnull(perms,'') as perms, icon, create_time from sys_menu @@ -49,13 +49,13 @@ @@ -151,7 +151,7 @@ icon = #{icon}, remark = #{remark}, update_by = #{updateBy}, - update_time = getdate() + update_time = now() where menu_id = #{menuId} @@ -192,7 +192,7 @@ #{icon}, #{remark}, #{createBy}, - getdate() + now() ) diff --git a/os-system/src/main/resources/mapper/system/SysNoticeMapper.xml b/os-system/src/main/resources/mapper/system/SysNoticeMapper.xml index e6b3184..def5fcb 100644 --- a/os-system/src/main/resources/mapper/system/SysNoticeMapper.xml +++ b/os-system/src/main/resources/mapper/system/SysNoticeMapper.xml @@ -58,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - getdate() + now() ) @@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" notice_content = #{noticeContentBit}, status = #{status}, update_by = #{updateBy}, - update_time = getdate() + update_time = now() where notice_id = #{noticeId} diff --git a/os-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/os-system/src/main/resources/mapper/system/SysOperLogMapper.xml index d09b0b4..8079ee1 100644 --- a/os-system/src/main/resources/mapper/system/SysOperLogMapper.xml +++ b/os-system/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, cost_time, oper_time) - values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, getdate()) + values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operLocation}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, now())