Commit dabef013 authored by zhengjiawei's avatar zhengjiawei

bug

parent 0465b044
...@@ -99,15 +99,14 @@ ...@@ -99,15 +99,14 @@
<select id="queryForList" resultType="java.util.Map"> <select id="queryForList" resultType="java.util.Map">
select
bu.id,
SELECT bu .name,
* '1' as type
FROM from
f_fire_station fs wl_building as bu
WHERE left join wl_equipment_category as cat on bu.equipment_code = cat.id
1=1 where substr(cat.code ,1,4) = '9301'
<if test="name!=null"> <if test="name!=null">
AND fs.name LIKE '%${name}%' AND fs.name LIKE '%${name}%'
</if> </if>
......
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