Quellcode durchsuchen

Revert "导入时加案件名称"

This reverts commit b2c3e6433352c6d9006602b57134c0cc216fc3ee.
18792927508 vor 2 Jahren
Ursprung
Commit
9c8bb4b00d

+ 2
- 4
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/CaseApplication.java Datei anzeigen

@@ -16,9 +16,6 @@ public class CaseApplication  extends BaseEntity {
16 16
 
17 17
     /** ID */
18 18
     private Long id;
19
-    /** 案件名称 */
20
-    @Excel(name = "案件名称")
21
-    private String caseName;
22 19
     /** 案件编号 */
23 20
 //    @Excel(name = "案件编号")
24 21
     private String caseNum;
@@ -130,7 +127,8 @@ public class CaseApplication  extends BaseEntity {
130 127
     /** 仲裁员名称 */
131 128
     private String arbitratorName;
132 129
 
133
-
130
+    /** 案件名称 */
131
+    private String caseName;
134 132
 
135 133
     /** 案件描述 */
136 134
     private String caseDescribe;

+ 0
- 6
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Datei anzeigen

@@ -1472,11 +1472,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1472 1472
      * @param failureMsg
1473 1473
      */
1474 1474
     private void validBaseColumn(CaseApplication caseApplication, StringBuilder failureMsg) {
1475
-        if( StrUtil.isEmpty(caseApplication.getCaseName())){
1476
-            failureMsg.append("【案件名称】字段不能为空;");
1477
-        }else if(caseApplication.getCaseName().length()>50){
1478
-            failureMsg.append("【案件名称】字段超出指定长度,最大长度为50;");
1479
-        }
1480 1475
         BigDecimal caseSubjectAmount = caseApplication.getCaseSubjectAmount();
1481 1476
         if(null== caseSubjectAmount){
1482 1477
             failureMsg.append("【案件标的】字段不合法;");
@@ -2396,7 +2391,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2396 2391
     private void copyCaseApplication(CaseApplication caseApplicationinsertDiffer, CaseApplication caseApplicationNew) {
2397 2392
         caseApplicationNew.setArbitratClaims(caseApplicationinsertDiffer.getArbitratClaims());
2398 2393
         caseApplicationNew.setCaseNum(caseApplicationinsertDiffer.getCaseNum());
2399
-        caseApplicationNew.setCaseName(caseApplicationinsertDiffer.getCaseName());
2400 2394
         caseApplicationNew.setCaseSubjectAmount(caseApplicationinsertDiffer.getCaseSubjectAmount());
2401 2395
         caseApplicationNew.setLoanStartDate(caseApplicationinsertDiffer.getLoanStartDate());
2402 2396
         caseApplicationNew.setLoanEndDate(caseApplicationinsertDiffer.getLoanEndDate());

+ 1
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Datei anzeigen

@@ -372,7 +372,7 @@
372 372
 
373 373
     <insert id="insertCaseApplication" parameterType="CaseApplication" useGeneratedKeys="true" keyProperty="id">
374 374
         insert into case_application(
375
-        <if test="caseName != null  and caseName != ''">case_name ,</if>
375
+
376 376
         <if test="caseNum != null and caseNum != ''">case_num,</if>
377 377
         <if test="caseSubjectAmount != null">case_subject_amount,</if>
378 378
         register_date,
@@ -400,7 +400,6 @@
400 400
         <if test="importFlag != null ">import_flag,</if>
401 401
         create_time
402 402
         )values(
403
-        <if test="caseName != null and caseName != ''">#{caseName},</if>
404 403
         <if test="caseNum != null and caseNum != ''">#{caseNum},</if>
405 404
         <if test="caseSubjectAmount != null">#{caseSubjectAmount},</if>
406 405
         sysdate(),