Commit 1471a062 authored by fangxinjiang's avatar fangxinjiang

拒绝入职优化-fxj

parent 11516033
...@@ -1043,7 +1043,12 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur ...@@ -1043,7 +1043,12 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
} }
} }
} }
//已完成状态不需要更新
// 已完成状态不需要更新
if (CommonConstants.SIX_STRING.equals(insurancePre.getProcessStatus())) {
return true;
}
LambdaUpdateWrapper<TEmployeeInsurancePre> updateWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<TEmployeeInsurancePre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(TEmployeeInsurancePre::getRegisterId, preVo.getRegisterId()); updateWrapper.eq(TEmployeeInsurancePre::getRegisterId, preVo.getRegisterId());
updateWrapper.ne(TEmployeeInsurancePre::getProcessStatus, CommonConstants.SIX_STRING); updateWrapper.ne(TEmployeeInsurancePre::getProcessStatus, CommonConstants.SIX_STRING);
......
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