|
@@ -146,12 +146,13 @@ public class ContractFlow extends FlowDelegate {
|
|
//保存设计稿图
|
|
//保存设计稿图
|
|
ObsFileUtil.editFile(cp.getFileList(), cp.getId());
|
|
ObsFileUtil.editFile(cp.getFileList(), cp.getId());
|
|
//保存生产源文件
|
|
//保存生产源文件
|
|
- String prodFilePath = cp.getProdFilePath();
|
|
|
|
- if (ObjectUtil.isNotEmpty(prodFilePath) && prodFilePath.startsWith("/temp")) {
|
|
|
|
- String targetFolderPath = String.format("/contractProduct/%s", cp.getId());
|
|
|
|
- com.alibaba.fastjson2.JSONObject prodFile = ftpFileService.moveFolder(prodFilePath, targetFolderPath);
|
|
|
|
- cp.setProdFilePath(prodFile.getString("path"));
|
|
|
|
- }
|
|
|
|
|
|
+ ObsFileUtil.editFile(cp.getProdFilePath(), cp.getId(), 1);
|
|
|
|
+// String prodFilePath = cp.getProdFilePath();
|
|
|
|
+// if (ObjectUtil.isNotEmpty(prodFilePath) && prodFilePath.startsWith("/temp")) {
|
|
|
|
+// String targetFolderPath = String.format("/contractProduct/%s", cp.getId());
|
|
|
|
+// com.alibaba.fastjson2.JSONObject prodFile = ftpFileService.moveFolder(prodFilePath, targetFolderPath);
|
|
|
|
+// cp.setProdFilePath(prodFile.getString("path"));
|
|
|
|
+// }
|
|
|
|
|
|
//赋值产品BOM信息
|
|
//赋值产品BOM信息
|
|
List<ContractProductBom> contractProductBomList = cp.getContractProductBomList();
|
|
List<ContractProductBom> contractProductBomList = cp.getContractProductBomList();
|