|
@@ -1,6 +1,8 @@
|
|
|
package com.example.cinema.data;
|
|
package com.example.cinema.data;
|
|
|
|
|
|
|
|
import com.example.cinema.vo.MovieScheduleTimeVO;
|
|
import com.example.cinema.vo.MovieScheduleTimeVO;
|
|
|
|
|
+import com.example.cinema.vo.MovieTotalBoxOfficeVO;
|
|
|
|
|
+import com.example.cinema.vo.ResponseVO;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
@@ -14,9 +16,15 @@ import java.util.List;
|
|
|
@Mapper
|
|
@Mapper
|
|
|
public interface StatisticsMapper {
|
|
public interface StatisticsMapper {
|
|
|
/**
|
|
/**
|
|
|
- *
|
|
|
|
|
|
|
+ * 查询date日期每部电影的排片次数
|
|
|
* @param date
|
|
* @param date
|
|
|
* @return
|
|
* @return
|
|
|
*/
|
|
*/
|
|
|
List<MovieScheduleTimeVO> selectMovieScheduleTimes(@Param("date") Date date, @Param("nextDate") Date nextDate);
|
|
List<MovieScheduleTimeVO> selectMovieScheduleTimes(@Param("date") Date date, @Param("nextDate") Date nextDate);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询所有电影的总票房(包括已经下架的,降序排列)
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ List<MovieTotalBoxOfficeVO> selectMovieTotalBoxOffice();
|
|
|
}
|
|
}
|