package com.template.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.template.model.pojo.HouseNumber;
import com.template.model.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
/**
*
* Mapper 接口
*
*
* @author ceshi
* @since 2023-11-09
*/
@Mapper
public interface HouseNumberMapper extends BaseMapper {
List houseStatePage(@Param("keyWord") String keyWord, @Param("houseType") String houseType, @Param("start") LocalDateTime start, @Param("end") LocalDateTime end);
IPage houseStateCalendarPage(Page pageVo, @Param("keyWord") String keyWord, @Param("houseType") String houseType);
List houseLockListDto(@Param("roomNumber") String roomNumber, @Param("houseIds") String houseIds);
List getNumberState(@Param("date") Date date);
List freeDropDownShow(@Param("houseNumberIds") String houseNumberIds);
List dirtyDropDownShow();
List lockDropDownShow(@Param("date") Date date);
List shutDropDownShow(String houseNumberIds);
List openDropDownShow(String houseNumberIds);
List roomChangePage(@Param("houseId") String houseId);
IPage pageList(Page pageVo, @Param("keyWord") String keyWord, @Param("startTime") String startTime, @Param("endTime") String endTime);
List listExport(@Param("keyWord") String keyWord, @Param("startTime") String startTime, @Param("endTime") String endTime);
}