From 20d40ea691ee75c70cbe1b11ec52cfbd4173c960 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 13 四月 2021 15:29:05 +0800
Subject: [PATCH] update mp化

---
 ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml |   65 --------------------------------
 1 files changed, 0 insertions(+), 65 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
index 73142b6..9778f19 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml
@@ -20,27 +20,6 @@
         from sys_dict_type
     </sql>
 
-    <select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult">
-        <include refid="selectDictTypeVo"/>
-        <where>
-            <if test="dictName != null and dictName != ''">
-                AND dict_name like concat('%', #{dictName}, '%')
-            </if>
-            <if test="status != null and status != ''">
-                AND status = #{status}
-            </if>
-            <if test="dictType != null and dictType != ''">
-                AND dict_type like concat('%', #{dictType}, '%')
-            </if>
-            <if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� -->
-                and date_format(create_time,'%y%m%d') &gt;= date_format(#{params.beginTime},'%y%m%d')
-            </if>
-            <if test="params.endTime != null and params.endTime != ''"><!-- 缁撴潫鏃堕棿妫�绱� -->
-                and date_format(create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
-            </if>
-        </where>
-    </select>
-
     <select id="selectDictTypeAll" resultMap="SysDictTypeResult">
         <include refid="selectDictTypeVo"/>
     </select>
@@ -59,49 +38,5 @@
         <include refid="selectDictTypeVo"/>
         where dict_type = #{dictType} limit 1
     </select>
-
-    <delete id="deleteDictTypeById" parameterType="Long">
-        delete
-        from sys_dict_type
-        where dict_id = #{dictId}
-    </delete>
-
-    <delete id="deleteDictTypeByIds" parameterType="Long">
-        delete from sys_dict_type where dict_id in
-        <foreach collection="array" item="dictId" open="(" separator="," close=")">
-            #{dictId}
-        </foreach>
-    </delete>
-
-    <update id="updateDictType" parameterType="SysDictType">
-        update sys_dict_type
-        <set>
-            <if test="dictName != null and dictName != ''">dict_name = #{dictName},</if>
-            <if test="dictType != null and dictType != ''">dict_type = #{dictType},</if>
-            <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()
-        </set>
-        where dict_id = #{dictId}
-    </update>
-
-    <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>
-        <if test="status != null">status,</if>
-        <if test="remark != null and remark != ''">remark,</if>
-        <if test="createBy != null and createBy != ''">create_by,</if>
-        create_time
-        )values(
-        <if test="dictName != null and dictName != ''">#{dictName},</if>
-        <if test="dictType != null and dictType != ''">#{dictType},</if>
-        <if test="status != null">#{status},</if>
-        <if test="remark != null and remark != ''">#{remark},</if>
-        <if test="createBy != null and createBy != ''">#{createBy},</if>
-        sysdate()
-        )
-    </insert>
 
 </mapper> 
\ No newline at end of file

--
Gitblit v1.9.3