|
|
@@ -0,0 +1,66 @@
|
|
|
+<?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.gyee.power.fitting.mapper.ProBasicPowerstationMapper">
|
|
|
+
|
|
|
+ <!-- 通用查询映射结果 -->
|
|
|
+ <resultMap id="BaseResultMap" type="com.gyee.power.fitting.model.ProBasicPowerstation">
|
|
|
+ <id column="id" property="id" />
|
|
|
+ <result column="nem_code" property="nemCode" />
|
|
|
+ <result column="name" property="name" />
|
|
|
+ <result column="address" property="address" />
|
|
|
+ <result column="telephone" property="telephone" />
|
|
|
+ <result column="wind_capacity" property="windCapacity" />
|
|
|
+ <result column="wind_capacity_unit" property="windCapacityUnit" />
|
|
|
+ <result column="wind_quantity_hs" property="windQuantityHs" />
|
|
|
+ <result column="wind_quantity_ld" property="windQuantityLd" />
|
|
|
+ <result column="capacity" property="capacity" />
|
|
|
+ <result column="capacity_unit" property="capacityUnit" />
|
|
|
+ <result column="quantity_jz" property="quantityJz" />
|
|
|
+ <result column="quantity_zc" property="quantityZc" />
|
|
|
+ <result column="jrwind_capacity" property="jrwindCapacity" />
|
|
|
+ <result column="jrwind_capacity_unit" property="jrwindCapacityUnit" />
|
|
|
+ <result column="jrwind_quantity_hs" property="jrwindQuantityHs" />
|
|
|
+ <result column="jrwind_quantity_ld" property="jrwindQuantityLd" />
|
|
|
+ <result column="jr_capacity" property="jrCapacity" />
|
|
|
+ <result column="jr_capacity_unit" property="jrCapacityUnit" />
|
|
|
+ <result column="jrquantity_jz" property="jrquantityJz" />
|
|
|
+ <result column="jrquantity_zc" property="jrquantityZc" />
|
|
|
+ <result column="aname" property="aname" />
|
|
|
+ <result column="longitude" property="longitude" />
|
|
|
+ <result column="latitude" property="latitude" />
|
|
|
+ <result column="photo" property="photo" />
|
|
|
+ <result column="system_manufact" property="systemManufact" />
|
|
|
+ <result column="headfarm" property="headfarm" />
|
|
|
+ <result column="headfarm_phone" property="headfarmPhone" />
|
|
|
+ <result column="model" property="model" />
|
|
|
+ <result column="order_num" property="orderNum" />
|
|
|
+ <result column="height" property="height" />
|
|
|
+ <result column="wind_type" property="windType" />
|
|
|
+ <result column="company_id" property="companyId" />
|
|
|
+ <result column="region_id" property="regionId" />
|
|
|
+ <result column="group_id" property="groupId" />
|
|
|
+ <result column="is_able" property="isAble" />
|
|
|
+ <result column="spare1" property="spare1" />
|
|
|
+ <result column="spare2" property="spare2" />
|
|
|
+ <result column="spare3" property="spare3" />
|
|
|
+ <result column="spare4" property="spare4" />
|
|
|
+ <result column="app_capacity" property="appCapacity" />
|
|
|
+ <result column="con_capacity" property="conCapacity" />
|
|
|
+ <result column="grid_capacity" property="gridCapacity" />
|
|
|
+ <result column="hoi_capacity" property="hoiCapacity" />
|
|
|
+ <result column="first_grid_time" property="firstGridTime" />
|
|
|
+ <result column="whole_grid_time" property="wholeGridTime" />
|
|
|
+ <result column="anemo_number" property="anemoNumber" />
|
|
|
+ <result column="station_number" property="stationNumber" />
|
|
|
+ <result column="x_point" property="xPoint" />
|
|
|
+ <result column="y_point" property="yPoint" />
|
|
|
+ <result column="x_em_point" property="xEmPoint" />
|
|
|
+ <result column="y_em_point" property="yEmPoint" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <!-- 通用查询结果列 -->
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id, nem_code, name, address, telephone, wind_capacity, wind_capacity_unit, wind_quantity_hs, wind_quantity_ld, capacity, capacity_unit, quantity_jz, quantity_zc, jrwind_capacity, jrwind_capacity_unit, jrwind_quantity_hs, jrwind_quantity_ld, jr_capacity, jr_capacity_unit, jrquantity_jz, jrquantity_zc, aname, longitude, latitude, photo, system_manufact, headfarm, headfarm_phone, model, order_num, height, wind_type, company_id, region_id, group_id, is_able, spare1, spare2, spare3, spare4, app_capacity, con_capacity, grid_capacity, hoi_capacity, first_grid_time, whole_grid_time, anemo_number, station_number, x_point, y_point, x_em_point, y_em_point
|
|
|
+ </sql>
|
|
|
+
|
|
|
+</mapper>
|