qitz 2 лет назад
Родитель
Сommit
6ace1d3102

+ 11
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/ArbitrateRecord.java Просмотреть файл

@@ -28,6 +28,17 @@ public class ArbitrateRecord     extends BaseEntity {
28 28
     /** 裁决书附件id */
29 29
     private Integer annexId;
30 30
 
31
+    /** 被申请人是否缺席 */
32
+    private Integer isAbsence;
33
+    /** 被申请人质证意见 */
34
+    private String responCrossOpin;
35
+    /** 申请人质证意见 */
36
+    private String applicaCrossOpin;
37
+    /** 申请人是否缺席 */
38
+    private Integer appliIsAbsen;
39
+    /** 被申请人质证意见 */
40
+    private String responDefenOpini;
41
+
31 42
 
32 43
 
33 44
 

+ 50
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseAffiliate.java Просмотреть файл

@@ -23,6 +23,56 @@ public class CaseAffiliate   extends BaseEntity {
23 23
      * 申请机构名称
24 24
      */
25 25
     private String applicationOrganName;
26
+
27
+    /**
28
+     * 法定代表人
29
+     */
30
+    private String compLegalPerson;
31
+    /**
32
+     * 法定代表人职位
33
+     */
34
+    private String compLegalperPost;
35
+    /**
36
+     * 被申请人性别
37
+     */
38
+    private String responSex;
39
+    /**
40
+     * 被申请人出生年月日
41
+     */
42
+    private String responBirth;
43
+
44
+    public String getCompLegalPerson() {
45
+        return compLegalPerson;
46
+    }
47
+
48
+    public void setCompLegalPerson(String compLegalPerson) {
49
+        this.compLegalPerson = compLegalPerson;
50
+    }
51
+
52
+    public String getCompLegalperPost() {
53
+        return compLegalperPost;
54
+    }
55
+
56
+    public void setCompLegalperPost(String compLegalperPost) {
57
+        this.compLegalperPost = compLegalperPost;
58
+    }
59
+
60
+    public String getResponSex() {
61
+        return responSex;
62
+    }
63
+
64
+    public void setResponSex(String responSex) {
65
+        this.responSex = responSex;
66
+    }
67
+
68
+    public String getResponBirth() {
69
+        return responBirth;
70
+    }
71
+
72
+    public void setResponBirth(String responBirth) {
73
+        this.responBirth = responBirth;
74
+    }
75
+
26 76
     /** 身份证号 */
27 77
     @Excel(name = "身份证号")
28 78
     private String identityNum;

+ 57
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java Просмотреть файл

@@ -79,8 +79,8 @@ public class CaseApplication  extends BaseEntity {
79 79
     /** 申请人主张违约金 */
80 80
     @Excel(name = "申请人主张违约金")
81 81
     private BigDecimal claimLiquidDamag;
82
-    /** 申请人仲裁诉求 */
83
-    @Excel(name = "申请人仲裁诉求")
82
+    /** 申请人仲裁请求及事实和理由 */
83
+    @Excel(name = "申请人仲裁请求及事实和理由")
84 84
     private String arbitratClaims;
85 85
     /** 仲裁应缴费用 */
86 86
     private BigDecimal feePayable;
@@ -121,6 +121,7 @@ public class CaseApplication  extends BaseEntity {
121 121
     private Integer openCourtHear;
122 122
 
123 123
     /** 申请人请求仲裁庭裁决 */
124
+    @Excel(name = "申请人请求仲裁庭裁决")
124 125
     private String requestRule;
125 126
     /** 是否仲裁反请求 */
126 127
     private Integer adjudicaCounter;
@@ -134,6 +135,16 @@ public class CaseApplication  extends BaseEntity {
134 135
     private String responCrossOpin;
135 136
     /** 被申请人的答辩意见 */
136 137
     private String responDefenOpini;
138
+    /** 申请人是否缺席 */
139
+    private Integer appliIsAbsen;
140
+
141
+    public Integer getAppliIsAbsen() {
142
+        return appliIsAbsen;
143
+    }
144
+
145
+    public void setAppliIsAbsen(Integer appliIsAbsen) {
146
+        this.appliIsAbsen = appliIsAbsen;
147
+    }
137 148
 
138 149
     public String getResponDefenOpini() {
139 150
         return responDefenOpini;
@@ -507,6 +518,12 @@ public class CaseApplication  extends BaseEntity {
507 518
     /** 姓名 */
508 519
     @Excel(name = "申请人主体信息-申请人(机构)",width = 26)
509 520
     private String name;
521
+    /** 申请人主体信息-法定代表人 */
522
+    @Excel(name = "申请人主体信息-法定代表人",width = 26)
523
+    private String compLegalPerson;
524
+    /** 申请人主体信息-法定代表人 */
525
+    @Excel(name = "申请人主体信息-法定代表人职位",width = 26)
526
+    private String compLegalperPost;
510 527
     /**
511 528
      * 申请人主体信息-申请人(机构)id
512 529
      */
@@ -549,6 +566,44 @@ public class CaseApplication  extends BaseEntity {
549 566
     /** 身份证号 */
550 567
     @Excel(name = "被申请人主体信息-身份证号",width = 26)
551 568
     private String debtorIdentityNum;
569
+    /** 被申请人主体信息-性别 */
570
+    @Excel(name = "被申请人主体信息-性别",width = 26)
571
+    private String responSex;
572
+    /** 被申请人主体信息-出生年月日 */
573
+    @Excel(name = "被申请人主体信息-出生年月日",width = 26)
574
+    private String responBirth;
575
+
576
+    public String getCompLegalPerson() {
577
+        return compLegalPerson;
578
+    }
579
+
580
+    public void setCompLegalPerson(String compLegalPerson) {
581
+        this.compLegalPerson = compLegalPerson;
582
+    }
583
+
584
+    public String getCompLegalperPost() {
585
+        return compLegalperPost;
586
+    }
587
+
588
+    public void setCompLegalperPost(String compLegalperPost) {
589
+        this.compLegalperPost = compLegalperPost;
590
+    }
591
+
592
+    public String getResponSex() {
593
+        return responSex;
594
+    }
595
+
596
+    public void setResponSex(String responSex) {
597
+        this.responSex = responSex;
598
+    }
599
+
600
+    public String getResponBirth() {
601
+        return responBirth;
602
+    }
603
+
604
+    public void setResponBirth(String responBirth) {
605
+        this.responBirth = responBirth;
606
+    }
552 607
 
553 608
     /** 联系电话 */
554 609
     @Excel(name = "被申请人主体信息-联系电话",width = 26)

+ 5
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/dto/CaseEvidenceDTO.java Просмотреть файл

@@ -29,6 +29,11 @@ public class CaseEvidenceDTO {
29 29
      * 是否指派仲裁员,1是,2否
30 30
      */
31 31
     private Integer pendingAppointArbotrar;
32
+    /** 是否仲裁反请求 */
33
+    private Integer adjudicaCounter;
34
+    /** 是否管辖异议申请 */
35
+    private Integer objectiJuris;
36
+
32 37
 
33 38
     /**
34 39
      * 案件仲裁员

+ 39
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Просмотреть файл

@@ -1031,6 +1031,16 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1031 1031
         if (createBy!=null){
1032 1032
             arbitrateRecordselect.setCreateBy(createBy);
1033 1033
         }
1034
+
1035
+        CaseApplication caseApplicationupdate = new CaseApplication();
1036
+        caseApplicationupdate.setId(arbitrateRecordselect.getCaseAppliId());
1037
+        caseApplicationupdate.setIsAbsence(arbitrateRecordselect.getIsAbsence());
1038
+        caseApplicationupdate.setAppliIsAbsen(arbitrateRecordselect.getAppliIsAbsen());
1039
+        caseApplicationupdate.setResponCrossOpin(arbitrateRecordselect.getResponCrossOpin());
1040
+        caseApplicationupdate.setApplicaCrossOpin(arbitrateRecordselect.getApplicaCrossOpin());
1041
+        caseApplicationupdate.setResponDefenOpini(arbitrateRecordselect.getResponDefenOpini());
1042
+        caseApplicationMapper.submitCaseApplication(caseApplicationupdate);
1043
+
1034 1044
         //先判断案件是否已经提交过仲裁结果
1035 1045
         ArbitrateRecord arbitrateRecordsele = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordselect);
1036 1046
         if (arbitrateRecordsele!=null){
@@ -1321,8 +1331,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1321 1331
         CaseAffiliate caseAffiliate = new CaseAffiliate();
1322 1332
 
1323 1333
 //        BeanUtils.copyBeanProp(caseApplication,caseAffiliate);
1324
-        BeanUtils.copyBeanProp(caseAffiliate,caseApplication);
1325
-        caseAffiliate.setIdentityType(1);
1334
+//        BeanUtils.copyBeanProp(caseAffiliate,caseApplication);
1335
+//        caseAffiliate.setIdentityType(1);
1336
+        caseAffiliate = buildApplicaInfo(caseApplication);
1326 1337
         // 申请人(机构),需要判断部门中是否存在,不存在则新增,当身份类型为1的时候,查询时需要根据名称查询组织机构
1327 1338
         if(StrUtil.isNotEmpty(caseApplication.getName())){
1328 1339
             setApplicantOrganization(caseAffiliate, caseApplication, deptMap);
@@ -1334,6 +1345,29 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1334 1345
         caseApplication.setCaseAffiliates(caseAffiliatesnew);
1335 1346
     }
1336 1347
 
1348
+    private CaseAffiliate buildApplicaInfo(CaseApplication caseApplication) {
1349
+        // 申请人信息
1350
+        CaseAffiliate caseAffiliate = new CaseAffiliate();
1351
+        caseAffiliate.setCaseAppliId(caseApplication.getId());
1352
+        caseAffiliate.setIdentityType(1);
1353
+        caseAffiliate.setName(caseApplication.getName());
1354
+        caseAffiliate.setIdentityNum(caseApplication.getIdentityNum());
1355
+        caseAffiliate.setContactTelphone(caseApplication.getContactTelphone());
1356
+        caseAffiliate.setContactAddress(caseApplication.getContactAddress());
1357
+        caseAffiliate.setWorkTelphone(caseApplication.getWorkTelphone());
1358
+        caseAffiliate.setWorkAddress(caseApplication.getWorkAddress());
1359
+        caseAffiliate.setNameAgent(caseApplication.getNameAgent());
1360
+        caseAffiliate.setIdentityNumAgent(caseApplication.getIdentityNumAgent());
1361
+        caseAffiliate.setContactTelphoneAgent(caseApplication.getContactTelphoneAgent());
1362
+        caseAffiliate.setContactAddressAgent(caseApplication.getContactAddressAgent());
1363
+        caseAffiliate.setCompLegalperPost(caseApplication.getCompLegalperPost());
1364
+        caseAffiliate.setCompLegalPerson(caseApplication.getCompLegalPerson());
1365
+
1366
+        return caseAffiliate;
1367
+
1368
+
1369
+    }
1370
+
1337 1371
     /**
1338 1372
      * 设置申请人的组织机构
1339 1373
      * @param caseAffiliate
@@ -1389,6 +1423,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1389 1423
         debtorCaseAffiliate.setIdentityNumAgent(caseApplication.getDebtorIdentityNumAgent());
1390 1424
         debtorCaseAffiliate.setContactTelphoneAgent(caseApplication.getDebtorContactTelphoneAgent());
1391 1425
         debtorCaseAffiliate.setContactAddressAgent(caseApplication.getDebtorContactAddressAgent());
1426
+        debtorCaseAffiliate.setResponSex(caseApplication.getResponSex());
1427
+        debtorCaseAffiliate.setResponBirth(caseApplication.getResponBirth());
1428
+
1392 1429
         return debtorCaseAffiliate;
1393 1430
     }
1394 1431
 

+ 2
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseEvidenceServiceImpl.java Просмотреть файл

@@ -166,6 +166,8 @@ IdentityAuthenticationMapper identityAuthenticationMapper;
166 166
             caseApplication1.setObjectionAddEviden(caseEvidenceDTO.getObjectionAddEviden());
167 167
             caseApplication1.setOpenCourtHear(caseEvidenceDTO.getOpenCourtHear());
168 168
             caseApplication1.setPendingAppointArbotrar(caseEvidenceDTO.getPendingAppointArbotrar());
169
+            caseApplication1.setAdjudicaCounter(caseEvidenceDTO.getAdjudicaCounter());
170
+            caseApplication1.setObjectiJuris(caseEvidenceDTO.getObjectiJuris());
169 171
             List<Arbitrator> arbitrators = caseEvidenceDTO.getArbitrators();
170 172
             if (arbitrators != null && arbitrators.size() > 0) {
171 173
                 List<Long> ids = arbitrators.stream().map(Arbitrator::getId).collect(Collectors.toList());

+ 10
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseAffiliateMapper.xml Просмотреть файл

@@ -22,11 +22,17 @@
22 22
         <result property="applicationOrganId"    column="application_organ_id"   />
23 23
         <result property="applicationOrganName"    column="application_organ_name"   />
24 24
 
25
+        <result property="compLegalPerson"    column="comp_legal_person"   />
26
+        <result property="compLegalperPost"    column="comp_legalper_post"   />
27
+        <result property="responSex"    column="respon_sex"   />
28
+        <result property="responBirth"    column="respon_birth"   />
29
+
25 30
     </resultMap>
26 31
 
27 32
     <select id="selectCaseAffiliate" parameterType="CaseAffiliate" resultMap="CaseAffiliateResult">
28 33
         select c.id ,c.case_appli_id ,c.identity_type ,c.name ,c.identity_num ,c.contact_telphone ,c.contact_address ,
29 34
         c.work_address ,c.work_telphone ,c.name_agent, c.identity_num_agent ,c.contact_telphone_agent ,c.contact_address_agent,
35
+        c.comp_legal_person,c.comp_legalper_post,c.respon_sex,c.respon_birth,
30 36
         c.track_num,c.application_organ_id,c.application_organ_name
31 37
         from case_affiliate c
32 38
         <where>
@@ -54,11 +60,13 @@
54 60
     <insert id="batchCaseAffiliate">
55 61
         insert into case_affiliate(case_appli_id, identity_type,application_organ_id,application_organ_name,name,identity_num,contact_telphone,
56 62
         contact_address,work_address,work_telphone ,name_agent,identity_num_agent,contact_telphone_agent,
63
+        comp_legal_person,comp_legalper_post,respon_sex ,respon_birth,
57 64
         contact_address_agent ) values
58 65
         <foreach item="item" index="index" collection="list" separator=",">
59 66
             (#{item.caseAppliId},#{item.identityType},#{item.applicationOrganId},#{item.applicationOrganName},#{item.name},#{item.identityNum},#{item.contactTelphone},
60
-            #{item.contactAddress},#{item.workAddress},#{item.workTelphone},  #{item.nameAgent},#{item.identityNumAgent},
61
-            #{item.contactTelphoneAgent},#{item.contactAddressAgent})
67
+            #{item.contactAddress},#{item.workAddress},#{item.workTelphone},  #{item.nameAgent},#{item.identityNumAgent},#{item.contactTelphoneAgent},
68
+            #{item.compLegalPerson},#{item.compLegalperPost},#{item.responSex},  #{item.responBirth},
69
+            #{item.contactAddressAgent})
62 70
         </foreach>
63 71
     </insert>
64 72
 

+ 24
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Просмотреть файл

@@ -35,6 +35,10 @@
35 35
         <result property="paymentStatus"   column="payment_status"  />
36 36
         <result property="paymentStatusName"   column="paymentStatusName"  />
37 37
         <result property="filearbitraUrl"   column="filearbitra_url"  />
38
+
39
+        <result property="requestRule"   column="request_rule"  />
40
+        <result property="properPreser"   column="proper_preser"  />
41
+        <result property="adjudicaCounter"   column="adjudica_counter"  />
38 42
     </resultMap>
39 43
 
40 44
     <select id="selectCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
@@ -163,6 +167,7 @@ select t1.* from(
163 167
         <if test="caseStatus != null ">case_status,</if>
164 168
         <if test="hearDate != null ">hear_date,</if>
165 169
         <if test="arbitratClaims != null and arbitratClaims != ''">arbitrat_claims,</if>
170
+        <if test="requestRule != null and requestRule != ''">request_rule,</if>
166 171
         <if test="loanStartDate != null ">loan_start_date,</if>
167 172
         <if test="loanEndDate != null ">loan_end_date,</if>
168 173
         <if test="claimPrinciOwed != null ">claim_princi_owed,</if>
@@ -174,6 +179,10 @@ select t1.* from(
174 179
         <if test="onlineVideoPerson != null  and onlineVideoPerson != ''">online_video_person,</if>
175 180
 
176 181
         <if test="contractNumber != null  and contractNumber != ''">contract_number,</if>
182
+
183
+        <if test="adjudicaCounter != null ">adjudica_counter,</if>
184
+        <if test="properPreser != null ">proper_preser,</if>
185
+
177 186
         <if test="createBy != null  and createBy != ''">create_by,</if>
178 187
         create_time
179 188
         )values(
@@ -184,6 +193,7 @@ select t1.* from(
184 193
         <if test="caseStatus != null ">#{caseStatus},</if>
185 194
         <if test="hearDate != null ">#{hearDate},</if>
186 195
         <if test="arbitratClaims != null and arbitratClaims != ''">#{arbitratClaims},</if>
196
+        <if test="requestRule != null and requestRule != ''">#{requestRule},</if>
187 197
         <if test="loanStartDate != null ">#{loanStartDate},</if>
188 198
         <if test="loanEndDate != null ">#{loanEndDate},</if>
189 199
         <if test="claimPrinciOwed != null ">#{claimPrinciOwed},</if>
@@ -195,6 +205,10 @@ select t1.* from(
195 205
         <if test="onlineVideoPerson != null  and onlineVideoPerson != ''">#{onlineVideoPerson},</if>
196 206
 
197 207
         <if test="contractNumber != null  and contractNumber != ''">#{contractNumber},</if>
208
+
209
+        <if test="adjudicaCounter != null ">#{adjudicaCounter},</if>
210
+        <if test="properPreser != null ">#{properPreser},</if>
211
+
198 212
         <if test="createBy != null  and createBy != ''">#{createBy},</if>
199 213
         sysdate()
200 214
         )
@@ -208,6 +222,7 @@ select t1.* from(
208 222
             <if test="arbitratMethod != null and arbitratMethod != ''">arbitrat_method = #{arbitratMethod},</if>
209 223
             <if test="hearDate != null ">hear_date = #{hearDate},</if>
210 224
             <if test="arbitratClaims != null and arbitratClaims != ''">arbitrat_claims = #{arbitratClaims},</if>
225
+            <if test="requestRule != null and requestRule != ''">request_rule = #{requestRule},</if>
211 226
             <if test="loanStartDate != null ">loan_start_date = #{loanStartDate},</if>
212 227
             <if test="loanEndDate != null ">loan_end_date = #{loanEndDate},</if>
213 228
             <if test="loanEndDate != null ">claim_princi_owed = #{claimPrinciOwed},</if>
@@ -243,6 +258,14 @@ select t1.* from(
243 258
             <if test="caseDescribe != null  and caseDescribe != ''">case_describe = #{caseDescribe},</if>
244 259
             <if test="caseResult != null  and caseResult != ''">case_result = #{caseResult},</if>
245 260
             <if test="isAgreePendTral != null">is_agree_pend_tral = #{isAgreePendTral},</if>
261
+            <if test="adjudicaCounter != null">adjudica_counter = #{adjudicaCounter},</if>
262
+            <if test="objectiJuris != null">objecti_juris = #{objectiJuris},</if>
263
+
264
+            <if test="isAbsence != null">is_absence = #{isAbsence},</if>
265
+            <if test="appliIsAbsen != null">appli_is_absen = #{appliIsAbsen},</if>
266
+            <if test="responCrossOpin != null  and responCrossOpin != ''">respon_cross_opin = #{responCrossOpin},</if>
267
+            <if test="applicaCrossOpin != null  and applicaCrossOpin != ''">applica_cross_opin = #{applicaCrossOpin},</if>
268
+            <if test="responDefenOpini != null  and responDefenOpini != ''">respon_defen_opini = #{responDefenOpini},</if>
246 269
             <if test="objectionAddEviden != null">objection_add_eviden = #{objectionAddEviden},</if>
247 270
             <if test="openCourtHear != null">open_court_hear = #{openCourtHear},</if>
248 271
             <if test="hearDate != null">hear_date = #{hearDate},</if>
@@ -274,7 +297,7 @@ select t1.* from(
274 297
         END caseStatusName,
275 298
         c.hear_date ,c.arbitrat_claims ,
276 299
         c.loan_start_date ,c.loan_end_date ,c.claim_princi_owed ,c.claim_interest_owed ,c.claim_liquid_damag ,c.fee_payable ,
277
-        c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,
300
+        c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,c.request_rule,c.adjudica_counter,c.proper_preser,
278 301
         c.update_by ,c.update_time,c.arbitrator_id,c.arbitrator_name,ca.application_organ_id applicationOrganId ,ca.application_organ_name as applicantName
279 302
         from case_application c
280 303
         LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id and ca.identity_type=1