|
|
@@ -1472,6 +1472,11 @@ 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
|
+ }
|
|
1475
|
1480
|
BigDecimal caseSubjectAmount = caseApplication.getCaseSubjectAmount();
|
|
1476
|
1481
|
if(null== caseSubjectAmount){
|
|
1477
|
1482
|
failureMsg.append("【案件标的】字段不合法;");
|
|
|
@@ -2391,6 +2396,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
2391
|
2396
|
private void copyCaseApplication(CaseApplication caseApplicationinsertDiffer, CaseApplication caseApplicationNew) {
|
|
2392
|
2397
|
caseApplicationNew.setArbitratClaims(caseApplicationinsertDiffer.getArbitratClaims());
|
|
2393
|
2398
|
caseApplicationNew.setCaseNum(caseApplicationinsertDiffer.getCaseNum());
|
|
|
2399
|
+ caseApplicationNew.setCaseName(caseApplicationinsertDiffer.getCaseName());
|
|
2394
|
2400
|
caseApplicationNew.setCaseSubjectAmount(caseApplicationinsertDiffer.getCaseSubjectAmount());
|
|
2395
|
2401
|
caseApplicationNew.setLoanStartDate(caseApplicationinsertDiffer.getLoanStartDate());
|
|
2396
|
2402
|
caseApplicationNew.setLoanEndDate(caseApplicationinsertDiffer.getLoanEndDate());
|