|
@ -477,7 +477,7 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf |
|
|
} |
|
|
} |
|
|
// 图片附件处理
|
|
|
// 图片附件处理
|
|
|
if (null == dto.getFileList() || dto.getFileList().isEmpty()) { |
|
|
if (null == dto.getFileList() || dto.getFileList().isEmpty()) { |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "合同附件不能为空"); |
|
|
// throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "合同附件不能为空");
|
|
|
} else { |
|
|
} else { |
|
|
List<RentContractFileEntity> fileList = ConvertUtils.sourceToTarget(dto.getFileList(), RentContractFileEntity.class); |
|
|
List<RentContractFileEntity> fileList = ConvertUtils.sourceToTarget(dto.getFileList(), RentContractFileEntity.class); |
|
|
fileList.forEach(item -> { |
|
|
fileList.forEach(item -> { |
|
|