隐患查看

This commit is contained in:
韩国东 2023-02-15 17:31:07 +08:00
parent afdae31394
commit 89d7cd8410

View File

@ -1408,7 +1408,9 @@
LEFT JOIN min_work_unit mwu ON bh.min_work_unit_id = mwu.id
LEFT JOIN BookEntCheck bc ON bh.`BookEntCheckId` = bc.`BookEntCheckId`
WHERE se.State = '启用'
and (se.OrgCode = #{areaCode} or se.street_code = #{areaCode} or se.community_code = #{areaCode})
<if test="null != areaCode and '' != areaCode">
and FIND_IN_SET(#{areaCode} ,se.area_path)
</if>
and se.`EntName` LIKE #{condition}
<if test="null != htreport and '' != htreport">
AND bh.`htreport` = #{htreport}