<?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.landtool.lanbase.modules.res.dao.Res_ExtThemeMapMapper" >
|
<resultMap id="BaseResultMap" type="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
<id column="RESOURCEID" property="resourceid" jdbcType="DECIMAL" />
|
<result column="PUBLISHSOFT" property="publishsoft" jdbcType="VARCHAR" />
|
<result column="LAYERNAME" property="layername" jdbcType="VARCHAR" />
|
<result column="PORTALGUID" property="portalguid" jdbcType="VARCHAR" />
|
<result column="LEGENDURL" property="legendurl" jdbcType="VARCHAR" />
|
<result column="SUBLAYERSET" property="sublayerset" jdbcType="VARCHAR" />
|
<result column="DEFAULTLAYERSET" property="defaultlayerset" jdbcType="DECIMAL" />
|
<!--<result column="BASEMAPZIYUANID" property="basemapziyuanid" jdbcType="DECIMAL" />-->
|
<result column="INITXMIN" property="initxmin" jdbcType="DECIMAL" />
|
<result column="INITXMAX" property="initxmax" jdbcType="DECIMAL" />
|
<result column="INITYMIN" property="initymin" jdbcType="DECIMAL" />
|
<result column="INITYMAX" property="initymax" jdbcType="DECIMAL" />
|
<result column="FULLXMIN" property="fullxmin" jdbcType="DECIMAL" />
|
<result column="FULLXMAX" property="fullxmax" jdbcType="DECIMAL" />
|
<result column="FULLYMIN" property="fullymin" jdbcType="DECIMAL" />
|
<result column="FULLYMAX" property="fullymax" jdbcType="DECIMAL" />
|
<result column="TYPE" property="type" jdbcType="VARCHAR" />
|
<result column="MAPJSON" property="mapjson" jdbcType="VARCHAR" />
|
</resultMap>
|
|
<sql id="Base_Column_List" >
|
RESOURCEID, PUBLISHSOFT, LAYERNAME, SUBLAYERSET, DEFAULTLAYERSET, PORTALGUID, LEGENDURL, INITXMIN,
|
INITXMAX, INITYMIN, INITYMAX, FULLXMIN, FULLXMAX, FULLYMIN, FULLYMAX, TYPE, MAPJSON
|
</sql>
|
<sql id="NoMapBase_Column_List" >
|
RESOURCEID, PUBLISHSOFT, LAYERNAME, SUBLAYERSET, DEFAULTLAYERSET, PORTALGUID, LEGENDURL, INITXMIN,
|
INITXMAX, INITYMIN, INITYMAX, FULLXMIN, FULLXMAX, FULLYMIN, FULLYMAX, TYPE
|
</sql>
|
<select id="selectByPrimaryKey" resultType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" parameterType="java.lang.Integer">
|
select * from RES_EXTTHEMEMAP
|
where RESOURCEID = #{resourceid}
|
</select>
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
|
delete from RES_EXTTHEMEMAP
|
where RESOURCEID = #{resourceid,jdbcType=DECIMAL}
|
</delete>
|
<insert id="insert" parameterType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
insert into RES_EXTTHEMEMAP (RESOURCEID, PUBLISHSOFT, LAYERNAME, SUBLAYERSET, DEFAULTLAYERSET,
|
PORTALGUID, LEGENDURL,
|
INITXMIN, INITXMAX, INITYMIN,
|
INITYMAX, FULLXMIN, FULLXMAX,
|
FULLYMIN, FULLYMAX, TYPE, MAPJSON
|
)
|
values (#{resourceid,jdbcType=DECIMAL}, #{publishsoft,jdbcType=VARCHAR}, #{layername,jdbcType=VARCHAR},
|
#{sublayerset,jdbcType=CLOB}, #{defaultlayerset,jdbcType=DECIMAL},
|
#{portalguid,jdbcType=VARCHAR}, #{legendurl,jdbcType=VARCHAR},
|
#{initxmin,jdbcType=DECIMAL}, #{initxmax,jdbcType=DECIMAL}, #{initymin,jdbcType=DECIMAL},
|
#{initymax,jdbcType=DECIMAL}, #{fullxmin,jdbcType=DECIMAL}, #{fullxmax,jdbcType=DECIMAL},
|
#{fullymin,jdbcType=DECIMAL}, #{fullymax,jdbcType=DECIMAL},#{type,jdbcType=VARCHAR},#{mapjson,jdbcType=CLOB}
|
)
|
</insert>
|
<insert id="insertSelective" parameterType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
insert into RES_EXTTHEMEMAP
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
<if test="resourceid != null" >
|
RESOURCEID,
|
</if>
|
<if test="publishsoft != null" >
|
PUBLISHSOFT,
|
</if>
|
<if test="layername != null" >
|
LAYERNAME,
|
</if>
|
<if test="sublayerset != null" >
|
SUBLAYERSET,
|
</if>
|
<if test="defaultlayerset != null" >
|
DEFAULTLAYERSET,
|
</if>
|
<if test="portalguid != null" >
|
PORTALGUID,
|
</if>
|
<if test="legendurl != null" >
|
LEGENDURL,
|
</if>
|
<if test="initxmin != null" >
|
INITXMIN,
|
</if>
|
<if test="initxmax != null" >
|
INITXMAX,
|
</if>
|
<if test="initymin != null" >
|
INITYMIN,
|
</if>
|
<if test="initymax != null" >
|
INITYMAX,
|
</if>
|
<if test="fullxmin != null" >
|
FULLXMIN,
|
</if>
|
<if test="fullxmax != null" >
|
FULLXMAX,
|
</if>
|
<if test="fullymin != null" >
|
FULLYMIN,
|
</if>
|
<if test="fullymax != null" >
|
FULLYMAX,
|
</if>
|
<if test="type != null" >
|
TYPE,
|
</if>
|
<if test="mapjson != null" >
|
MAPJSON
|
</if>
|
</trim>
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
<if test="resourceid != null" >
|
#{resourceid,jdbcType=DECIMAL},
|
</if>
|
<if test="publishsoft != null" >
|
#{publishsoft,jdbcType=VARCHAR},
|
</if>
|
<if test="layername != null" >
|
#{layername,jdbcType=VARCHAR},
|
</if>
|
<if test="sublayerset != null" >
|
#{sublayerset,jdbcType=CLOB},
|
</if>
|
<if test="defaultlayerset != null" >
|
#{defaultlayerset,jdbcType=DECIMAL},
|
</if>
|
<if test="portalguid != null" >
|
#{portalguid,jdbcType=VARCHAR},
|
</if>
|
<if test="legendurl != null" >
|
#{legendurl,jdbcType=VARCHAR},
|
</if>
|
<if test="initxmin != null" >
|
#{initxmin,jdbcType=DECIMAL},
|
</if>
|
<if test="initxmax != null" >
|
#{initxmax,jdbcType=DECIMAL},
|
</if>
|
<if test="initymin != null" >
|
#{initymin,jdbcType=DECIMAL},
|
</if>
|
<if test="initymax != null" >
|
#{initymax,jdbcType=DECIMAL},
|
</if>
|
<if test="fullxmin != null" >
|
#{fullxmin,jdbcType=DECIMAL},
|
</if>
|
<if test="fullxmax != null" >
|
#{fullxmax,jdbcType=DECIMAL},
|
</if>
|
<if test="fullymin != null" >
|
#{fullymin,jdbcType=DECIMAL},
|
</if>
|
<if test="fullymax != null" >
|
#{fullymax,jdbcType=DECIMAL},
|
</if>
|
<if test="type != null" >
|
#{type,jdbcType=VARCHAR},
|
</if>
|
<if test="mapjson != null" >
|
#{mapjson,jdbcType=CLOB}
|
</if>
|
</trim>
|
</insert>
|
<update id="updateByPrimaryKeySelective" parameterType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
update RES_EXTTHEMEMAP
|
<set >
|
<if test="publishsoft != null" >
|
PUBLISHSOFT = #{publishsoft,jdbcType=VARCHAR},
|
</if>
|
<if test="layername != null" >
|
LAYERNAME = #{layername,jdbcType=VARCHAR},
|
</if>
|
<if test="sublayerset != null" >
|
SUBLAYERSET = #{sublayerset,jdbcType=CLOB},
|
</if>
|
<if test="defaultlayerset != null" >
|
DEFAULTLAYERSET = #{defaultlayerset,jdbcType=DECIMAL},
|
</if>
|
<if test="portalguid != null" >
|
PORTALGUID = #{portalguid,jdbcType=VARCHAR},
|
</if>
|
<if test="legendurl != null" >
|
LEGENDURL = #{legendurl,jdbcType=VARCHAR},
|
</if>
|
<if test="initxmin != null" >
|
INITXMIN = #{initxmin,jdbcType=DECIMAL},
|
</if>
|
<if test="initxmax != null" >
|
INITXMAX = #{initxmax,jdbcType=DECIMAL},
|
</if>
|
<if test="initymin != null" >
|
INITYMIN = #{initymin,jdbcType=DECIMAL},
|
</if>
|
<if test="initymax != null" >
|
INITYMAX = #{initymax,jdbcType=DECIMAL},
|
</if>
|
<if test="fullxmin != null" >
|
FULLXMIN = #{fullxmin,jdbcType=DECIMAL},
|
</if>
|
<if test="fullxmax != null" >
|
FULLXMAX = #{fullxmax,jdbcType=DECIMAL},
|
</if>
|
<if test="fullymin != null" >
|
FULLYMIN = #{fullymin,jdbcType=DECIMAL},
|
</if>
|
<if test="fullymax != null" >
|
FULLYMAX = #{fullymax,jdbcType=DECIMAL},
|
</if>
|
<if test="type != null" >
|
TYPE = #{type,jdbcType=VARCHAR},
|
</if>
|
<if test="mapjson != null" >
|
MAPJSON = #{mapjson,jdbcType=CLOB}
|
</if>
|
</set>
|
where RESOURCEID = #{resourceid,jdbcType=DECIMAL}
|
</update>
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
update RES_EXTTHEMEMAP
|
set PUBLISHSOFT = #{publishsoft,jdbcType=VARCHAR},
|
LAYERNAME = #{layername,jdbcType=VARCHAR},
|
SUBLAYERSET = #{sublayerset,jdbcType=CLOB},
|
DEFAULTLAYERSET = #{defaultlayerset,jdbcType=DECIMAL},
|
PORTALGUID = #{portalguid,jdbcType=VARCHAR},
|
LEGENDURL = #{legendurl,jdbcType=VARCHAR},
|
INITXMIN = #{initxmin,jdbcType=DECIMAL},
|
INITXMAX = #{initxmax,jdbcType=DECIMAL},
|
INITYMIN = #{initymin,jdbcType=DECIMAL},
|
INITYMAX = #{initymax,jdbcType=DECIMAL},
|
FULLXMIN = #{fullxmin,jdbcType=DECIMAL},
|
FULLXMAX = #{fullxmax,jdbcType=DECIMAL},
|
FULLYMIN = #{fullymin,jdbcType=DECIMAL},
|
FULLYMAX = #{fullymax,jdbcType=DECIMAL},
|
TYPE = #{type,jdbcType=VARCHAR},
|
MAPJSON = #{mapjson,jdbcType=CLOB}
|
where RESOURCEID = #{resourceid,jdbcType=DECIMAL}
|
</update>
|
<update id="updateByPrimaryKey" parameterType="com.landtool.lanbase.modules.res.entity.Res_ExtThemeMap" >
|
update RES_EXTTHEMEMAP
|
set PUBLISHSOFT = #{publishsoft,jdbcType=VARCHAR},
|
LAYERNAME = #{layername,jdbcType=VARCHAR},
|
SUBLAYERSET = #{sublayerset,jdbcType=CLOB},
|
DEFAULTLAYERSET = #{defaultlayerset,jdbcType=DECIMAL},
|
PORTALGUID = #{portalguid,jdbcType=VARCHAR},
|
LEGENDURL = #{legendurl,jdbcType=VARCHAR},
|
INITXMIN = #{initxmin,jdbcType=DECIMAL},
|
INITXMAX = #{initxmax,jdbcType=DECIMAL},
|
INITYMIN = #{initymin,jdbcType=DECIMAL},
|
INITYMAX = #{initymax,jdbcType=DECIMAL},
|
FULLXMIN = #{fullxmin,jdbcType=DECIMAL},
|
FULLXMAX = #{fullxmax,jdbcType=DECIMAL},
|
FULLYMIN = #{fullymin,jdbcType=DECIMAL},
|
FULLYMAX = #{fullymax,jdbcType=DECIMAL}
|
TYPE = #{type,jdbcType=VARCHAR},
|
MAPJSON = #{mapjson,jdbcType=CLOB}
|
where RESOURCEID = #{resourceid,jdbcType=DECIMAL}
|
</update>
|
</mapper>
|