ReservationMapper.java 1008 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.persagy.dao;
  2. import com.persagy.domain.PagingVO;
  3. import com.persagy.domain.Reservation;
  4. import com.persagy.domain.ReservationCustom;
  5. import com.persagy.domain.ReservationVo;
  6. import java.util.List;
  7. /**
  8. * Created by Admiral on 2018/1/19.
  9. */
  10. public interface ReservationMapper {
  11. public Integer reservationCount();
  12. public List<ReservationVo> findByPaging(PagingVO pagingVO);
  13. public List<Reservation> findByName(String name);
  14. public List<ReservationVo> findByRoomId(Integer id);
  15. public Integer reservationPassCount();
  16. public List<ReservationVo> findRecord(PagingVO pagingVO);
  17. public void reviewReservation(Integer id);
  18. public Integer reserveCount();
  19. public List<ReservationVo> findAllByPaging(PagingVO pagingVO);
  20. public void addReservation(ReservationCustom reservationCustom);
  21. public List<ReservationVo> queryByUser(String name);
  22. public List<ReservationCustom> findByUser(String name);
  23. public void cancelApplication(Integer id);
  24. }