Explorar o código

测点自动生成接口

shilin %!s(int64=3) %!d(string=hai) anos
pai
achega
4561254e48
Modificáronse 25 ficheiros con 7596 adicións e 40 borrados
  1. 97 0
      src/main/java/com/gyee/frame/mapper/auto/ForecaststationtandardpointMapper.java
  2. 97 0
      src/main/java/com/gyee/frame/mapper/auto/WindsubstationMapper.java
  3. 97 0
      src/main/java/com/gyee/frame/mapper/auto/WindsubstationtandardpointMapper.java
  4. 102 0
      src/main/java/com/gyee/frame/mapper/auto/Windsubstationtestingpoint2Mapper.java
  5. 178 0
      src/main/java/com/gyee/frame/model/auto/Forecaststationtandardpoint.java
  6. 652 0
      src/main/java/com/gyee/frame/model/auto/ForecaststationtandardpointExample.java
  7. 344 0
      src/main/java/com/gyee/frame/model/auto/Windsubstation.java
  8. 973 0
      src/main/java/com/gyee/frame/model/auto/WindsubstationExample.java
  9. 178 0
      src/main/java/com/gyee/frame/model/auto/Windsubstationtandardpoint.java
  10. 652 0
      src/main/java/com/gyee/frame/model/auto/WindsubstationtandardpointExample.java
  11. 542 0
      src/main/java/com/gyee/frame/model/auto/Windsubstationtestingpoint2.java
  12. 1383 0
      src/main/java/com/gyee/frame/model/auto/Windsubstationtestingpoint2Example.java
  13. 107 0
      src/main/java/com/gyee/frame/service/ForecaststationtandardpointService.java
  14. 107 0
      src/main/java/com/gyee/frame/service/WindsubstationService.java
  15. 107 0
      src/main/java/com/gyee/frame/service/WindsubstationstandardpointService.java
  16. 113 0
      src/main/java/com/gyee/frame/service/Windsubstationtestingpoint2Service.java
  17. 6 9
      src/main/java/com/gyee/frame/service/initialpoint/IinitialPoint.java
  18. 496 27
      src/main/java/com/gyee/frame/service/initialpoint/InitialPointGoldenService.java
  19. 4 2
      src/main/resources/mybatis-generator.xml
  20. 271 0
      src/main/resources/mybatis/auto/ForecaststationtandardpointMapper.xml
  21. 1 1
      src/main/resources/mybatis/auto/WindPowerStationTestingPointMapper.xml
  22. 351 0
      src/main/resources/mybatis/auto/WindsubstationMapper.xml
  23. 271 0
      src/main/resources/mybatis/auto/WindsubstationtandardpointMapper.xml
  24. 463 0
      src/main/resources/mybatis/auto/Windsubstationtestingpoint2Mapper.xml
  25. 4 1
      src/test/java/test/InitialPointServiceTest.java

+ 97 - 0
src/main/java/com/gyee/frame/mapper/auto/ForecaststationtandardpointMapper.java

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

+ 97 - 0
src/main/java/com/gyee/frame/mapper/auto/WindsubstationMapper.java

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

+ 97 - 0
src/main/java/com/gyee/frame/mapper/auto/WindsubstationtandardpointMapper.java

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

+ 102 - 0
src/main/java/com/gyee/frame/mapper/auto/Windsubstationtestingpoint2Mapper.java

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

+ 178 - 0
src/main/java/com/gyee/frame/model/auto/Forecaststationtandardpoint.java

