|
@@ -28,6 +28,9 @@
|
|
|
FROM a_simplified_house_info a
|
|
FROM a_simplified_house_info a
|
|
|
LEFT JOIN a_house_info_detail b ON a.id = b.simplified_house_id
|
|
LEFT JOIN a_house_info_detail b ON a.id = b.simplified_house_id
|
|
|
<where>
|
|
<where>
|
|
|
|
|
+ <if test="entity.assetType != null and entity.assetType != ''">
|
|
|
|
|
+ AND a.asset_type = #{entity.assetType}
|
|
|
|
|
+ </if>
|
|
|
<if test="entity.building != null and entity.building != ''">
|
|
<if test="entity.building != null and entity.building != ''">
|
|
|
AND a.building = #{entity.building}
|
|
AND a.building = #{entity.building}
|
|
|
</if>
|
|
</if>
|