| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.lf.server.mapper.show.OneMapMapper"> |
| | | <resultMap type="com.lf.server.entity.show.OneMapEntity" id="OneMapResult"> |
| | | <mapper namespace="com.terra.system.mapper.show.OneMapMapper"> |
| | | <resultMap type="com.terra.system.entity.show.OneMapEntity" id="OneMapResult"> |
| | | <result property="value" column="value" /> |
| | | <result property="key" column="key" /> |
| | | </resultMap> |
| | |
| | | </select> |
| | | |
| | | <!-- 统计项目类型 2 --> |
| | | <select id="selectProjectTypeOne" resultType="com.lf.server.entity.show.OneMapEntity"> |
| | | <select id="selectProjectTypeOne" resultType="com.terra.system.entity.show.OneMapEntity"> |
| | | select * from lf.sys_meta ${endSql} |
| | | </select> |
| | | |
| | | <!-- 统计项目类型 2 --> |
| | | <select id="selectProjectType2" resultType="com.lf.server.entity.show.OneMapEntity"> |
| | | <select id="selectProjectType2" resultType="com.terra.system.entity.show.OneMapEntity"> |
| | | select modular1,count(*) from lf.sys_operate group by modular1 order by modular1; |
| | | </select> |
| | | |
| | |
| | | </select> |
| | | |
| | | <!-- 按大类统计 --> |
| | | <select id="countByMajor" resultType="com.lf.server.entity.ctrl.CountEntity"> |
| | | <select id="countByMajor" resultType="com.terra.system.entity.ctrl.CountEntity"> |
| | | select '测绘(ESV)' "m1", '数字线划图' "m2", '平方千米' "m3", cast( coalesce(sum(area), 0) / 1000000 as decimal(20, 2) ) "sizes" from lf.sys_line_buffer |
| | | union all |
| | | select '测绘(ESV)' "m1", '数字正射影像图' "m2", '平方千米' "m3", ( |