Commit 2f5ba888 authored by tianyiming's avatar tianyiming

修改bug

parent 3d490a20
...@@ -2651,7 +2651,15 @@ ...@@ -2651,7 +2651,15 @@
))) )))
LEFT JOIN `wl_manufacturer_info` `mim` ON (( LEFT JOIN `wl_manufacturer_info` `mim` ON ((
`mim`.`id` = `fs`.`construction_unit` `mim`.`id` = `fs`.`construction_unit`
)))) `nz` where `nz`.code = #{systemCode} and `nz`.biz_org_code = #{bizOrgCode} )))) `nz`
<where>
<if test="systemCode!=null and systemCode!=''">
and `nz`.code = #{systemCode}
</if>
<if test="bizOrgCode!=null and bizOrgCode!=''">
and `nz`.biz_org_code = #{bizOrgCode}
</if>
</where>
</select> </select>
<select id="equipAlarmTOP" resultType="java.util.Map"> <select id="equipAlarmTOP" resultType="java.util.Map">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment