优化案件提交退还原因

This commit is contained in:
qitz
2023-12-12 14:59:01 +08:00
parent 23d53688e4
commit b1f0fb8f6f
6 changed files with 29 additions and 4 deletions
@@ -57,6 +57,19 @@ public class ArbitrateRecord extends BaseEntity {
*/
private String applicantOpinion;
/**
* 立案审查驳回原因
*/
private String caseCheckReject;
/**
* 仲裁员确认裁决书驳回
*/
private String arbitrateReject;
/**
* 部门长确认裁决书驳回
*/
private String deptorReject;
@@ -20,4 +20,6 @@ public class BatchCaseApplication {
* 1同意,0拒绝
*/
private Integer opinion;
/** 驳回原因 */
private String rejectReason;
}
@@ -45,7 +45,7 @@ public interface ICaseApplicationService {
AjaxResult checkArbitrateRecord(CaseApplication caseApplication);
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck);
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason);
CaseApplication selectCaseApplicationConfirm(CaseApplication caseApplication);
@@ -2230,7 +2230,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
@Override
@Transactional
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck) {
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason) {
//提交立案审查
int rows = 0;
for (Long id : ids) {
@@ -2243,6 +2243,12 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
} else if (agreeOrNotCheck == 2) {//拒绝审核
caseApplication.setCaseStatus(CaseApplicationConstants.CASE_APPLICATION);
rows += caseApplicationMapper.submitCaseApplication(caseApplication);
ArbitrateRecord arbitrateRecordsel = new ArbitrateRecord();
arbitrateRecordsel.setCaseAppliId(id);
ArbitrateRecord arbitrateRecordnew = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordsel);
arbitrateRecordnew.setCaseCheckReject(rejectReason);
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecordnew);
}
// 新增日志
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.PENDING_PAYMENT, "");