优化案件提交退还原因 #301
+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()));
|
return success(caseApplicationService.submitCaseApplicationCheck(batchCaseApplication.getIds(),batchCaseApplication.getAgreeOrNotCheck(),batchCaseApplication.getRejectReason()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,6 +57,19 @@ public class ArbitrateRecord extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String applicantOpinion;
|
private String applicantOpinion;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 立案审查驳回原因
|
||||||
|
*/
|
||||||
|
private String caseCheckReject;
|
||||||
|
/**
|
||||||
|
* 仲裁员确认裁决书驳回
|
||||||
|
*/
|
||||||
|
private String arbitrateReject;
|
||||||
|
/**
|
||||||
|
* 部门长确认裁决书驳回
|
||||||
|
*/
|
||||||
|
private String deptorReject;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,4 +20,6 @@ public class BatchCaseApplication {
|
|||||||
* 1同意,0拒绝
|
* 1同意,0拒绝
|
||||||
*/
|
*/
|
||||||
private Integer opinion;
|
private Integer opinion;
|
||||||
|
/** 驳回原因 */
|
||||||
|
private String rejectReason;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ public interface ICaseApplicationService {
|
|||||||
|
|
||||||
AjaxResult checkArbitrateRecord(CaseApplication caseApplication);
|
AjaxResult checkArbitrateRecord(CaseApplication caseApplication);
|
||||||
|
|
||||||
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck);
|
int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason);
|
||||||
|
|
||||||
CaseApplication selectCaseApplicationConfirm(CaseApplication caseApplication);
|
CaseApplication selectCaseApplicationConfirm(CaseApplication caseApplication);
|
||||||
|
|
||||||
|
|||||||
+7
-1
@@ -2230,7 +2230,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional
|
@Transactional
|
||||||
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck) {
|
public int submitCaseApplicationCheck(List<Long> ids, Integer agreeOrNotCheck,String rejectReason) {
|
||||||
//提交立案审查
|
//提交立案审查
|
||||||
int rows = 0;
|
int rows = 0;
|
||||||
for (Long id : ids) {
|
for (Long id : ids) {
|
||||||
@@ -2243,6 +2243,12 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
} else if (agreeOrNotCheck == 2) {//拒绝审核
|
} else if (agreeOrNotCheck == 2) {//拒绝审核
|
||||||
caseApplication.setCaseStatus(CaseApplicationConstants.CASE_APPLICATION);
|
caseApplication.setCaseStatus(CaseApplicationConstants.CASE_APPLICATION);
|
||||||
rows += caseApplicationMapper.submitCaseApplication(caseApplication);
|
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, "");
|
insertCaseLog(caseApplication.getId(), CaseApplicationConstants.PENDING_PAYMENT, "");
|
||||||
|
|||||||
@@ -74,6 +74,9 @@
|
|||||||
<if test="caseFacts != null and caseFacts != ''">case_facts = #{caseFacts},</if>
|
<if test="caseFacts != null and caseFacts != ''">case_facts = #{caseFacts},</if>
|
||||||
<if test="respondentOpinion != null and respondentOpinion != ''">respondent_opinion = #{respondentOpinion},</if>
|
<if test="respondentOpinion != null and respondentOpinion != ''">respondent_opinion = #{respondentOpinion},</if>
|
||||||
<if test="applicantOpinion != null and applicantOpinion != ''">applicant_opinion = #{applicantOpinion},</if>
|
<if test="applicantOpinion != null and applicantOpinion != ''">applicant_opinion = #{applicantOpinion},</if>
|
||||||
|
<if test="caseCheckReject != null and caseCheckReject != ''">case_check_reject = #{caseCheckReject},</if>
|
||||||
|
<if test="arbitrateReject != null and arbitrateReject != ''">arbitrate_reject = #{arbitrateReject},</if>
|
||||||
|
<if test="deptorReject != null and deptorReject != ''">deptor_reject = #{deptorReject},</if>
|
||||||
update_time = sysdate()
|
update_time = sysdate()
|
||||||
</set>
|
</set>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
@@ -82,7 +85,8 @@
|
|||||||
|
|
||||||
<select id="selectArbitrateRecord" parameterType="ArbitrateRecord" resultMap="ArbitrateRecordResult">
|
<select id="selectArbitrateRecord" parameterType="ArbitrateRecord" resultMap="ArbitrateRecordResult">
|
||||||
SELECT a.id ,a.case_appli_id ,a.eviden_determi ,a.fact_determi ,a.case_sketch ,a.arbitrate_think ,a.ruling_follows ,
|
SELECT a.id ,a.case_appli_id ,a.eviden_determi ,a.fact_determi ,a.case_sketch ,a.arbitrate_think ,a.ruling_follows ,
|
||||||
a.verifica_opinion ,a.check_opinion,a.annex_id,a.case_focus,a.case_facts,a.respondent_opinion,a.applicant_opinion
|
a.verifica_opinion ,a.check_opinion,a.annex_id,a.case_focus,a.case_facts,a.respondent_opinion,a.applicant_opinion,
|
||||||
|
a.case_check_reject ,a.arbitrate_reject,a.deptor_reject
|
||||||
from arbitrate_record a
|
from arbitrate_record a
|
||||||
<where>
|
<where>
|
||||||
<if test="caseAppliId != null ">
|
<if test="caseAppliId != null ">
|
||||||
|
|||||||
Reference in New Issue
Block a user