Sfoglia il codice sorgente

案件流程修改

18792927508 2 anni fa
parent
commit
93d9e11688

+ 1
- 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/CaseApplicationController.java Vedi File

@@ -273,7 +273,7 @@ public class CaseApplicationController extends BaseController {
273 273
     }
274 274
 
275 275
     /**
276
-     * 审核裁决书
276
+     * 部门长审核裁决书
277 277
      */
278 278
 //    @PreAuthorize("@ss.hasPermi('caseApplication:checkArbitrateRecord')")
279 279
     @Log(title = "审核裁决书", businessType = BusinessType.UPDATE)

+ 4
- 2
ruoyi-common/src/main/java/com/ruoyi/common/constant/CaseApplicationConstants.java Vedi File

@@ -30,9 +30,9 @@ public class CaseApplicationConstants {
30 30
     public static final int PENDING_WRIITEN_HEAR = 9;
31 31
     /** 待生成仲裁文书  */
32 32
     public static final int GENERATED_ARBITRATION = 10;
33
-    /**待核验仲裁文书*/
33
+    /**待秘书核验仲裁文书*/
34 34
     public static final int VERPRIF_ARBITRATION = 11;
35
-    /**待审核仲裁文书*/
35
+    /**待部门长审核仲裁文书*/
36 36
     public static final int CHECK_ARBITRATION = 12;
37 37
     /**待仲裁文书签名*/
38 38
     public static final int SIGN_ARBITRATION = 13;
@@ -47,6 +47,8 @@ public class CaseApplicationConstants {
47 47
 
48 48
     /** 待修改开庭时间*/
49 49
     public static final int MODIFY_HEARDATE = 31;
50
+    /**待仲裁员审核仲裁文书*/
51
+    public static final int HEAD_CHECK_ARBITRATION = 18;
50 52
 
51 53
 
52 54
 

+ 1
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/vo/ToDoCount.java Vedi File

@@ -30,4 +30,5 @@ public class ToDoCount {
30 30
     private int caseApplyStored=0; // 待案件归档
31 31
     private int caseApplyArchived=0; // 已归档
32 32
     private int updateOnlineHearDate=0; // 待修改开庭时间
33
+    private int ArbitratorApplyAwardConfirm=0; // 待仲裁员审核仲裁文书
33 34
 }

+ 46
- 8
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Vedi File

@@ -256,7 +256,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
256 256
         SysUser user = loginUser.getUser();
257 257
         Long userId = user.getUserId();
258 258
 
259
-        // 查询登录人身份证号
259
+        // 查询登录人信息
260 260
         SysUser sysUser = sysUserMapper.selectUserById(userId);
261 261
         List<SysRole> roles = sysUser.getRoles();
262 262
         // 没有角色不能查看案件列表
@@ -1905,19 +1905,42 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1905 1905
     @Override
1906 1906
     @Transactional
1907 1907
     public int verificationArbitrateRecord(CaseApplication caseApplication) {
1908
-        caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION);
1908
+        // 秘书核验裁决书,流转到待仲裁员审核仲裁文书
1909
+        caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
1909 1910
         int rows = caseApplicationMapper.submitCaseApplication(caseApplication);
1910 1911
         ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
1911 1912
         arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
1912 1913
         // 新增日志
1913
-        insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CHECK_ARBITRATION, "");
1914
+        insertCaseLog(caseApplication.getId(), CaseApplicationConstants.HEAD_CHECK_ARBITRATION, "");
1914 1915
         return rows;
1915 1916
 
1916 1917
     }
1917 1918
 
1919
+    /**
1920
+     * 仲裁员,部门长审核裁决书
1921
+     * @param caseApplication
1922
+     * @return
1923
+     */
1918 1924
     @Override
1919 1925
     @Transactional
