liurunyu
3 天以前 1cf88d43994ec7ec403319032a9d118b39fe3571
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获取全部地址
@@ -180,4 +186,39 @@
     */
    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();
    /**
     * 为wechat,根据指定取水口名称模糊(后端)查询水口记录数
     * @param params
     * @return
     */
    Long getSomeIntakesCount4Wx(Map<?, ?> params);
    /**
     * 为wechat,根据指定取水口名称模糊(后端)查询水口
     * @param params
     * @return
     */
    List<VoOnLineIntake> getSomeIntakes4Wx(Map<?, ?> params);
}