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