|
@@ -246,7 +246,7 @@
|
|
|
select <include refid="userColumns"/>
|
|
|
from uims_user_role b join uims_user a on b.USER_ID=a.ID
|
|
|
<include refid="sysAreaJoins"/>
|
|
|
- where b.ROLE_ID=#{id} and b.status!=0
|
|
|
+ where b.ROLE_ID=#{id} and b.status!=0 and userrole.status!=0
|
|
|
</select>
|
|
|
<update id="deleteRoleUser">
|
|
|
update uims_user_role set status=0 where ROLE_ID=#{id}
|