|
@@ -105,10 +105,11 @@ public class ProductServiceImpl implements IProductService {
|
|
|
assoProductFileService.deleteAssoByFileIds(oldFileIdList); //删除产品文件关联表中被删除附件的数据
|
|
|
}
|
|
|
|
|
|
- //7.插入新的附件入文件表中,返回文件id
|
|
|
+ //7.插入新的附件入报告系统文件表中,返回文件id
|
|
|
List<Integer> fileIds = reportFileService.uploadFiles(files);
|
|
|
- Integer productId = product.getId();
|
|
|
+
|
|
|
//8.插入新的文件id入产品文件关联表中
|
|
|
+ Integer productId = product.getId();
|
|
|
assoProductFileService.addAsso(productId, fileIds);
|
|
|
|
|
|
log.info("产品修改完成");
|