瀏覽代碼

修复houseType字段

dsx 2 年之前
父節點
當前提交
6a311e3116
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/fdkankan/job/service/impl/HouseTypeServiceImpl.java

+ 2 - 2
src/main/java/com/fdkankan/job/service/impl/HouseTypeServiceImpl.java

@@ -58,8 +58,8 @@ public class HouseTypeServiceImpl implements IHouseTypeService {
         if(CollUtil.isEmpty(list)){
             return;
         }
-        List<ScenePlus> updateList = list.parallelStream().filter(plus -> {
-            String houseTypePath = String.format(UploadFilePath.DATA_VIEW_PATH, plus.getNum()) + "houseType.json";
+        List<ScenePlus> updateList = list.stream().filter(plus -> {
+            String houseTypePath = String.format(UploadFilePath.USER_VIEW_PATH, plus.getNum()) + "houseType.json";
             if(fYunFileServiceInterface.fileExist(houseTypePath)){
                 plus.setHouseType(CommonStatus.YES.code().intValue());
                 return true;