Browse Source

更新角色

LingGong 4 years ago
parent
commit
d3a17274f8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/resources/mapper/base/RoleExt.xml

+ 3 - 2
src/main/resources/mapper/base/RoleExt.xml

@@ -53,8 +53,9 @@
 		)
 	</insert>
 
-	<update id="Role" parameterType="am.lodge.platform.model.RoleExt">
-		 sys_role
+
+	<update id="updateRole" parameterType="am.lodge.platform.model.RoleExt">
+	  update	 sys_role
 		<set>
 			<if test="name != null">NAME=#{name},</if>
 			<if test="type != null">TYPE=#{type},</if>