From 3fe912a1d0ceca7cd0281e26b798b55b539ec2cd Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 15 十月 2024 15:19:56 +0800 Subject: [PATCH] 修改通信中间件上行数据的漏损量处理逻辑,对于当天发现的控制器,控制器计算的漏损量一定不正确,强制设置成0; --- pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java | 20 ++++++++++++++++++++ 1 files changed, 20 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 4d1b995..b27dfd9 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 @@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param; import java.util.List; +import java.util.Map; /** * @Author liurunyu @@ -21,6 +22,12 @@ * @return deleteCount */ int deleteByPrimaryKey(Long id); + + /** + * 娓呯┖娴佹氮鎺у埗鍣ㄨ〃 + * @return + */ + int emptyTrampController(); /** * insert record to table @@ -77,4 +84,17 @@ * @return */ PrControllerTramp getTrampControllerInfo(@Param("controllerId") Long controllerId); + + /** + * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄤ俊鎭� + * @param + * @return + */ + List<PrControllerTramp> getTrampControllers(Map<?, ?> params); + /** + * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄦ暟閲� + * @param + * @return recordCount + */ + Long getTrampControllersCount(Map<?, ?> params); } \ No newline at end of file -- Gitblit v1.8.0