src/main/resources/mapper/sys/ReportMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/mapper/sys/ReportMapper.xml
@@ -284,7 +284,12 @@ <!-- 统计管线长度 --> <select id="countLineLength" resultType="com.lf.server.entity.ctrl.CountEntity"> select name "m1", area * 1000000 "area" from lf.sys_line_buffer; select name "m1", code, (select cast( coalesce(sum( ST_Length( ST_GeographyFromText( ST_AsText(geom) ) ) ) / 1000, 0) as decimal(20, 2) ) from bs.m_pipeline b where b.dirid like a.code || '%') as "sizes" from lf.sys_dir a where pid = 0 order by a.code; </select> <!-- 按项目统计勘探点个数 -->