From e67870fff62635cd14beb0d5988f08aeef4b22fa Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期一, 07 四月 2025 21:27:06 +0800 Subject: [PATCH] 添加远程关阀式终止灌溉计划,未测试 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java index 7f1a229..1a44d5e 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrIntakeMapper.java +++ b/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); + + /** + * 鏍规嵁鏉慖d鑾峰彇鍏ㄩ儴鍦板潃 + * @param intakeId 鏉慖d + * @return intakeName 鍙栨按鍙g紪鍙� + */ + String getNameById(@Param("intakeId") Long intakeId); /** * 鏍规嵁鏉慖d鑾峰彇鍏ㄩ儴鍦板潃 @@ -180,4 +189,12 @@ */ List<Long> getIntakeIdByNameExcludeId(@Param("id")Long id, @Param("intakeName")String intakeName); + + /** + * app淇敼鍙栨按鍙g粡绾害 + * @param record + * @return + */ + int updateByPrimaryKeySelective1(IntakeUpdateLngLat record); + } -- Gitblit v1.8.0