You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.7 KiB
XML

<?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.cuit.solarenergy.mapper.LegendTableMapper">
<resultMap id="BaseResultMap" type="com.cuit.solarenergy.entity.LegendTable">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="legendType" column="legend_type" jdbcType="VARCHAR"/>
<result property="dataType" column="data_type" jdbcType="VARCHAR"/>
<result property="dataCode" column="data_code" jdbcType="VARCHAR"/>
<result property="color" column="color" jdbcType="VARCHAR"/>
<result property="colorR" column="color_r" jdbcType="INTEGER"/>
<result property="colorG" column="color_g" jdbcType="INTEGER"/>
<result property="colorB" column="color_b" jdbcType="INTEGER"/>
<result property="transparency" column="transparency" jdbcType="FLOAT"/>
<result property="min" column="min" jdbcType="FLOAT"/>
<result property="max" column="max" jdbcType="FLOAT"/>
<result property="minDisplay" column="min_display" jdbcType="TINYINT"/>
<result property="maxDisplay" column="max_display" jdbcType="TINYINT"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id,legend_type,data_type,data_code,
color,color_r,color_g,
color_b,transparency,min,
max,min_display,max_display,
create_time,update_time
</sql>
</mapper>