From 5ae03cab2b50915fe326c1b65b8f918653d228f0 Mon Sep 17 00:00:00 2001 From: Zhu Zhonghua <zhonghua@qq.com> Date: 星期二, 08 四月 2025 22:45:30 +0800 Subject: [PATCH] 修改数据库为postgres --- aps-modules/aps-system/src/main/resources/mapper/system/SysOperLogMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysOperLogMapper.xml index df4666b..e37f793 100644 --- a/aps-modules/aps-system/src/main/resources/mapper/system/SysOperLogMapper.xml +++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -30,7 +30,7 @@ <insert id="insertOperlog" parameterType="SysOperLog"> insert into sys_oper_log(title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_param, json_result, status, error_msg, cost_time, oper_time) - values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, sysdate()) + values (#{title}, #{businessType}, #{method}, #{requestMethod}, #{operatorType}, #{operName}, #{deptName}, #{operUrl}, #{operIp}, #{operParam}, #{jsonResult}, #{status}, #{errorMsg}, #{costTime}, now()) </insert> <select id="selectOperLogList" parameterType="SysOperLog" resultMap="SysOperLogResult"> -- Gitblit v1.9.3