jiangping
2024-05-23 a675a9d1acfacbc0f305f868929b4f0f086ec2dd
server/system_service/src/main/resources/mappers/SystemDataPermissionMapper.xml
@@ -64,9 +64,6 @@
      <if test="dto.type != null">
        AND sdp.`TYPE` =  #{dto.type}
      </if>
      <if test="role.companyId != null">
        AND role.`COMPANY_ID` =  #{role.companyId}
      </if>
      <if test="userId != null">
        AND exists (select sr.id from system_user_role sr where sr.role_id=sdp.role_id and sr.user_id=#{userId} and sr.STATUS=0 and sr.deleted=0)
      </if>