Commit 4ac734e4 authored by fangxinjiang's avatar fangxinjiang

工资兼容订单接口

parent 06c1a3d8
...@@ -3321,14 +3321,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -3321,14 +3321,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
// 同步预估库数据 // 同步预估库数据
forecastLibraryService.updateForecastLibaryByDispatchReduce(sf, forecastFlag); forecastLibraryService.updateForecastLibaryByDispatchReduce(sf, forecastFlag);
} }
UpProjectSocialFundVo vo = new UpProjectSocialFundVo(); // 派减办理失败不同步档案的相关字段信息
// 社保状态 社保状态(字典): 0 无社保 1 处理中 2.部分购买 3.正常 4.已派减 if (!(CommonConstants.ONE_STRING.equals(dis.getType()) && CommonConstants.ONE_INT == flag)){
initSocialFundStatus(socialInfo, providentFund, vo,sf); UpProjectSocialFundVo vo = new UpProjectSocialFundVo();
vo.setEmpIdCard(dis.getEmpIdcard()); // 社保状态 社保状态(字典): 0 无社保 1 处理中 2.部分购买 3.正常 4.已派减
vo.setDepartNo(dis.getSettleDomainCode()); initSocialFundStatus(socialInfo, providentFund, vo,sf);
R<Boolean> resUp = archivesDaprUtil.updateProjectSocialFund(vo); vo.setEmpIdCard(dis.getEmpIdcard());
if (Common.isEmpty(resUp) || !(CommonConstants.SUCCESS.intValue() == resUp.getCode()) || !resUp.getData().booleanValue()){ vo.setDepartNo(dis.getSettleDomainCode());
ServiceUtil.runTimeExceptionDiy("同步人员档案、项目档案的社保公积金状态失败!"); R<Boolean> resUp = archivesDaprUtil.updateProjectSocialFund(vo);
if (Common.isEmpty(resUp) || !(CommonConstants.SUCCESS.intValue() == resUp.getCode()) || !resUp.getData().booleanValue()){
ServiceUtil.runTimeExceptionDiy("同步人员档案、项目档案的社保公积金状态失败!");
}
} }
} else { } else {
errorList.add(new ErrorMessage(-1, "派单数据错误!")); errorList.add(new ErrorMessage(-1, "派单数据错误!"));
......
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