package com.persagy.dao; import com.persagy.domain.PagingVO; import com.persagy.domain.Reservation; import com.persagy.domain.ReservationCustom; import com.persagy.domain.ReservationVo; import java.util.List; /** * Created by Admiral on 2018/1/19. */ public interface ReservationMapper { public Integer reservationCount(); public List findByPaging(PagingVO pagingVO); public List findByName(String name); public List findByRoomId(Integer id); public Integer reservationPassCount(); public List findRecord(PagingVO pagingVO); public void reviewReservation(Integer id); public Integer reserveCount(); public List findAllByPaging(PagingVO pagingVO); public void addReservation(ReservationCustom reservationCustom); public List queryByUser(String name); public List findByUser(String name); public void cancelApplication(Integer id); }