From 8a535e72a7a0719c3078e9447fe0faefafa27231 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 27 五月 2025 14:43:38 +0800 Subject: [PATCH] 1.mysql转换pgsql问题 2.代码生成 --- ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml index 438d484..936cac2 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml @@ -79,7 +79,7 @@ <if test="status != null">status = #{status},</if> <if test="remark != null">remark = #{remark},</if> <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> - update_time = sysdate() + update_time = now() </set> where dict_id = #{dictId} </update> @@ -98,7 +98,7 @@ <if test="status != null">#{status},</if> <if test="remark != null and remark != ''">#{remark},</if> <if test="createBy != null and createBy != ''">#{createBy},</if> - sysdate() + now() ) </insert> -- Gitblit v1.9.3