瀏覽代碼

fix bird temp>models

xiewenjie 3 年之前
父節點
當前提交
8b15b6e0ef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sxz-core/src/main/java/com/fdkk/sxz/webApi/controller/ManagerController.java

+ 1 - 1
sxz-core/src/main/java/com/fdkk/sxz/webApi/controller/ManagerController.java

@@ -710,7 +710,7 @@ public class ManagerController extends BaseController {
                         renovationPartsDetailEntity.setPath(renovationPartsDetailEntity.getPath().replace("/temp/", "/models/"));
                     }
 
-                    if (ObjectUtil.isNotNull(renovationPartsDetailEntity.getBirdPath()) && renovationPartsDetailEntity.getPath().contains("temp")) {
+                    if (ObjectUtil.isNotNull(renovationPartsDetailEntity.getBirdPath()) && renovationPartsDetailEntity.getBirdPath().contains("temp")) {
                         uploadToOssUtil.copyTo4dTjw(renovationPartsDetailEntity.getBirdPath().replace(prefix, ""),
                                 renovationPartsDetailEntity.getBirdPath().replace("/temp/", "/models/").replace(prefix, ""));
                         uploadToOssUtil.deleteTo4dTjw(renovationPartsDetailEntity.getBirdPath().replace(prefix, ""));