|
|
|
@ -45,7 +45,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
HotelPassengerFlowVO hotelPassengerFlowVO = new HotelPassengerFlowVO(); |
|
|
|
|
List<HotelPassengerDTO> todayCheckHotelPassengerDTOList = new ArrayList<>(); |
|
|
|
|
//获取今日数据
|
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.getTicketThisDayData(organCode,""); |
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.getTicketThisDayData(organCode, ""); |
|
|
|
|
HotelPassengerDTO quantityHotelPassengerDTO = new HotelPassengerDTO(); |
|
|
|
|
quantityHotelPassengerDTO.setName("数量"); |
|
|
|
|
quantityHotelPassengerDTO.setValue(dayData.get("participationStatistics").toString()); |
|
|
|
@ -61,7 +61,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
otherTitleList.add("收入 (元)"); |
|
|
|
|
hotelPassengerFlowVO.setOtherTitle(otherTitleList); |
|
|
|
|
//获取周数据
|
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getTicketThisWeekData(organCode,""); |
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getTicketThisWeekData(organCode, ""); |
|
|
|
|
HotelPassengerListDTO thisWeekHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisWeekHotelPassengerListDTO.setName("本周"); |
|
|
|
|
|
|
|
|
@ -71,7 +71,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
thisWeekList.add(thisWeekData.get("participatingStatisticalIncome").toString()); |
|
|
|
|
thisWeekHotelPassengerListDTO.setValue(thisWeekList); |
|
|
|
|
//获取月数据
|
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getTicketThisMonthData(organCode,""); |
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getTicketThisMonthData(organCode, ""); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisMonthHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisMonthHotelPassengerListDTO.setName("本月"); |
|
|
|
@ -80,7 +80,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
thisMonthList.add(thisMonthData.get("participatingStatisticalIncome").toString()); |
|
|
|
|
thisMonthHotelPassengerListDTO.setValue(thisMonthList); |
|
|
|
|
//获取年数据
|
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getTicketThisYearData(organCode,""); |
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getTicketThisYearData(organCode, ""); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisYearPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisYearPassengerListDTO.setName("本年"); |
|
|
|
@ -102,18 +102,19 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 通过景区id获取票务信息 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @param scenicSpotId |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public HotelPassengerFlowVO getTicketSalesStatisticsByScenicSpotId(Long organCode,String scenicSpotId) { |
|
|
|
|
public HotelPassengerFlowVO getTicketSalesStatisticsByScenicSpotId(Long organCode, String scenicSpotId) { |
|
|
|
|
|
|
|
|
|
//返回结合
|
|
|
|
|
HotelPassengerFlowVO hotelPassengerFlowVO = new HotelPassengerFlowVO(); |
|
|
|
|
List<HotelPassengerDTO> todayCheckHotelPassengerDTOList = new ArrayList<>(); |
|
|
|
|
//获取今日数据
|
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.getTicketThisDayData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.getTicketThisDayData(organCode, scenicSpotId); |
|
|
|
|
HotelPassengerDTO quantityHotelPassengerDTO = new HotelPassengerDTO(); |
|
|
|
|
quantityHotelPassengerDTO.setName("数量"); |
|
|
|
|
quantityHotelPassengerDTO.setValue(dayData.get("participationStatistics").toString()); |
|
|
|
@ -129,7 +130,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
otherTitleList.add("收入 (元)"); |
|
|
|
|
hotelPassengerFlowVO.setOtherTitle(otherTitleList); |
|
|
|
|
//获取周数据
|
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getTicketThisWeekData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getTicketThisWeekData(organCode, scenicSpotId); |
|
|
|
|
HotelPassengerListDTO thisWeekHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisWeekHotelPassengerListDTO.setName("本周"); |
|
|
|
|
|
|
|
|
@ -139,7 +140,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
thisWeekList.add(thisWeekData.get("participatingStatisticalIncome").toString()); |
|
|
|
|
thisWeekHotelPassengerListDTO.setValue(thisWeekList); |
|
|
|
|
//获取月数据
|
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getTicketThisMonthData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getTicketThisMonthData(organCode, scenicSpotId); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisMonthHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisMonthHotelPassengerListDTO.setName("本月"); |
|
|
|
@ -148,7 +149,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
thisMonthList.add(thisMonthData.get("participatingStatisticalIncome").toString()); |
|
|
|
|
thisMonthHotelPassengerListDTO.setValue(thisMonthList); |
|
|
|
|
//获取年数据
|
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getTicketThisYearData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getTicketThisYearData(organCode, scenicSpotId); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisYearPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisYearPassengerListDTO.setName("本年"); |
|
|
|
@ -167,20 +168,26 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public HotelPassengerFlowVO scenicSpotReservationStatistics(Long organCode,String scenicSpotId) { |
|
|
|
|
@Override |
|
|
|
|
public HotelPassengerFlowVO scenicSpotReservationStatistics(Long organCode, String scenicSpotId) { |
|
|
|
|
|
|
|
|
|
//返回结合
|
|
|
|
|
HotelPassengerFlowVO hotelPassengerFlowVO = new HotelPassengerFlowVO(); |
|
|
|
|
List<HotelPassengerDTO> todayCheckHotelPassengerDTOList = new ArrayList<>(); |
|
|
|
|
//获取今日数据
|
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.scenicSpotReservationStatistics(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> dayData = ticketRevenueAnalysisMapper.scenicSpotReservationStatistics(organCode, scenicSpotId); |
|
|
|
|
//获取预约日期是今日团队数量
|
|
|
|
|
int teamDayCount = ticketRevenueAnalysisMapper.scenicSpotReservationStatisticsTeam(organCode, scenicSpotId); |
|
|
|
|
HotelPassengerDTO quantityHotelPassengerDTO = new HotelPassengerDTO(); |
|
|
|
|
quantityHotelPassengerDTO.setName("预约数"); |
|
|
|
|
quantityHotelPassengerDTO.setValue(dayData.get("numberReservations").toString()); |
|
|
|
|
|
|
|
|
|
int numberReservationsCount = teamDayCount + Integer.parseInt(dayData.get("numberReservations").toString()); |
|
|
|
|
quantityHotelPassengerDTO.setValue(numberReservationsCount + ""); |
|
|
|
|
|
|
|
|
|
HotelPassengerDTO incomeHotelPassengerDTO = new HotelPassengerDTO(); |
|
|
|
|
incomeHotelPassengerDTO.setName("入园数"); |
|
|
|
|
incomeHotelPassengerDTO.setValue(dayData.get("writeOffs").toString()); |
|
|
|
|
int writeOffsCount = teamDayCount + Integer.parseInt(dayData.get("writeOffs").toString()); |
|
|
|
|
incomeHotelPassengerDTO.setValue(writeOffsCount + ""); |
|
|
|
|
|
|
|
|
|
todayCheckHotelPassengerDTOList.add(quantityHotelPassengerDTO); |
|
|
|
|
todayCheckHotelPassengerDTOList.add(incomeHotelPassengerDTO); |
|
|
|
@ -190,32 +197,45 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
otherTitleList.add("入园(人次)"); |
|
|
|
|
hotelPassengerFlowVO.setOtherTitle(otherTitleList); |
|
|
|
|
//获取周数据
|
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsThisWeekData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisWeekData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsThisWeekData(organCode, scenicSpotId); |
|
|
|
|
HotelPassengerListDTO thisWeekHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisWeekHotelPassengerListDTO.setName("本周"); |
|
|
|
|
|
|
|
|
|
List<String> thisWeekList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
thisWeekList.add(thisWeekData.get("numberReservations").toString()); |
|
|
|
|
thisWeekList.add(thisWeekData.get("writeOffs").toString()); |
|
|
|
|
int teamWeekCount = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsThisWeekDataTeam(organCode, scenicSpotId); |
|
|
|
|
int numberReservationsWeek = teamWeekCount + Integer.parseInt(thisWeekData.get("numberReservations").toString()); |
|
|
|
|
int writeOffsWeek = teamWeekCount + Integer.parseInt(thisWeekData.get("writeOffs").toString()); |
|
|
|
|
thisWeekList.add(numberReservationsWeek + ""); |
|
|
|
|
thisWeekList.add(writeOffsWeek + ""); |
|
|
|
|
thisWeekHotelPassengerListDTO.setValue(thisWeekList); |
|
|
|
|
//获取月数据
|
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsMonthData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisMonthData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsMonthData(organCode, scenicSpotId); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisMonthHotelPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisMonthHotelPassengerListDTO.setName("本月"); |
|
|
|
|
List<String> thisMonthList = new ArrayList<>(); |
|
|
|
|
thisMonthList.add(thisMonthData.get("numberReservations").toString()); |
|
|
|
|
thisMonthList.add(thisMonthData.get("writeOffs").toString()); |
|
|
|
|
int teamMonekCount = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsMonthDataTeam(organCode, scenicSpotId); |
|
|
|
|
int numberReservationsMont = teamMonekCount + Integer.parseInt(thisMonthData.get("numberReservations").toString()); |
|
|
|
|
int writeOffsMont = teamMonekCount + Integer.parseInt(thisMonthData.get("writeOffs").toString()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thisMonthList.add(numberReservationsMont + ""); |
|
|
|
|
thisMonthList.add(writeOffsMont + ""); |
|
|
|
|
thisMonthHotelPassengerListDTO.setValue(thisMonthList); |
|
|
|
|
//获取年数据
|
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsYearData(organCode,scenicSpotId); |
|
|
|
|
Map<String, Object> thisYearData = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsYearData(organCode, scenicSpotId); |
|
|
|
|
|
|
|
|
|
HotelPassengerListDTO thisYearPassengerListDTO = new HotelPassengerListDTO(); |
|
|
|
|
thisYearPassengerListDTO.setName("本年"); |
|
|
|
|
List<String> thisYearList = new ArrayList<>(); |
|
|
|
|
thisYearList.add(thisYearData.get("numberReservations").toString()); |
|
|
|
|
thisYearList.add(thisYearData.get("writeOffs").toString()); |
|
|
|
|
|
|
|
|
|
int teamYearkCount = ticketRevenueAnalysisMapper.getScenicSpotReservationStatisticsYearDataTeam(organCode, scenicSpotId); |
|
|
|
|
int numberReservationsYear = teamYearkCount + Integer.parseInt(thisYearData.get("numberReservations").toString()); |
|
|
|
|
int writeOffsMontYear = teamYearkCount + Integer.parseInt(thisYearData.get("writeOffs").toString()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thisYearList.add(numberReservationsYear + ""); |
|
|
|
|
thisYearList.add(writeOffsMontYear + ""); |
|
|
|
|
thisYearPassengerListDTO.setValue(thisYearList); |
|
|
|
|
|
|
|
|
|
List<HotelPassengerListDTO> hotelPassengerList = new ArrayList<>(); |
|
|
|
@ -291,6 +311,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 分时段门票收入走势 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
@ -351,6 +372,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 售票数量分析 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
@ -366,7 +388,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
List<TrafficAnalysisDTO> list = ticketRevenueAnalysisMapper.getTicketSalesDataAnalysisList(organCode); |
|
|
|
|
List<TrafficAnalysisDTO> seriesData = new ArrayList<>(); |
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("MM-dd"); |
|
|
|
|
DateFormat fmt =new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
DateFormat fmt = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
dateList.stream().forEach(item1 -> { |
|
|
|
|
if (list.isEmpty()) { |
|
|
|
|
|
|
|
|
@ -443,6 +465,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 门票收入分析 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
@ -458,7 +481,7 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
List<TrafficAnalysisDTO> list = ticketRevenueAnalysisMapper.getTicketRevenueAnalysisList(organCode); |
|
|
|
|
List<TrafficAnalysisDTO> seriesData = new ArrayList<>(); |
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("MM-dd"); |
|
|
|
|
DateFormat fmt =new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
DateFormat fmt = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
dateList.stream().forEach(item1 -> { |
|
|
|
|
if (list.isEmpty()) { |
|
|
|
|
|
|
|
|
@ -535,65 +558,69 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 支付方式分析 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getPaymentMethodAnalysis(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("支付方式分析"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getPaymentMethodAnalysisList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getPaymentMethodAnalysisList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 售票渠道分析 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getAnalysisOfTicketingChannels(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("售票渠道分析"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getAnalysisOfTicketingChannelsList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getAnalysisOfTicketingChannelsList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* OTA分销渠道占比。(渠道商业) |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getOtaProportionOfDistributionChannels(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("OTA分销渠道占比"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getOtaProportionOfDistributionChannelsList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getOtaProportionOfDistributionChannelsList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 分析渠道占比 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getRoportionOfDistributionChannels(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("售票渠道分析"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getRoportionOfDistributionChannelsList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getRoportionOfDistributionChannelsList(organCode); |
|
|
|
|
List<String> categoriesList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
ChartVO countVO = new ChartVO(); |
|
|
|
|
countVO.setName("数量"); |
|
|
|
|
List<String> countList =new ArrayList<>(); |
|
|
|
|
List<String> countList = new ArrayList<>(); |
|
|
|
|
ChartVO percentageVo = new ChartVO(); |
|
|
|
|
percentageVo.setName("占比"); |
|
|
|
|
List<String> percentageList =new ArrayList<>(); |
|
|
|
|
roomTypeList.stream().forEach(item ->{ |
|
|
|
|
List<String> percentageList = new ArrayList<>(); |
|
|
|
|
roomTypeList.stream().forEach(item -> { |
|
|
|
|
categoriesList.add(item.getName()); |
|
|
|
|
percentageList.add(item.getPercentage()); |
|
|
|
|
countList.add(item.getValue()); |
|
|
|
@ -610,42 +637,45 @@ public class TicketRevenueAnalysisServiceImpl implements TicketRevenueAnalysisSe |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 游客类型占比 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getTouristTypeProportion(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("游客类型占比"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getTouristTypeProportionList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getTouristTypeProportionList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 销售类型分析 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getSalesTypeAnalysis(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("销售类型分析"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getSalesTypeAnalysisList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getSalesTypeAnalysisList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 业务类型占比 |
|
|
|
|
* |
|
|
|
|
* @param organCode |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public ReturnVO getBusinessTypeProportion(Long organCode) { |
|
|
|
|
ReturnVO returnVO =new ReturnVO(); |
|
|
|
|
ReturnVO returnVO = new ReturnVO(); |
|
|
|
|
returnVO.setName("售票渠道分析"); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList =ticketRevenueAnalysisMapper.getBusinessTypeProportionList(organCode); |
|
|
|
|
List<HotelPassengerDTO> roomTypeList = ticketRevenueAnalysisMapper.getBusinessTypeProportionList(organCode); |
|
|
|
|
returnVO.setSeriesData(roomTypeList); |
|
|
|
|
return returnVO; |
|
|
|
|
} |
|
|
|
|