|
|
@ -578,6 +578,19 @@ public class LoanFinOtherPolicyRecordApplyService extends MybatisBaseService<Loa |
|
|
|
} |
|
|
|
Map<String, Object> map = BeanUtil.beanToMap(resultBean.getData()); |
|
|
|
updateFlowFiled(map); |
|
|
|
//终止任务后备案状态改完未备案
|
|
|
|
LoanFinOtherPolicyRecordApply loanFinOtherPolicyRecordApply = fetchBySid(query.getBusinessSid()); |
|
|
|
if (loanFinOtherPolicyRecordApply.getNodeState().equals("终止")) { |
|
|
|
String policySids = loanFinOtherPolicyRecordApply.getOtherPolicySid(); |
|
|
|
List<String> strings = Arrays.asList(policySids.split(",")); |
|
|
|
if (!strings.isEmpty()) { |
|
|
|
for (String sid : strings) { |
|
|
|
LoanFinOtherPolicy loanFinOtherPolicy = loanFinOtherPolicyService.fetchBySid(sid); |
|
|
|
loanFinOtherPolicy.setFilingState(0); |
|
|
|
loanFinOtherPolicyService.updateById(loanFinOtherPolicy); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return rb.success().setData(resultBean.getData()); |
|
|
|
} else { |
|
|
|
if (businessTaskId.equals(query.getTaskId())) { |
|
|
@ -589,6 +602,19 @@ public class LoanFinOtherPolicyRecordApplyService extends MybatisBaseService<Loa |
|
|
|
} |
|
|
|
Map<String, Object> map = BeanUtil.beanToMap(resultBean.getData()); |
|
|
|
updateFlowFiled(map); |
|
|
|
//终止任务后备案状态改完未备案
|
|
|
|
LoanFinOtherPolicyRecordApply loanFinOtherPolicyRecordApply = fetchBySid(query.getBusinessSid()); |
|
|
|
if (loanFinOtherPolicyRecordApply.getNodeState().equals("终止")) { |
|
|
|
String policySids = loanFinOtherPolicyRecordApply.getOtherPolicySid(); |
|
|
|
List<String> strings = Arrays.asList(policySids.split(",")); |
|
|
|
if (!strings.isEmpty()) { |
|
|
|
for (String sid : strings) { |
|
|
|
LoanFinOtherPolicy loanFinOtherPolicy = loanFinOtherPolicyService.fetchBySid(sid); |
|
|
|
loanFinOtherPolicy.setFilingState(0); |
|
|
|
loanFinOtherPolicyService.updateById(loanFinOtherPolicy); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return rb.success().setData(resultBean.getData()); |
|
|
|
} |
|
|
|
} |
|
|
|