Merge branch 'qtz3' of SH-Arbitrate/Arbitrate-Backend into dev
This commit was merged in pull request #303.
This commit is contained in:
+1
-1
@@ -324,7 +324,7 @@ public class CaseApplicationController extends BaseController {
|
|||||||
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getAgreeOrNotCheck()==null){
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getAgreeOrNotCheck()==null){
|
||||||
return error("参数校验失败");
|
return error("参数校验失败");
|
||||||
}
|
}
|
||||||
return success(caseApplicationService.submitCaseApplicationCheck(batchCaseApplication.getIds(),batchCaseApplication.getAgreeOrNotCheck(),batchCaseApplication.getRejectReason()));
|
return success(caseApplicationService.submitCaseApplicationCheck(batchCaseApplication.getIds(),batchCaseApplication.getAgreeOrNotCheck(),batchCaseApplication.getCaseCheckReject()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -21,5 +21,5 @@ public class BatchCaseApplication {
|
|||||||
*/
|
*/
|
||||||
private Integer opinion;
|
private Integer opinion;
|
||||||
/** 驳回原因 */
|
/** 驳回原因 */
|
||||||
private String rejectReason;
|
private String caseCheckReject;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ public interface ICaseApplicationService {
|
|||||||
|
|
||||||
AjaxResult checkArbitrateRecord(CaseApplication caseApplication);
|
AjaxResult checkArbitrateRecord(CaseApplication caseApplication);
|
||||||
|
|
||||||
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason);
|
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String caseCheckReject);
|
||||||
|
|
||||||
CaseApplication selectCaseApplicationConfirm(CaseApplication caseApplication);
|
CaseApplication selectCaseApplicationConfirm(CaseApplication caseApplication);
|
||||||
|
|
||||||
|
|||||||
+9
-3
@@ -1886,7 +1886,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional
|
@Transactional
|
||||||
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason) {
|
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String caseCheckReject) {
|
||||||
//提交立案审查
|
//提交立案审查
|
||||||
int rows = 0;
|
int rows = 0;
|
||||||
for (Long id : ids) {
|
for (Long id : ids) {
|
||||||
@@ -1902,8 +1902,14 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
ArbitrateRecord arbitrateRecordsel = new ArbitrateRecord();
|
ArbitrateRecord arbitrateRecordsel = new ArbitrateRecord();
|
||||||
arbitrateRecordsel.setCaseAppliId(id);
|
arbitrateRecordsel.setCaseAppliId(id);
|
||||||
ArbitrateRecord arbitrateRecordnew = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordsel);
|
ArbitrateRecord arbitrateRecordnew = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordsel);
|
||||||
arbitrateRecordnew.setCaseCheckReject(rejectReason);
|
if(arbitrateRecordnew!=null){
|
||||||
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecordnew);
|
arbitrateRecordnew.setCaseCheckReject(caseCheckReject);
|
||||||
|
arbitrateRecordMapper.updataArbitrateRecord(arbitrateRecordnew);
|
||||||
|
}else {
|
||||||
|
arbitrateRecordsel.setCaseCheckReject(caseCheckReject);
|
||||||
|
arbitrateRecordMapper.insertArbitrateRecord(arbitrateRecordsel);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
// 新增日志
|
// 新增日志
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<if test="arbitrateThink != null and arbitrateThink != ''">arbitrate_think,</if>
|
<if test="arbitrateThink != null and arbitrateThink != ''">arbitrate_think,</if>
|
||||||
|
|
||||||
<if test="checkOpinion != null and checkOpinion != ''">check_opinion,</if>
|
<if test="checkOpinion != null and checkOpinion != ''">check_opinion,</if>
|
||||||
|
<if test="caseCheckReject != null and caseCheckReject != ''">case_check_reject,</if>
|
||||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||||
case_focus,
|
case_focus,
|
||||||
case_facts,
|
case_facts,
|
||||||
@@ -47,6 +48,7 @@
|
|||||||
<if test="verificaOpinion != null and verificaOpinion != ''">#{verificaOpinion},</if>
|
<if test="verificaOpinion != null and verificaOpinion != ''">#{verificaOpinion},</if>
|
||||||
<if test="arbitrateThink != null and arbitrateThink != ''">#{arbitrateThink},</if>
|
<if test="arbitrateThink != null and arbitrateThink != ''">#{arbitrateThink},</if>
|
||||||
<if test="checkOpinion != null and checkOpinion != ''">#{checkOpinion},</if>
|
<if test="checkOpinion != null and checkOpinion != ''">#{checkOpinion},</if>
|
||||||
|
<if test="caseCheckReject != null and caseCheckReject != ''">#{caseCheckReject},</if>
|
||||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||||
#{caseFocus},
|
#{caseFocus},
|
||||||
#{caseFacts},
|
#{caseFacts},
|
||||||
|
|||||||
Reference in New Issue
Block a user