增加 删除标记
This commit is contained in:
@@ -344,7 +344,7 @@
|
|||||||
from iot_device d
|
from iot_device d
|
||||||
left join iot_product p on p.product_id=d.product_id
|
left join iot_product p on p.product_id=d.product_id
|
||||||
<where>
|
<where>
|
||||||
and del_flag = '0'
|
and d.del_flag = '0'
|
||||||
<if test="productId != null ">and d.product_id = #{productId}</if>
|
<if test="productId != null ">and d.product_id = #{productId}</if>
|
||||||
<if test="deptId != null and deptId != 0 and showChild != null and showChild">
|
<if test="deptId != null and deptId != 0 and showChild != null and showChild">
|
||||||
and d.tenant_id in (SELECT u.user_id FROM sys_user u
|
and d.tenant_id in (SELECT u.user_id FROM sys_user u
|
||||||
|
|||||||
Reference in New Issue
Block a user