|  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoPr.PrController; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoController; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoControllerSimple; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | 
 |  |  |      * @param rtuAddr | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     //List<PrController> getControllersByRtuAddr(@Param("rtuAddr") String rtuAddr); | 
 |  |  |     List<PrController> getControllersByRtuAddrAndIntakeNotNull(@Param("rtuAddr") String rtuAddr); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Integer getRecordCountOfController(@Param("controllerId") Long controllerId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据控制器编号获取已绑定记录数 | 
 |  |  |      * @param controllerId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Integer getBindedCount(@Param("controllerId") Long controllerId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据控制器编号删除取水口编号 | 
 |  |  |      * @param controllerId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Integer deleteIntakeId(@Param("controllerId") Long controllerId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据取水口ID或阀控器地址获取阀控器对象 | 
 |  |  |      * @param intakeId | 
 |  |  |      * @param rtuAddr | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     PrController getRtu(@Param("intakeId") Long intakeId, @Param("rtuAddr") String rtuAddr); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 不分页获取全部未删除的阀控器列表 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoControllerSimple> getSimpleControllers(); | 
 |  |  | } |