Commit d1ba8b40 authored by fangxinjiang's avatar fangxinjiang

派单调整

parent 744c8ba7
...@@ -538,13 +538,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -538,13 +538,14 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
private void updateDocSocialFund(TSocialInfo social, TProvidentFund fund, TSocialFundInfo socialFund) { private void updateDocSocialFund(TSocialInfo social, TProvidentFund fund, TSocialFundInfo socialFund) {
UpProjectSocialFundVo vo = new UpProjectSocialFundVo(); UpProjectSocialFundVo vo = new UpProjectSocialFundVo();
if (Common.isNotNull(social)){ if (Common.isNotNull(social)){
vo.setSocialStatus(CommonConstants.ZERO_STRING); vo.setSocialStatus(CommonConstants.ONE_STRING);
vo.setDepartNo(socialFund.getSettleDomainCode());
} }
if (Common.isNotNull(fund)){ if (Common.isNotNull(fund)){
vo.setFundStatus(CommonConstants.ZERO_STRING); vo.setFundStatus(CommonConstants.ONE_STRING);
vo.setDepartNo(socialFund.getSettleDomainCodeFund());
} }
vo.setEmpIdCard(socialFund.getEmpIdcard()); vo.setEmpIdCard(socialFund.getEmpIdcard());
vo.setDepartNo(socialFund.getSettleDomainCode());
R<Boolean> resUp = archivesDaprUtil.updateProjectSocialFund(vo); R<Boolean> resUp = archivesDaprUtil.updateProjectSocialFund(vo);
if (Common.isEmpty(resUp) || !(CommonConstants.SUCCESS.intValue() == resUp.getCode()) || !resUp.getData().booleanValue()){ if (Common.isEmpty(resUp) || !(CommonConstants.SUCCESS.intValue() == resUp.getCode()) || !resUp.getData().booleanValue()){
ServiceUtil.runTimeExceptionDiy("同步人员档案、项目档案的社保公积金状态失败!"); ServiceUtil.runTimeExceptionDiy("同步人员档案、项目档案的社保公积金状态失败!");
......
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