From 31960ffca93463cf4f6d417576c8694aed84138e Mon Sep 17 00:00:00 2001
From: hdy <1105738590@qq.com>
Date: 星期五, 07 三月 2025 12:40:31 +0800
Subject: [PATCH] 修改

---
 billion-system/src/main/resources/mapper/system/SysDictDataMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/billion-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/billion-system/src/main/resources/mapper/system/SysDictDataMapper.xml
index bc33c88..374fc5f 100644
--- a/billion-system/src/main/resources/mapper/system/SysDictDataMapper.xml
+++ b/billion-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -41,7 +41,7 @@
 		order by dict_sort asc
 	</select>
 	
-	<select id="selectDictDataByType" parameterType="String" resultMap="SysDictDataResult">
+	<select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
 		<include refid="selectDictDataVo"/>
 		where status = '0' and dict_type = #{dictType} order by dict_sort asc
 	</select>
@@ -84,7 +84,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 = getdate()
  		</set>
  		where dict_code = #{dictCode}
 	</update>
@@ -117,7 +117,7 @@
  			<if test="status != null">#{status},</if>
  			<if test="remark != null and remark != ''">#{remark},</if>
  			<if test="createBy != null and createBy != ''">#{createBy},</if>
- 			sysdate()
+ 			getdate()
  		)
 	</insert>
 	

--
Gitblit v1.9.3