@@ -1015,6 +1015,11 @@
and a.create_by like CONCAT(#{p.createBy},'%')
</if>
) z
+ <where>
+ <if test="p.type != null and p.type != ''">
+ and type = #{p.type}
+ </if>
+ </where>
ORDER BY
z.area_id,
CONVERT ( REPLACE ( z.building_id, '栋', '' ), UNSIGNED ),