Commit 247b997f authored by hongguangwu's avatar hongguangwu

1.7.21-优化

parent 6fc6da3d
......@@ -393,6 +393,8 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
// 状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9已完结10撤销签署-客服撤销 11 撤销签署-系统自动撤销
LambdaUpdateWrapper<TEmployeeContractPre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(TEmployeeContractPre::getRegisterId, updatePre.getId());
updateWrapper.ne(TEmployeeContractPre::getIsRefuse, CommonConstants.ZERO_STRING);
updateWrapper.ne(TEmployeeContractPre::getIsLeave, CommonConstants.ZERO_STRING);
updateWrapper.in(TEmployeeContractPre::getProcessStatus, Arrays.asList("0","1","3","5","10","11","7"));
updateWrapper.set(TEmployeeContractPre::getIsLeave,CommonConstants.ZERO_STRING);
int res = contractPreMapper.update(null,updateWrapper);
......
......@@ -1101,6 +1101,8 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
// 状态,0待确认,1待派单,2派单失败,3待投保,4投保中,5投保退回,6已完成,7待缴费
LambdaUpdateWrapper<TEmployeeInsurancePre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(TEmployeeInsurancePre::getRegisterId, preVo.getRegisterId());
updateWrapper.ne(TEmployeeInsurancePre::getIsLeave, CommonConstants.ZERO_STRING);
updateWrapper.ne(TEmployeeInsurancePre::getIsRefuse, CommonConstants.ZERO_STRING);
updateWrapper.in(TEmployeeInsurancePre::getProcessStatus, Arrays.asList("0","1","2","5"));
updateWrapper.set(TEmployeeInsurancePre::getIsLeave, CommonConstants.ZERO_STRING);
return this.update(updateWrapper);
......
......@@ -1087,6 +1087,8 @@ public class TDispatchInfoPreServiceImpl extends ServiceImpl<TDispatchInfoPreMap
//更新未处理的社保待购买信息
LambdaUpdateWrapper<TDispatchInfoPre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.set(TDispatchInfoPre::getIsLeave, CommonConstants.ZERO_STRING);
updateWrapper.ne(TDispatchInfoPre::getIsLeave,CommonConstants.ZERO_STRING);
updateWrapper.ne(TDispatchInfoPre::getIsRefuse,CommonConstants.ZERO_STRING);
updateWrapper.in(TDispatchInfoPre::getTypeSub,CommonConstants.ZERO_STRING);
updateWrapper.in(TDispatchInfoPre::getProcessStatus, Arrays.asList("0", "1", "2", "4","8","9"));
updateWrapper.eq(TDispatchInfoPre::getRegisterId, id);
......@@ -1109,6 +1111,8 @@ public class TDispatchInfoPreServiceImpl extends ServiceImpl<TDispatchInfoPreMap
//删除未处理的公积金待购买信息
LambdaUpdateWrapper<TDispatchInfoPre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.set(TDispatchInfoPre::getIsLeave, CommonConstants.ZERO_STRING);
updateWrapper.ne(TDispatchInfoPre::getIsLeave,CommonConstants.ZERO_STRING);
updateWrapper.ne(TDispatchInfoPre::getIsRefuse,CommonConstants.ZERO_STRING);
updateWrapper.in(TDispatchInfoPre::getTypeSub,CommonConstants.ONE_STRING);
updateWrapper.in(TDispatchInfoPre::getProcessStatus, Arrays.asList("0", "1", "2", "4","8"));
updateWrapper.eq(TDispatchInfoPre::getRegisterId, id);
......
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