月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-14 e002c67732b571f0b20cca8321ca8ee1ddba2e05
src/main/resources/mapper/show/OneMapMapper.xml
@@ -2,9 +2,9 @@
<!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">
<mapper namespace="com.moon.server.mapper.show.OneMapMapper">
    <resultMap type="com.lf.server.entity.show.OneMapEntity" id="OneMapResult">
    <resultMap type="com.moon.server.entity.show.OneMapEntity" id="OneMapResult">
        <result property="value"       column="value"    />
        <result property="key"     column="key"     />
    </resultMap>
@@ -128,7 +128,9 @@
    <select id="countProjectTour" resultType="java.util.Map">
        SELECT st_astext(geom) AS wkt,* FROM bs.m_pipeline
        <where>
            <if test="pipename != null  and pipename != ''"> and pipename = #{pipename}</if>
            <if test="pipename != null and pipename != ''">
                pipename = #{pipename}
            </if>
        </where>
    </select>
@@ -154,12 +156,12 @@
    </select>
    <!--  统计项目类型 2  -->
    <select id="selectProjectTypeOne"   resultType="com.lf.server.entity.show.OneMapEntity">
    <select id="selectProjectTypeOne"   resultType="com.moon.server.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.moon.server.entity.show.OneMapEntity">
        select modular1,count(*) from lf.sys_operate group by modular1 order by modular1;
    </select>