소스 검색

修改面积获取不到问题

gushoubang 8 달 전
부모
커밋
f90fdfba95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/tdgy/LandIdelConfirmMapper.xml

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/tdgy/LandIdelConfirmMapper.xml

@@ -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