|
|
|
@ -50,6 +50,7 @@
|
|
|
|
|
LEFT JOIN land_listed b ON a.land_listed_id = b.land_listed_id |
|
|
|
|
WHERE |
|
|
|
|
geom IS NOT NULL |
|
|
|
|
and #{nowDate} > date_format(b.auction_date,'%Y-%m-%d') |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="getLandList" resultType="java.util.Map"> |
|
|
|
@ -64,6 +65,7 @@
|
|
|
|
|
JOIN land_listed b ON a.land_listed_id = b.land_listed_id |
|
|
|
|
WHERE |
|
|
|
|
geom IS NOT NULL |
|
|
|
|
and date_format(b.auction_date,'%Y-%m-%d') < #{nowDate} |
|
|
|
|
and date_format(b.auction_date,'%Y-%m-%d') < #{end} |
|
|
|
|
and date_format(b.auction_date,'%Y-%m-%d') > #{start} |
|
|
|
|
</select> |
|
|
|
|