From e399f702d76b2b170956a5996b5364f148b54b8d Mon Sep 17 00:00:00 2001
From: 于紫祥_1901 <email@yuzixiang_1910>
Date: Thu, 10 Sep 2020 15:13:37 +0800
Subject: [PATCH] 三天因子对比(update)

---
 src/main/resources/mapper/RoleMapper.xml |   44 --------------------------------------------
 1 files changed, 0 insertions(+), 44 deletions(-)

diff --git a/src/main/resources/mapper/RoleMapper.xml b/src/main/resources/mapper/RoleMapper.xml
index 965ff3e..041054a 100644
--- a/src/main/resources/mapper/RoleMapper.xml
+++ b/src/main/resources/mapper/RoleMapper.xml
@@ -49,16 +49,6 @@
         </where>
     </sql>
 
-    <select id="getRoleListByName" resultMap="BaseResultMap">
-        select
-        <include refid="Base_Column_List"/>
-        from role
-        where is_delete=0
-        <if test="roleName != 'null'">
-            and role_name like concat('%',#{roleName},'%')
-        </if>
-    </select>
-
     <select id="getRoleList" resultMap="BaseResultMap">
         select
         <include refid="Base_Column_List"/>
@@ -70,39 +60,5 @@
             order by ${orderByClause}
         </if>
     </select>
-
-    <update id="updateByPrimaryKey" parameterType="com.moral.entity.Role" >
-        update role
-        <set >
-            <if test="roleCode != null" >
-                role_code = #{roleCode,jdbcType=VARCHAR},
-            </if>
-            <if test="roleName != null" >
-                role_name = #{roleName,jdbcType=VARCHAR},
-            </if>
-            <if test="channelId != null" >
-                channel_id = #{channelId,jdbcType=INTEGER},
-            </if>
-            <if test="isDelete != null" >
-                is_delete = #{isDelete,jdbcType=CHAR},
-            </if>
-            <if test="roleRemark != null" >
-                role_remark = #{roleRemark,jdbcType=VARCHAR},
-            </if>
-            <if test="createTime != null" >
-                create_time = #{createTime,jdbcType=TIMESTAMP},
-            </if>
-            <if test="createUser != null" >
-                create_user = #{createUser,jdbcType=VARCHAR},
-            </if>
-            <if test="updateTime != null" >
-                update_time = #{updateTime,jdbcType=TIMESTAMP},
-            </if>
-            <if test="updateUser != null" >
-                update_user = #{updateUser,jdbcType=VARCHAR},
-            </if>
-        </set>
-        where id = #{id,jdbcType=INTEGER}
-    </update>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0