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/resources/mapper/BaClientTypeMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml index b97da7e..de4c4e3 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaClientTypeMapper.xml @@ -37,7 +37,7 @@ count(*) from ba_client_type <trim prefix="where" suffixOverrides="and"> - <if test="name != null"> + <if test="name != null and name != ''"> name like concat('%', #{name}, '%') and </if> </trim> @@ -48,7 +48,7 @@ <include refid="Base_Column_List" /> from ba_client_type <trim prefix="where" suffixOverrides="and"> - <if test="name != null"> + <if test="name != null and name != ''"> name like concat('%', #{name}, '%') </if> </trim> @@ -60,7 +60,7 @@ </trim> </select> - <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> + <insert id="putin" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> <!--@mbg.generated--> insert into ba_client_type (id, `name`) values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}) -- Gitblit v1.8.0