@@ -0,0 +1,178 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+
+public class Forecaststationtandardpoint implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column FORECASTSTATIONTANDARDPOINT.ID
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column FORECASTSTATIONTANDARDPOINT.CODE
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column FORECASTSTATIONTANDARDPOINT.NAME
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column FORECASTSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    private String uniformcode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column FORECASTSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    private String ordernum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column FORECASTSTATIONTANDARDPOINT.ID
+     *
+     * @return the value of FORECASTSTATIONTANDARDPOINT.ID
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column FORECASTSTATIONTANDARDPOINT.ID
+     *
+     * @param id the value for FORECASTSTATIONTANDARDPOINT.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 FORECASTSTATIONTANDARDPOINT.CODE
+     *
+     * @return the value of FORECASTSTATIONTANDARDPOINT.CODE
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column FORECASTSTATIONTANDARDPOINT.CODE
+     *
+     * @param code the value for FORECASTSTATIONTANDARDPOINT.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 FORECASTSTATIONTANDARDPOINT.NAME
+     *
+     * @return the value of FORECASTSTATIONTANDARDPOINT.NAME
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column FORECASTSTATIONTANDARDPOINT.NAME
+     *
+     * @param name the value for FORECASTSTATIONTANDARDPOINT.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 FORECASTSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @return the value of FORECASTSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public String getUniformcode() {
+        return uniformcode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column FORECASTSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @param uniformcode the value for FORECASTSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public void setUniformcode(String uniformcode) {
+        this.uniformcode = uniformcode == null ? null : uniformcode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column FORECASTSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @return the value of FORECASTSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public String getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column FORECASTSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @param ordernum the value for FORECASTSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(String ordernum) {
+        this.ordernum = ordernum == null ? null : ordernum.trim();
+    }
+}

+ 652 - 0
src/main/java/com/gyee/frame/model/auto/ForecaststationtandardpointExample.java

@@ -0,0 +1,652 @@
+package com.gyee.frame.model.auto;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class ForecaststationtandardpointExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public ForecaststationtandardpointExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("ID =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("ID <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("ID like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("ID not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNull() {
+            addCriterion("CODE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNotNull() {
+            addCriterion("CODE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeEqualTo(String value) {
+            addCriterion("CODE =", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotEqualTo(String value) {
+            addCriterion("CODE <>", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThan(String value) {
+            addCriterion("CODE >", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThanOrEqualTo(String value) {
+            addCriterion("CODE >=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThan(String value) {
+            addCriterion("CODE <", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThanOrEqualTo(String value) {
+            addCriterion("CODE <=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLike(String value) {
+            addCriterion("CODE like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotLike(String value) {
+            addCriterion("CODE not like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIn(List<String> values) {
+            addCriterion("CODE in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotIn(List<String> values) {
+            addCriterion("CODE not in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeBetween(String value1, String value2) {
+            addCriterion("CODE between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotBetween(String value1, String value2) {
+            addCriterion("CODE not between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("NAME is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("NAME is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("NAME =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("NAME <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("NAME >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("NAME >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("NAME <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("NAME <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("NAME like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("NAME not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("NAME in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("NAME not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("NAME between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("NAME not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIsNull() {
+            addCriterion("UNIFORMCODE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIsNotNull() {
+            addCriterion("UNIFORMCODE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeEqualTo(String value) {
+            addCriterion("UNIFORMCODE =", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotEqualTo(String value) {
+            addCriterion("UNIFORMCODE <>", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeGreaterThan(String value) {
+            addCriterion("UNIFORMCODE >", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("UNIFORMCODE >=", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLessThan(String value) {
+            addCriterion("UNIFORMCODE <", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLessThanOrEqualTo(String value) {
+            addCriterion("UNIFORMCODE <=", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLike(String value) {
+            addCriterion("UNIFORMCODE like", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotLike(String value) {
+            addCriterion("UNIFORMCODE not like", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIn(List<String> values) {
+            addCriterion("UNIFORMCODE in", values, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotIn(List<String> values) {
+            addCriterion("UNIFORMCODE not in", values, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeBetween(String value1, String value2) {
+            addCriterion("UNIFORMCODE between", value1, value2, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotBetween(String value1, String value2) {
+            addCriterion("UNIFORMCODE not between", value1, value2, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNull() {
+            addCriterion("ORDERNUM is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNotNull() {
+            addCriterion("ORDERNUM is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumEqualTo(String value) {
+            addCriterion("ORDERNUM =", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotEqualTo(String value) {
+            addCriterion("ORDERNUM <>", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThan(String value) {
+            addCriterion("ORDERNUM >", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
+            addCriterion("ORDERNUM >=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThan(String value) {
+            addCriterion("ORDERNUM <", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThanOrEqualTo(String value) {
+            addCriterion("ORDERNUM <=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLike(String value) {
+            addCriterion("ORDERNUM like", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotLike(String value) {
+            addCriterion("ORDERNUM not like", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIn(List<String> values) {
+            addCriterion("ORDERNUM in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotIn(List<String> values) {
+            addCriterion("ORDERNUM not in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumBetween(String value1, String value2) {
+            addCriterion("ORDERNUM between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotBetween(String value1, String value2) {
+            addCriterion("ORDERNUM not between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table FORECASTSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 344 - 0
src/main/java/com/gyee/frame/model/auto/Windsubstation.java

@@ -0,0 +1,344 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class Windsubstation implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.ID
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.CODE
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.NAME
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.ANAME
+     *
+     * @mbg.generated
+     */
+    private String aname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.WINDPOWERSTATIONID
+     *
+     * @mbg.generated
+     */
+    private String windpowerstationid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    private Short ordernum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.CAPACITY
+     *
+     * @mbg.generated
+     */
+    private BigDecimal capacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.CAPACITYUNIT
+     *
+     * @mbg.generated
+     */
+    private String capacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.QUANTITY
+     *
+     * @mbg.generated
+     */
+    private Short quantity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATION.AGCSCALE
+     *
+     * @mbg.generated
+     */
+    private String agcscale;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATION.ID
+     *
+     * @return the value of WINDSUBSTATION.ID
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.ID
+     *
+     * @param id the value for WINDSUBSTATION.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 WINDSUBSTATION.CODE
+     *
+     * @return the value of WINDSUBSTATION.CODE
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.CODE
+     *
+     * @param code the value for WINDSUBSTATION.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 WINDSUBSTATION.NAME
+     *
+     * @return the value of WINDSUBSTATION.NAME
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.NAME
+     *
+     * @param name the value for WINDSUBSTATION.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 WINDSUBSTATION.ANAME
+     *
+     * @return the value of WINDSUBSTATION.ANAME
+     *
+     * @mbg.generated
+     */
+    public String getAname() {
+        return aname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.ANAME
+     *
+     * @param aname the value for WINDSUBSTATION.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 WINDSUBSTATION.WINDPOWERSTATIONID
+     *
+     * @return the value of WINDSUBSTATION.WINDPOWERSTATIONID
+     *
+     * @mbg.generated
+     */
+    public String getWindpowerstationid() {
+        return windpowerstationid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.WINDPOWERSTATIONID
+     *
+     * @param windpowerstationid the value for WINDSUBSTATION.WINDPOWERSTATIONID
+     *
+     * @mbg.generated
+     */
+    public void setWindpowerstationid(String windpowerstationid) {
+        this.windpowerstationid = windpowerstationid == null ? null : windpowerstationid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATION.ORDERNUM
+     *
+     * @return the value of WINDSUBSTATION.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public Short getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.ORDERNUM
+     *
+     * @param ordernum the value for WINDSUBSTATION.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(Short ordernum) {
+        this.ordernum = ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATION.CAPACITY
+     *
+     * @return the value of WINDSUBSTATION.CAPACITY
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getCapacity() {
+        return capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.CAPACITY
+     *
+     * @param capacity the value for WINDSUBSTATION.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 WINDSUBSTATION.CAPACITYUNIT
+     *
+     * @return the value of WINDSUBSTATION.CAPACITYUNIT
+     *
+     * @mbg.generated
+     */
+    public String getCapacityunit() {
+        return capacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.CAPACITYUNIT
+     *
+     * @param capacityunit the value for WINDSUBSTATION.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 WINDSUBSTATION.QUANTITY
+     *
+     * @return the value of WINDSUBSTATION.QUANTITY
+     *
+     * @mbg.generated
+     */
+    public Short getQuantity() {
+        return quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.QUANTITY
+     *
+     * @param quantity the value for WINDSUBSTATION.QUANTITY
+     *
+     * @mbg.generated
+     */
+    public void setQuantity(Short quantity) {
+        this.quantity = quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATION.AGCSCALE
+     *
+     * @return the value of WINDSUBSTATION.AGCSCALE
+     *
+     * @mbg.generated
+     */
+    public String getAgcscale() {
+        return agcscale;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATION.AGCSCALE
+     *
+     * @param agcscale the value for WINDSUBSTATION.AGCSCALE
+     *
+     * @mbg.generated
+     */
+    public void setAgcscale(String agcscale) {
+        this.agcscale = agcscale == null ? null : agcscale.trim();
+    }
+}

+ 973 - 0
src/main/java/com/gyee/frame/model/auto/WindsubstationExample.java

@@ -0,0 +1,973 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
+public class WindsubstationExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public WindsubstationExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("ID =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("ID <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("ID like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("ID not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNull() {
+            addCriterion("CODE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNotNull() {
+            addCriterion("CODE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeEqualTo(String value) {
+            addCriterion("CODE =", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotEqualTo(String value) {
+            addCriterion("CODE <>", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThan(String value) {
+            addCriterion("CODE >", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThanOrEqualTo(String value) {
+            addCriterion("CODE >=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThan(String value) {
+            addCriterion("CODE <", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThanOrEqualTo(String value) {
+            addCriterion("CODE <=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLike(String value) {
+            addCriterion("CODE like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotLike(String value) {
+            addCriterion("CODE not like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIn(List<String> values) {
+            addCriterion("CODE in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotIn(List<String> values) {
+            addCriterion("CODE not in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeBetween(String value1, String value2) {
+            addCriterion("CODE between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotBetween(String value1, String value2) {
+            addCriterion("CODE not between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("NAME is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("NAME is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("NAME =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("NAME <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("NAME >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("NAME >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("NAME <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("NAME <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("NAME like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("NAME not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("NAME in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("NAME not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("NAME between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("NAME not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIsNull() {
+            addCriterion("ANAME is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIsNotNull() {
+            addCriterion("ANAME is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameEqualTo(String value) {
+            addCriterion("ANAME =", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotEqualTo(String value) {
+            addCriterion("ANAME <>", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameGreaterThan(String value) {
+            addCriterion("ANAME >", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameGreaterThanOrEqualTo(String value) {
+            addCriterion("ANAME >=", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLessThan(String value) {
+            addCriterion("ANAME <", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLessThanOrEqualTo(String value) {
+            addCriterion("ANAME <=", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLike(String value) {
+            addCriterion("ANAME like", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotLike(String value) {
+            addCriterion("ANAME not like", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIn(List<String> values) {
+            addCriterion("ANAME in", values, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotIn(List<String> values) {
+            addCriterion("ANAME not in", values, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameBetween(String value1, String value2) {
+            addCriterion("ANAME between", value1, value2, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotBetween(String value1, String value2) {
+            addCriterion("ANAME not between", value1, value2, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidIsNull() {
+            addCriterion("WINDPOWERSTATIONID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidIsNotNull() {
+            addCriterion("WINDPOWERSTATIONID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidEqualTo(String value) {
+            addCriterion("WINDPOWERSTATIONID =", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidNotEqualTo(String value) {
+            addCriterion("WINDPOWERSTATIONID <>", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidGreaterThan(String value) {
+            addCriterion("WINDPOWERSTATIONID >", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidGreaterThanOrEqualTo(String value) {
+            addCriterion("WINDPOWERSTATIONID >=", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidLessThan(String value) {
+            addCriterion("WINDPOWERSTATIONID <", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidLessThanOrEqualTo(String value) {
+            addCriterion("WINDPOWERSTATIONID <=", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidLike(String value) {
+            addCriterion("WINDPOWERSTATIONID like", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidNotLike(String value) {
+            addCriterion("WINDPOWERSTATIONID not like", value, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidIn(List<String> values) {
+            addCriterion("WINDPOWERSTATIONID in", values, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidNotIn(List<String> values) {
+            addCriterion("WINDPOWERSTATIONID not in", values, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidBetween(String value1, String value2) {
+            addCriterion("WINDPOWERSTATIONID between", value1, value2, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindpowerstationidNotBetween(String value1, String value2) {
+            addCriterion("WINDPOWERSTATIONID not between", value1, value2, "windpowerstationid");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNull() {
+            addCriterion("ORDERNUM is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNotNull() {
+            addCriterion("ORDERNUM is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumEqualTo(Short value) {
+            addCriterion("ORDERNUM =", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotEqualTo(Short value) {
+            addCriterion("ORDERNUM <>", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThan(Short value) {
+            addCriterion("ORDERNUM >", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThanOrEqualTo(Short value) {
+            addCriterion("ORDERNUM >=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThan(Short value) {
+            addCriterion("ORDERNUM <", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThanOrEqualTo(Short value) {
+            addCriterion("ORDERNUM <=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIn(List<Short> values) {
+            addCriterion("ORDERNUM in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotIn(List<Short> values) {
+            addCriterion("ORDERNUM not in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumBetween(Short value1, Short value2) {
+            addCriterion("ORDERNUM between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotBetween(Short value1, Short value2) {
+            addCriterion("ORDERNUM not between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIsNull() {
+            addCriterion("CAPACITY is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIsNotNull() {
+            addCriterion("CAPACITY is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityEqualTo(BigDecimal value) {
+            addCriterion("CAPACITY =", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotEqualTo(BigDecimal value) {
+            addCriterion("CAPACITY <>", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityGreaterThan(BigDecimal value) {
+            addCriterion("CAPACITY >", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("CAPACITY >=", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityLessThan(BigDecimal value) {
+            addCriterion("CAPACITY <", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("CAPACITY <=", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIn(List<BigDecimal> values) {
+            addCriterion("CAPACITY in", values, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotIn(List<BigDecimal> values) {
+            addCriterion("CAPACITY not in", values, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("CAPACITY between", value1, value2, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("CAPACITY not between", value1, value2, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIsNull() {
+            addCriterion("CAPACITYUNIT is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIsNotNull() {
+            addCriterion("CAPACITYUNIT is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitEqualTo(String value) {
+            addCriterion("CAPACITYUNIT =", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotEqualTo(String value) {
+            addCriterion("CAPACITYUNIT <>", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitGreaterThan(String value) {
+            addCriterion("CAPACITYUNIT >", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitGreaterThanOrEqualTo(String value) {
+            addCriterion("CAPACITYUNIT >=", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLessThan(String value) {
+            addCriterion("CAPACITYUNIT <", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLessThanOrEqualTo(String value) {
+            addCriterion("CAPACITYUNIT <=", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLike(String value) {
+            addCriterion("CAPACITYUNIT like", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotLike(String value) {
+            addCriterion("CAPACITYUNIT not like", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIn(List<String> values) {
+            addCriterion("CAPACITYUNIT in", values, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotIn(List<String> values) {
+            addCriterion("CAPACITYUNIT not in", values, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitBetween(String value1, String value2) {
+            addCriterion("CAPACITYUNIT between", value1, value2, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotBetween(String value1, String value2) {
+            addCriterion("CAPACITYUNIT not between", value1, value2, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIsNull() {
+            addCriterion("QUANTITY is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIsNotNull() {
+            addCriterion("QUANTITY is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityEqualTo(Short value) {
+            addCriterion("QUANTITY =", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotEqualTo(Short value) {
+            addCriterion("QUANTITY <>", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityGreaterThan(Short value) {
+            addCriterion("QUANTITY >", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityGreaterThanOrEqualTo(Short value) {
+            addCriterion("QUANTITY >=", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityLessThan(Short value) {
+            addCriterion("QUANTITY <", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityLessThanOrEqualTo(Short value) {
+            addCriterion("QUANTITY <=", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIn(List<Short> values) {
+            addCriterion("QUANTITY in", values, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotIn(List<Short> values) {
+            addCriterion("QUANTITY not in", values, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityBetween(Short value1, Short value2) {
+            addCriterion("QUANTITY between", value1, value2, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotBetween(Short value1, Short value2) {
+            addCriterion("QUANTITY not between", value1, value2, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleIsNull() {
+            addCriterion("AGCSCALE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleIsNotNull() {
+            addCriterion("AGCSCALE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleEqualTo(String value) {
+            addCriterion("AGCSCALE =", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleNotEqualTo(String value) {
+            addCriterion("AGCSCALE <>", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleGreaterThan(String value) {
+            addCriterion("AGCSCALE >", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleGreaterThanOrEqualTo(String value) {
+            addCriterion("AGCSCALE >=", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleLessThan(String value) {
+            addCriterion("AGCSCALE <", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleLessThanOrEqualTo(String value) {
+            addCriterion("AGCSCALE <=", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleLike(String value) {
+            addCriterion("AGCSCALE like", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleNotLike(String value) {
+            addCriterion("AGCSCALE not like", value, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleIn(List<String> values) {
+            addCriterion("AGCSCALE in", values, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleNotIn(List<String> values) {
+            addCriterion("AGCSCALE not in", values, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleBetween(String value1, String value2) {
+            addCriterion("AGCSCALE between", value1, value2, "agcscale");
+            return (Criteria) this;
+        }
+
+        public Criteria andAgcscaleNotBetween(String value1, String value2) {
+            addCriterion("AGCSCALE not between", value1, value2, "agcscale");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATION
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 178 - 0
src/main/java/com/gyee/frame/model/auto/Windsubstationtandardpoint.java

@@ -0,0 +1,178 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+
+public class Windsubstationtandardpoint implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTANDARDPOINT.ID
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTANDARDPOINT.CODE
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTANDARDPOINT.NAME
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    private String uniformcode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    private String ordernum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTANDARDPOINT.ID
+     *
+     * @return the value of WINDSUBSTATIONTANDARDPOINT.ID
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTANDARDPOINT.ID
+     *
+     * @param id the value for WINDSUBSTATIONTANDARDPOINT.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 WINDSUBSTATIONTANDARDPOINT.CODE
+     *
+     * @return the value of WINDSUBSTATIONTANDARDPOINT.CODE
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTANDARDPOINT.CODE
+     *
+     * @param code the value for WINDSUBSTATIONTANDARDPOINT.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 WINDSUBSTATIONTANDARDPOINT.NAME
+     *
+     * @return the value of WINDSUBSTATIONTANDARDPOINT.NAME
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTANDARDPOINT.NAME
+     *
+     * @param name the value for WINDSUBSTATIONTANDARDPOINT.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 WINDSUBSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @return the value of WINDSUBSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public String getUniformcode() {
+        return uniformcode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @param uniformcode the value for WINDSUBSTATIONTANDARDPOINT.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public void setUniformcode(String uniformcode) {
+        this.uniformcode = uniformcode == null ? null : uniformcode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @return the value of WINDSUBSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public String getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @param ordernum the value for WINDSUBSTATIONTANDARDPOINT.ORDERNUM
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(String ordernum) {
+        this.ordernum = ordernum == null ? null : ordernum.trim();
+    }
+}

+ 652 - 0
src/main/java/com/gyee/frame/model/auto/WindsubstationtandardpointExample.java

@@ -0,0 +1,652 @@
+package com.gyee.frame.model.auto;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class WindsubstationtandardpointExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public WindsubstationtandardpointExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("ID =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("ID <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("ID like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("ID not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNull() {
+            addCriterion("CODE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNotNull() {
+            addCriterion("CODE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeEqualTo(String value) {
+            addCriterion("CODE =", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotEqualTo(String value) {
+            addCriterion("CODE <>", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThan(String value) {
+            addCriterion("CODE >", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThanOrEqualTo(String value) {
+            addCriterion("CODE >=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThan(String value) {
+            addCriterion("CODE <", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThanOrEqualTo(String value) {
+            addCriterion("CODE <=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLike(String value) {
+            addCriterion("CODE like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotLike(String value) {
+            addCriterion("CODE not like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIn(List<String> values) {
+            addCriterion("CODE in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotIn(List<String> values) {
+            addCriterion("CODE not in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeBetween(String value1, String value2) {
+            addCriterion("CODE between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotBetween(String value1, String value2) {
+            addCriterion("CODE not between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("NAME is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("NAME is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("NAME =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("NAME <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("NAME >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("NAME >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("NAME <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("NAME <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("NAME like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("NAME not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("NAME in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("NAME not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("NAME between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("NAME not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIsNull() {
+            addCriterion("UNIFORMCODE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIsNotNull() {
+            addCriterion("UNIFORMCODE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeEqualTo(String value) {
+            addCriterion("UNIFORMCODE =", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotEqualTo(String value) {
+            addCriterion("UNIFORMCODE <>", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeGreaterThan(String value) {
+            addCriterion("UNIFORMCODE >", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeGreaterThanOrEqualTo(String value) {
+            addCriterion("UNIFORMCODE >=", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLessThan(String value) {
+            addCriterion("UNIFORMCODE <", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLessThanOrEqualTo(String value) {
+            addCriterion("UNIFORMCODE <=", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeLike(String value) {
+            addCriterion("UNIFORMCODE like", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotLike(String value) {
+            addCriterion("UNIFORMCODE not like", value, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeIn(List<String> values) {
+            addCriterion("UNIFORMCODE in", values, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotIn(List<String> values) {
+            addCriterion("UNIFORMCODE not in", values, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeBetween(String value1, String value2) {
+            addCriterion("UNIFORMCODE between", value1, value2, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andUniformcodeNotBetween(String value1, String value2) {
+            addCriterion("UNIFORMCODE not between", value1, value2, "uniformcode");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNull() {
+            addCriterion("ORDERNUM is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNotNull() {
+            addCriterion("ORDERNUM is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumEqualTo(String value) {
+            addCriterion("ORDERNUM =", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotEqualTo(String value) {
+            addCriterion("ORDERNUM <>", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThan(String value) {
+            addCriterion("ORDERNUM >", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
+            addCriterion("ORDERNUM >=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThan(String value) {
+            addCriterion("ORDERNUM <", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThanOrEqualTo(String value) {
+            addCriterion("ORDERNUM <=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLike(String value) {
+            addCriterion("ORDERNUM like", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotLike(String value) {
+            addCriterion("ORDERNUM not like", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIn(List<String> values) {
+            addCriterion("ORDERNUM in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotIn(List<String> values) {
+            addCriterion("ORDERNUM not in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumBetween(String value1, String value2) {
+            addCriterion("ORDERNUM between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotBetween(String value1, String value2) {
+            addCriterion("ORDERNUM not between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table WINDSUBSTATIONTANDARDPOINT
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 542 - 0
src/main/java/com/gyee/frame/model/auto/Windsubstationtestingpoint2.java

@@ -0,0 +1,542 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class Windsubstationtestingpoint2 implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.CODE
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.NAME
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.MODEL
+     *
+     * @mbg.generated
+     */
+    private String model;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.VALUEUNIT
+     *
+     * @mbg.generated
+     */
+    private String valueunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.ENGLISHNAME
+     *
+     * @mbg.generated
+     */
+    private String englishname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.TYPEID
+     *
+     * @mbg.generated
+     */
+    private String typeid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.MODELID
+     *
+     * @mbg.generated
+     */
+    private String modelid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.MAXVAL
+     *
+     * @mbg.generated
+     */
+    private BigDecimal maxval;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.MINVAL
+     *
+     * @mbg.generated
+     */
+    private BigDecimal minval;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMAXVAL
+     *
+     * @mbg.generated
+     */
+    private BigDecimal reasonablemaxval;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMINVAL
+     *
+     * @mbg.generated
+     */
+    private BigDecimal reasonableminval;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    private String uniformcode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.SHORTID
+     *
+     * @mbg.generated
+     */
+    private String shortid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.LONGID
+     *
+     * @mbg.generated
+     */
+    private String longid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.WINDSUBSTATIONID
+     *
+     * @mbg.generated
+     */
+    private String windsubstationid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column WINDSUBSTATIONTESTINGPOINT2.REALTIMEID
+     *
+     * @mbg.generated
+     */
+    private String realtimeid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table WINDSUBSTATIONTESTINGPOINT2
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.CODE
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.CODE
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.CODE
+     *
+     * @param code the value for WINDSUBSTATIONTESTINGPOINT2.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 WINDSUBSTATIONTESTINGPOINT2.NAME
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.NAME
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.NAME
+     *
+     * @param name the value for WINDSUBSTATIONTESTINGPOINT2.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 WINDSUBSTATIONTESTINGPOINT2.MODEL
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.MODEL
+     *
+     * @mbg.generated
+     */
+    public String getModel() {
+        return model;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.MODEL
+     *
+     * @param model the value for WINDSUBSTATIONTESTINGPOINT2.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 WINDSUBSTATIONTESTINGPOINT2.VALUEUNIT
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.VALUEUNIT
+     *
+     * @mbg.generated
+     */
+    public String getValueunit() {
+        return valueunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.VALUEUNIT
+     *
+     * @param valueunit the value for WINDSUBSTATIONTESTINGPOINT2.VALUEUNIT
+     *
+     * @mbg.generated
+     */
+    public void setValueunit(String valueunit) {
+        this.valueunit = valueunit == null ? null : valueunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.ENGLISHNAME
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.ENGLISHNAME
+     *
+     * @mbg.generated
+     */
+    public String getEnglishname() {
+        return englishname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.ENGLISHNAME
+     *
+     * @param englishname the value for WINDSUBSTATIONTESTINGPOINT2.ENGLISHNAME
+     *
+     * @mbg.generated
+     */
+    public void setEnglishname(String englishname) {
+        this.englishname = englishname == null ? null : englishname.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.TYPEID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.TYPEID
+     *
+     * @mbg.generated
+     */
+    public String getTypeid() {
+        return typeid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.TYPEID
+     *
+     * @param typeid the value for WINDSUBSTATIONTESTINGPOINT2.TYPEID
+     *
+     * @mbg.generated
+     */
+    public void setTypeid(String typeid) {
+        this.typeid = typeid == null ? null : typeid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.MODELID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.MODELID
+     *
+     * @mbg.generated
+     */
+    public String getModelid() {
+        return modelid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.MODELID
+     *
+     * @param modelid the value for WINDSUBSTATIONTESTINGPOINT2.MODELID
+     *
+     * @mbg.generated
+     */
+    public void setModelid(String modelid) {
+        this.modelid = modelid == null ? null : modelid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.MAXVAL
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.MAXVAL
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getMaxval() {
+        return maxval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.MAXVAL
+     *
+     * @param maxval the value for WINDSUBSTATIONTESTINGPOINT2.MAXVAL
+     *
+     * @mbg.generated
+     */
+    public void setMaxval(BigDecimal maxval) {
+        this.maxval = maxval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.MINVAL
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.MINVAL
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getMinval() {
+        return minval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.MINVAL
+     *
+     * @param minval the value for WINDSUBSTATIONTESTINGPOINT2.MINVAL
+     *
+     * @mbg.generated
+     */
+    public void setMinval(BigDecimal minval) {
+        this.minval = minval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMAXVAL
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.REASONABLEMAXVAL
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getReasonablemaxval() {
+        return reasonablemaxval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMAXVAL
+     *
+     * @param reasonablemaxval the value for WINDSUBSTATIONTESTINGPOINT2.REASONABLEMAXVAL
+     *
+     * @mbg.generated
+     */
+    public void setReasonablemaxval(BigDecimal reasonablemaxval) {
+        this.reasonablemaxval = reasonablemaxval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMINVAL
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.REASONABLEMINVAL
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getReasonableminval() {
+        return reasonableminval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.REASONABLEMINVAL
+     *
+     * @param reasonableminval the value for WINDSUBSTATIONTESTINGPOINT2.REASONABLEMINVAL
+     *
+     * @mbg.generated
+     */
+    public void setReasonableminval(BigDecimal reasonableminval) {
+        this.reasonableminval = reasonableminval;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.UNIFORMCODE
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public String getUniformcode() {
+        return uniformcode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.UNIFORMCODE
+     *
+     * @param uniformcode the value for WINDSUBSTATIONTESTINGPOINT2.UNIFORMCODE
+     *
+     * @mbg.generated
+     */
+    public void setUniformcode(String uniformcode) {
+        this.uniformcode = uniformcode == null ? null : uniformcode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.SHORTID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.SHORTID
+     *
+     * @mbg.generated
+     */
+    public String getShortid() {
+        return shortid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.SHORTID
+     *
+     * @param shortid the value for WINDSUBSTATIONTESTINGPOINT2.SHORTID
+     *
+     * @mbg.generated
+     */
+    public void setShortid(String shortid) {
+        this.shortid = shortid == null ? null : shortid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.LONGID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.LONGID
+     *
+     * @mbg.generated
+     */
+    public String getLongid() {
+        return longid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.LONGID
+     *
+     * @param longid the value for WINDSUBSTATIONTESTINGPOINT2.LONGID
+     *
+     * @mbg.generated
+     */
+    public void setLongid(String longid) {
+        this.longid = longid == null ? null : longid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.WINDSUBSTATIONID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.WINDSUBSTATIONID
+     *
+     * @mbg.generated
+     */
+    public String getWindsubstationid() {
+        return windsubstationid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.WINDSUBSTATIONID
+     *
+     * @param windsubstationid the value for WINDSUBSTATIONTESTINGPOINT2.WINDSUBSTATIONID
+     *
+     * @mbg.generated
+     */
+    public void setWindsubstationid(String windsubstationid) {
+        this.windsubstationid = windsubstationid == null ? null : windsubstationid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column WINDSUBSTATIONTESTINGPOINT2.REALTIMEID
+     *
+     * @return the value of WINDSUBSTATIONTESTINGPOINT2.REALTIMEID
+     *
+     * @mbg.generated
+     */
+    public String getRealtimeid() {
+        return realtimeid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column WINDSUBSTATIONTESTINGPOINT2.REALTIMEID
+     *
+     * @param realtimeid the value for WINDSUBSTATIONTESTINGPOINT2.REALTIMEID
+     *
+     * @mbg.generated
+     */
+    public void setRealtimeid(String realtimeid) {
+        this.realtimeid = realtimeid == null ? null : realtimeid.trim();
+    }
+}

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1383 - 0
src/main/java/com/gyee/frame/model/auto/Windsubstationtestingpoint2Example.java


+ 107 - 0
src/main/java/com/gyee/frame/service/ForecaststationtandardpointService.java

@@ -0,0 +1,107 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.ForecaststationtandardpointMapper;
+import com.gyee.frame.model.auto.Forecaststationtandardpoint;
+import com.gyee.frame.model.auto.ForecaststationtandardpointExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class ForecaststationtandardpointService implements BaseService<Forecaststationtandardpoint, ForecaststationtandardpointExample> {
+    @Resource
+    private ForecaststationtandardpointMapper forecaststationtandardpointMapper;
+
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista = Convert.toListStrArray(ids);
+        ForecaststationtandardpointExample example = new ForecaststationtandardpointExample();
+        example.createCriteria().andIdIn(lista);
+        return forecaststationtandardpointMapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public Forecaststationtandardpoint selectByPrimaryKey(String id) {
+
+        return forecaststationtandardpointMapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(Forecaststationtandardpoint record) {
+        return forecaststationtandardpointMapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(Forecaststationtandardpoint record) {
+
+        //添加雪花主键id
+        record.setId(SnowflakeIdWorker.getUUID());
+
+
+        return forecaststationtandardpointMapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(Forecaststationtandardpoint record, ForecaststationtandardpointExample example) {
+
+        return forecaststationtandardpointMapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(Forecaststationtandardpoint record, ForecaststationtandardpointExample example) {
+
+        return forecaststationtandardpointMapper.updateByExample(record, example);
+    }
+
+    @Override
+    public List<Forecaststationtandardpoint> selectByExample(ForecaststationtandardpointExample example) {
+
+        return forecaststationtandardpointMapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(ForecaststationtandardpointExample example) {
+
+        return forecaststationtandardpointMapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(ForecaststationtandardpointExample example) {
+
+        return forecaststationtandardpointMapper.deleteByExample(example);
+    }
+
+
+    public  List<Forecaststationtandardpoint> findAllList() {
+
+        ForecaststationtandardpointExample example = new ForecaststationtandardpointExample();
+
+        List<Forecaststationtandardpoint> vos = forecaststationtandardpointMapper.selectByExample(example);
+
+
+        return vos;
+
+    }
+
+
+}

+ 107 - 0
src/main/java/com/gyee/frame/service/WindsubstationService.java

@@ -0,0 +1,107 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.WindsubstationMapper;
+import com.gyee.frame.model.auto.Windsubstation;
+import com.gyee.frame.model.auto.WindsubstationExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class WindsubstationService implements BaseService<Windsubstation, WindsubstationExample> {
+    @Resource
+    private WindsubstationMapper windsubstationMapper;
+
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista = Convert.toListStrArray(ids);
+        WindsubstationExample example = new WindsubstationExample();
+        example.createCriteria().andIdIn(lista);
+        return windsubstationMapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public Windsubstation selectByPrimaryKey(String id) {
+
+        return windsubstationMapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(Windsubstation record) {
+        return windsubstationMapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(Windsubstation record) {
+
+        //添加雪花主键id
+        record.setId(SnowflakeIdWorker.getUUID());
+
+
+        return windsubstationMapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(Windsubstation record, WindsubstationExample example) {
+
+        return windsubstationMapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(Windsubstation record, WindsubstationExample example) {
+
+        return windsubstationMapper.updateByExample(record, example);
+    }
+
+    @Override
+    public List<Windsubstation> selectByExample(WindsubstationExample example) {
+
+        return windsubstationMapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(WindsubstationExample example) {
+
+        return windsubstationMapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(WindsubstationExample example) {
+
+        return windsubstationMapper.deleteByExample(example);
+    }
+
+
+    public  List<Windsubstation> findAllList() {
+
+        WindsubstationExample example = new WindsubstationExample();
+
+        List<Windsubstation> vos = windsubstationMapper.selectByExample(example);
+
+
+        return vos;
+
+    }
+
+
+}

+ 107 - 0
src/main/java/com/gyee/frame/service/WindsubstationstandardpointService.java

@@ -0,0 +1,107 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.WindsubstationtandardpointMapper;
+import com.gyee.frame.model.auto.Windsubstationtandardpoint;
+import com.gyee.frame.model.auto.WindsubstationtandardpointExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class WindsubstationstandardpointService implements BaseService<Windsubstationtandardpoint, WindsubstationtandardpointExample> {
+    @Resource
+    private WindsubstationtandardpointMapper windsubstationtandardpointMapper;
+
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista = Convert.toListStrArray(ids);
+        WindsubstationtandardpointExample example = new WindsubstationtandardpointExample();
+        example.createCriteria().andIdIn(lista);
+        return windsubstationtandardpointMapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public Windsubstationtandardpoint selectByPrimaryKey(String id) {
+
+        return windsubstationtandardpointMapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(Windsubstationtandardpoint record) {
+        return windsubstationtandardpointMapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(Windsubstationtandardpoint record) {
+
+        //添加雪花主键id
+        record.setId(SnowflakeIdWorker.getUUID());
+
+
+        return windsubstationtandardpointMapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(Windsubstationtandardpoint record, WindsubstationtandardpointExample example) {
+
+        return windsubstationtandardpointMapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(Windsubstationtandardpoint record, WindsubstationtandardpointExample example) {
+
+        return windsubstationtandardpointMapper.updateByExample(record, example);
+    }
+
+    @Override
+    public List<Windsubstationtandardpoint> selectByExample(WindsubstationtandardpointExample example) {
+
+        return windsubstationtandardpointMapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(WindsubstationtandardpointExample example) {
+
+        return windsubstationtandardpointMapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(WindsubstationtandardpointExample example) {
+
+        return windsubstationtandardpointMapper.deleteByExample(example);
+    }
+
+
+    public  List<Windsubstationtandardpoint> findAllList() {
+
+        WindsubstationtandardpointExample example = new WindsubstationtandardpointExample();
+
+        List<Windsubstationtandardpoint> vos = windsubstationtandardpointMapper.selectByExample(example);
+
+
+        return vos;
+
+    }
+
+
+}

+ 113 - 0
src/main/java/com/gyee/frame/service/Windsubstationtestingpoint2Service.java

@@ -0,0 +1,113 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.Windsubstationtestingpoint2Mapper;
+import com.gyee.frame.model.auto.Windsubstationtestingpoint2;
+import com.gyee.frame.model.auto.Windsubstationtestingpoint2Example;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+
+@Service
+public class Windsubstationtestingpoint2Service implements BaseService<Windsubstationtestingpoint2, Windsubstationtestingpoint2Example> {
+    @Resource
+    private Windsubstationtestingpoint2Mapper windsubstationtestingpoint2Mapper;
+
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista = Convert.toListStrArray(ids);
+        Windsubstationtestingpoint2Example example = new Windsubstationtestingpoint2Example();
+        example.createCriteria().andCodeIn(lista);
+        return windsubstationtestingpoint2Mapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public Windsubstationtestingpoint2 selectByPrimaryKey(String id) {
+
+        return windsubstationtestingpoint2Mapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(Windsubstationtestingpoint2 record) {
+        return windsubstationtestingpoint2Mapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(Windsubstationtestingpoint2 record) {
+
+
+        return windsubstationtestingpoint2Mapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(Windsubstationtestingpoint2 record, Windsubstationtestingpoint2Example example) {
+
+        return windsubstationtestingpoint2Mapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(Windsubstationtestingpoint2 record, Windsubstationtestingpoint2Example example) {
+
+        return windsubstationtestingpoint2Mapper.updateByExample(record, example);
+    }
+
+    @Override
+    public List<Windsubstationtestingpoint2> selectByExample(Windsubstationtestingpoint2Example example) {
+
+        return windsubstationtestingpoint2Mapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(Windsubstationtestingpoint2Example example) {
+
+        return windsubstationtestingpoint2Mapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(Windsubstationtestingpoint2Example example) {
+
+        return windsubstationtestingpoint2Mapper.deleteByExample(example);
+    }
+
+
+
+    public int deleteAll() {
+
+
+        int result= windsubstationtestingpoint2Mapper.deleteAll();
+
+
+        return result;
+
+    }
+
+    public int insertBatch(List<Windsubstationtestingpoint2> ls) {
+
+
+        int result= windsubstationtestingpoint2Mapper.insertBatch(ls);
+
+
+        return result;
+
+    }
+
+
+}

+ 6 - 9
src/main/java/com/gyee/frame/service/initialpoint/IinitialPoint.java

@@ -10,28 +10,25 @@ public interface IinitialPoint {
     public void initalFj();
     /**
      * 初始化场站
+     * isGF 是否包含光伏
      * @throws Exception
      */
-    public void initalFc();
+    public void initalFc(boolean isGf);
     /**
      * 初始化升压站
      * @throws Exception
      */
     public void initalSyz();
     /**
-     * 初始化电计量
+     * 初始化调度
      * @throws Exception
      */
-    public void initalDjl();
+    public void initalDd();
     /**
      * 初始化风功率预测
      * @throws Exception
      */
-    public void inital();
-    /**
-     * 初始化AGC
-     * @throws Exception
-     */
-    public void initalAgc();
+    public void initalFgl();
+
 
 }

+ 496 - 27
src/main/java/com/gyee/frame/service/initialpoint/InitialPointGoldenService.java

@@ -25,25 +25,264 @@ public class InitialPointGoldenService implements  IinitialPoint{
     @Resource
     private WindPowerstationTestingPointService windPowerstationTestingPointService;
 
-
+    @Resource
+    private ForecaststationtandardpointService forecaststationtandardpointService;
+    @Resource
+    private WindsubstationService windsubstationService;
+    @Resource
+    private WindsubstationstandardpointService windsubstationstandardpointService;
+    @Resource
+    private Windsubstationtestingpoint2Service windsubstationtestingpoint2Service;
     private final  String AI="AI";
     private final  String DI="DI";
     private final  String CI="CI";
+    private final String CFT="CFT";
 
     @Override
-    public void initalFc() {
+    public void initalFc(boolean isGf) {
+
+
 
         windPowerstationTestingPointService.deleteAll();
 
-        for (Windpowerstation wp:InitialRunner.wpls)
+        List<Windpowerstationstandardpoint>  stpointls=windpowerstationstandardpointService.findAllList();
+
+        List<Region> regions=regionService.findAllList();
+
+        if(!regions.isEmpty())
         {
+            for(Region re:regions)
+            {
+                List<Companys> companys= companysService.getCompanysListByRId(re.getId());
+                if(!companys.isEmpty())
+                {
+                    for(Companys cs:companys)
+                    {
+                        StringBuilder sba=new StringBuilder();
+                        sba.append(re.getId()).append("_").append(cs.getId()).append("_");
+/********************************************区域公司测点**************************************************/
+                        List<WindPowerStationTestingPoint> points=new ArrayList<>();
+                        for(int i=0;i<stpointls.size();i++)
+                        {
+                            StringBuilder sbtable =new StringBuilder();
+
+                            Windpowerstationstandardpoint stp=stpointls.get(i);
+                            StringBuilder sb =new StringBuilder();
+                            sb.append(String.valueOf(sba));
+                            sb.append("XXX_XX_XXX_XXX_XXX_");
+                            sb.append(CI);
+                            sb.append(stp.getOrdernum());
+                            if(stp.getCode().equals(CI))
+                            {
+                                sbtable.append("JSFW.");
+                                sbtable.append(sb);
+                            }
+                            WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+                            po.setCode(String.valueOf(sbtable));
+                            sb =new StringBuilder();
+                            sb.append(re.getName()).append(stp.getName());
+                            po.setName(String.valueOf(sb));
+                            po.setModel(null);
+                            po.setModelid(null);
+                            if(regions.size()==1)
+                            {
+                                po.setWindpowerstationid("0");
+                            }else
+                            {
+                                StringBuilder tempsb=new StringBuilder();
+                                tempsb.append(re.getId()).append(0);
+                                po.setWindpowerstationid(String.valueOf(tempsb));
+                            }
+                            po.setUniformcode(stp.getUniformcode());
+
+                            if(stp.getCode().equals(CI))
+                            {
+                                StringBuilder tempsb=new StringBuilder();
+                                tempsb.append(cs.getId()).append(re.getId());
+                                tempsb.append(".JSFW");
+                                po.setRealtimeid(String.valueOf(tempsb));
+                            }
+                            points.add(po);
+                        }
+                        windPowerstationTestingPointService.insertBatch(points);
+
+                        /*******************************************风电测点生成*******************************************************/
+
+                        points=new ArrayList<>();
+                        for(int i=0;i<stpointls.size();i++)
+                        {
+                            StringBuilder sbtable =new StringBuilder();
+
+                            Windpowerstationstandardpoint stp=stpointls.get(i);
+                            StringBuilder sb =new StringBuilder();
+                            sb.append(String.valueOf(sba));
+                            sb.append("FDC_XX_XXX_XXX_XXX_");
+                            sb.append(CI);
+                            sb.append(stp.getOrdernum());
+                            if(stp.getCode().equals(CI))
+                            {
+                                sbtable.append("JSFW.");
+                                sbtable.append(sb);
+                            }
+                            WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+                            po.setCode(String.valueOf(sbtable));
+                            sb =new StringBuilder();
+                            sb.append(re.getName()).append(stp.getName());
+                            po.setName(String.valueOf(sb));
+                            po.setModel(null);
+                            po.setModelid(null);
+                            if(regions.size()==1)
+                            {
+                                po.setWindpowerstationid("-1");
+                            }else
+                            {
+                                StringBuilder tempsb=new StringBuilder();
+                                tempsb.append(re.getId()).append(1);
+                                po.setWindpowerstationid(String.valueOf(tempsb));
+                            }
+                            po.setUniformcode(stp.getUniformcode());
 
+                            if(stp.getCode().equals(CI))
+                            {
+                                StringBuilder tempsb=new StringBuilder();
+                                tempsb.append(cs.getId()).append(re.getId());
+                                tempsb.append(".JSFW");
+                                po.setRealtimeid(String.valueOf(tempsb));
+                            }
+                            points.add(po);
+                        }
+                        windPowerstationTestingPointService.insertBatch(points);
+
+                        if(isGf)
+                        {
+                            /*********************************************光伏测点生成*****************************************************/
 
-            List<Windpowerstationstandardpoint>  stpointls=windpowerstationstandardpointService.findAllList();
+                            points=new ArrayList<>();
+                            for(int i=0;i<stpointls.size();i++)
+                            {
+                                StringBuilder sbtable =new StringBuilder();
+
+                                Windpowerstationstandardpoint stp=stpointls.get(i);
+                                StringBuilder sb =new StringBuilder();
+                                sb.append(String.valueOf(sba));
+                                sb.append("GDC_XX_XXX_XXX_XXX_");
+                                sb.append(CI);
+                                sb.append(stp.getOrdernum());
+                                if(stp.getCode().equals(CI))
+                                {
+                                    sbtable.append("JSFW.");
+                                    sbtable.append(sb);
+                                }
+                                WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+                                po.setCode(String.valueOf(sbtable));
+                                sb =new StringBuilder();
+                                sb.append(re.getName()).append(stp.getName());
+                                po.setName(String.valueOf(sb));
+                                po.setModel(null);
+                                po.setModelid(null);
+                                if(regions.size()==1)
+                                {
+                                    po.setWindpowerstationid("-2");
+                                }else
+                                {
+                                    StringBuilder tempsb=new StringBuilder();
+                                    tempsb.append(re.getId()).append(2);
+                                    po.setWindpowerstationid(String.valueOf(tempsb));
+                                }
+                                po.setUniformcode(stp.getUniformcode());
+
+                                if(stp.getCode().equals(CI))
+                                {
+                                    StringBuilder tempsb=new StringBuilder();
+                                    tempsb.append(cs.getId()).append(re.getId());
+                                    tempsb.append(".JSFW");
+                                    po.setRealtimeid(String.valueOf(tempsb));
+                                }
+                                points.add(po);
+                            }
+                            windPowerstationTestingPointService.insertBatch(points);
+                        }
+                    }
+                }
+            }
+        }
+        /*********************************************场站、项目、线路测点生成*****************************************************/
+
+        for (Windpowerstation wp:InitialRunner.wpallls)
+        {
 
             if(!stpointls.isEmpty())
             {
 
+                createWpPoints(wp, stpointls);
+                createPjPoints(wp, stpointls);
+                createLnPoints(wp, stpointls);
+            }
+        }
+    }
+
+    private void createWpPoints(Windpowerstation wp, List<Windpowerstationstandardpoint> stpointls) {
+        List<WindPowerStationTestingPoint> points=new ArrayList<>();
+        for(int i=0;i<stpointls.size();i++)
+        {
+            StringBuilder sbtable =new StringBuilder();
+
+            Windpowerstationstandardpoint stp=stpointls.get(i);
+            StringBuilder sb =new StringBuilder();
+            sb.append(wp.getPhoto());
+            String temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+
+            if(wp.getId().endsWith("FDC"))
+            {
+                sbtable.append(temp).append("FC");
+                sb.append(temp).append("F_").append("XX_XXX_XXX_XXX_");
+            }else   if(wp.getId().endsWith("GDC"))
+            {
+                sbtable.append(temp).append("GC");
+                sb.append(temp).append("G_").append("XX_XXX_XXX_XXX_");
+            }
+
+
+
+            sb.append(CI);
+
+            sb.append(stp.getOrdernum());
+
+            if(stp.getCode().equals(CI))
+            {
+                sbtable.append("JSFW.");
+                sbtable.append(sb);
+            }
+
+            WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+            po.setCode(String.valueOf(sbtable));
+            sb =new StringBuilder();
+            sb.append(wp.getName()).append(stp.getName());
+            po.setName(String.valueOf(sb));
+            po.setModel(null);
+            po.setModelid(null);
+            po.setWindpowerstationid(wp.getId());
+            po.setUniformcode(stp.getUniformcode());
+
+            if(stp.getCode().equals(CI))
+            {
+                sb =new StringBuilder();
+                temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+                sb.append(temp).append(".JSFW");
+                po.setRealtimeid(String.valueOf(sb));
+            }
+            points.add(po);
+        }
+        windPowerstationTestingPointService.insertBatch(points);
+    }
+
+    private void createPjPoints(Windpowerstation wp, List<Windpowerstationstandardpoint> stpointls) {
+
+
+        for(Project pj:InitialRunner.pjls)
+        {
+            if(pj.getWindpowerstationid().equals(wp.getId()))
+            {
                 List<WindPowerStationTestingPoint> points=new ArrayList<>();
                 for(int i=0;i<stpointls.size();i++)
                 {
@@ -55,9 +294,10 @@ public class InitialPointGoldenService implements  IinitialPoint{
                     String temp=wp.getId().substring(0,wp.getId().indexOf("_"));
 
                     sbtable.append(temp).append("FC");
-                    sb.append(temp).append("F_").append("XX_XXX_XXX_XXX_");
-
-
+                    sb.append(temp).append("F_").append("FJ_");
+                    temp=pj.getId().substring(0,pj.getId().lastIndexOf("_"));
+                    sb.append("P").append(temp.substring(temp.length()-2)).append("_");
+                    sb.append("XXX_XXX_");
                     sb.append(CI);
 
                     sb.append(stp.getOrdernum());
@@ -71,14 +311,13 @@ public class InitialPointGoldenService implements  IinitialPoint{
                     WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
                     po.setCode(String.valueOf(sbtable));
                     sb =new StringBuilder();
-                    sb.append(wp.getName()).append(stp.getName());
+                    sb.append(pj.getName()).append(stp.getName());
                     po.setName(String.valueOf(sb));
                     po.setModel(null);
                     po.setModelid(null);
-                    po.setWindpowerstationid(wp.getId());
+                    po.setWindpowerstationid(pj.getId());
                     po.setUniformcode(stp.getUniformcode());
 
-
                     if(stp.getCode().equals(CI))
                     {
                         sb =new StringBuilder();
@@ -91,33 +330,274 @@ public class InitialPointGoldenService implements  IinitialPoint{
                 windPowerstationTestingPointService.insertBatch(points);
             }
         }
+
     }
 
-    @Override
-    public void initalSyz() {
+    private void createLnPoints(Windpowerstation wp, List<Windpowerstationstandardpoint> stpointls) {
+
+        for(Line ln:InitialRunner.linels)
+        {
+            if(InitialRunner.pjmap.containsKey(ln.getProjectid()))
+            {
+                Project pj=InitialRunner.pjmap.get(ln.getProjectid());
+
+                if(pj.getWindpowerstationid().equals(wp.getId()))
+                {
+                    List<WindPowerStationTestingPoint> points=new ArrayList<>();
+                    for(int i=0;i<stpointls.size();i++)
+                    {
+                        StringBuilder sbtable =new StringBuilder();
+
+                        Windpowerstationstandardpoint stp=stpointls.get(i);
+                        StringBuilder sb =new StringBuilder();
+                        sb.append(wp.getPhoto());
+                        String temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+
+                        sbtable.append(temp).append("FC");
+                        sb.append(temp).append("F_").append("FJ_");
+                        temp=pj.getId().substring(0,pj.getId().lastIndexOf("_"));
+                        sb.append("P").append(temp.substring(temp.length()-2)).append("_");
+                        temp=ln.getId().substring(0,ln.getId().lastIndexOf("_"));
+                        sb.append("L").append(temp.substring(temp.length()-2)).append("_");
+                        sb.append("XXX_");
+                        sb.append(CI);
+
+                        sb.append(stp.getOrdernum());
+
+                        if(stp.getCode().equals(CI))
+                        {
+                            sbtable.append("JSFW.");
+                            sbtable.append(sb);
+                        }
+
+                        WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+                        po.setCode(String.valueOf(sbtable));
+                        sb =new StringBuilder();
+                        sb.append(ln.getName()).append(stp.getName());
+                        po.setName(String.valueOf(sb));
+                        po.setModel(null);
+                        po.setModelid(null);
+                        po.setWindpowerstationid(ln.getId());
+                        po.setUniformcode(stp.getUniformcode());
+
+                        if(stp.getCode().equals(CI))
+                        {
+                            sb =new StringBuilder();
+                            temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+                            sb.append(temp).append(".JSFW");
+                            po.setRealtimeid(String.valueOf(sb));
+                        }
+                        points.add(po);
+                    }
+                    windPowerstationTestingPointService.insertBatch(points);
+                }
+            }
+
+        }
 
     }
 
     @Override
-    public void initalDjl() {
+    public void initalSyz() {
 
     }
 
     @Override
-    public void inital() {
+    public void initalDd() {
+
+        windsubstationtestingpoint2Service.deleteAll();
+
+        List<Windsubstationtandardpoint> stpointls=windsubstationstandardpointService.findAllList();
+        List<Windsubstation> wsubls=windsubstationService.findAllList();
+
+        if(!wsubls.isEmpty() && !stpointls.isEmpty())
+        {
+            for(Windsubstation wsub:wsubls)
+            {
+
+                if(InitialRunner.wpmap.containsKey(wsub.getWindpowerstationid()))
+                {
+                    Windpowerstation wp=InitialRunner.wpmap.get(wsub.getWindpowerstationid());
+
+                    List<Windsubstationtestingpoint2> points=new ArrayList<>();
+                    for(int i=0;i<stpointls.size();i++)
+                    {
+                        StringBuilder sbtable =new StringBuilder();
+
+                        Windsubstationtandardpoint stp=stpointls.get(i);
+                        StringBuilder sb =new StringBuilder();
+                        sb.append(wp.getPhoto());
+                        String temp=wsub.getId().substring(0,wsub.getId().indexOf("_"));
+
+
+                        if(stp.getCode().endsWith("CI"))
+                        {
+                            if(wp.getId().endsWith("FDC"))
+                            {
+                                sbtable.append(temp).append("FC");
+                                sb.append(temp).append("F_").append("XX_XXX_XXX_XXX_");
+                            }else   if(wp.getId().endsWith("GDC"))
+                            {
+                                sbtable.append(temp).append("GC");
+                                sb.append(temp).append("G_").append("XX_XXX_XXX_XXX_");
+                            }
+
+                        }else
+                        {
+                            sbtable.append(temp).append("DQ");
+                            if(wp.getId().endsWith("FDC"))
+                            {
+
+                                sb.append(temp).append("F_").append("DQ_P01_L01_001_");
+                            }else   if(wp.getId().endsWith("GDC"))
+                            {
+                                sb.append(temp).append("G_").append("DQ_P01_L01_001_");
+                            }
+                        }
+
+
+
+                        if(stp.getCode().equals(AI))
+                        {
+                            sb.append(AI);
+                        }else if(stp.getCode().equals(DI))
+                        {
+                            sb.append(DI);
+                        }else if(stp.getCode().equals(CI))
+                        {
+                            sb.append(CI);
+                        }
+
+                        sb.append(stp.getOrdernum());
+
+                        if(stp.getCode().equals(CI))
+                        {
+                            sbtable.append("JSFW.");
+                            sbtable.append(sb);
+                        }else
+                        {
+                            sbtable.append(".").append(sb);
+                        }
+                        Windsubstationtestingpoint2 po=new Windsubstationtestingpoint2();
+                        po.setCode(String.valueOf(sbtable));
+                        sb =new StringBuilder();
+                        sb.append(wsub.getAname()).append(stp.getName());
+                        po.setName(String.valueOf(sb));
+                        po.setModel(null);
+                        po.setModelid(null);
+                        po.setWindsubstationid(wsub.getId());
+                        po.setUniformcode(stp.getUniformcode());
+                        if(stp.getCode().equals(CI))
+                        {
+                            sb =new StringBuilder();
+                            temp=wsub.getId().substring(0,wsub.getId().indexOf("_"));
+                            sb.append(temp).append(".JSFW");
+                            po.setRealtimeid(String.valueOf(sb));
+                        }
+                        points.add(po);
+//                                windturbinetestingpointService.insertSelective(po);
+                    }
+
+                    windsubstationtestingpoint2Service.insertBatch(points);
+                }
+
+            }
+        }
+
+
 
     }
 
     @Override
-    public void initalAgc() {
+    public void initalFgl() {
+
+
+        windPowerstationTestingPointService.deleteAll();
+
+        List<Forecaststationtandardpoint>  stpointls=forecaststationtandardpointService.findAllList();
+
+
+        /*********************************************风功率测点生成*****************************************************/
+
+        for (Windpowerstation wp:InitialRunner.wpallls)
+        {
+
+            if(!stpointls.isEmpty())
+            {
+
+                List<WindPowerStationTestingPoint> points=new ArrayList<>();
+                for(int i=0;i<stpointls.size();i++)
+                {
+                    StringBuilder sbtable =new StringBuilder();
+
+                    Forecaststationtandardpoint stp=stpointls.get(i);
+                    StringBuilder sb =new StringBuilder();
+                    sb.append(wp.getPhoto());
+                    String temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+
+                    if(wp.getId().endsWith("FDC"))
+                    {
+                        sbtable.append(temp).append("FGL");
+                        sb.append(temp).append("F_").append("YC_XXX_XXX_XXX_");
+                    }else   if(wp.getId().endsWith("GDC"))
+                    {
+                        sbtable.append(temp).append("GGL");
+                        sb.append(temp).append("G_").append("YC_XXX_XXX_XXX_");
+                    }
+
+
 
+                   if(!stp.getCode().equals(CFT))
+                    {
+                        sb.append(stp.getCode());
+                    }
+
+                    sb.append(stp.getOrdernum());
+
+                    sbtable.append(".");
+                    sbtable.append(sb);
+
+                    WindPowerStationTestingPoint po=new WindPowerStationTestingPoint();
+                    po.setCode(String.valueOf(sbtable));
+                    sb =new StringBuilder();
+                    sb.append(wp.getName()).append(stp.getName());
+                    po.setName(String.valueOf(sb));
+                    po.setModel(null);
+                    po.setModelid(null);
+                    po.setWindpowerstationid(wp.getId());
+                    po.setUniformcode(stp.getUniformcode());
+
+                    if(stp.getCode().equals(CI))
+                    {
+                        sb =new StringBuilder();
+                        temp=wp.getId().substring(0,wp.getId().indexOf("_"));
+
+
+                        if(wp.getId().endsWith("FDC"))
+                        {
+                            sb.append(temp).append(".FGL");
+                        }else   if(wp.getId().endsWith("GDC"))
+                        {
+                            sb.append(temp).append(".GGL");
+                        }
+
+                        po.setRealtimeid(String.valueOf(sb));
+                    }
+                    points.add(po);
+                }
+                windPowerstationTestingPointService.insertBatch(points);
+            }
+        }
     }
 
+
     public void initalFj()
     {
 
         windturbinetestingpointService.deleteAll();
 
+        List<Windturbinestandardpoint>  stpointls=windturbinestandardpointService.findAllList();
+
             for (Windpowerstation wp:InitialRunner.wpls)
             {
 
@@ -125,8 +605,6 @@ public class InitialPointGoldenService implements  IinitialPoint{
                 {
                     List<Windturbine> wtls=InitialRunner.wp_wtmap.get(wp.getId());
 
-                    List<Windturbinestandardpoint>  stpointls=windturbinestandardpointService.findAllList();
-
 
                     if(!stpointls.isEmpty())
                     {
@@ -163,16 +641,7 @@ public class InitialPointGoldenService implements  IinitialPoint{
                                 }
 
 
-                                if(stp.getCode().equals(AI))
-                                {
-                                    sb.append(AI);
-                                }else if(stp.getCode().equals(DI))
-                                {
-                                    sb.append(DI);
-                                }else if(stp.getCode().equals(CI))
-                                {
-                                    sb.append(CI);
-                                }
+                                sb.append(stp.getCode());
 
                                 sb.append(stp.getOrdernum());
 

+ 4 - 2
src/main/resources/mybatis-generator.xml

@@ -109,8 +109,10 @@
 <!--        <table tableName='StopAnalysis' domainObjectName='StopAnalysis'/>-->
 <!--        <table tableName='StopAnalysismain' domainObjectName='StopAnalysismain'/>-->
 <!--        <table tableName='StopAnalysismainVo' domainObjectName='StopAnalysismainVo'/>-->
-        <table tableName='WindPowerStationTestingPoint' domainObjectName='WindPowerStationTestingPoint'/>
-
+        <table tableName='Windsubstationtandardpoint' domainObjectName='Windsubstationtandardpoint'/>
+        <table tableName='Windsubstationtestingpoint2' domainObjectName='Windsubstationtestingpoint2'/>
+        <table tableName='Forecaststationtandardpoint' domainObjectName='Forecaststationtandardpoint'/>
+        <table tableName='Windsubstation' domainObjectName='Windsubstation'/>
 
 
     </context>

+ 271 - 0
src/main/resources/mybatis/auto/ForecaststationtandardpointMapper.xml

@@ -0,0 +1,271 @@
+<?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.ForecaststationtandardpointMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      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="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
+    <result column="ORDERNUM" jdbcType="VARCHAR" property="ordernum" />
+  </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, UNIFORMCODE, ORDERNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample" 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 FORECASTSTATIONTANDARDPOINT
+    <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 FORECASTSTATIONTANDARDPOINT
+    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 FORECASTSTATIONTANDARDPOINT
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FORECASTSTATIONTANDARDPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTSTATIONTANDARDPOINT (ID, CODE, NAME, 
+      UNIFORMCODE, ORDERNUM)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{uniformcode,jdbcType=VARCHAR}, #{ordernum,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTSTATIONTANDARDPOINT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE,
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM,
+      </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="uniformcode != null">
+        #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from FORECASTSTATIONTANDARDPOINT
+    <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 FORECASTSTATIONTANDARDPOINT
+    <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.uniformcode != null">
+        UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ORDERNUM = #{record.ordernum,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 FORECASTSTATIONTANDARDPOINT
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{record.ordernum,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    <set>
+      <if test="code != null">
+        CODE = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM = #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    set CODE = #{code,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{ordernum,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
src/main/resources/mybatis/auto/WindPowerStationTestingPointMapper.xml


+ 351 - 0
src/main/resources/mybatis/auto/WindsubstationMapper.xml

@@ -0,0 +1,351 @@
+<?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.WindsubstationMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windsubstation">
+    <!--
+      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="ANAME" jdbcType="VARCHAR" property="aname" />
+    <result column="WINDPOWERSTATIONID" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="ORDERNUM" jdbcType="DECIMAL" property="ordernum" />
+    <result column="CAPACITY" jdbcType="DECIMAL" property="capacity" />
+    <result column="CAPACITYUNIT" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="QUANTITY" jdbcType="DECIMAL" property="quantity" />
+    <result column="AGCSCALE" jdbcType="VARCHAR" property="agcscale" />
+  </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, ANAME, WINDPOWERSTATIONID, ORDERNUM, CAPACITY, CAPACITYUNIT, QUANTITY, 
+    AGCSCALE
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindsubstationExample" 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 WINDSUBSTATION
+    <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 WINDSUBSTATION
+    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 WINDSUBSTATION
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindsubstationExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from WINDSUBSTATION
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Windsubstation">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WINDSUBSTATION (ID, CODE, NAME, 
+      ANAME, WINDPOWERSTATIONID, ORDERNUM, 
+      CAPACITY, CAPACITYUNIT, QUANTITY, 
+      AGCSCALE)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{aname,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{ordernum,jdbcType=DECIMAL}, 
+      #{capacity,jdbcType=DECIMAL}, #{capacityunit,jdbcType=VARCHAR}, #{quantity,jdbcType=DECIMAL}, 
+      #{agcscale,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windsubstation">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WINDSUBSTATION
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="aname != null">
+        ANAME,
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID,
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM,
+      </if>
+      <if test="capacity != null">
+        CAPACITY,
+      </if>
+      <if test="capacityunit != null">
+        CAPACITYUNIT,
+      </if>
+      <if test="quantity != null">
+        QUANTITY,
+      </if>
+      <if test="agcscale != null">
+        AGCSCALE,
+      </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="aname != null">
+        #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=DECIMAL},
+      </if>
+      <if test="capacity != null">
+        #{capacity,jdbcType=DECIMAL},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        #{quantity,jdbcType=DECIMAL},
+      </if>
+      <if test="agcscale != null">
+        #{agcscale,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindsubstationExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from WINDSUBSTATION
+    <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 WINDSUBSTATION
+    <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.aname != null">
+        ANAME = #{record.aname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ORDERNUM = #{record.ordernum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.capacity != null">
+        CAPACITY = #{record.capacity,jdbcType=DECIMAL},
+      </if>
+      <if test="record.capacityunit != null">
+        CAPACITYUNIT = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.quantity != null">
+        QUANTITY = #{record.quantity,jdbcType=DECIMAL},
+      </if>
+      <if test="record.agcscale != null">
+        AGCSCALE = #{record.agcscale,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 WINDSUBSTATION
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      ANAME = #{record.aname,jdbcType=VARCHAR},
+      WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      ORDERNUM = #{record.ordernum,jdbcType=DECIMAL},
+      CAPACITY = #{record.capacity,jdbcType=DECIMAL},
+      CAPACITYUNIT = #{record.capacityunit,jdbcType=VARCHAR},
+      QUANTITY = #{record.quantity,jdbcType=DECIMAL},
+      AGCSCALE = #{record.agcscale,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Windsubstation">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WINDSUBSTATION
+    <set>
+      <if test="code != null">
+        CODE = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        ANAME = #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM = #{ordernum,jdbcType=DECIMAL},
+      </if>
+      <if test="capacity != null">
+        CAPACITY = #{capacity,jdbcType=DECIMAL},
+      </if>
+      <if test="capacityunit != null">
+        CAPACITYUNIT = #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        QUANTITY = #{quantity,jdbcType=DECIMAL},
+      </if>
+      <if test="agcscale != null">
+        AGCSCALE = #{agcscale,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windsubstation">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WINDSUBSTATION
+    set CODE = #{code,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      ANAME = #{aname,jdbcType=VARCHAR},
+      WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      ORDERNUM = #{ordernum,jdbcType=DECIMAL},
+      CAPACITY = #{capacity,jdbcType=DECIMAL},
+      CAPACITYUNIT = #{capacityunit,jdbcType=VARCHAR},
+      QUANTITY = #{quantity,jdbcType=DECIMAL},
+      AGCSCALE = #{agcscale,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 271 - 0
src/main/resources/mybatis/auto/WindsubstationtandardpointMapper.xml

@@ -0,0 +1,271 @@
+<?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.WindsubstationtandardpointMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windsubstationtandardpoint">
+    <!--
+      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="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
+    <result column="ORDERNUM" jdbcType="VARCHAR" property="ordernum" />
+  </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, UNIFORMCODE, ORDERNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtandardpointExample" 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 WINDSUBSTATIONTANDARDPOINT
+    <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 WINDSUBSTATIONTANDARDPOINT
+    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 WINDSUBSTATIONTANDARDPOINT
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtandardpointExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from WINDSUBSTATIONTANDARDPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Windsubstationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WINDSUBSTATIONTANDARDPOINT (ID, CODE, NAME, 
+      UNIFORMCODE, ORDERNUM)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{uniformcode,jdbcType=VARCHAR}, #{ordernum,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windsubstationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into WINDSUBSTATIONTANDARDPOINT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE,
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM,
+      </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="uniformcode != null">
+        #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindsubstationtandardpointExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from WINDSUBSTATIONTANDARDPOINT
+    <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 WINDSUBSTATIONTANDARDPOINT
+    <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.uniformcode != null">
+        UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ORDERNUM = #{record.ordernum,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 WINDSUBSTATIONTANDARDPOINT
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{record.ordernum,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Windsubstationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WINDSUBSTATIONTANDARDPOINT
+    <set>
+      <if test="code != null">
+        CODE = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM = #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windsubstationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update WINDSUBSTATIONTANDARDPOINT
+    set CODE = #{code,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{ordernum,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 463 - 0
src/main/resources/mybatis/auto/Windsubstationtestingpoint2Mapper.xml


+ 4 - 1
src/test/java/test/InitialPointServiceTest.java

@@ -22,8 +22,11 @@ public class InitialPointServiceTest {
 
 //        initialPointGoldenService.initalFj();
 
-        initialPointGoldenService.initalFc();
+//        initialPointGoldenService.initalFc(true);
 
+//        initialPointGoldenService.initalDd();
+
+        initialPointGoldenService.initalFgl();
 
         System.out.println("初始化结束!");
     }