zhubaomin
2025-04-11 d1e380d5bc8d6cda7dc26778dd638b3367483ae7
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java
@@ -2,9 +2,7 @@
import com.dy.pipIrrGlobal.pojoPr.PrIntake;
import com.dy.pipIrrGlobal.voPr.VoAllIntake;
import com.dy.pipIrrGlobal.voPr.VoIntake;
import com.dy.pipIrrGlobal.voPr.VoOnLineIntake;
import com.dy.pipIrrGlobal.voPr.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -25,7 +23,7 @@
     * @param id primary key
     * @return object by primary key
     */
    PrIntake selectByPrimaryKey(Long id);
    VoAllIntake selectByPrimaryKey(Long id);
    /**
     * 得到全部实体
@@ -92,6 +90,13 @@
     * @return  address
     */
    Integer getRecordCountOfIntake(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
     * @param intakeId 村Id
     * @return  intakeName  取水口编号
     */
    String getNameById(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
@@ -181,4 +186,23 @@
     */
    List<Long> getIntakeIdByNameExcludeId(@Param("id")Long id, @Param("intakeName")String intakeName);
    /**
     * app修改取水口经纬度
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective1(IntakeUpdateLngLat record);
    /**
     * 获取未绑定到轮灌组的取水口列表
     * @return
     */
    List<VoIntakeSimple> getFreeIntakes(Map<?, ?> params);
    /**
     * 获取未绑定虚拟卡的取水口列表,给取水口绑虚拟卡使用
     * @return
     */
    List<VoIntakeSimple> getNotLinkVcIntakes();
}