From c314c7f4898e368202ddbdfaf026678a2d37b94b Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期三, 18 十二月 2024 11:08:32 +0800 Subject: [PATCH] 实现接口 aPP修改取水口经纬度 --- pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java index 82d037b..e13d639 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java @@ -12,6 +12,7 @@ import com.dy.pipIrrGlobal.daoPr.PrDivideMapper; import com.dy.pipIrrGlobal.daoPr.PrIntakeMapper; 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; @@ -166,7 +167,6 @@ * @return 鎵�鏈夊彇姘村彛闆嗗悎 */ public QueryResultVo<List<VoAllIntake>> selectAll() { - QueryResultVo<List<VoAllIntake>> rsVo = new QueryResultVo<>(); rsVo.obj = this.prIntakeMapper.selectAll(); return rsVo; @@ -178,7 +178,7 @@ * @param id 鍙栨按鍙D * @return 鍙栨按鍙e疄浣� */ - public PrIntake selectById(Long id) { + public VoAllIntake selectById(Long id) { return this.prIntakeMapper.selectByPrimaryKey(id); } @@ -343,4 +343,12 @@ } + /** + * app淇敼鍙栨按鍙g粡绾害 + * @param po + * @return + */ + public int updateIntakeLngLat(IntakeUpdateLngLat po) { + return prIntakeMapper.updateByPrimaryKeySelective1(po); + } } -- Gitblit v1.8.0