缴费详情 #99

Merged
wangqiong123 merged 276 commits from dev into master 2023-10-15 15:02:30 +00:00
4 changed files with 51 additions and 7 deletions
Showing only changes of commit ada0e3740a - Show all commits
@@ -170,6 +170,17 @@ public class CaseApplicationController extends BaseController {
return toAjax(caseApplicationService.verificationArbitrateRecord(caseApplication));
}
/**
* 审核裁决书
*/
@PreAuthorize("@ss.hasPermi('caseApplication:checkArbitrateRecord')")
@Log(title = "审核裁决书", businessType = BusinessType.UPDATE)
@PostMapping("/checkArbitrateRecord")
public AjaxResult checkArbitrateRecord(@Validated @RequestBody CaseApplication caseApplication)
{
return toAjax(caseApplicationService.checkArbitrateRecord(caseApplication));
}
/**
@@ -26,7 +26,16 @@ public class CaseApplication extends BaseEntity {
/** 仲裁方式 */
private int arbitratMethod;
/** 案件状态 */
private int caseStatus;
private Integer caseStatus;
public Integer getCaseStatus() {
return caseStatus;
}
public void setCaseStatus(Integer caseStatus) {
this.caseStatus = caseStatus;
}
/** 开庭日期 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date hearDate;
@@ -81,6 +90,16 @@ public class CaseApplication extends BaseEntity {
private int openCourtHear;
/** 案件状态名称 */
private String caseStatusName;
/** 是否同意审核 */
private Integer agreeOrNotCheck;
public Integer getAgreeOrNotCheck() {
return agreeOrNotCheck;
}
public void setAgreeOrNotCheck(Integer agreeOrNotCheck) {
this.agreeOrNotCheck = agreeOrNotCheck;
}
public String getCaseStatusName() {
return caseStatusName;
@@ -403,13 +422,7 @@ public class CaseApplication extends BaseEntity {
this.arbitratMethod = arbitratMethod;
}
public int getCaseStatus() {
return caseStatus;
}
public void setCaseStatus(int caseStatus) {
this.caseStatus = caseStatus;
}
public Date getHearDate() {
return hearDate;
@@ -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) {