zhubaomin
2025-04-11 a1744d0bf7f0ad8ac861d672cffd7c710dac4e7e
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java
@@ -2,8 +2,7 @@
import com.dy.pipIrrGlobal.pojoPr.PrIntake;
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;
@@ -24,13 +23,13 @@
     * @param id primary key
     * @return object by primary key
     */
    PrIntake selectByPrimaryKey(Long id);
    VoAllIntake selectByPrimaryKey(Long id);
    /**
     * 得到全部实体
     * @return 全部实体
     * */
    List<PrIntake> selectAll();
    List<VoAllIntake> selectAll();
    /**
     * 逻辑删除
@@ -91,6 +90,13 @@
     * @return  address
     */
    Integer getRecordCountOfIntake(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
     * @param intakeId 村Id
     * @return  intakeName  取水口编号
     */
    String getNameById(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
@@ -156,7 +162,7 @@
     * 根据操作员获取常用取水口
     * @return
     */
    List<VoOnLineIntake> getUsedIntakes(@Param("onLineMap") String onLineMap, @Param("operator") Long operator);
    List<VoOnLineIntake> getUsedIntakes(@Param("onLineMap") String onLineMap, @Param("operatorId") Long operatorId);
    /**
     * 取水口名称换取水口ID,扫码开阀使用
@@ -180,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();
}