|  |  | 
 |  |  |      * @param rtuAddr | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<Map<String, Object>> getControllersByCode(@Param("rtuAddr") String rtuAddr); | 
 |  |  |     List<Map<String, Object>> getControllersByAddr(@Param("rtuAddr") String rtuAddr); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据控制器编号获取控制器列表 | 
 |  |  |      * @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); | 
 |  |  | } |