package com.bonus.canteen.core.report.datascreen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonus.canteen.core.report.datascreen.vo.DeviceQueryPresentNumVo;
import com.bonus.canteen.core.report.model.DevicePassengerFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

@Mapper
public interface DzDevicePassengerFlowMapper extends BaseMapper<DevicePassengerFlow> {

    List<DeviceQueryPresentNumVo> queryPresentNumByCanteenIds(@Param("date") LocalDate dateTime ,
                                                              @Param("canteenIds") Set<Long> canteenIds,
                                                              @Param("startTime") LocalDateTime startTime,
                                                              @Param("endTime")LocalDateTime endTime);
}
