隐患查看
This commit is contained in:
parent
afdae31394
commit
89d7cd8410
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user