Explorar o código

windpowerstationPG

wangchangsheng %!s(int64=2) %!d(string=hai) anos
pai
achega
6af5293345

+ 96 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/mapper/auto/WindpowerstationPGMapper.java

@@ -0,0 +1,96 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.WindpowerstationPG;
+import com.gyee.frame.model.auto.WindpowerstationPGExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface WindpowerstationPGMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    long countByExample(WindpowerstationPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(WindpowerstationPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int insert(WindpowerstationPG record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int insertSelective(WindpowerstationPG record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    List<WindpowerstationPG> selectByExample(WindpowerstationPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    WindpowerstationPG selectByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") WindpowerstationPG record, @Param("example") WindpowerstationPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") WindpowerstationPG record, @Param("example") WindpowerstationPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(WindpowerstationPG record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(WindpowerstationPG record);
+}

+ 707 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindpowerstationPG.java

@@ -0,0 +1,707 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class WindpowerstationPG implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.code
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.address
+     *
+     * @mbg.generated
+     */
+    private String address;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.telephone
+     *
+     * @mbg.generated
+     */
+    private String telephone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.capacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal capacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.capacityunit
+     *
+     * @mbg.generated
+     */
+    private String capacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.quantity
+     *
+     * @mbg.generated
+     */
+    private Long quantity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.aname
+     *
+     * @mbg.generated
+     */
+    private String aname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.longitude
+     *
+     * @mbg.generated
+     */
+    private BigDecimal longitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.latitude
+     *
+     * @mbg.generated
+     */
+    private BigDecimal latitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.photo
+     *
+     * @mbg.generated
+     */
+    private String photo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.companyid
+     *
+     * @mbg.generated
+     */
+    private String companyid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.systemmanufact
+     *
+     * @mbg.generated
+     */
+    private String systemmanufact;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.headfarm
+     *
+     * @mbg.generated
+     */
+    private String headfarm;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.headfarmphone
+     *
+     * @mbg.generated
+     */
+    private String headfarmphone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.model
+     *
+     * @mbg.generated
+     */
+    private String model;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.ordernum
+     *
+     * @mbg.generated
+     */
+    private Long ordernum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.altitude
+     *
+     * @mbg.generated
+     */
+    private BigDecimal altitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.height
+     *
+     * @mbg.generated
+     */
+    private BigDecimal height;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windpowerstation.regionid
+     *
+     * @mbg.generated
+     */
+    private String regionid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windpowerstation
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.id
+     *
+     * @return the value of windpowerstation.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.id
+     *
+     * @param id the value for windpowerstation.id
+     *
+     * @mbg.generated
+     */
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.code
+     *
+     * @return the value of windpowerstation.code
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.code
+     *
+     * @param code the value for windpowerstation.code
+     *
+     * @mbg.generated
+     */
+    public void setCode(String code) {
+        this.code = code == null ? null : code.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.name
+     *
+     * @return the value of windpowerstation.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.name
+     *
+     * @param name the value for windpowerstation.name
+     *
+     * @mbg.generated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.address
+     *
+     * @return the value of windpowerstation.address
+     *
+     * @mbg.generated
+     */
+    public String getAddress() {
+        return address;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.address
+     *
+     * @param address the value for windpowerstation.address
+     *
+     * @mbg.generated
+     */
+    public void setAddress(String address) {
+        this.address = address == null ? null : address.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.telephone
+     *
+     * @return the value of windpowerstation.telephone
+     *
+     * @mbg.generated
+     */
+    public String getTelephone() {
+        return telephone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.telephone
+     *
+     * @param telephone the value for windpowerstation.telephone
+     *
+     * @mbg.generated
+     */
+    public void setTelephone(String telephone) {
+        this.telephone = telephone == null ? null : telephone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.capacity
+     *
+     * @return the value of windpowerstation.capacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getCapacity() {
+        return capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.capacity
+     *
+     * @param capacity the value for windpowerstation.capacity
+     *
+     * @mbg.generated
+     */
+    public void setCapacity(BigDecimal capacity) {
+        this.capacity = capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.capacityunit
+     *
+     * @return the value of windpowerstation.capacityunit
+     *
+     * @mbg.generated
+     */
+    public String getCapacityunit() {
+        return capacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.capacityunit
+     *
+     * @param capacityunit the value for windpowerstation.capacityunit
+     *
+     * @mbg.generated
+     */
+    public void setCapacityunit(String capacityunit) {
+        this.capacityunit = capacityunit == null ? null : capacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.quantity
+     *
+     * @return the value of windpowerstation.quantity
+     *
+     * @mbg.generated
+     */
+    public Long getQuantity() {
+        return quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.quantity
+     *
+     * @param quantity the value for windpowerstation.quantity
+     *
+     * @mbg.generated
+     */
+    public void setQuantity(Long quantity) {
+        this.quantity = quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.aname
+     *
+     * @return the value of windpowerstation.aname
+     *
+     * @mbg.generated
+     */
+    public String getAname() {
+        return aname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.aname
+     *
+     * @param aname the value for windpowerstation.aname
+     *
+     * @mbg.generated
+     */
+    public void setAname(String aname) {
+        this.aname = aname == null ? null : aname.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.longitude
+     *
+     * @return the value of windpowerstation.longitude
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getLongitude() {
+        return longitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.longitude
+     *
+     * @param longitude the value for windpowerstation.longitude
+     *
+     * @mbg.generated
+     */
+    public void setLongitude(BigDecimal longitude) {
+        this.longitude = longitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.latitude
+     *
+     * @return the value of windpowerstation.latitude
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getLatitude() {
+        return latitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.latitude
+     *
+     * @param latitude the value for windpowerstation.latitude
+     *
+     * @mbg.generated
+     */
+    public void setLatitude(BigDecimal latitude) {
+        this.latitude = latitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.photo
+     *
+     * @return the value of windpowerstation.photo
+     *
+     * @mbg.generated
+     */
+    public String getPhoto() {
+        return photo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.photo
+     *
+     * @param photo the value for windpowerstation.photo
+     *
+     * @mbg.generated
+     */
+    public void setPhoto(String photo) {
+        this.photo = photo == null ? null : photo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.companyid
+     *
+     * @return the value of windpowerstation.companyid
+     *
+     * @mbg.generated
+     */
+    public String getCompanyid() {
+        return companyid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.companyid
+     *
+     * @param companyid the value for windpowerstation.companyid
+     *
+     * @mbg.generated
+     */
+    public void setCompanyid(String companyid) {
+        this.companyid = companyid == null ? null : companyid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.systemmanufact
+     *
+     * @return the value of windpowerstation.systemmanufact
+     *
+     * @mbg.generated
+     */
+    public String getSystemmanufact() {
+        return systemmanufact;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.systemmanufact
+     *
+     * @param systemmanufact the value for windpowerstation.systemmanufact
+     *
+     * @mbg.generated
+     */
+    public void setSystemmanufact(String systemmanufact) {
+        this.systemmanufact = systemmanufact == null ? null : systemmanufact.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.headfarm
+     *
+     * @return the value of windpowerstation.headfarm
+     *
+     * @mbg.generated
+     */
+    public String getHeadfarm() {
+        return headfarm;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.headfarm
+     *
+     * @param headfarm the value for windpowerstation.headfarm
+     *
+     * @mbg.generated
+     */
+    public void setHeadfarm(String headfarm) {
+        this.headfarm = headfarm == null ? null : headfarm.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.headfarmphone
+     *
+     * @return the value of windpowerstation.headfarmphone
+     *
+     * @mbg.generated
+     */
+    public String getHeadfarmphone() {
+        return headfarmphone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.headfarmphone
+     *
+     * @param headfarmphone the value for windpowerstation.headfarmphone
+     *
+     * @mbg.generated
+     */
+    public void setHeadfarmphone(String headfarmphone) {
+        this.headfarmphone = headfarmphone == null ? null : headfarmphone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.model
+     *
+     * @return the value of windpowerstation.model
+     *
+     * @mbg.generated
+     */
+    public String getModel() {
+        return model;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.model
+     *
+     * @param model the value for windpowerstation.model
+     *
+     * @mbg.generated
+     */
+    public void setModel(String model) {
+        this.model = model == null ? null : model.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.ordernum
+     *
+     * @return the value of windpowerstation.ordernum
+     *
+     * @mbg.generated
+     */
+    public Long getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.ordernum
+     *
+     * @param ordernum the value for windpowerstation.ordernum
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(Long ordernum) {
+        this.ordernum = ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.altitude
+     *
+     * @return the value of windpowerstation.altitude
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getAltitude() {
+        return altitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.altitude
+     *
+     * @param altitude the value for windpowerstation.altitude
+     *
+     * @mbg.generated
+     */
+    public void setAltitude(BigDecimal altitude) {
+        this.altitude = altitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.height
+     *
+     * @return the value of windpowerstation.height
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getHeight() {
+        return height;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.height
+     *
+     * @param height the value for windpowerstation.height
+     *
+     * @mbg.generated
+     */
+    public void setHeight(BigDecimal height) {
+        this.height = height;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windpowerstation.regionid
+     *
+     * @return the value of windpowerstation.regionid
+     *
+     * @mbg.generated
+     */
+    public String getRegionid() {
+        return regionid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windpowerstation.regionid
+     *
+     * @param regionid the value for windpowerstation.regionid
+     *
+     * @mbg.generated
+     */
+    public void setRegionid(String regionid) {
+        this.regionid = regionid == null ? null : regionid.trim();
+    }
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1703 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindpowerstationPGExample.java


+ 2 - 2
web/monitor-web-sxjn/src/main/resources/mybatis-generator.xml

@@ -60,7 +60,7 @@
 
             <jdbcConnection
                     driverClass="org.postgresql.Driver"
-                    connectionURL="jdbc:postgresql://192.168.11.248:5432/postgres"
+                    connectionURL="jdbc:postgresql://10.81.3.151:5432/postgres"
                     userId="postgres"
                     password="postgres">
             </jdbcConnection>
@@ -125,7 +125,7 @@
 <!--        <table tableName='StopAnalysismainVo' domainObjectName='StopAnalysismainVo'/>-->
 
 
-        <table tableName='companys' domainObjectName='CompanysPG'/>
+        <table tableName='windpowerstation' domainObjectName='WindpowerstationPG'/>
 
 
     </context>

+ 525 - 0
web/monitor-web-sxjn/src/main/resources/mybatis/auto/WindpowerstationPGMapper.xml

@@ -0,0 +1,525 @@
+<?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.frame.mapper.auto.WindpowerstationPGMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.WindpowerstationPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="code" jdbcType="VARCHAR" property="code" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="address" jdbcType="VARCHAR" property="address" />
+    <result column="telephone" jdbcType="VARCHAR" property="telephone" />
+    <result column="capacity" jdbcType="NUMERIC" property="capacity" />
+    <result column="capacityunit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantity" jdbcType="NUMERIC" property="quantity" />
+    <result column="aname" jdbcType="VARCHAR" property="aname" />
+    <result column="longitude" jdbcType="NUMERIC" property="longitude" />
+    <result column="latitude" jdbcType="NUMERIC" property="latitude" />
+    <result column="photo" jdbcType="VARCHAR" property="photo" />
+    <result column="companyid" jdbcType="VARCHAR" property="companyid" />
+    <result column="systemmanufact" jdbcType="VARCHAR" property="systemmanufact" />
+    <result column="headfarm" jdbcType="VARCHAR" property="headfarm" />
+    <result column="headfarmphone" jdbcType="VARCHAR" property="headfarmphone" />
+    <result column="model" jdbcType="VARCHAR" property="model" />
+    <result column="ordernum" jdbcType="NUMERIC" property="ordernum" />
+    <result column="altitude" jdbcType="NUMERIC" property="altitude" />
+    <result column="height" jdbcType="NUMERIC" property="height" />
+    <result column="regionid" jdbcType="VARCHAR" property="regionid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, code, name, address, telephone, capacity, capacityunit, quantity, aname, longitude, 
+    latitude, photo, companyid, systemmanufact, headfarm, headfarmphone, model, ordernum, 
+    altitude, height, regionid
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindpowerstationPGExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from windpowerstation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from windpowerstation
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windpowerstation
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindpowerstationPGExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windpowerstation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.WindpowerstationPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windpowerstation (id, code, name, 
+      address, telephone, capacity, 
+      capacityunit, quantity, aname, 
+      longitude, latitude, photo, 
+      companyid, systemmanufact, headfarm, 
+      headfarmphone, model, ordernum, 
+      altitude, height, regionid
+      )
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{address,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, #{capacity,jdbcType=NUMERIC}, 
+      #{capacityunit,jdbcType=VARCHAR}, #{quantity,jdbcType=NUMERIC}, #{aname,jdbcType=VARCHAR}, 
+      #{longitude,jdbcType=NUMERIC}, #{latitude,jdbcType=NUMERIC}, #{photo,jdbcType=VARCHAR}, 
+      #{companyid,jdbcType=VARCHAR}, #{systemmanufact,jdbcType=VARCHAR}, #{headfarm,jdbcType=VARCHAR}, 
+      #{headfarmphone,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{ordernum,jdbcType=NUMERIC}, 
+      #{altitude,jdbcType=NUMERIC}, #{height,jdbcType=NUMERIC}, #{regionid,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.WindpowerstationPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windpowerstation
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="code != null">
+        code,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="address != null">
+        address,
+      </if>
+      <if test="telephone != null">
+        telephone,
+      </if>
+      <if test="capacity != null">
+        capacity,
+      </if>
+      <if test="capacityunit != null">
+        capacityunit,
+      </if>
+      <if test="quantity != null">
+        quantity,
+      </if>
+      <if test="aname != null">
+        aname,
+      </if>
+      <if test="longitude != null">
+        longitude,
+      </if>
+      <if test="latitude != null">
+        latitude,
+      </if>
+      <if test="photo != null">
+        photo,
+      </if>
+      <if test="companyid != null">
+        companyid,
+      </if>
+      <if test="systemmanufact != null">
+        systemmanufact,
+      </if>
+      <if test="headfarm != null">
+        headfarm,
+      </if>
+      <if test="headfarmphone != null">
+        headfarmphone,
+      </if>
+      <if test="model != null">
+        model,
+      </if>
+      <if test="ordernum != null">
+        ordernum,
+      </if>
+      <if test="altitude != null">
+        altitude,
+      </if>
+      <if test="height != null">
+        height,
+      </if>
+      <if test="regionid != null">
+        regionid,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="code != null">
+        #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="address != null">
+        #{address,jdbcType=VARCHAR},
+      </if>
+      <if test="telephone != null">
+        #{telephone,jdbcType=VARCHAR},
+      </if>
+      <if test="capacity != null">
+        #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        #{quantity,jdbcType=NUMERIC},
+      </if>
+      <if test="aname != null">
+        #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="longitude != null">
+        #{longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="latitude != null">
+        #{latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="photo != null">
+        #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="companyid != null">
+        #{companyid,jdbcType=VARCHAR},
+      </if>
+      <if test="systemmanufact != null">
+        #{systemmanufact,jdbcType=VARCHAR},
+      </if>
+      <if test="headfarm != null">
+        #{headfarm,jdbcType=VARCHAR},
+      </if>
+      <if test="headfarmphone != null">
+        #{headfarmphone,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="altitude != null">
+        #{altitude,jdbcType=NUMERIC},
+      </if>
+      <if test="height != null">
+        #{height,jdbcType=NUMERIC},
+      </if>
+      <if test="regionid != null">
+        #{regionid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindpowerstationPGExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from windpowerstation
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windpowerstation
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.code != null">
+        code = #{record.code,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.address != null">
+        address = #{record.address,jdbcType=VARCHAR},
+      </if>
+      <if test="record.telephone != null">
+        telephone = #{record.telephone,jdbcType=VARCHAR},
+      </if>
+      <if test="record.capacity != null">
+        capacity = #{record.capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.capacityunit != null">
+        capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.quantity != null">
+        quantity = #{record.quantity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.aname != null">
+        aname = #{record.aname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.longitude != null">
+        longitude = #{record.longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="record.latitude != null">
+        latitude = #{record.latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="record.photo != null">
+        photo = #{record.photo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.companyid != null">
+        companyid = #{record.companyid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.systemmanufact != null">
+        systemmanufact = #{record.systemmanufact,jdbcType=VARCHAR},
+      </if>
+      <if test="record.headfarm != null">
+        headfarm = #{record.headfarm,jdbcType=VARCHAR},
+      </if>
+      <if test="record.headfarmphone != null">
+        headfarmphone = #{record.headfarmphone,jdbcType=VARCHAR},
+      </if>
+      <if test="record.model != null">
+        model = #{record.model,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ordernum = #{record.ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="record.altitude != null">
+        altitude = #{record.altitude,jdbcType=NUMERIC},
+      </if>
+      <if test="record.height != null">
+        height = #{record.height,jdbcType=NUMERIC},
+      </if>
+      <if test="record.regionid != null">
+        regionid = #{record.regionid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windpowerstation
+    set id = #{record.id,jdbcType=VARCHAR},
+      code = #{record.code,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      address = #{record.address,jdbcType=VARCHAR},
+      telephone = #{record.telephone,jdbcType=VARCHAR},
+      capacity = #{record.capacity,jdbcType=NUMERIC},
+      capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      quantity = #{record.quantity,jdbcType=NUMERIC},
+      aname = #{record.aname,jdbcType=VARCHAR},
+      longitude = #{record.longitude,jdbcType=NUMERIC},
+      latitude = #{record.latitude,jdbcType=NUMERIC},
+      photo = #{record.photo,jdbcType=VARCHAR},
+      companyid = #{record.companyid,jdbcType=VARCHAR},
+      systemmanufact = #{record.systemmanufact,jdbcType=VARCHAR},
+      headfarm = #{record.headfarm,jdbcType=VARCHAR},
+      headfarmphone = #{record.headfarmphone,jdbcType=VARCHAR},
+      model = #{record.model,jdbcType=VARCHAR},
+      ordernum = #{record.ordernum,jdbcType=NUMERIC},
+      altitude = #{record.altitude,jdbcType=NUMERIC},
+      height = #{record.height,jdbcType=NUMERIC},
+      regionid = #{record.regionid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.WindpowerstationPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windpowerstation
+    <set>
+      <if test="code != null">
+        code = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="address != null">
+        address = #{address,jdbcType=VARCHAR},
+      </if>
+      <if test="telephone != null">
+        telephone = #{telephone,jdbcType=VARCHAR},
+      </if>
+      <if test="capacity != null">
+        capacity = #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        capacityunit = #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        quantity = #{quantity,jdbcType=NUMERIC},
+      </if>
+      <if test="aname != null">
+        aname = #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="longitude != null">
+        longitude = #{longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="latitude != null">
+        latitude = #{latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="photo != null">
+        photo = #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="companyid != null">
+        companyid = #{companyid,jdbcType=VARCHAR},
+      </if>
+      <if test="systemmanufact != null">
+        systemmanufact = #{systemmanufact,jdbcType=VARCHAR},
+      </if>
+      <if test="headfarm != null">
+        headfarm = #{headfarm,jdbcType=VARCHAR},
+      </if>
+      <if test="headfarmphone != null">
+        headfarmphone = #{headfarmphone,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        model = #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ordernum = #{ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="altitude != null">
+        altitude = #{altitude,jdbcType=NUMERIC},
+      </if>
+      <if test="height != null">
+        height = #{height,jdbcType=NUMERIC},
+      </if>
+      <if test="regionid != null">
+        regionid = #{regionid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.WindpowerstationPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windpowerstation
+    set code = #{code,jdbcType=VARCHAR},
+      name = #{name,jdbcType=VARCHAR},
+      address = #{address,jdbcType=VARCHAR},
+      telephone = #{telephone,jdbcType=VARCHAR},
+      capacity = #{capacity,jdbcType=NUMERIC},
+      capacityunit = #{capacityunit,jdbcType=VARCHAR},
+      quantity = #{quantity,jdbcType=NUMERIC},
+      aname = #{aname,jdbcType=VARCHAR},
+      longitude = #{longitude,jdbcType=NUMERIC},
+      latitude = #{latitude,jdbcType=NUMERIC},
+      photo = #{photo,jdbcType=VARCHAR},
+      companyid = #{companyid,jdbcType=VARCHAR},
+      systemmanufact = #{systemmanufact,jdbcType=VARCHAR},
+      headfarm = #{headfarm,jdbcType=VARCHAR},
+      headfarmphone = #{headfarmphone,jdbcType=VARCHAR},
+      model = #{model,jdbcType=VARCHAR},
+      ordernum = #{ordernum,jdbcType=NUMERIC},
+      altitude = #{altitude,jdbcType=NUMERIC},
+      height = #{height,jdbcType=NUMERIC},
+      regionid = #{regionid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>