审核裁决书功能
This commit is contained in:
+11
@@ -170,6 +170,17 @@ public class CaseApplicationController extends BaseController {
|
|||||||
return toAjax(caseApplicationService.verificationArbitrateRecord(caseApplication));
|
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 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")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private Date hearDate;
|
private Date hearDate;
|
||||||
@@ -81,6 +90,16 @@ public class CaseApplication extends BaseEntity {
|
|||||||
private int openCourtHear;
|
private int openCourtHear;
|
||||||
/** 案件状态名称 */
|
/** 案件状态名称 */
|
||||||
private String caseStatusName;
|
private String caseStatusName;
|
||||||
|
/** 是否同意审核 */
|
||||||
|
private Integer agreeOrNotCheck;
|
||||||
|
|
||||||
|
public Integer getAgreeOrNotCheck() {
|
||||||
|
return agreeOrNotCheck;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAgreeOrNotCheck(Integer agreeOrNotCheck) {
|
||||||
|
this.agreeOrNotCheck = agreeOrNotCheck;
|
||||||
|
}
|
||||||
|
|
||||||
public String getCaseStatusName() {
|
public String getCaseStatusName() {
|
||||||
return caseStatusName;
|
return caseStatusName;
|
||||||
@@ -403,13 +422,7 @@ public class CaseApplication extends BaseEntity {
|
|||||||
this.arbitratMethod = arbitratMethod;
|
this.arbitratMethod = arbitratMethod;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getCaseStatus() {
|
|
||||||
return caseStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCaseStatus(int caseStatus) {
|
|
||||||
this.caseStatus = caseStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getHearDate() {
|
public Date getHearDate() {
|
||||||
return hearDate;
|
return hearDate;
|
||||||
|
|||||||
+2
@@ -31,4 +31,6 @@ public interface ICaseApplicationService {
|
|||||||
int pendTralSure(CaseApplication caseApplication);
|
int pendTralSure(CaseApplication caseApplication);
|
||||||
|
|
||||||
int verificationArbitrateRecord(CaseApplication caseApplication);
|
int verificationArbitrateRecord(CaseApplication caseApplication);
|
||||||
|
|
||||||
|
int checkArbitrateRecord(CaseApplication caseApplication);
|
||||||
}
|
}
|
||||||
|
|||||||
+18
@@ -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
|
@Override
|
||||||
@Transactional
|
@Transactional
|
||||||
public int pendTralSure(CaseApplication caseApplication) {
|
public int pendTralSure(CaseApplication caseApplication) {
|
||||||
|
|||||||
Reference in New Issue
Block a user