Commit 049701cc authored by huyuchen's avatar huyuchen

huych-入职确认信息编辑提交

parent 51c822fe
...@@ -4111,14 +4111,15 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -4111,14 +4111,15 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//派增审核不通过更新派单信息 //派增审核不通过更新派单信息
if (CommonConstants.dingleDigitStrArray[0].equals(dis.getType()) if (CommonConstants.dingleDigitStrArray[0].equals(dis.getType())
&& CommonConstants.ONE_INT == flag && CommonConstants.ONE_INT == flag
&& Common.isNotNull(dispatchInfoPre) && Common.isNotNull(dis.getSocialId())
&& Common.isNotNull(dis.getSocialId()) && Common.isNotNull(socialInfo)) { && Common.isNotNull(socialInfo)) {
//派单审核通过更新社保待购买表的状态 //派单审核通过更新社保待购买表的状态
TDispatchInfoPre dispatchInfoPre = dispatchInfoPreMapper.selectOne(Wrappers.<TDispatchInfoPre>query().lambda() TDispatchInfoPre dispatchInfoPre = dispatchInfoPreMapper.selectOne(Wrappers.<TDispatchInfoPre>query().lambda()
.eq(TDispatchInfoPre::getSocialFundId, sf.getId()) .eq(TDispatchInfoPre::getSocialFundId, sf.getId())
.eq(TDispatchInfoPre::getTypeSub, CommonConstants.ZERO_STRING) .eq(TDispatchInfoPre::getTypeSub, CommonConstants.ZERO_STRING)
.eq(TDispatchInfoPre::getProcessStatus, CommonConstants.THREE_STRING) .eq(TDispatchInfoPre::getProcessStatus, CommonConstants.THREE_STRING)
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(dispatchInfoPre)) {
if (sf.getSocialStatus().equals(CommonConstants.FOUR_STRING)) { if (sf.getSocialStatus().equals(CommonConstants.FOUR_STRING)) {
dispatchInfoPre.setProcessStatus(CommonConstants.NINE_STRING); dispatchInfoPre.setProcessStatus(CommonConstants.NINE_STRING);
} else { } else {
...@@ -4136,6 +4137,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -4136,6 +4137,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
socialAutoLogService.save(socialAutoLog); socialAutoLogService.save(socialAutoLog);
sendDisFalureMessageToWx(dispatchInfoPre, socialAutoLog.getId()); sendDisFalureMessageToWx(dispatchInfoPre, socialAutoLog.getId());
} }
}
//新增审核记录信息 //新增审核记录信息
auditInfo.setEmpIdcard(dis.getEmpIdcard()); auditInfo.setEmpIdcard(dis.getEmpIdcard());
auditInfo.setDispatchInfoId(dis.getId()); auditInfo.setDispatchInfoId(dis.getId());
......
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