Browse Source

移除用户组角色不变

hym 4 years ago
parent
commit
92aaea8d8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      user_center/src/main/resources/mapper/UserGroupMapper.xml

+ 1 - 1
user_center/src/main/resources/mapper/UserGroupMapper.xml

@@ -235,7 +235,7 @@
     </update>
     <update id="deleteUserRoles">
        update uims_user_role set STATUS=0 where STATUS!=0 and USER_ID in
-        <foreach collection="userGroupDto.orginUserIds" item="id" index="index" open="(" close=")" separator=",">
+        <foreach collection="userGroupDto.userIds" item="id" index="index" open="(" close=")" separator=",">
             #{id}
         </foreach>