update 后管新增站点基本设施配置

This commit is contained in:
Lemon
2025-05-30 08:55:33 +08:00
parent 9731a53205
commit cbbee289fb
6 changed files with 292 additions and 12 deletions

View File

@@ -217,6 +217,17 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
vo.setPictures(pileStationInfo.getPictures());
vo.setPictureList(Lists.newArrayList(pileStationInfo.getPictures().split(",")));
}
// 站点基础设施
vo.setParkFree(pileStationInfo.getParkFree());
vo.setSupportOrder(pileStationInfo.getSupportOrder());
vo.setToiletFlag(pileStationInfo.getToiletFlag());
vo.setStoreFlag(pileStationInfo.getStoreFlag());
vo.setRestaurantFlag(pileStationInfo.getRestaurantFlag());
vo.setLoungeFlag(pileStationInfo.getLoungeFlag());
vo.setCanopyFlag(pileStationInfo.getCanopyFlag());
vo.setPrinterFlag(pileStationInfo.getPrinterFlag());
vo.setBarrierFlag(pileStationInfo.getBarrierFlag());
vo.setParkingLockFlag(pileStationInfo.getParkingLockFlag());
}
return vo;
}
@@ -729,6 +740,18 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
stationVO.setVipServicePrice(currentTimePriceDetails.getVipServicePrice());
stationVO.setVipTotalPrice(currentTimePriceDetails.getVipTotalPrice());
}
// 站点基础设施
stationVO.setParkFree(pileStationVO.getParkFree());
stationVO.setSupportOrder(pileStationVO.getSupportOrder());
stationVO.setToiletFlag(pileStationVO.getToiletFlag());
stationVO.setStoreFlag(pileStationVO.getStoreFlag());
stationVO.setRestaurantFlag(pileStationVO.getRestaurantFlag());
stationVO.setLoungeFlag(pileStationVO.getLoungeFlag());
stationVO.setCanopyFlag(pileStationVO.getCanopyFlag());
stationVO.setPrinterFlag(pileStationVO.getPrinterFlag());
stationVO.setBarrierFlag(pileStationVO.getBarrierFlag());
stationVO.setParkingLockFlag(pileStationVO.getParkingLockFlag());
stationVOList.add(stationVO);
}
String sortType = dto.getSortType();

View File

@@ -128,6 +128,57 @@ public class StationInfoVO {
*/
private String stationLat;
/**
* 是否停车免费
*/
private String parkFree;
/**
* 是否支持预约
*/
private String supportOrder;
/**
* 是否靠近卫生间
*/
private String toiletFlag;
/**
* 是否靠近便利店
*/
private String storeFlag;
/**
* 是否靠近餐厅
*/
private String restaurantFlag;
/**
* 是否靠近休息室
*/
private String loungeFlag;
/**
* 是否有雨棚
*/
private String canopyFlag;
/**
* 是否有小票机
*/
private String printerFlag;
/**
* 是否有道闸
*/
private String barrierFlag;
/**
* 是否有地锁
*/
private String parkingLockFlag;
/**
* 是否已收藏该站点
*/

View File

@@ -238,4 +238,54 @@ public class PileStationVO {
*/
private String aMapStationName;
/**
* 是否停车免费
*/
private String parkFree;
/**
* 是否支持预约
*/
private String supportOrder;
/**
* 是否靠近卫生间
*/
private String toiletFlag;
/**
* 是否靠近便利店
*/
private String storeFlag;
/**
* 是否靠近餐厅
*/
private String restaurantFlag;
/**
* 是否靠近休息室
*/
private String loungeFlag;
/**
* 是否有雨棚
*/
private String canopyFlag;
/**
* 是否有小票机
*/
private String printerFlag;
/**
* 是否有道闸
*/
private String barrierFlag;
/**
* 是否有地锁
*/
private String parkingLockFlag;
}