This commit is contained in:
hejinbo
2023-09-20 19:55:15 +08:00
4 changed files with 51 additions and 7 deletions
@@ -31,4 +31,6 @@ public interface ICaseApplicationService {
int pendTralSure(CaseApplication caseApplication);
int verificationArbitrateRecord(CaseApplication caseApplication);
int checkArbitrateRecord(CaseApplication caseApplication);
}
@@ -269,6 +269,24 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
}
@Override
@Transactional
public int checkArbitrateRecord(CaseApplication caseApplication) {
int rows = 0;
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
if(agreeOrNotCheck.intValue()==1){//同意审核
caseApplication.setCaseStatus(CaseApplicationConstants.SIGN_ARBITRATION);
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
}else if(agreeOrNotCheck.intValue()==2){//拒绝审核
caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
}
return rows;
}
@Override
@Transactional
public int pendTralSure(CaseApplication caseApplication) {