From 0db3c4814d5c9c5e9844e3f24d51225da701cbe9 Mon Sep 17 00:00:00 2001 From: gy b Date: Wed, 29 Nov 2023 21:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/CaseApplicationServiceImpl.java | 1 + .../wisdomarbitrate/CaseApplicationMapper.xml | 20 +++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) 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 2dedf2c..a854089 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}