zhubaomin
2025-04-09 1129cc278ec2f7f1fd3eb325b11974bd884346da
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java
@@ -2,6 +2,8 @@
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;
@@ -24,13 +26,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 +93,13 @@
     * @return  address
     */
    Integer getRecordCountOfIntake(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
     * @param intakeId 村Id
     * @return  intakeName  取水口编号
     */
    String getNameById(@Param("intakeId") Long intakeId);
    /**
     * 根据村Id获取全部地址
@@ -180,4 +189,12 @@
     */
    List<Long> getIntakeIdByNameExcludeId(@Param("id")Long id, @Param("intakeName")String intakeName);
    /**
     * app修改取水口经纬度
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective1(IntakeUpdateLngLat record);
}