Kaynağa Gözat

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

wangqiong123 2 yıl önce
ebeveyn
işleme
8816a64040

+ 1
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Dosyayı Görüntüle

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

+ 10
- 10
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Dosyayı Görüntüle

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