From ee4d94defe7cc7f36f87aebf2e9efed38ba93a40 Mon Sep 17 00:00:00 2001 From: 懒羊羊 <15939171744@163.com> Date: 星期二, 14 十一月 2023 16:44:18 +0800 Subject: [PATCH] 优化 --- guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml b/guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml index e6ac109..91c640b 100644 --- a/guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml +++ b/guns-vip-main/src/main/java/cn/stylefeng/guns/opcua/mapper/mapping/OpcuaConfMapper.xml @@ -29,6 +29,9 @@ <if test="paramCondition.node != null and paramCondition.node != ''"> and node like CONCAT('%',#{paramCondition.node},'%') </if> + <if test="paramCondition.subscribe != null and paramCondition.subscribe != ''"> + and subscribe like CONCAT('%',#{paramCondition.subscribe},'%') + </if> </select> <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.opcua.model.params.OpcuaConfParam"> -- Gitblit v1.9.3