Commit 0f0b1208 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent 4963e019
......@@ -304,7 +304,8 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
//清空合同待签订数据
if (preVo.getServerItem().contains("合同") && null != preVo.getEmployeeContractPreVos() &&
Common.isNotNull(preVo.getEmployeeContractPreVos().getContractFlag()) &&
CommonConstants.ZERO_STRING.equals(preVo.getEmployeeContractPreVos().getContractFlag())) {
(CommonConstants.ZERO_STRING.equals(preVo.getEmployeeContractPreVos().getContractFlag()) ||
Common.isEmpty(preVo.getEmployeeContractPreVos().getContractFlag()))) {
//查询老的合同明细
TEmployeeContractPre contractOld = contractPreMapper.selectOne(Wrappers.<TEmployeeContractPre>query().lambda()
.eq(TEmployeeContractPre::getRegisterId,pre.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