diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java index 739e4bb..17ffec2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java @@ -198,6 +198,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService { caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM); } if ("法律顾问".equals(role.getRoleName())) { + // 秘书查看所有案件 // 查询角色有关的用户部门 List deptIds = new ArrayList<>(); deptIds.add(sysUser.getDeptId()); diff --git a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml index 75fb902..96e4e92 100644 --- a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml @@ -125,7 +125,7 @@ or ( t.identity_type=1 and - t.case_status in (7,8,9,11,13,17) + t.case_status in (7,11,13,17) and instr (t.arbitrator_id,#{userId})>0) @@ -316,14 +316,14 @@ WHERE ca.identity_type=1 - and c.case_status in (1,5,14,15,16,17,31) + and c.case_status in (1,5,8,9,14,15,16,17,31) - + AND c.lock_status = #{lockStatus} @@ -439,12 +439,12 @@ - + @@ -699,7 +699,7 @@ or ( t.identity_type=1 and - t.case_status in (7,8,9,11,13,17) + t.case_status in (7,11,13,17) and instr (t.arbitrator_id,#{userId})>0) @@ -791,13 +791,13 @@ WHERE case_appli_id = c.id ) WHERE - ca.identity_type=1 and c.case_status in (1,5,14,15,16,17,31) - + ca.identity_type=1 and c.case_status in (1,5,8,9,14,15,16,17,31) + AND c.case_status = #{caseStatus}