package com.newfiber.api.pc.dao.RiverManage; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.newfiber.api.pc.model.River.PatrolCountDto; import com.newfiber.api.pc.model.River.PatrolManageConfig; import com.newfiber.api.pc.model.River.PatrolManageConfigDto; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Date; import java.util.List; /** * patrolManageConfig model层 * * @author luzhan */ @Repository public interface PatrolManageConfigMapper extends BaseMapper<PatrolManageConfig> { List<PatrolManageConfigDto> selectCountNum(@Param("dayStart") Date dayStart, @Param("dayEnd")Date dayEnd, @Param("weekStart")Date weekStart, @Param("weekEnd")Date weekEnd, @Param("monthStart")Date monthStart, @Param("monthEnd")Date monthEnd, @Param("yearStart")Date yearStart, @Param("yearEnd")Date yearEnd, @Param("patrolType")String patrolType, @Param("bindNos")List<Long> bindNos); List<PatrolCountDto> listPatrolAll(@Param("patrolType") String patrolType, @Param("startTime")Date startTime, @Param("endTime")Date endTime); List<PatrolManageConfig> selectByType(@Param("patrolType")String patrolType); }