소스 검색

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, ""));