1920 1926
     public AjaxResult checkArbitrateRecord(CaseApplication caseApplication) {
1927
+        // 查询当前登录人角色
1928
+        LoginUser loginUser = getLoginUser();
1929
+        // 查询登录人角色
1930
+        SysUser user = sysUserMapper.selectUserById(loginUser.getUser().getUserId());
1931
+        List<SysRole> roles = user.getRoles();  if (CollectionUtil.isEmpty(roles)) {
1932
+            throw new ServiceException("该用户没有角色权限");
1933
+        }
1934
+        String roleName="";
1935
+        for (SysRole role : roles) {
1936
+            if (StrUtil.isEmpty(role.getRoleName())) {
1937
+                continue;
1938
+            }
1939
+            roleName=role.getRoleName();
1940
+        }
1941
+        // 如果是仲裁员,同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11)
1942
+        // 如果是部门长,同意后状态改为待仲裁文书签名(SIGN_ARBITRATION = 13),拒绝改为待仲裁员审核仲裁文书(HEAD_CHECK_ARBITRATION = 18)
1943
+
1921 1944
         int rows = 0;
1922 1945
         ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
1923 1946
         arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
@@ -2102,15 +2125,30 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2102 2125
             } catch (InterruptedException e) {
2103 2126
                 e.printStackTrace();
2104 2127
             }
2105
-            caseApplication.setCaseStatus(CaseApplicationConstants.SIGN_ARBITRATION);
2128
+            // 如果是仲裁员,同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12)
2129
+            if(roleName.contains("仲裁员")){
2130
+                caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION);
2131
+            }else  if(roleName.contains("仲裁委")||roleName.contains("部门长")){
2132
+                // 如果是部门长,同意后状态改为待仲裁文书签名(SIGN_ARBITRATION = 13),
2133
+                caseApplication.setCaseStatus(CaseApplicationConstants.SIGN_ARBITRATION);
2134
+            }
2135
+
2136
+
2137
+
2106 2138
             // 新增日志
2107
-            insertCaseLog(caseApplication.getId(), CaseApplicationConstants.SIGN_ARBITRATION, "");
2139
+            insertCaseLog(caseApplication.getId(), caseApplication.getCaseStatus(), "");
2108 2140
 
2109 2141
             rows = caseApplicationMapper.submitCaseApplication(caseApplication);
2110 2142
         } else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
2111
-            caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
2143
+            // 如果是仲裁员,拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11)
2144
+            if(roleName.contains("仲裁员")){
2145
+                caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
2146
+            }else  if(roleName.contains("仲裁委")||roleName.contains("部门长")){
2147
+                // 如果是部门长,拒绝改为待仲裁员审核仲裁文书(HEAD_CHECK_ARBITRATION = 18)
2148
+                caseApplication.setCaseStatus(CaseApplicationConstants.HEAD_CHECK_ARBITRATION);
2149
+            }
2112 2150
             // 新增日志
2113
-            insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
2151
+            insertCaseLog(caseApplication.getId(), caseApplication.getCaseStatus(), "");
2114 2152
 
2115 2153
             rows = caseApplicationMapper.submitCaseApplication(caseApplication);
2116 2154
         }
