Commit 049701cc authored by huyuchen's avatar huyuchen

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

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