|
@@ -58,8 +58,8 @@ public class HouseTypeServiceImpl implements IHouseTypeService {
|
|
if(CollUtil.isEmpty(list)){
|
|
if(CollUtil.isEmpty(list)){
|
|
return;
|
|
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)){
|
|
if(fYunFileServiceInterface.fileExist(houseTypePath)){
|
|
plus.setHouseType(CommonStatus.YES.code().intValue());
|
|
plus.setHouseType(CommonStatus.YES.code().intValue());
|
|
return true;
|
|
return true;
|