From 360fe689b1df765ca6754d32921c1ee18f9e9c00 Mon Sep 17 00:00:00 2001 From: xubinbin <1323875150@qq.com> Date: 星期二, 12 十二月 2023 16:41:15 +0800 Subject: [PATCH] 增加日志记录时的完全限定类名,用于定位日志位置。 ps:2023-12-12 16:30:58.779 [Thread-10] INFO --- gov.nist.javax.sip.stack.UDPMessageChannel : 81 Done processing MESSAGE sip:44010200492000000003@4401020049 SIP/2.0 日志中的“gov.nist.javax.sip.stack.UDPMessageChannel”内容 --- src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java index 1bdae76..1ff0d29 100755 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java @@ -167,8 +167,8 @@ " <if test='query != null'> AND (dc.channel_id LIKE concat('%',#{query},'%') OR dc.name LIKE concat('%',#{query},'%') OR dc.name LIKE concat('%',#{query},'%'))</if> " + " <if test='online == true' > AND dc.status=true</if> " + " <if test='online == false' > AND dc.status=false</if> " + - " <if test='hasSubChannel!= null and has_sub_channel == true' > AND dc.sub_count > 0</if> " + - " <if test='hasSubChannel!= null and has_sub_channel == false' > AND dc.sub_count = 0</if> " + + " <if test='hasSubChannel!= null and hasSubChannel == true' > AND dc.sub_count > 0</if> " + + " <if test='hasSubChannel!= null and hasSubChannel == false' > AND dc.sub_count = 0</if> " + " <if test='catalogId == null ' > AND dc.id not in (select device_channel_id from wvp_platform_gb_channel where platform_id=#{platformId} ) </if> " + " <if test='catalogId != null ' > AND pgc.platform_id = #{platformId} and pgc.catalog_id=#{catalogId} </if> " + " ORDER BY dc.device_id, dc.channel_id ASC" + -- Gitblit v1.8.0