|
|
@ -333,10 +333,6 @@ public class LoanCaseEntrustLawyerApplyService extends MybatisBaseService<LoanCa |
|
|
|
public ResultBean submit(SubmitLoanCaseEntrustLawyerApplyDto dto) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
LoanCaseEntrustLawyerApply loanCaseEntrustLawyerApply = fetchBySid(dto.getSid()); |
|
|
|
int i = baseMapper.selectBusSisAndCaseStage(loanCaseEntrustLawyerApply.getBusSid(), loanCaseEntrustLawyerApply.getCaseStage()); |
|
|
|
if (i > 0){ |
|
|
|
return rb.setMsg("相同阶段案件进程已存在提交中或已办结的委托律师申请"); |
|
|
|
} |
|
|
|
int r = submitBusinessData(dto, loanCaseEntrustLawyerApply); |
|
|
|
if (r == 3) { |
|
|
|
return rb.setMsg("该申请不存在"); |
|
|
@ -347,6 +343,10 @@ public class LoanCaseEntrustLawyerApplyService extends MybatisBaseService<LoanCa |
|
|
|
//新增修改保存
|
|
|
|
String businessSid = saveOrUpdateDto(dto); |
|
|
|
loanCaseEntrustLawyerApply = fetchBySid(businessSid); |
|
|
|
int i = baseMapper.selectBusSisAndCaseStage(loanCaseEntrustLawyerApply.getBusSid(), loanCaseEntrustLawyerApply.getCaseStage()); |
|
|
|
if (i > 0){ |
|
|
|
return rb.setMsg("相同阶段案件进程已存在提交中或已办结的委托律师申请"); |
|
|
|
} |
|
|
|
//创建BusinessVariables实体对象
|
|
|
|
BusinessVariables bv = new BusinessVariables(); |
|
|
|
//流程中的参数赋值、若有网关,则赋值网关中判断的字段。
|
|
|
|