From 3087ff4ccc174d5952e9650ac3fae61eff477554 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期一, 01 四月 2024 10:42:55 +0800 Subject: [PATCH] 修改 流量计实体增加监测站ID外键和驼峰命名 流量计监测站绑定接口(同步修改流量计的监测站ID外键 和 绑定记录表) 流量计监测站解绑接口(同步修改流量计的监测站ID外键 和 绑定记录表) 条件查询监测站(绑定状态判定) 条件查询已绑定的流量计 回退误修改的获取绑定记录 --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java index 61ef71d..4d1b995 100644 --- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java +++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dy.pipIrrGlobal.pojoPr.PrControllerTramp; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -62,4 +63,18 @@ * @return update count */ int updateByPrimaryKey(PrControllerTramp record); + + /** + * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒鍦板潃 + * @param controllerId 娴佹氮鎺у埗鍣ㄧ紪鍙� + * @return 璁板綍鏁伴噺 + */ + //String getTrampRtuAddr(@Param("controllerId") Long controllerId); + + /** + * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒淇℃伅 + * @param controllerId + * @return + */ + PrControllerTramp getTrampControllerInfo(@Param("controllerId") Long controllerId); } \ No newline at end of file -- Gitblit v1.8.0