|
@@ -68,7 +68,7 @@ public class RelationsConversionServiceImpl implements RelationsConversionServic
|
|
|
}
|
|
|
conversionMapper.insert(conversion);
|
|
|
// 保存业务uuid到附件中
|
|
|
- this.saveFileList(createReqVO.getFileIdList(), infoId);
|
|
|
+ fileApi.updateFileBiz(createReqVO.getFileIdList(), infoId);
|
|
|
// 返回
|
|
|
return conversion.getId();
|
|
|
}
|
|
@@ -79,7 +79,7 @@ public class RelationsConversionServiceImpl implements RelationsConversionServic
|
|
|
// 校验存在
|
|
|
validateConversionExists(updateReqVO.getId());
|
|
|
// 保存业务uuid到附件中
|
|
|
- this.saveFileList(updateReqVO.getFileIdList(), updateReqVO.getConversionId());
|
|
|
+ fileApi.updateFileBiz(updateReqVO.getFileIdList(), updateReqVO.getConversionId());
|
|
|
// 更新
|
|
|
RelationsConversionDO updateObj = BeanUtils.toBean(updateReqVO, RelationsConversionDO.class);
|
|
|
conversionMapper.updateById(updateObj);
|
|
@@ -149,14 +149,4 @@ public class RelationsConversionServiceImpl implements RelationsConversionServic
|
|
|
return conversionMapper.selectPage(pageReqVO);
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 保存业务uuid到附件中
|
|
|
- */
|
|
|
- @TenantIgnore
|
|
|
- private void saveFileList(List<Long> fileIdList, String serviceId) {
|
|
|
- if (CollectionUtil.isNotEmpty(fileIdList) && StrUtil.isNotEmpty(serviceId)) {
|
|
|
- fileApi.updateFileBiz(fileIdList, serviceId);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
}
|