|  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | import com.dy.pipIrrGlobal.pojoPr.PrIntake; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.IntakeUpdateLngLat; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoAllIntake; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoIntake; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoOnLineIntake; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | 
 |  |  |      * @param id primary key | 
 |  |  |      * @return object by primary key | 
 |  |  |      */ | 
 |  |  |     PrIntake selectByPrimaryKey(Long id); | 
 |  |  |     VoAllIntake selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 得到全部实体 | 
 |  |  |      * @return 全部实体 | 
 |  |  |      * */ | 
 |  |  |     List<PrIntake> selectAll(); | 
 |  |  |     List<VoAllIntake> selectAll(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 逻辑删除 | 
 |  |  | 
 |  |  |      * @return  address | 
 |  |  |      */ | 
 |  |  |     Integer getRecordCountOfIntake(@Param("intakeId") Long intakeId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据村Id获取全部地址 | 
 |  |  |      * @param intakeId 村Id | 
 |  |  |      * @return  intakeName  取水口编号 | 
 |  |  |      */ | 
 |  |  |     String getNameById(@Param("intakeId") Long intakeId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据村Id获取全部地址 | 
 |  |  | 
 |  |  |      * 根据操作员获取常用取水口 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoOnLineIntake> getUsedIntakes(@Param("onLineMap") String onLineMap, @Param("operator") Long operator); | 
 |  |  |     List<VoOnLineIntake> getUsedIntakes(@Param("onLineMap") String onLineMap, @Param("operatorId") Long operatorId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 取水口名称换取水口ID,扫码开阀使用 | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     List<Long> getIntakeIdByNameExcludeId(@Param("id")Long id, @Param("intakeName")String intakeName); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * app修改取水口经纬度 | 
 |  |  |      * @param record | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     int updateByPrimaryKeySelective1(IntakeUpdateLngLat record); | 
 |  |  |  | 
 |  |  | } |