Commit 3f9ee9e0 authored by fangxinjiang's avatar fangxinjiang

项目档案无岗位更新岗位fxj 2024-04-17

parent f18931ee
......@@ -3340,10 +3340,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
int forecastFlag;
// 是否SSC,true是
boolean isSSC;
String autoFlag ="0";
String autoFlag;
TDispatchSocialFundInfo socialFundInfo;
for (TDispatchInfo dis : dispatchs) {
autoFlag = autoFlagMap.get(dis.getId());
if (Common.isEmpty(autoFlag)){
autoFlag ="1";
}
isSSC = CommonConstants.FIVE_STRING.equals(dis.getStatus());
forecastFlag = getForecastFlag(dis);
auditInfo = new TAuditInfo();
......@@ -3421,6 +3424,31 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
sf.setSocialReduceDate(null);
}
}
//人工处理
if (CommonConstants.ONE_STRING.equals(auditStatus)){
}
//自动化处理,如果未配置还是人工处理
if (CommonConstants.THREE_STRING.equals(auditStatus)){
if ((CommonConstants.ZERO_STRING.equals(socialInfo.getPensionHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getPensionHandle())
||CommonConstants.ZERO_STRING.equals(socialInfo.getWorkInjuryHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getWorkInjuryHandle())
||CommonConstants.ZERO_STRING.equals(socialInfo.getUnemployHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getUnemployHandle())
&& CommonConstants.ZERO_STRING.equals(autoFlag))){
socialInfo.setYgsHandleStatus(CommonConstants.ONE_STRING);
}
if ((CommonConstants.ZERO_STRING.equals(socialInfo.getMedicalHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getMedicalHandle())
||CommonConstants.ZERO_STRING.equals(socialInfo.getBirthHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getBirthHandle())
||CommonConstants.ZERO_STRING.equals(socialInfo.getBigailmentHandle())
||CommonConstants.FIVE_STRING.equals(socialInfo.getBigailmentHandle())
&& CommonConstants.ZERO_STRING.equals(autoFlag))){
socialInfo.setYgsHandleStatus(CommonConstants.ONE_STRING);
}
}
socialMapper.updateById(socialInfo);
}
}
......@@ -3576,11 +3604,17 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
dis.setAuditTime(now);
//人工处理
if (CommonConstants.ONE_STRING.equals(auditStatus)){
dis.setAutoFlag("1");
dis.setAutoFlag(CommonConstants.ONE_STRING);
}
//自动化处理,如果未配置还是人工处理
if (CommonConstants.THREE_STRING.equals(auditStatus)){
dis.setAutoFlag(Common.isEmpty(autoFlag)?"1":autoFlag);
// 自动化处理
if (CommonConstants.ZERO_STRING.equals(autoFlag)){
dis.setAutoFlag(CommonConstants.ZERO_STRING);
}else {
dis.setAutoFlag(CommonConstants.ONE_STRING);
}
}
baseMapper.updateById(dis);
socialFundMapper.updateById(sf);
......
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