|
|
|
@ -20,7 +20,7 @@ |
|
|
|
LEFT JOIN type ty ON dinfo.type_id = ty.id |
|
|
|
WHERE |
|
|
|
bbuilding.company_id = #{companyId} AND bbuilding.flag = 0 AND dinfo.flag = 0 AND basic_monitoring_asset.flag = 0 AND basic_asset_class_big.flag = 0 |
|
|
|
AND drr.status = 'alert' |
|
|
|
AND drr.dashboard_status = 'alert' |
|
|
|
AND ty.device_category_id in |
|
|
|
<foreach collection="categoryIdList" item="categoryId" open="(" separator="," close=")"> |
|
|
|
#{categoryId} |
|
|
|
|