From ffb1ef9e75bd7b03381496f29d0319c01488997b Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 10 二月 2025 09:22:07 +0800
Subject: [PATCH] 办理期限
---
system/src/main/resources/mapper/system/SysDictTypeMapper.xml | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index 78c4ff2..95fd59b 100644
--- a/system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.hnct.system.mapper.SysDictTypeMapper">
+<mapper namespace="com.ycl.system.mapper.SysDictTypeMapper">
- <resultMap type="com.hnct.system.domain.SysDictType" id="SysDictTypeResult">
+ <resultMap type="SysDictType" id="SysDictTypeResult">
<id property="dictId" column="dict_id" />
<result property="dictName" column="dict_name" />
<result property="dictType" column="dict_type" />
@@ -20,7 +20,7 @@
from sys_dict_type
</sql>
- <select id="selectDictTypeList" parameterType="com.hnct.system.domain.SysDictType" resultMap="SysDictTypeResult">
+ <select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult">
<include refid="selectDictTypeVo"/>
<where>
<if test="dictName != null and dictName != ''">
@@ -33,13 +33,13 @@
AND dict_type like concat('%', #{dictType}, '%')
</if>
<if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� -->
- and date_format(create_time,'%Y%m%d') >= date_format(#{params.beginTime},'%Y%m%d')
+ and date_format(create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
</if>
<if test="params.endTime != null and params.endTime != ''"><!-- 缁撴潫鏃堕棿妫�绱� -->
- and date_format(create_time,'%Y%m%d') <= date_format(#{params.endTime},'%Y%m%d')
+ and date_format(create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d')
</if>
</where>
- ORDER BY create_time DESC
+ order by create_time desc
</select>
<select id="selectDictTypeAll" resultMap="SysDictTypeResult">
@@ -72,7 +72,7 @@
</foreach>
</delete>
- <update id="updateDictType" parameterType="com.hnct.system.domain.SysDictType">
+ <update id="updateDictType" parameterType="SysDictType">
update sys_dict_type
<set>
<if test="dictName != null and dictName != ''">dict_name = #{dictName},</if>
@@ -85,7 +85,7 @@
where dict_id = #{dictId}
</update>
- <insert id="insertDictType" parameterType="com.hnct.system.domain.SysDictType">
+ <insert id="insertDictType" parameterType="SysDictType">
insert into sys_dict_type(
<if test="dictName != null and dictName != ''">dict_name,</if>
<if test="dictType != null and dictType != ''">dict_type,</if>
--
Gitblit v1.8.0