Commit c80c2d61 authored by hongguangwu's avatar hongguangwu

1.7.21-优化

parent 32a67e75
...@@ -390,8 +390,10 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -390,8 +390,10 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
} }
} }
//处理合同待办信息 //处理合同待办信息
// 状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9已完结10撤销签署-客服撤销 11 撤销签署-系统自动撤销
LambdaUpdateWrapper<TEmployeeContractPre> updateWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<TEmployeeContractPre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(TEmployeeContractPre::getRegisterId, updatePre.getId()); updateWrapper.eq(TEmployeeContractPre::getRegisterId, updatePre.getId());
updateWrapper.in(TEmployeeContractPre::getProcessStatus, Arrays.asList("0","1","3","5","10","11","7"));
updateWrapper.set(TEmployeeContractPre::getIsLeave,CommonConstants.ZERO_STRING); updateWrapper.set(TEmployeeContractPre::getIsLeave,CommonConstants.ZERO_STRING);
int res = contractPreMapper.update(null,updateWrapper); int res = contractPreMapper.update(null,updateWrapper);
if (res > 0){ if (res > 0){
......
...@@ -1092,8 +1092,10 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur ...@@ -1092,8 +1092,10 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
} }
} }
// 状态,0待确认,1待派单,2派单失败,3待投保,4投保中,5投保退回,6已完成,7待缴费
LambdaUpdateWrapper<TEmployeeInsurancePre> updateWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<TEmployeeInsurancePre> updateWrapper = new LambdaUpdateWrapper<>();
updateWrapper.eq(TEmployeeInsurancePre::getRegisterId, preVo.getRegisterId()); updateWrapper.eq(TEmployeeInsurancePre::getRegisterId, preVo.getRegisterId());
updateWrapper.in(TEmployeeInsurancePre::getProcessStatus, Arrays.asList("0","1","2","5"));
updateWrapper.set(TEmployeeInsurancePre::getIsLeave, CommonConstants.ZERO_STRING); updateWrapper.set(TEmployeeInsurancePre::getIsLeave, CommonConstants.ZERO_STRING);
return this.update(updateWrapper); return this.update(updateWrapper);
} }
......
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