提交修改

This commit is contained in:
LEED
2025-04-13 18:00:19 +08:00
parent 988e68bdc7
commit 4201690d93
60 changed files with 2589 additions and 285 deletions

View File

@@ -136,7 +136,7 @@
from sip_device_channel s
left join iot_sip_relation d on s.channel_sip_id = d.channel_id
<where>
<if test="tenantId != null ">and s.tenant_id = #{tenantId}</if>
<if test="tenantId != null and tenantId !=1 ">and s.tenant_id = #{tenantId}</if>
<if test="tenantName != null and tenantName != ''">and s.tenant_name like concat('%', #{tenantName}, '%')</if>
<if test="productId != null ">and s.product_id = #{productId}</if>
<if test="productName != null and productName != ''">and s.product_name like concat('%', #{productName},'%')</if>