wangchangsheng 2 年之前
父节点
当前提交
c1249faa15

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

@@ -0,0 +1,64 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.RegionPG;
+import com.gyee.frame.model.auto.RegionPGExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface RegionPGMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    long countByExample(RegionPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(RegionPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    int insert(RegionPG record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    int insertSelective(RegionPG record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    List<RegionPG> selectByExample(RegionPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") RegionPG record, @Param("example") RegionPGExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") RegionPG record, @Param("example") RegionPGExample example);
+}

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

@@ -0,0 +1,773 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class RegionPG implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.companyid
+     *
+     * @mbg.generated
+     */
+    private String companyid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.aname
+     *
+     * @mbg.generated
+     */
+    private String aname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.windcapacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal windcapacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.windcapacityunit
+     *
+     * @mbg.generated
+     */
+    private String windcapacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.windquantity
+     *
+     * @mbg.generated
+     */
+    private Integer windquantity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.capacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal capacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.capacityunit
+     *
+     * @mbg.generated
+     */
+    private String capacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.quantityjz
+     *
+     * @mbg.generated
+     */
+    private Integer quantityjz;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.quantityzc
+     *
+     * @mbg.generated
+     */
+    private Integer quantityzc;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrwindcapacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal jrwindcapacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrwindcapacityunit
+     *
+     * @mbg.generated
+     */
+    private String jrwindcapacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrwindquantity
+     *
+     * @mbg.generated
+     */
+    private Integer jrwindquantity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrcapacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal jrcapacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrcapacityunit
+     *
+     * @mbg.generated
+     */
+    private String jrcapacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrquantityjz
+     *
+     * @mbg.generated
+     */
+    private Integer jrquantityjz;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrquantityzc
+     *
+     * @mbg.generated
+     */
+    private Integer jrquantityzc;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.ordernum
+     *
+     * @mbg.generated
+     */
+    private Integer ordernum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.windnumber
+     *
+     * @mbg.generated
+     */
+    private Integer windnumber;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.number
+     *
+     * @mbg.generated
+     */
+    private Integer number;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrwindnumber
+     *
+     * @mbg.generated
+     */
+    private Integer jrwindnumber;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column region.jrnumber
+     *
+     * @mbg.generated
+     */
+    private Integer jrnumber;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table region
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.id
+     *
+     * @return the value of region.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.id
+     *
+     * @param id the value for region.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 region.companyid
+     *
+     * @return the value of region.companyid
+     *
+     * @mbg.generated
+     */
+    public String getCompanyid() {
+        return companyid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.companyid
+     *
+     * @param companyid the value for region.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 region.name
+     *
+     * @return the value of region.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.name
+     *
+     * @param name the value for region.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 region.aname
+     *
+     * @return the value of region.aname
+     *
+     * @mbg.generated
+     */
+    public String getAname() {
+        return aname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.aname
+     *
+     * @param aname the value for region.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 region.windcapacity
+     *
+     * @return the value of region.windcapacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getWindcapacity() {
+        return windcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.windcapacity
+     *
+     * @param windcapacity the value for region.windcapacity
+     *
+     * @mbg.generated
+     */
+    public void setWindcapacity(BigDecimal windcapacity) {
+        this.windcapacity = windcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.windcapacityunit
+     *
+     * @return the value of region.windcapacityunit
+     *
+     * @mbg.generated
+     */
+    public String getWindcapacityunit() {
+        return windcapacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.windcapacityunit
+     *
+     * @param windcapacityunit the value for region.windcapacityunit
+     *
+     * @mbg.generated
+     */
+    public void setWindcapacityunit(String windcapacityunit) {
+        this.windcapacityunit = windcapacityunit == null ? null : windcapacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.windquantity
+     *
+     * @return the value of region.windquantity
+     *
+     * @mbg.generated
+     */
+    public Integer getWindquantity() {
+        return windquantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.windquantity
+     *
+     * @param windquantity the value for region.windquantity
+     *
+     * @mbg.generated
+     */
+    public void setWindquantity(Integer windquantity) {
+        this.windquantity = windquantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.capacity
+     *
+     * @return the value of region.capacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getCapacity() {
+        return capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.capacity
+     *
+     * @param capacity the value for region.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 region.capacityunit
+     *
+     * @return the value of region.capacityunit
+     *
+     * @mbg.generated
+     */
+    public String getCapacityunit() {
+        return capacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.capacityunit
+     *
+     * @param capacityunit the value for region.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 region.quantityjz
+     *
+     * @return the value of region.quantityjz
+     *
+     * @mbg.generated
+     */
+    public Integer getQuantityjz() {
+        return quantityjz;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.quantityjz
+     *
+     * @param quantityjz the value for region.quantityjz
+     *
+     * @mbg.generated
+     */
+    public void setQuantityjz(Integer quantityjz) {
+        this.quantityjz = quantityjz;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.quantityzc
+     *
+     * @return the value of region.quantityzc
+     *
+     * @mbg.generated
+     */
+    public Integer getQuantityzc() {
+        return quantityzc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.quantityzc
+     *
+     * @param quantityzc the value for region.quantityzc
+     *
+     * @mbg.generated
+     */
+    public void setQuantityzc(Integer quantityzc) {
+        this.quantityzc = quantityzc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrwindcapacity
+     *
+     * @return the value of region.jrwindcapacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getJrwindcapacity() {
+        return jrwindcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrwindcapacity
+     *
+     * @param jrwindcapacity the value for region.jrwindcapacity
+     *
+     * @mbg.generated
+     */
+    public void setJrwindcapacity(BigDecimal jrwindcapacity) {
+        this.jrwindcapacity = jrwindcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrwindcapacityunit
+     *
+     * @return the value of region.jrwindcapacityunit
+     *
+     * @mbg.generated
+     */
+    public String getJrwindcapacityunit() {
+        return jrwindcapacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrwindcapacityunit
+     *
+     * @param jrwindcapacityunit the value for region.jrwindcapacityunit
+     *
+     * @mbg.generated
+     */
+    public void setJrwindcapacityunit(String jrwindcapacityunit) {
+        this.jrwindcapacityunit = jrwindcapacityunit == null ? null : jrwindcapacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrwindquantity
+     *
+     * @return the value of region.jrwindquantity
+     *
+     * @mbg.generated
+     */
+    public Integer getJrwindquantity() {
+        return jrwindquantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrwindquantity
+     *
+     * @param jrwindquantity the value for region.jrwindquantity
+     *
+     * @mbg.generated
+     */
+    public void setJrwindquantity(Integer jrwindquantity) {
+        this.jrwindquantity = jrwindquantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrcapacity
+     *
+     * @return the value of region.jrcapacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getJrcapacity() {
+        return jrcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrcapacity
+     *
+     * @param jrcapacity the value for region.jrcapacity
+     *
+     * @mbg.generated
+     */
+    public void setJrcapacity(BigDecimal jrcapacity) {
+        this.jrcapacity = jrcapacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrcapacityunit
+     *
+     * @return the value of region.jrcapacityunit
+     *
+     * @mbg.generated
+     */
+    public String getJrcapacityunit() {
+        return jrcapacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrcapacityunit
+     *
+     * @param jrcapacityunit the value for region.jrcapacityunit
+     *
+     * @mbg.generated
+     */
+    public void setJrcapacityunit(String jrcapacityunit) {
+        this.jrcapacityunit = jrcapacityunit == null ? null : jrcapacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrquantityjz
+     *
+     * @return the value of region.jrquantityjz
+     *
+     * @mbg.generated
+     */
+    public Integer getJrquantityjz() {
+        return jrquantityjz;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrquantityjz
+     *
+     * @param jrquantityjz the value for region.jrquantityjz
+     *
+     * @mbg.generated
+     */
+    public void setJrquantityjz(Integer jrquantityjz) {
+        this.jrquantityjz = jrquantityjz;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrquantityzc
+     *
+     * @return the value of region.jrquantityzc
+     *
+     * @mbg.generated
+     */
+    public Integer getJrquantityzc() {
+        return jrquantityzc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrquantityzc
+     *
+     * @param jrquantityzc the value for region.jrquantityzc
+     *
+     * @mbg.generated
+     */
+    public void setJrquantityzc(Integer jrquantityzc) {
+        this.jrquantityzc = jrquantityzc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.ordernum
+     *
+     * @return the value of region.ordernum
+     *
+     * @mbg.generated
+     */
+    public Integer getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.ordernum
+     *
+     * @param ordernum the value for region.ordernum
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(Integer ordernum) {
+        this.ordernum = ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.windnumber
+     *
+     * @return the value of region.windnumber
+     *
+     * @mbg.generated
+     */
+    public Integer getWindnumber() {
+        return windnumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.windnumber
+     *
+     * @param windnumber the value for region.windnumber
+     *
+     * @mbg.generated
+     */
+    public void setWindnumber(Integer windnumber) {
+        this.windnumber = windnumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.number
+     *
+     * @return the value of region.number
+     *
+     * @mbg.generated
+     */
+    public Integer getNumber() {
+        return number;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.number
+     *
+     * @param number the value for region.number
+     *
+     * @mbg.generated
+     */
+    public void setNumber(Integer number) {
+        this.number = number;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrwindnumber
+     *
+     * @return the value of region.jrwindnumber
+     *
+     * @mbg.generated
+     */
+    public Integer getJrwindnumber() {
+        return jrwindnumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrwindnumber
+     *
+     * @param jrwindnumber the value for region.jrwindnumber
+     *
+     * @mbg.generated
+     */
+    public void setJrwindnumber(Integer jrwindnumber) {
+        this.jrwindnumber = jrwindnumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column region.jrnumber
+     *
+     * @return the value of region.jrnumber
+     *
+     * @mbg.generated
+     */
+    public Integer getJrnumber() {
+        return jrnumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column region.jrnumber
+     *
+     * @param jrnumber the value for region.jrnumber
+     *
+     * @mbg.generated
+     */
+    public void setJrnumber(Integer jrnumber) {
+        this.jrnumber = jrnumber;
+    }
+}

文件差异内容过多而无法显示
+ 1763 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/RegionPGExample.java


+ 432 - 0
web/monitor-web-sxjn/src/main/resources/mybatis/auto/RegionPGMapper.xml

@@ -0,0 +1,432 @@
+<?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.RegionPGMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.RegionPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="companyid" jdbcType="VARCHAR" property="companyid" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="aname" jdbcType="VARCHAR" property="aname" />
+    <result column="windcapacity" jdbcType="NUMERIC" property="windcapacity" />
+    <result column="windcapacityunit" jdbcType="VARCHAR" property="windcapacityunit" />
+    <result column="windquantity" jdbcType="INTEGER" property="windquantity" />
+    <result column="capacity" jdbcType="NUMERIC" property="capacity" />
+    <result column="capacityunit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantityjz" jdbcType="INTEGER" property="quantityjz" />
+    <result column="quantityzc" jdbcType="INTEGER" property="quantityzc" />
+    <result column="jrwindcapacity" jdbcType="NUMERIC" property="jrwindcapacity" />
+    <result column="jrwindcapacityunit" jdbcType="VARCHAR" property="jrwindcapacityunit" />
+    <result column="jrwindquantity" jdbcType="INTEGER" property="jrwindquantity" />
+    <result column="jrcapacity" jdbcType="NUMERIC" property="jrcapacity" />
+    <result column="jrcapacityunit" jdbcType="VARCHAR" property="jrcapacityunit" />
+    <result column="jrquantityjz" jdbcType="INTEGER" property="jrquantityjz" />
+    <result column="jrquantityzc" jdbcType="INTEGER" property="jrquantityzc" />
+    <result column="ordernum" jdbcType="INTEGER" property="ordernum" />
+    <result column="windnumber" jdbcType="INTEGER" property="windnumber" />
+    <result column="number" jdbcType="INTEGER" property="number" />
+    <result column="jrwindnumber" jdbcType="INTEGER" property="jrwindnumber" />
+    <result column="jrnumber" jdbcType="INTEGER" property="jrnumber" />
+  </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, companyid, name, aname, windcapacity, windcapacityunit, windquantity, capacity, 
+    capacityunit, quantityjz, quantityzc, jrwindcapacity, jrwindcapacityunit, jrwindquantity, 
+    jrcapacity, jrcapacityunit, jrquantityjz, jrquantityzc, ordernum, windnumber, number, 
+    jrwindnumber, jrnumber
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.RegionPGExample" 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 region
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.RegionPGExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from region
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.RegionPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into region (id, companyid, name, 
+      aname, windcapacity, windcapacityunit, 
+      windquantity, capacity, capacityunit, 
+      quantityjz, quantityzc, jrwindcapacity, 
+      jrwindcapacityunit, jrwindquantity, jrcapacity, 
+      jrcapacityunit, jrquantityjz, jrquantityzc, 
+      ordernum, windnumber, number, 
+      jrwindnumber, jrnumber)
+    values (#{id,jdbcType=VARCHAR}, #{companyid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{aname,jdbcType=VARCHAR}, #{windcapacity,jdbcType=NUMERIC}, #{windcapacityunit,jdbcType=VARCHAR}, 
+      #{windquantity,jdbcType=INTEGER}, #{capacity,jdbcType=NUMERIC}, #{capacityunit,jdbcType=VARCHAR}, 
+      #{quantityjz,jdbcType=INTEGER}, #{quantityzc,jdbcType=INTEGER}, #{jrwindcapacity,jdbcType=NUMERIC}, 
+      #{jrwindcapacityunit,jdbcType=VARCHAR}, #{jrwindquantity,jdbcType=INTEGER}, #{jrcapacity,jdbcType=NUMERIC}, 
+      #{jrcapacityunit,jdbcType=VARCHAR}, #{jrquantityjz,jdbcType=INTEGER}, #{jrquantityzc,jdbcType=INTEGER}, 
+      #{ordernum,jdbcType=INTEGER}, #{windnumber,jdbcType=INTEGER}, #{number,jdbcType=INTEGER}, 
+      #{jrwindnumber,jdbcType=INTEGER}, #{jrnumber,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.RegionPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into region
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="companyid != null">
+        companyid,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="aname != null">
+        aname,
+      </if>
+      <if test="windcapacity != null">
+        windcapacity,
+      </if>
+      <if test="windcapacityunit != null">
+        windcapacityunit,
+      </if>
+      <if test="windquantity != null">
+        windquantity,
+      </if>
+      <if test="capacity != null">
+        capacity,
+      </if>
+      <if test="capacityunit != null">
+        capacityunit,
+      </if>
+      <if test="quantityjz != null">
+        quantityjz,
+      </if>
+      <if test="quantityzc != null">
+        quantityzc,
+      </if>
+      <if test="jrwindcapacity != null">
+        jrwindcapacity,
+      </if>
+      <if test="jrwindcapacityunit != null">
+        jrwindcapacityunit,
+      </if>
+      <if test="jrwindquantity != null">
+        jrwindquantity,
+      </if>
+      <if test="jrcapacity != null">
+        jrcapacity,
+      </if>
+      <if test="jrcapacityunit != null">
+        jrcapacityunit,
+      </if>
+      <if test="jrquantityjz != null">
+        jrquantityjz,
+      </if>
+      <if test="jrquantityzc != null">
+        jrquantityzc,
+      </if>
+      <if test="ordernum != null">
+        ordernum,
+      </if>
+      <if test="windnumber != null">
+        windnumber,
+      </if>
+      <if test="number != null">
+        number,
+      </if>
+      <if test="jrwindnumber != null">
+        jrwindnumber,
+      </if>
+      <if test="jrnumber != null">
+        jrnumber,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="companyid != null">
+        #{companyid,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="windcapacity != null">
+        #{windcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="windcapacityunit != null">
+        #{windcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="windquantity != null">
+        #{windquantity,jdbcType=INTEGER},
+      </if>
+      <if test="capacity != null">
+        #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantityjz != null">
+        #{quantityjz,jdbcType=INTEGER},
+      </if>
+      <if test="quantityzc != null">
+        #{quantityzc,jdbcType=INTEGER},
+      </if>
+      <if test="jrwindcapacity != null">
+        #{jrwindcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="jrwindcapacityunit != null">
+        #{jrwindcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="jrwindquantity != null">
+        #{jrwindquantity,jdbcType=INTEGER},
+      </if>
+      <if test="jrcapacity != null">
+        #{jrcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="jrcapacityunit != null">
+        #{jrcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="jrquantityjz != null">
+        #{jrquantityjz,jdbcType=INTEGER},
+      </if>
+      <if test="jrquantityzc != null">
+        #{jrquantityzc,jdbcType=INTEGER},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=INTEGER},
+      </if>
+      <if test="windnumber != null">
+        #{windnumber,jdbcType=INTEGER},
+      </if>
+      <if test="number != null">
+        #{number,jdbcType=INTEGER},
+      </if>
+      <if test="jrwindnumber != null">
+        #{jrwindnumber,jdbcType=INTEGER},
+      </if>
+      <if test="jrnumber != null">
+        #{jrnumber,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.RegionPGExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from region
+    <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 region
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.companyid != null">
+        companyid = #{record.companyid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.aname != null">
+        aname = #{record.aname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windcapacity != null">
+        windcapacity = #{record.windcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.windcapacityunit != null">
+        windcapacityunit = #{record.windcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windquantity != null">
+        windquantity = #{record.windquantity,jdbcType=INTEGER},
+      </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.quantityjz != null">
+        quantityjz = #{record.quantityjz,jdbcType=INTEGER},
+      </if>
+      <if test="record.quantityzc != null">
+        quantityzc = #{record.quantityzc,jdbcType=INTEGER},
+      </if>
+      <if test="record.jrwindcapacity != null">
+        jrwindcapacity = #{record.jrwindcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.jrwindcapacityunit != null">
+        jrwindcapacityunit = #{record.jrwindcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.jrwindquantity != null">
+        jrwindquantity = #{record.jrwindquantity,jdbcType=INTEGER},
+      </if>
+      <if test="record.jrcapacity != null">
+        jrcapacity = #{record.jrcapacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.jrcapacityunit != null">
+        jrcapacityunit = #{record.jrcapacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.jrquantityjz != null">
+        jrquantityjz = #{record.jrquantityjz,jdbcType=INTEGER},
+      </if>
+      <if test="record.jrquantityzc != null">
+        jrquantityzc = #{record.jrquantityzc,jdbcType=INTEGER},
+      </if>
+      <if test="record.ordernum != null">
+        ordernum = #{record.ordernum,jdbcType=INTEGER},
+      </if>
+      <if test="record.windnumber != null">
+        windnumber = #{record.windnumber,jdbcType=INTEGER},
+      </if>
+      <if test="record.number != null">
+        number = #{record.number,jdbcType=INTEGER},
+      </if>
+      <if test="record.jrwindnumber != null">
+        jrwindnumber = #{record.jrwindnumber,jdbcType=INTEGER},
+      </if>
+      <if test="record.jrnumber != null">
+        jrnumber = #{record.jrnumber,jdbcType=INTEGER},
+      </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 region
+    set id = #{record.id,jdbcType=VARCHAR},
+      companyid = #{record.companyid,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      aname = #{record.aname,jdbcType=VARCHAR},
+      windcapacity = #{record.windcapacity,jdbcType=NUMERIC},
+      windcapacityunit = #{record.windcapacityunit,jdbcType=VARCHAR},
+      windquantity = #{record.windquantity,jdbcType=INTEGER},
+      capacity = #{record.capacity,jdbcType=NUMERIC},
+      capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      quantityjz = #{record.quantityjz,jdbcType=INTEGER},
+      quantityzc = #{record.quantityzc,jdbcType=INTEGER},
+      jrwindcapacity = #{record.jrwindcapacity,jdbcType=NUMERIC},
+      jrwindcapacityunit = #{record.jrwindcapacityunit,jdbcType=VARCHAR},
+      jrwindquantity = #{record.jrwindquantity,jdbcType=INTEGER},
+      jrcapacity = #{record.jrcapacity,jdbcType=NUMERIC},
+      jrcapacityunit = #{record.jrcapacityunit,jdbcType=VARCHAR},
+      jrquantityjz = #{record.jrquantityjz,jdbcType=INTEGER},
+      jrquantityzc = #{record.jrquantityzc,jdbcType=INTEGER},
+      ordernum = #{record.ordernum,jdbcType=INTEGER},
+      windnumber = #{record.windnumber,jdbcType=INTEGER},
+      number = #{record.number,jdbcType=INTEGER},
+      jrwindnumber = #{record.jrwindnumber,jdbcType=INTEGER},
+      jrnumber = #{record.jrnumber,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+</mapper>