收入合同项目列表查询修改

This commit is contained in:
梁琦涛
2021-09-07 14:22:05 +08:00
parent d36173df0c
commit cc4c7396c9
3 changed files with 10 additions and 10 deletions
@@ -374,7 +374,7 @@ public class PayIncomeContractServiceImpl extends ServiceImpl<PayIncomeContractM
throw new JeroBootException("关联id不能为空!");
}
PayIncomeContractAssociated payIncomeContractAssociated = payIncomeContractAssociatedService.getById(input.getId());
if(Objects.equals(input.getContractId(),payIncomeContractAssociated.getContractId())){
if(!Objects.equals(input.getContractId(),payIncomeContractAssociated.getContractId())){
throw new JeroBootException("关联id不能为空!");
}
if(Objects.isNull(payIncomeContractAssociated)){