|
@@ -28,7 +28,7 @@
|
|
|
ORDER BY td.id
|
|
|
LIMIT #{limit} OFFSET #{offset}
|
|
|
</select>
|
|
|
- <select id="getIdleLandListInfo" resultType="Integer">
|
|
|
+ <select id="getIdleLandListInfo" resultType="Map">
|
|
|
SELECT COUNT(td.id) as total, COALESCE(SUM(td.crmj::NUMERIC), 0) as area
|
|
|
FROM base.t_land_idle_confirm AS confirm
|
|
|
JOIN vector.tdgy_sj AS td ON confirm.land_id = td.id::VARCHAR
|