Commit f4a3aac7 authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent a1640376
...@@ -310,7 +310,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi ...@@ -310,7 +310,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
.eq(TEmployeeContractPre::getRegisterId,pre.getId()) .eq(TEmployeeContractPre::getRegisterId,pre.getId())
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(contractOld)) { if (Common.isNotNull(contractOld)) {
baseMapper.deleteById(contractOld); contractPreMapper.deleteById(contractOld);
} }
} }
} }
......
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