| 123456789101112131415161718192021222324252627282930313233 |
- package com.example.cinema.data;
- import com.example.cinema.vo.ScheduleForm;
- import com.example.cinema.vo.ScheduleItem;
- import com.example.cinema.vo.ScheduleSearchForm;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.Date;
- import java.util.List;
- /**
- * @author fjj
- * @date 2019/4/11 4:18 PM
- */
- @Mapper
- public interface ScheduleMapper {
- /**
- * 插入一条排片信息
- * @param scheduleForm
- * @return
- */
- int insertOneSchedule(ScheduleForm scheduleForm);
- /**
- * 查询排片信息
- * @param hallId
- * @param startDate
- * @param endDate
- * @return
- */
- List<ScheduleItem> selectSchedule(@Param("hallId") int hallId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
- }
|