|
|
@ -333,6 +333,10 @@ 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("该申请不存在"); |
|
|
|