Procházet zdrojové kódy

Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev

wangqiong123 před 2 roky
rodič
revize
8816a64040

+ 1
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Zobrazit soubor

@@ -198,6 +198,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
198 198
                     caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM);
199 199
                 }
200 200
                 if ("法律顾问".equals(role.getRoleName())) {
201
+                    // 秘书查看所有案件
201 202
                     // 查询角色有关的用户部门
202 203
                     List<Long> deptIds = new ArrayList<>();
203 204
                     deptIds.add(sysUser.getDeptId());

+ 10
- 10
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Zobrazit soubor

@@ -125,7 +125,7 @@
125 125
                     <!--仲裁员-->
126 126
                     <if test="userId != null and userId != ''">
127 127
                         or ( t.identity_type=1 and
128
-                        t.case_status in (7,8,9,11,13,17)
128
+                        t.case_status in (7,11,13,17)
129 129
                         and
130 130
                         instr (t.arbitrator_id,#{userId})>0)
131 131
                     </if>
@@ -316,14 +316,14 @@
316 316
                 WHERE
317 317
                 ca.identity_type=1
318 318
 
319
-                and c.case_status in (1,5,14,15,16,17,31)
319
+                and c.case_status in (1,5,8,9,14,15,16,17,31)
320 320
 
321
-                <if test="deptIds != null and deptIds.size() > 0">
321
+          <!--      <if test="deptIds != null and deptIds.size() > 0">
322 322
                     and ca.application_organ_id in
323 323
                     <foreach item="item" collection="deptIds" open="(" separator="," close=")">
324 324
                         #{item}
325 325
                     </foreach>
326
-                </if>
326
+                </if>-->
327 327
                 <if test="lockStatus != null">
328 328
                     AND c.lock_status = #{lockStatus}
329 329
                 </if>
@@ -439,12 +439,12 @@
439 439
 <!--                        #{caseStatus}-->
440 440
 <!--                    </foreach>-->
441 441
 <!--                </if>-->
442
-                <if test="deptIds != null and deptIds.size() > 0">
442
+          <!--      <if test="deptIds != null and deptIds.size() > 0">
443 443
                     and ca.application_organ_id in
444 444
                     <foreach item="item" collection="deptIds" open="(" separator="," close=")">
445 445
                         #{item}
446 446
                     </foreach>
447
-                </if>
447
+                </if> -->
448 448
 <!--                <if test="caseStatus != null">-->
449 449
 <!--                    AND c.case_status = #{caseStatus}-->
450 450
 <!--                </if>-->
@@ -699,7 +699,7 @@
699 699
                     <!--仲裁员-->
700 700
                     <if test="userId != null and userId != ''">
701 701
                         or ( t.identity_type=1 and
702
-                        t.case_status in (7,8,9,11,13,17)
702
+                        t.case_status in (7,11,13,17)
703 703
                         and
704 704
                         instr (t.arbitrator_id,#{userId})>0)
705 705
                     </if>
@@ -791,13 +791,13 @@
791 791
                 WHERE case_appli_id = c.id
792 792
                 )
793 793
                 WHERE
794
-                ca.identity_type=1 and c.case_status in (1,5,14,15,16,17,31)
795
-                <if test="deptIds != null and deptIds.size() > 0">
794
+                ca.identity_type=1 and c.case_status in (1,5,8,9,14,15,16,17,31)
795
+      <!--          <if test="deptIds != null and deptIds.size() > 0">
796 796
                     and ca.application_organ_id in
797 797
                     <foreach item="item" collection="deptIds" open="(" separator="," close=")">
798 798
                         #{item}
799 799
                     </foreach>
800
-                </if>
800
+                </if> -->
801 801
                 <if test="caseStatus != null">
802 802
                     AND c.case_status = #{caseStatus}
803 803
                 </if>