提交修改
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user