@@ -3119,7 +3157,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
3119 3157
                         if (null != caseApplication.getId()) {
3120 3158
                             List<CaseAttach> caseAttachs=new ArrayList<>();
3121 3159
                             for (Map.Entry<String, String> entry : andConvertPDF.entrySet()) {
3122
-                                if(entry.getValue().contains("证据材料")){
3160
+                                if(entry.getValue().contains("证据材料")||entry.getValue().contains("申请书")||entry.getValue().contains("调解协议")||entry.getValue().contains("情况说明")){
3123 3161
                                     String pdfUrl = entry.getValue();
3124 3162
                                     File file1 = new File(pdfUrl);
3125 3163
                                     CaseAttach caseAttach = new CaseAttach();

+ 85
- 216
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Vedi File

@@ -83,12 +83,13 @@
83 83
                 ELSE '无审理方式'
84 84
                 END arbitratMethodName,
85 85
                 c.case_status ,
86
-                CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
86
+                CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
87 87
                 when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
88 88
                 when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
89 89
                 when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
90
-                when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
90
+                when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
91 91
                 when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
92
+                when 18 then '待仲裁员审核仲裁文书'
92 93
                 when 31 then '待修改开庭时间'
93 94
                 ELSE '无案件状态'
94 95
                 END caseStatusName,
@@ -133,7 +134,7 @@
133 134
                     <!--仲裁员-->
134 135
                     <if test="userId != null and userId != ''">
135 136
                         or ( t.identity_type=1 and
136
-                        t.case_status in (7,11,13,17)
137
+                        t.case_status in (7,13,17,18)
137 138
                         and
138 139
                         instr (t.arbitrator_id,#{userId})>0)
139 140
                     </if>
@@ -179,12 +180,13 @@
179 180
                 ELSE '无审理方式'
180 181
                 END arbitratMethodName,
181 182
                 c.case_status ,
182
-                CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
183
+                CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
183 184
                 when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
184 185
                 when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
185 186
                 when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
186
-                when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
187
+                when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
187 188
                 when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
189
+                when 18 then '待仲裁员审核仲裁文书'
188 190
                 when 31 then '待修改开庭时间'
189 191
                 ELSE '无案件状态'
190 192
                 END caseStatusName,
@@ -246,44 +248,14 @@
246 248
                 c.case_status,
247 249
                 CASE
248 250
                 c.case_status
249
-                WHEN 0 THEN
250
-                '立案申请'
251
-                WHEN 1 THEN
252
-                '待立案审查'
253
-                WHEN 2 THEN
254
-                '待缴费'
255
-                WHEN 3 THEN
256
-                '待缴费确认'
257
-                WHEN 4 THEN
258
-                '待案件质证'
259
-                WHEN 5 THEN
260
-                '待组庭审核'
261
-                WHEN 6 THEN
262
-                '待组庭确定'
263
-                WHEN 7 THEN
264
-                '待审核仲裁方式'
265
-                WHEN 8 THEN
266
-                '待开庭审理'
267
-                WHEN 9 THEN
268
-                '待书面审理'
269
-                WHEN 10 THEN
270
-                '待生成仲裁文书'
271
-                WHEN 11 THEN
272
-                '待核验仲裁文书'
273
-                WHEN 12 THEN
274
-                '待审核仲裁文书'
275
-                WHEN 13 THEN
276
-                '待仲裁文书签名'
277
-                WHEN 14 THEN
278
-                '待仲裁文书用印'
279
-                WHEN 15 THEN
280
-                '待仲裁文书送达'
281
-                WHEN 16 THEN
282
-                '待案件归档'
283
-                WHEN 17 THEN
284
-                '已归档'
285
-                WHEN 31 THEN
286
-                '待修改开庭时间' ELSE '无案件状态'
251
+                when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
252
+                when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
253
+                when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
254
+                when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
255
+                when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
256
+                when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
257
+                when 18 then '待仲裁员审核仲裁文书'
258
+                when 31 then '待修改开庭时间' ELSE '无案件状态'
287 259
                 END caseStatusName,
288 260
                 c.hear_date,
289 261
                 c.arbitrat_claims,
@@ -323,7 +295,7 @@
323 295
                 WHERE
324 296
                 ca.identity_type=1
325 297
 
326
-                and c.case_status in (1,5,8,9,14,15,16,17,31)
298
+                and c.case_status in (1,5,8,9,11,14,15,16,17,31)
327 299
 
328 300
           <!--      <if test="deptIds != null and deptIds.size() > 0">
329 301
                     and ca.application_organ_id in
@@ -373,44 +345,14 @@
373 345
                 c.case_status,
374 346
                 CASE
375 347
                 c.case_status
376
-                WHEN 0 THEN
377
-                '立案申请'
378
-                WHEN 1 THEN
379
-                '待立案审查'
380
-                WHEN 2 THEN
381
-                '待缴费'
382
-                WHEN 3 THEN
383
-                '待缴费确认'
384
-                WHEN 4 THEN
385
-                '待案件质证'
386
-                WHEN 5 THEN
387
-                '待组庭审核'
388
-                WHEN 6 THEN
389
-                '待组庭确定'
390
-                WHEN 7 THEN
391
-                '待审核仲裁方式'
392
-                WHEN 8 THEN
393
-                '待开庭审理'
394
-                WHEN 9 THEN
395
-                '待书面审理'
396
-                WHEN 10 THEN
397
-                '待生成仲裁文书'
398
-                WHEN 11 THEN
399
-                '待核验仲裁文书'
400
-                WHEN 12 THEN
401
-                '待审核仲裁文书'
402
-                WHEN 13 THEN
403
-                '待仲裁文书签名'
404
-                WHEN 14 THEN
405
-                '待仲裁文书用印'
406
-                WHEN 15 THEN
407
-                '待仲裁文书送达'
408
-                WHEN 16 THEN
409
-                '待案件归档'
410
-                WHEN 17 THEN
411
-                '已归档'
412
-                WHEN 31 THEN
413
-                '待修改开庭时间' ELSE '无案件状态'
348
+                when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
349
+                when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
350
+                when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
351
+                when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
352
+                when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
353
+                when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
354
+                when 18 then '待仲裁员审核仲裁文书'
355
+                when 31 then '待修改开庭时间' ELSE '无案件状态'
414 356
                 END caseStatusName,
415 357
                 c.hear_date,
416 358
                 c.arbitrat_claims,
@@ -482,7 +424,12 @@
482 424
                                      <if test="caseStatus != null">
483 425
                                          AND tt2.case_status = #{caseStatus}
484 426
                                      </if>
485
-
427
+                                     <if test="caseStatusList != null and caseStatusList.size() > 0">
428
+                                         and tt2.case_status in
429
+                                         <foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
430
+                                             #{caseStatus}
431
+                                         </foreach>
432
+                                     </if>
486 433
                                  </where>
487 434
 
488 435
             </if>
@@ -499,12 +446,13 @@
499 446
         ELSE '无审理方式'
500 447
         END arbitratMethodName,
501 448
         c.case_status ,
502
-        CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
449
+        CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
503 450
         when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
504 451
         when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
505 452
         when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
506
-        when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
453
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
507 454
         when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
455
+        when 18 then '待仲裁员审核仲裁文书'
508 456
         when 31 then '待修改开庭时间'
509 457
         ELSE '无案件状态'
510 458
         END caseStatusName,
@@ -558,8 +506,9 @@
558 506
         when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
559 507
         when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
560 508
         when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
561
-        when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
509
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
562 510
         when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
511
+        when 18 then '待仲裁员审核仲裁文书'
563 512
         when 31 then '待修改开庭时间'
564 513
         ELSE '无案件状态'
565 514
         END caseStatusName,
@@ -668,6 +617,7 @@
668 617
         sum( case when t1.case_status=15 then 1 else 0 end) caseApplyAwardSend,
669 618
         sum( case when t1.case_status=16 then 1 else 0 end) caseApplyStored,
670 619
         sum( case when t1.case_status=17 then 1 else 0 end) caseApplyArchived,
620
+        sum( case when t1.case_status=18 then 1 else 0 end) ArbitratorApplyAwardConfirm,
671 621
         sum( case when t1.case_status=31 then 1 else 0 end) updateOnlineHearDate
672 622
         from(
673 623
         <trim suffixOverrides="union">
@@ -701,7 +651,7 @@
701 651
                     <!--仲裁员-->
702 652
                     <if test="userId != null and userId != ''">
703 653
                         or ( t.identity_type=1 and
704
-                        t.case_status in (7,11,13,17)
654
+                        t.case_status in (7,13,17,18)
705 655
                         and
706 656
                         instr (t.arbitrator_id,#{userId})>0)
707 657
                     </if>
@@ -796,7 +746,7 @@
796 746
                 WHERE
797 747
                 ca.identity_type=1
798 748
 
799
-                and c.case_status in (1,5,8,9,14,15,16,17,31)
749
+                and c.case_status in (1,5,8,9,11,14,15,16,17,31)
800 750
       <!--          <if test="deptIds != null and deptIds.size() > 0">
801 751
                     and ca.application_organ_id in
802 752
                     <foreach item="item" collection="deptIds" open="(" separator="," close=")">
@@ -840,12 +790,13 @@
840 790
         ELSE '无审理方式'
841 791
         END arbitratMethodName,
842 792
         c.case_status ,
843
-        CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
793
+        CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
844 794
         when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
845 795
         when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
846 796
         when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
847
-        when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
797
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
848 798
         when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
799
+        when 18 then '待仲裁员审核仲裁文书'
849 800
         when 31 then '待修改开庭时间'
850 801
         ELSE '无案件状态'
851 802
         END caseStatusName,
@@ -902,6 +853,7 @@
902 853
             sum( case when c.case_status=15 then 1 else 0 end) caseApplyAwardSend,
903 854
             sum( case when c.case_status=16 then 1 else 0 end) caseApplyStored,
904 855
             sum( case when c.case_status=17 then 1 else 0 end) caseApplyArchived,
856
+            sum( case when c.case_status=18 then 1 else 0 end) ArbitratorApplyAwardConfirm,
905 857
             sum( case when c.case_status=31 then 1 else 0 end) updateOnlineHearDate
906 858
         FROM
907 859
             case_application c
@@ -927,6 +879,7 @@
927 879
                                   15,
928 880
                                   16,
929 881
                                   17,
882
+                                  18,
930 883
                                   31
931 884
                 )
932 885
 
@@ -960,44 +913,14 @@
960 913
         c.case_status,
961 914
         CASE
962 915
         c.case_status
963
-        WHEN 0 THEN
964
-        '立案申请'
965
-        WHEN 1 THEN
966
-        '待立案审查'
967
-        WHEN 2 THEN
968
-        '待缴费'
969
-        WHEN 3 THEN
970
-        '待缴费确认'
971
-        WHEN 4 THEN
972
-        '待案件质证'
973
-        WHEN 5 THEN
974
-        '待组庭审核'
975
-        WHEN 6 THEN
976
-        '待组庭确定'
977
-        WHEN 7 THEN
978
-        '待审核仲裁方式'
979
-        WHEN 8 THEN
980
-        '待开庭审理'
981
-        WHEN 9 THEN
982
-        '待书面审理'
983
-        WHEN 10 THEN
984
-        '待生成仲裁文书'
985
-        WHEN 11 THEN
986
-        '待核验仲裁文书'
987
-        WHEN 12 THEN
988
-        '待审核仲裁文书'
989
-        WHEN 13 THEN
990
-        '待仲裁文书签名'
991
-        WHEN 14 THEN
992
-        '待仲裁文书用印'
993
-        WHEN 15 THEN
994
-        '待仲裁文书送达'
995
-        WHEN 16 THEN
996
-        '待案件归档'
997
-        WHEN 17 THEN
998
-        '已归档'
999
-        WHEN 31 THEN
1000
-        '待修改开庭时间' ELSE '无案件状态'
916
+        when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
917
+        when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
918
+        when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
919
+        when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
920
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
921
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
922
+        when 18 then '待仲裁员审核仲裁文书'
923
+        when 31 then '待修改开庭时间' ELSE '无案件状态'
1001 924
         END caseStatusName,
1002 925
         c.hear_date,
1003 926
         l.arbitrat_claims,
@@ -1111,44 +1034,14 @@
1111 1034
         c.case_status,
1112 1035
         CASE
1113 1036
         c.case_status
1114
-        WHEN 0 THEN
1115
-        '立案申请'
1116
-        WHEN 1 THEN
1117
-        '待立案审查'
1118
-        WHEN 2 THEN
1119
-        '待缴费'
1120
-        WHEN 3 THEN
1121
-        '待缴费确认'
1122
-        WHEN 4 THEN
1123
-        '待案件质证'
1124
-        WHEN 5 THEN
1125
-        '待组庭审核'
1126
-        WHEN 6 THEN
1127
-        '待组庭确定'
1128
-        WHEN 7 THEN
1129
-        '待审核仲裁方式'
1130
-        WHEN 8 THEN
1131
-        '待开庭审理'
1132
-        WHEN 9 THEN
1133
-        '待书面审理'
1134
-        WHEN 10 THEN
1135
-        '待生成仲裁文书'
1136
-        WHEN 11 THEN
1137
-        '待核验仲裁文书'
1138
-        WHEN 12 THEN
1139
-        '待审核仲裁文书'
1140
-        WHEN 13 THEN
1141
-        '待仲裁文书签名'
1142
-        WHEN 14 THEN
1143
-        '待仲裁文书用印'
1144
-        WHEN 15 THEN
1145
-        '待仲裁文书送达'
1146
-        WHEN 16 THEN
1147
-        '待案件归档'
1148
-        WHEN 17 THEN
1149
-        '已归档'
1150
-        WHEN 31 THEN
1151
-        '待修改开庭时间' ELSE '无案件状态'
1037
+        when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1038
+        when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1039
+        when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1040
+        when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1041
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1042
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
1043
+        when 18 then '待仲裁员审核仲裁文书'
1044
+        when 31 then '待修改开庭时间' ELSE '无案件状态'
1152 1045
         END caseStatusName,
1153 1046
         c.hear_date,
1154 1047
         c.arbitrat_claims,
@@ -1221,44 +1114,14 @@
1221 1114
         c.case_status,
1222 1115
         CASE
1223 1116
         c.case_status
1224
-        WHEN 0 THEN
1225
-        '立案申请'
1226
-        WHEN 1 THEN
1227
-        '待立案审查'
1228
-        WHEN 2 THEN
1229
-        '待缴费'
1230
-        WHEN 3 THEN
1231
-        '待缴费确认'
1232
-        WHEN 4 THEN
1233
-        '待案件质证'
1234
-        WHEN 5 THEN
1235
-        '待组庭审核'
1236
-        WHEN 6 THEN
1237
-        '待组庭确定'
1238
-        WHEN 7 THEN
1239
-        '待审核仲裁方式'
1240
-        WHEN 8 THEN
1241
-        '待开庭审理'
1242
-        WHEN 9 THEN
1243
-        '待书面审理'
1244
-        WHEN 10 THEN
1245
-        '待生成仲裁文书'
1246
-        WHEN 11 THEN
1247
-        '待核验仲裁文书'
1248
-        WHEN 12 THEN
1249
-        '待审核仲裁文书'
1250
-        WHEN 13 THEN
1251
-        '待仲裁文书签名'
1252
-        WHEN 14 THEN
1253
-        '待仲裁文书用印'
1254
-        WHEN 15 THEN
1255
-        '待仲裁文书送达'
1256
-        WHEN 16 THEN
1257
-        '待案件归档'
1258
-        WHEN 17 THEN
1259
-        '已归档'
1260
-        WHEN 31 THEN
1261
-        '待修改开庭时间' ELSE '无案件状态'
1117
+        when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1118
+        when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1119
+        when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1120
+        when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1121
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1122
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
1123
+        when 18 then '待仲裁员审核仲裁文书'
1124
+        when 31 then '待修改开庭时间' ELSE '无案件状态'
1262 1125
         END caseStatusName,
1263 1126
         c.hear_date,
1264 1127
         l.arbitrat_claims,
@@ -1537,12 +1400,14 @@
1537 1400
         END arbitratMethodName,
1538 1401
         c.case_name,
1539 1402
         c.case_status ,
1540
-        CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1403
+        CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1541 1404
         when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1542 1405
         when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1543 1406
         when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1544
-        when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1545
-        when 15 then '待仲裁文书送达' when 16 then '待案件归档'
1407
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1408
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
1409
+        when 18 then '待仲裁员审核仲裁文书'
1410
+        when 31 then '待修改开庭时间'
1546 1411
         ELSE '无案件状态'
1547 1412
         END caseStatusName,
1548 1413
         c.hear_date ,c.arbitrat_claims ,
@@ -1574,12 +1439,14 @@
1574 1439
         ELSE '无审理方式'
1575 1440
         END arbitratMethodName,
1576 1441
         c.case_status ,
1577
-        CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1442
+        CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1578 1443
         when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1579 1444
         when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1580 1445
         when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1581
-        when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1582
-        when 15 then '待仲裁文书送达' when 16 then '待案件归档'
1446
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1447
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
1448
+        when 18 then '待仲裁员审核仲裁文书'
1449
+        when 31 then '待修改开庭时间'
1583 1450
         ELSE '无案件状态'
1584 1451
         END caseStatusName,
1585 1452
         c.hear_date ,c.arbitrat_claims ,
@@ -1605,12 +1472,14 @@
1605 1472
                                       ELSE '无审理方式'
1606 1473
                    END arbitratMethodName,
1607 1474
                c.case_status ,
1608
-               CASE c.case_status when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1609
-                                  when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1610
-                                  when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1611
-                                  when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1612
-                                  when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1613
-                                  when 15 then '待仲裁文书送达' when 16 then '待案件归档'
1475
+               CASE c.case_status  when 0 then '立案申请' when 1 then '待立案审查' when 2 then '待缴费'
1476
+        when 3 then '待缴费确认' when 4 then '待案件质证' when 5 then '待组庭审核'
1477
+        when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
1478
+        when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
1479
+        when 12 then '待部门长审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
1480
+        when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
1481
+        when 18 then '待仲裁员审核仲裁文书'
1482
+        when 31 then '待修改开庭时间'
1614 1483
                                   ELSE '无案件状态'
1615 1484
                    END caseStatusName,
1616 1485
                c.hear_date ,c.arbitrat_claims ,