From f717ad3e0a712e823d61383f42de6faf917e7636 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 11 二月 2025 15:23:10 +0800 Subject: [PATCH] 远程模块websocket中,如果客户端id为空,系统设置其一id --- pipIrr-platform/pipIrr-web/pipIrr-web-project/src/main/java/com/dy/pipIrrProject/intake/IntakeSv.java | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 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 1c3e486..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,8 @@ 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; import lombok.extern.slf4j.Slf4j; @@ -164,8 +166,8 @@ * * @return 鎵�鏈夊彇姘村彛闆嗗悎 */ - public QueryResultVo<List<PrIntake>> selectAll() { - QueryResultVo<List<PrIntake>> rsVo = new QueryResultVo<>(); + public QueryResultVo<List<VoAllIntake>> selectAll() { + QueryResultVo<List<VoAllIntake>> rsVo = new QueryResultVo<>(); rsVo.obj = this.prIntakeMapper.selectAll(); return rsVo; } @@ -176,7 +178,7 @@ * @param id 鍙栨按鍙D * @return 鍙栨按鍙e疄浣� */ - public PrIntake selectById(Long id) { + public VoAllIntake selectById(Long id) { return this.prIntakeMapper.selectByPrimaryKey(id); } @@ -341,4 +343,12 @@ } + /** + * app淇敼鍙栨按鍙g粡绾害 + * @param po + * @return + */ + public int updateIntakeLngLat(IntakeUpdateLngLat po) { + return prIntakeMapper.updateByPrimaryKeySelective1(po); + } } -- Gitblit v1.8.0