|
@@ -1289,7 +1289,7 @@
|
|
<if test="cityId != null and cityId != ''">and c.city_id = #{cityId}</if>
|
|
<if test="cityId != null and cityId != ''">and c.city_id = #{cityId}</if>
|
|
<if test="regionId != null and regionId != ''">and c.region_id = #{regionId}</if>
|
|
<if test="regionId != null and regionId != ''">and c.region_id = #{regionId}</if>
|
|
<if test="villageTownsId != null and villageTownsId != ''">and c.village_towns_id = #{villageTownsId}</if>
|
|
<if test="villageTownsId != null and villageTownsId != ''">and c.village_towns_id = #{villageTownsId}</if>
|
|
- and (c.village_id = '' or c.village_id = '0')
|
|
|
|
|
|
+ and (c.village_id = '' or c.village_id = '0' or c.village_id is null)
|
|
</where>
|
|
</where>
|
|
order by c.code ,c.house_type desc,c.id_card;
|
|
order by c.code ,c.house_type desc,c.id_card;
|
|
</select>
|
|
</select>
|