Pārlūkot izejas kodu

修复houseType字段

dsx 2 gadi atpakaļ
vecāks
revīzija
6a311e3116

+ 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;