|
@@ -125,13 +125,9 @@ public class contractServiceImpl extends ServiceImpl<ContractMapper, ContractEnt
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
baseMapper.updateById(contractEntity);
|
|
baseMapper.updateById(contractEntity);
|
|
|
- if (contractDto.getSupplierIdList() != null && !contractDto.getSupplierIdList().isEmpty()) {
|
|
|
|
|
- contractSupplierService.saveAndUpdate(contractDto.getSupplierIdList(), contractEntity.getId());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ contractSupplierService.saveAndUpdate(contractDto.getSupplierIdList(), contractEntity.getId());
|
|
|
|
|
|
|
|
- if (contractDto.getFilePathIdList() != null) {
|
|
|
|
|
- contractFileService.saveAndUpdate(contractDto.getFilePathIdList(), contractEntity.getId());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ contractFileService.saveAndUpdate(contractDto.getFilePathIdList(), contractEntity.getId());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|