优化仲裁员驳回功能
This commit is contained in:
+12
-9
@@ -1656,8 +1656,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
@Transactional
|
@Transactional
|
||||||
public AjaxResult checkArbitrateRecord(CaseApplication caseApplication) {
|
public AjaxResult checkArbitrateRecord(CaseApplication caseApplication) {
|
||||||
int rows = 0;
|
int rows = 0;
|
||||||
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
|
|
||||||
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
|
|
||||||
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
|
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
|
||||||
if (agreeOrNotCheck.intValue() == 1) {//同意审核
|
if (agreeOrNotCheck.intValue() == 1) {//同意审核
|
||||||
try {
|
try {
|
||||||
@@ -1845,6 +1844,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
|
|
||||||
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
||||||
} else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
|
} else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
|
||||||
|
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
|
||||||
|
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
|
||||||
|
|
||||||
caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
|
caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
|
||||||
// 新增日志
|
// 新增日志
|
||||||
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
|
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
|
||||||
@@ -1865,13 +1867,6 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
public AjaxResult arbitratorCheckArbitrateRecord(CaseApplication caseApplication) {
|
public AjaxResult arbitratorCheckArbitrateRecord(CaseApplication caseApplication) {
|
||||||
// 同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11)
|
// 同意后状态改为待部门长审核仲裁文书(CHECK_ARBITRATION = 12),拒绝改为待秘书核验仲裁文书(VERPRIF_ARBITRATION = 11)
|
||||||
int rows = 0;
|
int rows = 0;
|
||||||
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
|
|
||||||
if(arbitrateRecord.getId()!=null){
|
|
||||||
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
|
|
||||||
}else {
|
|
||||||
arbitrateRecordMapper.insertArbitrateRecord(arbitrateRecord);
|
|
||||||
}
|
|
||||||
|
|
||||||
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
|
Integer agreeOrNotCheck = caseApplication.getAgreeOrNotCheck();
|
||||||
if (agreeOrNotCheck.intValue() == 1) {
|
if (agreeOrNotCheck.intValue() == 1) {
|
||||||
caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION);
|
caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION);
|
||||||
@@ -1879,6 +1874,14 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CHECK_ARBITRATION, "");
|
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CHECK_ARBITRATION, "");
|
||||||
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
rows = caseApplicationMapper.submitCaseApplication(caseApplication);
|
||||||
} else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
|
} else if (agreeOrNotCheck.intValue() == 2) {//拒绝审核
|
||||||
|
ArbitrateRecord arbitrateRecord = caseApplication.getArbitrateRecord();
|
||||||
|
arbitrateRecord.setCaseAppliId(caseApplication.getId());
|
||||||
|
if(arbitrateRecord.getId()!=null){
|
||||||
|
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecord);
|
||||||
|
}else {
|
||||||
|
arbitrateRecordMapper.insertArbitrateRecord(arbitrateRecord);
|
||||||
|
}
|
||||||
|
|
||||||
caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
|
caseApplication.setCaseStatus(CaseApplicationConstants.VERPRIF_ARBITRATION);
|
||||||
// 新增日志
|
// 新增日志
|
||||||
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
|
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.VERPRIF_ARBITRATION, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user