|  |  | 
 |  |  | package com.dy.pipIrrGlobal.daoLargeScreen; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.voSpecial.VoTopXClient; | 
 |  |  | import com.dy.pipIrrGlobal.voSpecial.VoTopXIntake; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.Date; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @Author: liurunyu | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     Integer totalCountOfNoAlarm(@Param("dt") Date dt) ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,曾上报过数据的总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfReport(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,未曾上报过数据的总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfNoReport(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从未上报过数据的总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfNeverReport() ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,曾阀开总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfOpenValve(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,曾阀关总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfCloseValve(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从未开过阀的总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfNeverOpenValve() ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,曾报警总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfAlarm(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从某时以来,曾无报警总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfNoAlarm(@Param("fromDt") Date fromDt) ; | 
 |  |  |     /** | 
 |  |  |      * 从未报过警总数 | 
 |  |  |      */ | 
 |  |  |     Integer mTotalCountOfNeverAlarm() ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 某日农户用水前X名 | 
 |  |  |      * @param idStart 起始id | 
 |  |  |      * @param idEnd 截止id | 
 |  |  |      * @param count 前几名 | 
 |  |  |      * @return 实体集合 | 
 |  |  |      */ | 
 |  |  |     List<VoTopXClient> topXClientAtCertainDay(@Param("idStart") Long idStart, @Param("idEnd") Long idEnd, @Param("count") int count) ; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 某日取水口用水前X名 | 
 |  |  |      * @param idStart 起始id | 
 |  |  |      * @param idEnd 截止id | 
 |  |  |      * @param count 前几名 | 
 |  |  |      * @return 实体集合 | 
 |  |  |      */ | 
 |  |  |     List<VoTopXIntake> topXIntakeAtCertainDay(@Param("idStart") Long idStart, @Param("idEnd") Long idEnd, @Param("count") int count) ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |