Commit 73820b1c authored by huyuchen's avatar huyuchen

huych-合同自动化代码提交

parent c48f71f6
......@@ -425,7 +425,7 @@ public class TEmployeeContractPreServiceImpl extends ServiceImpl<TEmployeeContra
.last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(contractPre)) {
//如果是已完结判断合同申请数据在不在用
if (CommonConstants.NINE_STRING.equals(contractPre.getProcessStatus())) {
if (CommonConstants.NINE_STRING.equals(contractPre.getProcessStatus()) && Common.isNotNull(contractPre.getContractId())) {
TEmployeeContractInfo contractInfo = contractInfoService.getOne(Wrappers.<TEmployeeContractInfo>query()
.lambda().eq(TEmployeeContractInfo::getId, contractPre.getContractId())
.eq(TEmployeeContractInfo::getDeleteFlag, CommonConstants.ZERO_INT)
......
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