Commit c3b692e5 authored by fangxinjiang's avatar fangxinjiang

社保公积金办理失败派单成功清空错误信息-fxj

parent 69b535aa
...@@ -1163,11 +1163,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -1163,11 +1163,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if (Common.isNotNull(dispatch.getPreId())) { if (Common.isNotNull(dispatch.getPreId())) {
TDispatchInfoPre dispatchInfoPre = dispatchInfoPreMapper.selectById(dispatch.getPreId()); TDispatchInfoPre dispatchInfoPre = dispatchInfoPreMapper.selectById(dispatch.getPreId());
if (Common.isNotNull(dispatchInfoPre)) { if (Common.isNotNull(dispatchInfoPre)) {
// 当状态从派单失败(2)变更为待审核(3)时,清空错误信息
if (CommonConstants.TWO_STRING.equals(dispatchInfoPre.getProcessStatus())) {
dispatchInfoPre.setErrorInfo(null);
dispatchInfoPre.setErrorTime(null);
}
dispatchInfoPre.setProcessStatus(CommonConstants.THREE_STRING); dispatchInfoPre.setProcessStatus(CommonConstants.THREE_STRING);
dispatchInfoPre.setDispatcherId(socialFund.getDispatchId()); dispatchInfoPre.setDispatcherId(socialFund.getDispatchId());
dispatchInfoPre.setSocialFundId(socialFund.getId()); dispatchInfoPre.setSocialFundId(socialFund.getId());
dispatchInfoPre.setErrorInfo(null);
dispatchInfoPre.setErrorTime(null);
dispatchInfoPreMapper.updateById(dispatchInfoPre); dispatchInfoPreMapper.updateById(dispatchInfoPre);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment