18792927508 2 anni fa
parent
commit
2158a9ee48

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

@@ -646,11 +646,11 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
646 646
     @Override
647 647
     @Transactional
648 648
     public int pendTralCheck(CaseApplication caseApplication) {
649
-        int isAgreePendTral = caseApplication.getIsAgreePendTral();
649
+        Integer isAgreePendTral = caseApplication.getIsAgreePendTral();
650 650
         caseApplication.setCaseStatus(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL);
651 651
         int rows = 0;
652 652
         //同意组庭
653
-        if(isAgreePendTral==1){
653
+        if(isAgreePendTral!=null&&isAgreePendTral==1){
654 654
             rows = caseApplicationMapper.submitCaseApplication(caseApplication);
655 655
         }else {
656 656
             List<Arbitrator> arbitrators = caseApplication.getArbitrators();

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

@@ -49,13 +49,13 @@
49 49
                             when 6 then '待组庭确定' when 7 then '待审核仲裁方式' when 8 then '待开庭审理'
50 50
                             when 9 then '待书面审理' when 10 then '待生成仲裁文书' when 11 then '待核验仲裁文书'
51 51
                             when 12 then '待审核仲裁文书' when 13 then '待仲裁文书签名' when 14 then '待仲裁文书用印'
52
-                            when 15 then '待仲裁文书送达' when 16 then '待案件归档'
52
+                            when 15 then '待仲裁文书送达' when 16 then '待案件归档' when 17 then '已归档'
53 53
                             ELSE '无案件状态'
54 54
                             END caseStatusName,
55 55
         c.hear_date ,c.arbitrat_claims ,
56 56
         c.loan_start_date ,c.loan_end_date ,c.claim_princi_owed ,c.claim_interest_owed ,c.claim_liquid_damag ,c.fee_payable ,
57 57
         c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,
58
-        c.update_by ,c.update_time , c.arbitrator_name,d.dept_name as applicantName
58
+        c.update_by ,c.update_time , c.arbitrator_name,d.dept_name as applicantName,c.register_date
59 59
         from case_application c
60 60
         LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id and ca.identity_type=1
61 61
         LEFT JOIN sys_dept d ON ca.NAME = d.dept_id and ca.name=d.dept_id
@@ -93,7 +93,7 @@
93 93
 
94 94
         <if test="caseNum != null and caseNum != ''">case_num,</if>
95 95
         <if test="caseSubjectAmount != null">case_subject_amount,</if>
96
-        <if test="registerDate != null">register_date,</if>
96
+        register_date,
97 97
         <if test="arbitratMethod != null and arbitratMethod != ''">arbitrat_method,</if>
98 98
         <if test="caseStatus != null ">case_status,</if>
99 99
         <if test="hearDate != null ">hear_date,</if>
@@ -114,7 +114,7 @@
114 114
         )values(
115 115
         <if test="caseNum != null and caseNum != ''">#{caseNum},</if>
116 116
         <if test="caseSubjectAmount != null">#{caseSubjectAmount},</if>
117
-        <if test="registerDate != null">#{registerDate},</if>
117
+       sysdate(),
118 118
         <if test="arbitratMethod != null and arbitratMethod != ''">#{arbitratMethod},</if>
119 119
         <if test="caseStatus != null ">#{caseStatus},</if>
120 120
         <if test="hearDate != null ">#{hearDate},</if>