Преглед изворни кода

值机对标、性能对标接口

shilin пре 4 година
родитељ
комит
c1f734f624
64 измењених фајлова са 55226 додато и 20 уклоњено
  1. 5 0
      pom.xml
  2. 125 0
      src/main/java/com/gyee/frame/controller/compare/CompareController.java
  3. 89 15
      src/main/java/com/gyee/frame/controller/contrast/ContrastController.java
  4. 97 0
      src/main/java/com/gyee/frame/mapper/auto/ActivePowerDataMapper.java
  5. 96 0
      src/main/java/com/gyee/frame/mapper/auto/CurvefittingmainMapper.java
  6. 96 0
      src/main/java/com/gyee/frame/mapper/auto/CurvefittingmonthmainMapper.java
  7. 1 0
      src/main/java/com/gyee/frame/mapper/auto/FaultEliminateDefectsMapper.java
  8. 4 3
      src/main/java/com/gyee/frame/mapper/auto/GeneratorMapper.java
  9. 96 0
      src/main/java/com/gyee/frame/mapper/auto/WarningClassifyMapper.java
  10. 96 0
      src/main/java/com/gyee/frame/mapper/auto/WarningInfoDayMapper.java
  11. 96 0
      src/main/java/com/gyee/frame/mapper/auto/WindturbineanalysisdayMapper.java
  12. 96 0
      src/main/java/com/gyee/frame/mapper/auto/WindturbinecurvefittingMapper.java
  13. 96 0
      src/main/java/com/gyee/frame/mapper/auto/WindturbinecurvefittingmonthMapper.java
  14. 97 0
      src/main/java/com/gyee/frame/mapper/auto/WindturbinethewindinfoMapper.java
  15. 345 0
      src/main/java/com/gyee/frame/model/auto/ActivePowerData.java
  16. 954 0
      src/main/java/com/gyee/frame/model/auto/ActivePowerDataExample.java
  17. 312 0
      src/main/java/com/gyee/frame/model/auto/Curvefittingmain.java
  18. 864 0
      src/main/java/com/gyee/frame/model/auto/CurvefittingmainExample.java
  19. 344 0
      src/main/java/com/gyee/frame/model/auto/Curvefittingmonthmain.java
  20. 943 0
      src/main/java/com/gyee/frame/model/auto/CurvefittingmonthmainExample.java
  21. 79 0
      src/main/java/com/gyee/frame/model/auto/WarningClassify.java
  22. 442 0
      src/main/java/com/gyee/frame/model/auto/WarningClassifyExample.java
  23. 444 0
      src/main/java/com/gyee/frame/model/auto/WarningInfoDay.java
  24. 1114 0
      src/main/java/com/gyee/frame/model/auto/WarningInfoDayExample.java
  25. 2093 0
      src/main/java/com/gyee/frame/model/auto/Windturbineanalysisday.java
  26. 4094 0
      src/main/java/com/gyee/frame/model/auto/WindturbineanalysisdayExample.java
  27. 245 0
      src/main/java/com/gyee/frame/model/auto/Windturbinecurvefitting.java
  28. 743 0
      src/main/java/com/gyee/frame/model/auto/WindturbinecurvefittingExample.java
  29. 277 0
      src/main/java/com/gyee/frame/model/auto/Windturbinecurvefittingmonth.java
  30. 822 0
      src/main/java/com/gyee/frame/model/auto/WindturbinecurvefittingmonthExample.java
  31. 9915 0
      src/main/java/com/gyee/frame/model/auto/Windturbinethewindinfo.java
  32. 18314 0
      src/main/java/com/gyee/frame/model/auto/WindturbinethewindinfoExample.java
  33. 67 0
      src/main/java/com/gyee/frame/model/custom/GoodCompareVo.java
  34. 92 0
      src/main/java/com/gyee/frame/service/ActivePowerDataService.java
  35. 95 0
      src/main/java/com/gyee/frame/service/CurvefittingmainService.java
  36. 95 0
      src/main/java/com/gyee/frame/service/CurvefittingmonthmainService.java
  37. 95 0
      src/main/java/com/gyee/frame/service/WarningClassifyService.java
  38. 92 0
      src/main/java/com/gyee/frame/service/WarningInfoDayService.java
  39. 126 0
      src/main/java/com/gyee/frame/service/WindturbineanalysisdayService.java
  40. 124 0
      src/main/java/com/gyee/frame/service/WindturbinecurvefittingService.java
  41. 155 0
      src/main/java/com/gyee/frame/service/WindturbinecurvefittingmonthService.java
  42. 115 0
      src/main/java/com/gyee/frame/service/WindturbinethewindinfoService.java
  43. 1830 0
      src/main/java/com/gyee/frame/service/compare/CompareService.java
  44. 408 0
      src/main/java/com/gyee/frame/service/contrast/ContrastLnService.java
  45. 3 0
      src/main/resources/application.yml
  46. 5 2
      src/main/resources/mybatis-generator.xml
  47. 351 0
      src/main/resources/mybatis/auto/ActivePowerDataMapper.xml
  48. 336 0
      src/main/resources/mybatis/auto/CurvefittingmainMapper.xml
  49. 351 0
      src/main/resources/mybatis/auto/CurvefittingmonthmainMapper.xml
  50. 7 0
      src/main/resources/mybatis/auto/ShutdowneventMapper.xml
  51. 7 0
      src/main/resources/mybatis/auto/StatetransitionratesMapper.xml
  52. 224 0
      src/main/resources/mybatis/auto/WarningClassifyMapper.xml
  53. 398 0
      src/main/resources/mybatis/auto/WarningInfoDayMapper.xml
  54. 7 0
      src/main/resources/mybatis/auto/WindTurbineInfoDayMapper.xml
  55. 7 0
      src/main/resources/mybatis/auto/Windpowerinfoday3Mapper.xml
  56. 7 0
      src/main/resources/mybatis/auto/WindturbineStatusDayStatisticsMapper.xml
  57. 1181 0
      src/main/resources/mybatis/auto/WindturbineanalysisdayMapper.xml
  58. 310 0
      src/main/resources/mybatis/auto/WindturbinecurvefittingMapper.xml
  59. 325 0
      src/main/resources/mybatis/auto/WindturbinecurvefittingmonthMapper.xml
  60. 7 0
      src/main/resources/mybatis/auto/Windturbineinfoday3Mapper.xml
  61. 7 0
      src/main/resources/mybatis/auto/Windturbineinfodaytop3Mapper.xml
  62. 7 0
      src/main/resources/mybatis/auto/WindturbinepowercurvefittingMapper.xml
  63. 4871 0
      src/main/resources/mybatis/auto/WindturbinethewindinfoMapper.xml
  64. 87 0
      src/test/java/test/CompareTest.java

+ 5 - 0
pom.xml

@@ -38,6 +38,11 @@
 			<artifactId>mybatis-spring-boot-starter</artifactId>
 			<version>1.3.2</version>
 		</dependency>
+		<dependency>
+			<groupId>org.mybatis.caches</groupId>
+			<artifactId>mybatis-ehcache</artifactId>
+			<version>1.2.1</version>
+		</dependency>
 		<!-- SpringBoot 测试 -->
 		<dependency>
 			<groupId>org.springframework.boot</groupId>

+ 125 - 0
src/main/java/com/gyee/frame/controller/compare/CompareController.java

@@ -0,0 +1,125 @@
+package com.gyee.frame.controller.compare;
+
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.service.compare.CompareService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+
+import java.util.Date;
+
+@Controller
+@RequestMapping("/compare")
+public class CompareController {
+    @Autowired
+    private CompareService compareService;
+
+    /**查询日横向对比列表**/
+    @GetMapping("/compareDayList")
+    @ResponseBody
+    public AjaxResult compareDayList(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareDayList(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**创建日风资源图表**/
+    @GetMapping("/fzyDay")
+    @ResponseBody
+    public AjaxResult fzyDay(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.fzyDay(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**查询日横向对比下方图表**/
+    @GetMapping("/compareDayChat")
+    @ResponseBody
+    public AjaxResult compareDayChat(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareDayChat(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /***********************************************************************************************************************/
+
+    /**查询月横向对比列表**/
+    @GetMapping("/compareMonthList")
+    @ResponseBody
+    public AjaxResult compareMonthList(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareMonthList(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**创建月风资源图表**/
+    @GetMapping("/fzyMonth")
+    @ResponseBody
+    public AjaxResult fzyMonth(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.fzyMonth(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**查询月横向对比下方图表**/
+    @GetMapping("/compareMonthChat")
+    @ResponseBody
+    public AjaxResult compareMonthChat(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareMonthChat(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+
+
+    /***********************************************************************************************************************/
+
+    /**查询年横向对比列表**/
+    @GetMapping("/compareYearList")
+    @ResponseBody
+    public AjaxResult compareYearList(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareYearList(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**创建年风资源图表**/
+    @GetMapping("/fzyYear")
+    @ResponseBody
+    public AjaxResult fzyYear(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.fzyYear(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+    /**查询年横向对比下方图表**/
+    @GetMapping("/compareYearChat")
+    @ResponseBody
+    public AjaxResult compareYearChat(String windturbineid,Date date) {
+
+
+        AjaxResult ajaxResult=compareService.compareYearChat(windturbineid,date) ;
+
+        return ajaxResult;
+
+    }
+
+}

+ 89 - 15
src/main/java/com/gyee/frame/controller/contrast/ContrastController.java

@@ -6,10 +6,7 @@ import com.gyee.frame.model.custom.BenchMarkVo;
 import com.gyee.frame.model.custom.ConditionVo;
 import com.gyee.frame.model.custom.DataVo;
 import com.gyee.frame.model.custom.Tablepar;
-import com.gyee.frame.service.contrast.ContrastPjService;
-import com.gyee.frame.service.contrast.ContrastWpService;
-import com.gyee.frame.service.contrast.ContrastWtService;
-import com.gyee.frame.service.contrast.ContrastZjService;
+import com.gyee.frame.service.contrast.*;
 import com.gyee.frame.util.BenchmarkUtil;
 import com.gyee.frame.util.DateUtils;
 import com.gyee.frame.util.StringUtils;
@@ -37,6 +34,9 @@ public class ContrastController {
     private ContrastWtService contrastWtService;
     @Resource
     private ContrastZjService contrastZjService;
+    @Resource
+    private ContrastLnService contrastLnService;
+
     /**
      * 查询风机列表信息
      **/
@@ -44,9 +44,12 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult benchmarkLossList(Tablepar tablepar, String wpId, String beginDate, String endDate) {
 
-        List<BenchMarkVo> vos =contrastWpService.benchmarkLossList(wpId, beginDate,  endDate);
-
+        List<BenchMarkVo> vos =new ArrayList<>();
 
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastWpService.benchmarkLossList(wpId, beginDate,  endDate);
+        }
 
             if (vos != null && !vos.isEmpty()) {
                 BenchmarkUtil bu = new BenchmarkUtil();
@@ -70,9 +73,12 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult benchmarkWpList(Tablepar tablepar, String wpId, String beginDate, String endDate) {
 
-        List<BenchMarkVo> vos =contrastWpService.benchmarkWpList(wpId, beginDate,  endDate);
-
+        List<BenchMarkVo> vos =new ArrayList<>();
 
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastWpService.benchmarkWpList(wpId, beginDate,  endDate);
+        }
 
         if (vos != null && !vos.isEmpty()) {
             BenchmarkUtil bu = new BenchmarkUtil();
@@ -95,8 +101,12 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult benchmarkWpInWtList(Tablepar tablepar, String wpId,String wtId, String beginDate, String endDate) {
 
-        List<BenchMarkVo> vos =contrastWtService.benchmarkWtList(wpId,wtId,beginDate, endDate);
+        List<BenchMarkVo> vos =new ArrayList<>();
 
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastWtService.benchmarkWtList(wpId,wtId,beginDate, endDate);
+        }
         if (vos != null && !vos.isEmpty()) {
             BenchmarkUtil bu = new BenchmarkUtil();
             vos = bu.getBenchMarkOrder(vos);
@@ -119,8 +129,13 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult benchmarkWpOutList(Tablepar tablepar, String wpId, String beginDate, String endDate) {
 
-        List<BenchMarkVo> vos =contrastWpService.benchmarkWpOutList(wpId, beginDate,  endDate);
 
+        List<BenchMarkVo> vos =new ArrayList<>();
+
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastWpService.benchmarkWpOutList(wpId, beginDate,  endDate);
+        }
 
 
         if (vos != null && !vos.isEmpty()) {
@@ -161,8 +176,12 @@ public class ContrastController {
 
         Date begin = DateUtils.parseDate(beginDate);
         Date end = DateUtils.parseDate(endDate);
-        
-        List<DataVo> vos = contrastWpService.findWpPowerChat(wpids, begin, end);
+
+        List<DataVo> vos =new ArrayList<>();
+        if(StringUtils.isNotEmpty(wpId) && StringUtils.isNotEmpty(beginDate)  && StringUtils.isNotEmpty(endDate))
+        {
+            vos = contrastWpService.findWpPowerChat(wpids, begin, end);
+        }
 
         if (vos != null && !vos.isEmpty()) {
             return AjaxResult.successData(AjaxStatus.success.code, vos);
@@ -179,8 +198,12 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult benchmarkPjList(Tablepar tablepar, String wpId,String pjId, String beginDate, String endDate) {
 
-        List<BenchMarkVo> vos =contrastPjService.benchmarkPjList(wpId,pjId, beginDate,  endDate);
+          List<BenchMarkVo> vos =new ArrayList<>();
 
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastPjService.benchmarkPjList(wpId,pjId, beginDate,  endDate);
+        }
 
 
         if (vos != null && !vos.isEmpty()) {
@@ -205,13 +228,64 @@ public class ContrastController {
     @ResponseBody
     public AjaxResult findPjPowerChat(String wpId,String pjId, String beginDate, String endDate) throws Exception {
 
-
+        List<DataVo> vos =new ArrayList<>();
         if(StringUtils.isNotEmpty(wpId) && StringUtils.isNotEmpty(beginDate)  && StringUtils.isNotEmpty(endDate))
         {
+            vos = contrastPjService.findPjPowerChat(wpId,pjId, beginDate, endDate);
+        }
+
+
+        if (vos != null && !vos.isEmpty()) {
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.emptyresultset.code, vos);
+        }
+    }
+
+    /**
+     * 查询线路对标列表信息
+     **/
+    @PostMapping("/benchmarkLnList")
+    @ResponseBody
+    public AjaxResult benchmarkLnList(Tablepar tablepar, String wpId,String lnId, String beginDate, String endDate) {
+
+
+        List<BenchMarkVo> vos =new ArrayList<>();
+
+        if(StringUtils.notEmp(tablepar) && StringUtils.notEmp(wpId)  && StringUtils.notEmp(beginDate)  && StringUtils.notEmp(endDate)  )
+        {
+            vos =contrastLnService.benchmarkLnList(wpId,lnId, beginDate,  endDate);
+        }
 
+
+        if (vos != null && !vos.isEmpty()) {
+            BenchmarkUtil bu = new BenchmarkUtil();
+            vos = bu.getBenchMarkOrder(vos);
+            //默认综合排序,不需要从新排序,除非指定字段排序
+            if(StringUtils.notEmp(tablepar) && StringUtils.isNotEmpty(tablepar.getOrderByColumn()) )
+            {
+                vos = bu.getBenchMarkOrder(vos,tablepar);
+            }
+            return AjaxResult.successData(AjaxStatus.success.code, vos);
+        } else {
+            return AjaxResult.successData(AjaxStatus.emptyresultset.code, vos);
         }
-        List<DataVo> vos = contrastPjService.findPjPowerChat(wpId,pjId, beginDate, endDate);
 
+    }
+
+    /**
+     * 查询线路对标图表
+     **/
+    @GetMapping("/findLnPowerChat")
+    @ResponseBody
+    public AjaxResult findLnPowerChat(String wpId,String lnId, String beginDate, String endDate) throws Exception {
+
+        List<DataVo> vos =new ArrayList<>();
+        if(StringUtils.isNotEmpty(wpId) && StringUtils.isNotEmpty(beginDate)  && StringUtils.isNotEmpty(endDate))
+        {
+
+        vos = contrastLnService.findLnPowerChat(wpId,lnId, beginDate, endDate);
+        }
         if (vos != null && !vos.isEmpty()) {
             return AjaxResult.successData(AjaxStatus.success.code, vos);
         } else {

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

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/CurvefittingmainMapper.java

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/CurvefittingmonthmainMapper.java

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

+ 1 - 0
src/main/java/com/gyee/frame/mapper/auto/FaultEliminateDefectsMapper.java

@@ -6,6 +6,7 @@ import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 
+
 public interface FaultEliminateDefectsMapper {
     /**
      * This method was generated by MyBatis Generator.

+ 4 - 3
src/main/java/com/gyee/frame/mapper/auto/GeneratorMapper.java

@@ -1,11 +1,11 @@
 package com.gyee.frame.mapper.auto;
 
-import java.util.List;
-import java.util.Map;
-
 import com.gyee.frame.model.custom.TsysTables;
 import com.gyee.frame.model.custom.autocode.BeanColumn;
 
+import java.util.List;
+import java.util.Map;
+
 /**
  * 数据库接口
 * @Title: GeneratorMapper.java 
@@ -14,6 +14,7 @@ import com.gyee.frame.model.custom.autocode.BeanColumn;
 * @date 2019年5月9日 上午12:31:13 
 * @version V1.0   
  */
+
 public interface GeneratorMapper {
 	/**
 	 * 查询当前所有表

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/WarningClassifyMapper.java

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/WarningInfoDayMapper.java

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/WindturbineanalysisdayMapper.java

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/WindturbinecurvefittingMapper.java

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

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/WindturbinecurvefittingmonthMapper.java

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

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

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

+ 345 - 0
src/main/java/com/gyee/frame/model/auto/ActivePowerData.java

@@ -0,0 +1,345 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class ActivePowerData implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.id
+     *
+     * @mbg.generated
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.windPowerStationId
+     *
+     * @mbg.generated
+     */
+    private String windpowerstationid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.windTurbineId
+     *
+     * @mbg.generated
+     */
+    private String windturbineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.modelId
+     *
+     * @mbg.generated
+     */
+    private String modelid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.recordDate
+     *
+     * @mbg.generated
+     */
+    private Date recorddate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.speed
+     *
+     * @mbg.generated
+     */
+    private BigDecimal speed;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.power
+     *
+     * @mbg.generated
+     */
+    private BigDecimal power;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.frequency
+     *
+     * @mbg.generated
+     */
+    private BigDecimal frequency;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.windTurbineCode
+     *
+     * @mbg.generated
+     */
+    private String windturbinecode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column activepowerdata.modelName
+     *
+     * @mbg.generated
+     */
+    private String modelname;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.id
+     *
+     * @return the value of activepowerdata.id
+     *
+     * @mbg.generated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.id
+     *
+     * @param id the value for activepowerdata.id
+     *
+     * @mbg.generated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.windPowerStationId
+     *
+     * @return the value of activepowerdata.windPowerStationId
+     *
+     * @mbg.generated
+     */
+    public String getWindpowerstationid() {
+        return windpowerstationid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.windPowerStationId
+     *
+     * @param windpowerstationid the value for activepowerdata.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 activepowerdata.windTurbineId
+     *
+     * @return the value of activepowerdata.windTurbineId
+     *
+     * @mbg.generated
+     */
+    public String getWindturbineid() {
+        return windturbineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.windTurbineId
+     *
+     * @param windturbineid the value for activepowerdata.windTurbineId
+     *
+     * @mbg.generated
+     */
+    public void setWindturbineid(String windturbineid) {
+        this.windturbineid = windturbineid == null ? null : windturbineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.modelId
+     *
+     * @return the value of activepowerdata.modelId
+     *
+     * @mbg.generated
+     */
+    public String getModelid() {
+        return modelid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.modelId
+     *
+     * @param modelid the value for activepowerdata.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 activepowerdata.recordDate
+     *
+     * @return the value of activepowerdata.recordDate
+     *
+     * @mbg.generated
+     */
+    public Date getRecorddate() {
+        return recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.recordDate
+     *
+     * @param recorddate the value for activepowerdata.recordDate
+     *
+     * @mbg.generated
+     */
+    public void setRecorddate(Date recorddate) {
+        this.recorddate = recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.speed
+     *
+     * @return the value of activepowerdata.speed
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getSpeed() {
+        return speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.speed
+     *
+     * @param speed the value for activepowerdata.speed
+     *
+     * @mbg.generated
+     */
+    public void setSpeed(BigDecimal speed) {
+        this.speed = speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.power
+     *
+     * @return the value of activepowerdata.power
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getPower() {
+        return power;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.power
+     *
+     * @param power the value for activepowerdata.power
+     *
+     * @mbg.generated
+     */
+    public void setPower(BigDecimal power) {
+        this.power = power;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.frequency
+     *
+     * @return the value of activepowerdata.frequency
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getFrequency() {
+        return frequency;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.frequency
+     *
+     * @param frequency the value for activepowerdata.frequency
+     *
+     * @mbg.generated
+     */
+    public void setFrequency(BigDecimal frequency) {
+        this.frequency = frequency;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.windTurbineCode
+     *
+     * @return the value of activepowerdata.windTurbineCode
+     *
+     * @mbg.generated
+     */
+    public String getWindturbinecode() {
+        return windturbinecode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.windTurbineCode
+     *
+     * @param windturbinecode the value for activepowerdata.windTurbineCode
+     *
+     * @mbg.generated
+     */
+    public void setWindturbinecode(String windturbinecode) {
+        this.windturbinecode = windturbinecode == null ? null : windturbinecode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column activepowerdata.modelName
+     *
+     * @return the value of activepowerdata.modelName
+     *
+     * @mbg.generated
+     */
+    public String getModelname() {
+        return modelname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column activepowerdata.modelName
+     *
+     * @param modelname the value for activepowerdata.modelName
+     *
+     * @mbg.generated
+     */
+    public void setModelname(String modelname) {
+        this.modelname = modelname == null ? null : modelname.trim();
+    }
+}

+ 954 - 0
src/main/java/com/gyee/frame/model/auto/ActivePowerDataExample.java

@@ -0,0 +1,954 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class ActivePowerDataExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public ActivePowerDataExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table activepowerdata
+     *
+     * @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 activepowerdata
+     *
+     * @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 activepowerdata
+     *
+     * @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 activepowerdata
+     *
+     * @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 activepowerdata
+     *
+     * @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(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            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 andWindturbineidIsNull() {
+            addCriterion("windTurbineId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNotNull() {
+            addCriterion("windTurbineId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidEqualTo(String value) {
+            addCriterion("windTurbineId =", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotEqualTo(String value) {
+            addCriterion("windTurbineId <>", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThan(String value) {
+            addCriterion("windTurbineId >", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
+            addCriterion("windTurbineId >=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThan(String value) {
+            addCriterion("windTurbineId <", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
+            addCriterion("windTurbineId <=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLike(String value) {
+            addCriterion("windTurbineId like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotLike(String value) {
+            addCriterion("windTurbineId not like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIn(List<String> values) {
+            addCriterion("windTurbineId in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotIn(List<String> values) {
+            addCriterion("windTurbineId not in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidBetween(String value1, String value2) {
+            addCriterion("windTurbineId between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotBetween(String value1, String value2) {
+            addCriterion("windTurbineId not between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidIsNull() {
+            addCriterion("modelId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidIsNotNull() {
+            addCriterion("modelId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidEqualTo(String value) {
+            addCriterion("modelId =", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidNotEqualTo(String value) {
+            addCriterion("modelId <>", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidGreaterThan(String value) {
+            addCriterion("modelId >", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidGreaterThanOrEqualTo(String value) {
+            addCriterion("modelId >=", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidLessThan(String value) {
+            addCriterion("modelId <", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidLessThanOrEqualTo(String value) {
+            addCriterion("modelId <=", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidLike(String value) {
+            addCriterion("modelId like", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidNotLike(String value) {
+            addCriterion("modelId not like", value, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidIn(List<String> values) {
+            addCriterion("modelId in", values, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidNotIn(List<String> values) {
+            addCriterion("modelId not in", values, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidBetween(String value1, String value2) {
+            addCriterion("modelId between", value1, value2, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelidNotBetween(String value1, String value2) {
+            addCriterion("modelId not between", value1, value2, "modelid");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNull() {
+            addCriterion("recordDate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNotNull() {
+            addCriterion("recordDate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateEqualTo(Date value) {
+            addCriterion("recordDate =", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotEqualTo(Date value) {
+            addCriterion("recordDate <>", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThan(Date value) {
+            addCriterion("recordDate >", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("recordDate >=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThan(Date value) {
+            addCriterion("recordDate <", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
+            addCriterion("recordDate <=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIn(List<Date> values) {
+            addCriterion("recordDate in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotIn(List<Date> values) {
+            addCriterion("recordDate not in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateBetween(Date value1, Date value2) {
+            addCriterion("recordDate between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
+            addCriterion("recordDate not between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNull() {
+            addCriterion("speed is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNotNull() {
+            addCriterion("speed is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedEqualTo(BigDecimal value) {
+            addCriterion("speed =", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotEqualTo(BigDecimal value) {
+            addCriterion("speed <>", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThan(BigDecimal value) {
+            addCriterion("speed >", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("speed >=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThan(BigDecimal value) {
+            addCriterion("speed <", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("speed <=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIn(List<BigDecimal> values) {
+            addCriterion("speed in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotIn(List<BigDecimal> values) {
+            addCriterion("speed not in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("speed between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("speed not between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerIsNull() {
+            addCriterion("power is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerIsNotNull() {
+            addCriterion("power is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerEqualTo(BigDecimal value) {
+            addCriterion("power =", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerNotEqualTo(BigDecimal value) {
+            addCriterion("power <>", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerGreaterThan(BigDecimal value) {
+            addCriterion("power >", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("power >=", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerLessThan(BigDecimal value) {
+            addCriterion("power <", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("power <=", value, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerIn(List<BigDecimal> values) {
+            addCriterion("power in", values, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerNotIn(List<BigDecimal> values) {
+            addCriterion("power not in", values, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("power between", value1, value2, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andPowerNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("power not between", value1, value2, "power");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyIsNull() {
+            addCriterion("frequency is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyIsNotNull() {
+            addCriterion("frequency is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyEqualTo(BigDecimal value) {
+            addCriterion("frequency =", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyNotEqualTo(BigDecimal value) {
+            addCriterion("frequency <>", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyGreaterThan(BigDecimal value) {
+            addCriterion("frequency >", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("frequency >=", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyLessThan(BigDecimal value) {
+            addCriterion("frequency <", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("frequency <=", value, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyIn(List<BigDecimal> values) {
+            addCriterion("frequency in", values, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyNotIn(List<BigDecimal> values) {
+            addCriterion("frequency not in", values, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("frequency between", value1, value2, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andFrequencyNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("frequency not between", value1, value2, "frequency");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeIsNull() {
+            addCriterion("windTurbineCode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeIsNotNull() {
+            addCriterion("windTurbineCode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeEqualTo(String value) {
+            addCriterion("windTurbineCode =", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeNotEqualTo(String value) {
+            addCriterion("windTurbineCode <>", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeGreaterThan(String value) {
+            addCriterion("windTurbineCode >", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeGreaterThanOrEqualTo(String value) {
+            addCriterion("windTurbineCode >=", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeLessThan(String value) {
+            addCriterion("windTurbineCode <", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeLessThanOrEqualTo(String value) {
+            addCriterion("windTurbineCode <=", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeLike(String value) {
+            addCriterion("windTurbineCode like", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeNotLike(String value) {
+            addCriterion("windTurbineCode not like", value, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeIn(List<String> values) {
+            addCriterion("windTurbineCode in", values, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeNotIn(List<String> values) {
+            addCriterion("windTurbineCode not in", values, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeBetween(String value1, String value2) {
+            addCriterion("windTurbineCode between", value1, value2, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbinecodeNotBetween(String value1, String value2) {
+            addCriterion("windTurbineCode not between", value1, value2, "windturbinecode");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameIsNull() {
+            addCriterion("modelName is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameIsNotNull() {
+            addCriterion("modelName is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameEqualTo(String value) {
+            addCriterion("modelName =", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameNotEqualTo(String value) {
+            addCriterion("modelName <>", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameGreaterThan(String value) {
+            addCriterion("modelName >", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameGreaterThanOrEqualTo(String value) {
+            addCriterion("modelName >=", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameLessThan(String value) {
+            addCriterion("modelName <", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameLessThanOrEqualTo(String value) {
+            addCriterion("modelName <=", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameLike(String value) {
+            addCriterion("modelName like", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameNotLike(String value) {
+            addCriterion("modelName not like", value, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameIn(List<String> values) {
+            addCriterion("modelName in", values, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameNotIn(List<String> values) {
+            addCriterion("modelName not in", values, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameBetween(String value1, String value2) {
+            addCriterion("modelName between", value1, value2, "modelname");
+            return (Criteria) this;
+        }
+
+        public Criteria andModelnameNotBetween(String value1, String value2) {
+            addCriterion("modelName not between", value1, value2, "modelname");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table activepowerdata
+     *
+     * @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 activepowerdata
+     *
+     * @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);
+        }
+    }
+}

+ 312 - 0
src/main/java/com/gyee/frame/model/auto/Curvefittingmain.java

@@ -0,0 +1,312 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class Curvefittingmain implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    private String windturbineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal monthdeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal yeardeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal standarddeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.recordDate
+     *
+     * @mbg.generated
+     */
+    private Date recorddate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate1;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate2;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate3;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.id
+     *
+     * @return the value of curvefittingmain.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.id
+     *
+     * @param id the value for curvefittingmain.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 curvefittingmain.windturbineId
+     *
+     * @return the value of curvefittingmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    public String getWindturbineid() {
+        return windturbineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.windturbineId
+     *
+     * @param windturbineid the value for curvefittingmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    public void setWindturbineid(String windturbineid) {
+        this.windturbineid = windturbineid == null ? null : windturbineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.monthDeviationRate
+     *
+     * @return the value of curvefittingmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getMonthdeviationrate() {
+        return monthdeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.monthDeviationRate
+     *
+     * @param monthdeviationrate the value for curvefittingmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setMonthdeviationrate(BigDecimal monthdeviationrate) {
+        this.monthdeviationrate = monthdeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.yearDeviationRate
+     *
+     * @return the value of curvefittingmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getYeardeviationrate() {
+        return yeardeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.yearDeviationRate
+     *
+     * @param yeardeviationrate the value for curvefittingmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setYeardeviationrate(BigDecimal yeardeviationrate) {
+        this.yeardeviationrate = yeardeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.standardDeviationRate
+     *
+     * @return the value of curvefittingmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getStandarddeviationrate() {
+        return standarddeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.standardDeviationRate
+     *
+     * @param standarddeviationrate the value for curvefittingmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setStandarddeviationrate(BigDecimal standarddeviationrate) {
+        this.standarddeviationrate = standarddeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.recordDate
+     *
+     * @return the value of curvefittingmain.recordDate
+     *
+     * @mbg.generated
+     */
+    public Date getRecorddate() {
+        return recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.recordDate
+     *
+     * @param recorddate the value for curvefittingmain.recordDate
+     *
+     * @mbg.generated
+     */
+    public void setRecorddate(Date recorddate) {
+        this.recorddate = recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.deviationRate1
+     *
+     * @return the value of curvefittingmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate1() {
+        return deviationrate1;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.deviationRate1
+     *
+     * @param deviationrate1 the value for curvefittingmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate1(BigDecimal deviationrate1) {
+        this.deviationrate1 = deviationrate1;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.deviationRate2
+     *
+     * @return the value of curvefittingmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate2() {
+        return deviationrate2;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.deviationRate2
+     *
+     * @param deviationrate2 the value for curvefittingmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate2(BigDecimal deviationrate2) {
+        this.deviationrate2 = deviationrate2;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmain.deviationRate3
+     *
+     * @return the value of curvefittingmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate3() {
+        return deviationrate3;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmain.deviationRate3
+     *
+     * @param deviationrate3 the value for curvefittingmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate3(BigDecimal deviationrate3) {
+        this.deviationrate3 = deviationrate3;
+    }
+}

+ 864 - 0
src/main/java/com/gyee/frame/model/auto/CurvefittingmainExample.java

@@ -0,0 +1,864 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class CurvefittingmainExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public CurvefittingmainExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmain
+     *
+     * @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 curvefittingmain
+     *
+     * @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 curvefittingmain
+     *
+     * @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 curvefittingmain
+     *
+     * @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 curvefittingmain
+     *
+     * @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 andWindturbineidIsNull() {
+            addCriterion("windturbineId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNotNull() {
+            addCriterion("windturbineId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidEqualTo(String value) {
+            addCriterion("windturbineId =", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotEqualTo(String value) {
+            addCriterion("windturbineId <>", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThan(String value) {
+            addCriterion("windturbineId >", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
+            addCriterion("windturbineId >=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThan(String value) {
+            addCriterion("windturbineId <", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
+            addCriterion("windturbineId <=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLike(String value) {
+            addCriterion("windturbineId like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotLike(String value) {
+            addCriterion("windturbineId not like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIn(List<String> values) {
+            addCriterion("windturbineId in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotIn(List<String> values) {
+            addCriterion("windturbineId not in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidBetween(String value1, String value2) {
+            addCriterion("windturbineId between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotBetween(String value1, String value2) {
+            addCriterion("windturbineId not between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIsNull() {
+            addCriterion("monthDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIsNotNull() {
+            addCriterion("monthDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate =", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate <>", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("monthDeviationRate >", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate >=", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateLessThan(BigDecimal value) {
+            addCriterion("monthDeviationRate <", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate <=", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIn(List<BigDecimal> values) {
+            addCriterion("monthDeviationRate in", values, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("monthDeviationRate not in", values, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("monthDeviationRate between", value1, value2, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("monthDeviationRate not between", value1, value2, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIsNull() {
+            addCriterion("yearDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIsNotNull() {
+            addCriterion("yearDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate =", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate <>", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("yearDeviationRate >", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate >=", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateLessThan(BigDecimal value) {
+            addCriterion("yearDeviationRate <", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate <=", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIn(List<BigDecimal> values) {
+            addCriterion("yearDeviationRate in", values, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("yearDeviationRate not in", values, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("yearDeviationRate between", value1, value2, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("yearDeviationRate not between", value1, value2, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIsNull() {
+            addCriterion("standardDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIsNotNull() {
+            addCriterion("standardDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate =", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate <>", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("standardDeviationRate >", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate >=", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateLessThan(BigDecimal value) {
+            addCriterion("standardDeviationRate <", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate <=", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIn(List<BigDecimal> values) {
+            addCriterion("standardDeviationRate in", values, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("standardDeviationRate not in", values, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("standardDeviationRate between", value1, value2, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("standardDeviationRate not between", value1, value2, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNull() {
+            addCriterion("recordDate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNotNull() {
+            addCriterion("recordDate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateEqualTo(Date value) {
+            addCriterion("recordDate =", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotEqualTo(Date value) {
+            addCriterion("recordDate <>", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThan(Date value) {
+            addCriterion("recordDate >", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("recordDate >=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThan(Date value) {
+            addCriterion("recordDate <", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
+            addCriterion("recordDate <=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIn(List<Date> values) {
+            addCriterion("recordDate in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotIn(List<Date> values) {
+            addCriterion("recordDate not in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateBetween(Date value1, Date value2) {
+            addCriterion("recordDate between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
+            addCriterion("recordDate not between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1IsNull() {
+            addCriterion("deviationRate1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1IsNotNull() {
+            addCriterion("deviationRate1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1EqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 =", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 <>", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate1 >", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 >=", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1LessThan(BigDecimal value) {
+            addCriterion("deviationRate1 <", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 <=", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1In(List<BigDecimal> values) {
+            addCriterion("deviationRate1 in", values, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate1 not in", values, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate1 between", value1, value2, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate1 not between", value1, value2, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2IsNull() {
+            addCriterion("deviationRate2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2IsNotNull() {
+            addCriterion("deviationRate2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2EqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 =", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 <>", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate2 >", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 >=", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2LessThan(BigDecimal value) {
+            addCriterion("deviationRate2 <", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 <=", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2In(List<BigDecimal> values) {
+            addCriterion("deviationRate2 in", values, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate2 not in", values, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate2 between", value1, value2, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate2 not between", value1, value2, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3IsNull() {
+            addCriterion("deviationRate3 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3IsNotNull() {
+            addCriterion("deviationRate3 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3EqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 =", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 <>", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate3 >", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 >=", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3LessThan(BigDecimal value) {
+            addCriterion("deviationRate3 <", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 <=", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3In(List<BigDecimal> values) {
+            addCriterion("deviationRate3 in", values, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate3 not in", values, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate3 between", value1, value2, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate3 not between", value1, value2, "deviationrate3");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table curvefittingmain
+     *
+     * @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 curvefittingmain
+     *
+     * @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/Curvefittingmonthmain.java

@@ -0,0 +1,344 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class Curvefittingmonthmain implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    private String windturbineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.year
+     *
+     * @mbg.generated
+     */
+    private String year;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.month
+     *
+     * @mbg.generated
+     */
+    private String month;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal monthdeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal yeardeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    private BigDecimal standarddeviationrate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate1;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate2;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column curvefittingmonthmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    private BigDecimal deviationrate3;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.id
+     *
+     * @return the value of curvefittingmonthmain.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.id
+     *
+     * @param id the value for curvefittingmonthmain.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 curvefittingmonthmain.windturbineId
+     *
+     * @return the value of curvefittingmonthmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    public String getWindturbineid() {
+        return windturbineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.windturbineId
+     *
+     * @param windturbineid the value for curvefittingmonthmain.windturbineId
+     *
+     * @mbg.generated
+     */
+    public void setWindturbineid(String windturbineid) {
+        this.windturbineid = windturbineid == null ? null : windturbineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.year
+     *
+     * @return the value of curvefittingmonthmain.year
+     *
+     * @mbg.generated
+     */
+    public String getYear() {
+        return year;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.year
+     *
+     * @param year the value for curvefittingmonthmain.year
+     *
+     * @mbg.generated
+     */
+    public void setYear(String year) {
+        this.year = year == null ? null : year.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.month
+     *
+     * @return the value of curvefittingmonthmain.month
+     *
+     * @mbg.generated
+     */
+    public String getMonth() {
+        return month;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.month
+     *
+     * @param month the value for curvefittingmonthmain.month
+     *
+     * @mbg.generated
+     */
+    public void setMonth(String month) {
+        this.month = month == null ? null : month.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.monthDeviationRate
+     *
+     * @return the value of curvefittingmonthmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getMonthdeviationrate() {
+        return monthdeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.monthDeviationRate
+     *
+     * @param monthdeviationrate the value for curvefittingmonthmain.monthDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setMonthdeviationrate(BigDecimal monthdeviationrate) {
+        this.monthdeviationrate = monthdeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.yearDeviationRate
+     *
+     * @return the value of curvefittingmonthmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getYeardeviationrate() {
+        return yeardeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.yearDeviationRate
+     *
+     * @param yeardeviationrate the value for curvefittingmonthmain.yearDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setYeardeviationrate(BigDecimal yeardeviationrate) {
+        this.yeardeviationrate = yeardeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.standardDeviationRate
+     *
+     * @return the value of curvefittingmonthmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getStandarddeviationrate() {
+        return standarddeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.standardDeviationRate
+     *
+     * @param standarddeviationrate the value for curvefittingmonthmain.standardDeviationRate
+     *
+     * @mbg.generated
+     */
+    public void setStandarddeviationrate(BigDecimal standarddeviationrate) {
+        this.standarddeviationrate = standarddeviationrate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.deviationRate1
+     *
+     * @return the value of curvefittingmonthmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate1() {
+        return deviationrate1;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.deviationRate1
+     *
+     * @param deviationrate1 the value for curvefittingmonthmain.deviationRate1
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate1(BigDecimal deviationrate1) {
+        this.deviationrate1 = deviationrate1;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.deviationRate2
+     *
+     * @return the value of curvefittingmonthmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate2() {
+        return deviationrate2;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.deviationRate2
+     *
+     * @param deviationrate2 the value for curvefittingmonthmain.deviationRate2
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate2(BigDecimal deviationrate2) {
+        this.deviationrate2 = deviationrate2;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column curvefittingmonthmain.deviationRate3
+     *
+     * @return the value of curvefittingmonthmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getDeviationrate3() {
+        return deviationrate3;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column curvefittingmonthmain.deviationRate3
+     *
+     * @param deviationrate3 the value for curvefittingmonthmain.deviationRate3
+     *
+     * @mbg.generated
+     */
+    public void setDeviationrate3(BigDecimal deviationrate3) {
+        this.deviationrate3 = deviationrate3;
+    }
+}

+ 943 - 0
src/main/java/com/gyee/frame/model/auto/CurvefittingmonthmainExample.java

@@ -0,0 +1,943 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
+public class CurvefittingmonthmainExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public CurvefittingmonthmainExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table curvefittingmonthmain
+     *
+     * @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 curvefittingmonthmain
+     *
+     * @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 curvefittingmonthmain
+     *
+     * @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 curvefittingmonthmain
+     *
+     * @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 curvefittingmonthmain
+     *
+     * @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 andWindturbineidIsNull() {
+            addCriterion("windturbineId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNotNull() {
+            addCriterion("windturbineId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidEqualTo(String value) {
+            addCriterion("windturbineId =", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotEqualTo(String value) {
+            addCriterion("windturbineId <>", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThan(String value) {
+            addCriterion("windturbineId >", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
+            addCriterion("windturbineId >=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThan(String value) {
+            addCriterion("windturbineId <", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
+            addCriterion("windturbineId <=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLike(String value) {
+            addCriterion("windturbineId like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotLike(String value) {
+            addCriterion("windturbineId not like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIn(List<String> values) {
+            addCriterion("windturbineId in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotIn(List<String> values) {
+            addCriterion("windturbineId not in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidBetween(String value1, String value2) {
+            addCriterion("windturbineId between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotBetween(String value1, String value2) {
+            addCriterion("windturbineId not between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIsNull() {
+            addCriterion("year is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIsNotNull() {
+            addCriterion("year is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearEqualTo(String value) {
+            addCriterion("year =", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotEqualTo(String value) {
+            addCriterion("year <>", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearGreaterThan(String value) {
+            addCriterion("year >", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearGreaterThanOrEqualTo(String value) {
+            addCriterion("year >=", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLessThan(String value) {
+            addCriterion("year <", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLessThanOrEqualTo(String value) {
+            addCriterion("year <=", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLike(String value) {
+            addCriterion("year like", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotLike(String value) {
+            addCriterion("year not like", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIn(List<String> values) {
+            addCriterion("year in", values, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotIn(List<String> values) {
+            addCriterion("year not in", values, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearBetween(String value1, String value2) {
+            addCriterion("year between", value1, value2, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotBetween(String value1, String value2) {
+            addCriterion("year not between", value1, value2, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIsNull() {
+            addCriterion("month is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIsNotNull() {
+            addCriterion("month is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthEqualTo(String value) {
+            addCriterion("month =", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotEqualTo(String value) {
+            addCriterion("month <>", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthGreaterThan(String value) {
+            addCriterion("month >", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthGreaterThanOrEqualTo(String value) {
+            addCriterion("month >=", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLessThan(String value) {
+            addCriterion("month <", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLessThanOrEqualTo(String value) {
+            addCriterion("month <=", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLike(String value) {
+            addCriterion("month like", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotLike(String value) {
+            addCriterion("month not like", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIn(List<String> values) {
+            addCriterion("month in", values, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotIn(List<String> values) {
+            addCriterion("month not in", values, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthBetween(String value1, String value2) {
+            addCriterion("month between", value1, value2, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotBetween(String value1, String value2) {
+            addCriterion("month not between", value1, value2, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIsNull() {
+            addCriterion("monthDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIsNotNull() {
+            addCriterion("monthDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate =", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate <>", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("monthDeviationRate >", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate >=", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateLessThan(BigDecimal value) {
+            addCriterion("monthDeviationRate <", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("monthDeviationRate <=", value, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateIn(List<BigDecimal> values) {
+            addCriterion("monthDeviationRate in", values, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("monthDeviationRate not in", values, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("monthDeviationRate between", value1, value2, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthdeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("monthDeviationRate not between", value1, value2, "monthdeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIsNull() {
+            addCriterion("yearDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIsNotNull() {
+            addCriterion("yearDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate =", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate <>", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("yearDeviationRate >", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate >=", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateLessThan(BigDecimal value) {
+            addCriterion("yearDeviationRate <", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("yearDeviationRate <=", value, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateIn(List<BigDecimal> values) {
+            addCriterion("yearDeviationRate in", values, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("yearDeviationRate not in", values, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("yearDeviationRate between", value1, value2, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andYeardeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("yearDeviationRate not between", value1, value2, "yeardeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIsNull() {
+            addCriterion("standardDeviationRate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIsNotNull() {
+            addCriterion("standardDeviationRate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate =", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate <>", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateGreaterThan(BigDecimal value) {
+            addCriterion("standardDeviationRate >", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate >=", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateLessThan(BigDecimal value) {
+            addCriterion("standardDeviationRate <", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("standardDeviationRate <=", value, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateIn(List<BigDecimal> values) {
+            addCriterion("standardDeviationRate in", values, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotIn(List<BigDecimal> values) {
+            addCriterion("standardDeviationRate not in", values, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("standardDeviationRate between", value1, value2, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStandarddeviationrateNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("standardDeviationRate not between", value1, value2, "standarddeviationrate");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1IsNull() {
+            addCriterion("deviationRate1 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1IsNotNull() {
+            addCriterion("deviationRate1 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1EqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 =", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 <>", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate1 >", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 >=", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1LessThan(BigDecimal value) {
+            addCriterion("deviationRate1 <", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate1 <=", value, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1In(List<BigDecimal> values) {
+            addCriterion("deviationRate1 in", values, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate1 not in", values, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate1 between", value1, value2, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate1NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate1 not between", value1, value2, "deviationrate1");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2IsNull() {
+            addCriterion("deviationRate2 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2IsNotNull() {
+            addCriterion("deviationRate2 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2EqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 =", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 <>", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate2 >", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 >=", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2LessThan(BigDecimal value) {
+            addCriterion("deviationRate2 <", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate2 <=", value, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2In(List<BigDecimal> values) {
+            addCriterion("deviationRate2 in", values, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate2 not in", values, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate2 between", value1, value2, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate2NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate2 not between", value1, value2, "deviationrate2");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3IsNull() {
+            addCriterion("deviationRate3 is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3IsNotNull() {
+            addCriterion("deviationRate3 is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3EqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 =", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 <>", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3GreaterThan(BigDecimal value) {
+            addCriterion("deviationRate3 >", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3GreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 >=", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3LessThan(BigDecimal value) {
+            addCriterion("deviationRate3 <", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3LessThanOrEqualTo(BigDecimal value) {
+            addCriterion("deviationRate3 <=", value, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3In(List<BigDecimal> values) {
+            addCriterion("deviationRate3 in", values, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotIn(List<BigDecimal> values) {
+            addCriterion("deviationRate3 not in", values, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3Between(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate3 between", value1, value2, "deviationrate3");
+            return (Criteria) this;
+        }
+
+        public Criteria andDeviationrate3NotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("deviationRate3 not between", value1, value2, "deviationrate3");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table curvefittingmonthmain
+     *
+     * @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 curvefittingmonthmain
+     *
+     * @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);
+        }
+    }
+}

+ 79 - 0
src/main/java/com/gyee/frame/model/auto/WarningClassify.java

@@ -0,0 +1,79 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+
+public class WarningClassify implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warningclassify.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warningclassify.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warningclassify.id
+     *
+     * @return the value of warningclassify.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warningclassify.id
+     *
+     * @param id the value for warningclassify.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 warningclassify.name
+     *
+     * @return the value of warningclassify.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warningclassify.name
+     *
+     * @param name the value for warningclassify.name
+     *
+     * @mbg.generated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+}

+ 442 - 0
src/main/java/com/gyee/frame/model/auto/WarningClassifyExample.java

@@ -0,0 +1,442 @@
+package com.gyee.frame.model.auto;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class WarningClassifyExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public WarningClassifyExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table warningclassify
+     *
+     * @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 warningclassify
+     *
+     * @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 warningclassify
+     *
+     * @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 warningclassify
+     *
+     * @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 warningclassify
+     *
+     * @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 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;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table warningclassify
+     *
+     * @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 warningclassify
+     *
+     * @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);
+        }
+    }
+}

+ 444 - 0
src/main/java/com/gyee/frame/model/auto/WarningInfoDay.java

@@ -0,0 +1,444 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class WarningInfoDay implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.id
+     *
+     * @mbg.generated
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.recordDate
+     *
+     * @mbg.generated
+     */
+    private Date recorddate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.manufacturerId
+     *
+     * @mbg.generated
+     */
+    private String manufacturerid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.modelId
+     *
+     * @mbg.generated
+     */
+    private String modelid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.warningId
+     *
+     * @mbg.generated
+     */
+    private String warningid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.frequencyDay
+     *
+     * @mbg.generated
+     */
+    private Integer frequencyday;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.totalhoursDay
+     *
+     * @mbg.generated
+     */
+    private BigDecimal totalhoursday;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.frequencyMonth
+     *
+     * @mbg.generated
+     */
+    private Integer frequencymonth;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.totalhoursMonth
+     *
+     * @mbg.generated
+     */
+    private BigDecimal totalhoursmonth;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.frequencyYear
+     *
+     * @mbg.generated
+     */
+    private Integer frequencyyear;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.totalhoursYear
+     *
+     * @mbg.generated
+     */
+    private BigDecimal totalhoursyear;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.frequency
+     *
+     * @mbg.generated
+     */
+    private Integer frequency;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column warninginfoday.totalHours
+     *
+     * @mbg.generated
+     */
+    private BigDecimal totalhours;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table warninginfoday
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.id
+     *
+     * @return the value of warninginfoday.id
+     *
+     * @mbg.generated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.id
+     *
+     * @param id the value for warninginfoday.id
+     *
+     * @mbg.generated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.recordDate
+     *
+     * @return the value of warninginfoday.recordDate
+     *
+     * @mbg.generated
+     */
+    public Date getRecorddate() {
+        return recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.recordDate
+     *
+     * @param recorddate the value for warninginfoday.recordDate
+     *
+     * @mbg.generated
+     */
+    public void setRecorddate(Date recorddate) {
+        this.recorddate = recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.manufacturerId
+     *
+     * @return the value of warninginfoday.manufacturerId
+     *
+     * @mbg.generated
+     */
+    public String getManufacturerid() {
+        return manufacturerid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.manufacturerId
+     *
+     * @param manufacturerid the value for warninginfoday.manufacturerId
+     *
+     * @mbg.generated
+     */
+    public void setManufacturerid(String manufacturerid) {
+        this.manufacturerid = manufacturerid == null ? null : manufacturerid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.modelId
+     *
+     * @return the value of warninginfoday.modelId
+     *
+     * @mbg.generated
+     */
+    public String getModelid() {
+        return modelid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.modelId
+     *
+     * @param modelid the value for warninginfoday.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 warninginfoday.warningId
+     *
+     * @return the value of warninginfoday.warningId
+     *
+     * @mbg.generated
+     */
+    public String getWarningid() {
+        return warningid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.warningId
+     *
+     * @param warningid the value for warninginfoday.warningId
+     *
+     * @mbg.generated
+     */
+    public void setWarningid(String warningid) {
+        this.warningid = warningid == null ? null : warningid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.frequencyDay
+     *
+     * @return the value of warninginfoday.frequencyDay
+     *
+     * @mbg.generated
+     */
+    public Integer getFrequencyday() {
+        return frequencyday;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.frequencyDay
+     *
+     * @param frequencyday the value for warninginfoday.frequencyDay
+     *
+     * @mbg.generated
+     */
+    public void setFrequencyday(Integer frequencyday) {
+        this.frequencyday = frequencyday;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.totalhoursDay
+     *
+     * @return the value of warninginfoday.totalhoursDay
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getTotalhoursday() {
+        return totalhoursday;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.totalhoursDay
+     *
+     * @param totalhoursday the value for warninginfoday.totalhoursDay
+     *
+     * @mbg.generated
+     */
+    public void setTotalhoursday(BigDecimal totalhoursday) {
+        this.totalhoursday = totalhoursday;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.frequencyMonth
+     *
+     * @return the value of warninginfoday.frequencyMonth
+     *
+     * @mbg.generated
+     */
+    public Integer getFrequencymonth() {
+        return frequencymonth;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.frequencyMonth
+     *
+     * @param frequencymonth the value for warninginfoday.frequencyMonth
+     *
+     * @mbg.generated
+     */
+    public void setFrequencymonth(Integer frequencymonth) {
+        this.frequencymonth = frequencymonth;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.totalhoursMonth
+     *
+     * @return the value of warninginfoday.totalhoursMonth
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getTotalhoursmonth() {
+        return totalhoursmonth;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.totalhoursMonth
+     *
+     * @param totalhoursmonth the value for warninginfoday.totalhoursMonth
+     *
+     * @mbg.generated
+     */
+    public void setTotalhoursmonth(BigDecimal totalhoursmonth) {
+        this.totalhoursmonth = totalhoursmonth;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.frequencyYear
+     *
+     * @return the value of warninginfoday.frequencyYear
+     *
+     * @mbg.generated
+     */
+    public Integer getFrequencyyear() {
+        return frequencyyear;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.frequencyYear
+     *
+     * @param frequencyyear the value for warninginfoday.frequencyYear
+     *
+     * @mbg.generated
+     */
+    public void setFrequencyyear(Integer frequencyyear) {
+        this.frequencyyear = frequencyyear;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.totalhoursYear
+     *
+     * @return the value of warninginfoday.totalhoursYear
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getTotalhoursyear() {
+        return totalhoursyear;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.totalhoursYear
+     *
+     * @param totalhoursyear the value for warninginfoday.totalhoursYear
+     *
+     * @mbg.generated
+     */
+    public void setTotalhoursyear(BigDecimal totalhoursyear) {
+        this.totalhoursyear = totalhoursyear;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.frequency
+     *
+     * @return the value of warninginfoday.frequency
+     *
+     * @mbg.generated
+     */
+    public Integer getFrequency() {
+        return frequency;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.frequency
+     *
+     * @param frequency the value for warninginfoday.frequency
+     *
+     * @mbg.generated
+     */
+    public void setFrequency(Integer frequency) {
+        this.frequency = frequency;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column warninginfoday.totalHours
+     *
+     * @return the value of warninginfoday.totalHours
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getTotalhours() {
+        return totalhours;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column warninginfoday.totalHours
+     *
+     * @param totalhours the value for warninginfoday.totalHours
+     *
+     * @mbg.generated
+     */
+    public void setTotalhours(BigDecimal totalhours) {
+        this.totalhours = totalhours;
+    }
+}

Разлика између датотеке није приказан због своје велике величине
+ 1114 - 0
src/main/java/com/gyee/frame/model/auto/WarningInfoDayExample.java


Разлика између датотеке није приказан због своје велике величине
+ 2093 - 0
src/main/java/com/gyee/frame/model/auto/Windturbineanalysisday.java


Разлика између датотеке није приказан због своје велике величине
+ 4094 - 0
src/main/java/com/gyee/frame/model/auto/WindturbineanalysisdayExample.java


+ 245 - 0
src/main/java/com/gyee/frame/model/auto/Windturbinecurvefitting.java

@@ -0,0 +1,245 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Windturbinecurvefitting implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.id
+     *
+     * @mbg.generated
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.windturbineId
+     *
+     * @mbg.generated
+     */
+    private String windturbineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.speed
+     *
+     * @mbg.generated
+     */
+    private Double speed;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.actualPower
+     *
+     * @mbg.generated
+     */
+    private Double actualpower;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.optimalPower
+     *
+     * @mbg.generated
+     */
+    private Double optimalpower;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.recordDate
+     *
+     * @mbg.generated
+     */
+    private Date recorddate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefitting.mainId
+     *
+     * @mbg.generated
+     */
+    private String mainid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.id
+     *
+     * @return the value of windturbinecurvefitting.id
+     *
+     * @mbg.generated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.id
+     *
+     * @param id the value for windturbinecurvefitting.id
+     *
+     * @mbg.generated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.windturbineId
+     *
+     * @return the value of windturbinecurvefitting.windturbineId
+     *
+     * @mbg.generated
+     */
+    public String getWindturbineid() {
+        return windturbineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.windturbineId
+     *
+     * @param windturbineid the value for windturbinecurvefitting.windturbineId
+     *
+     * @mbg.generated
+     */
+    public void setWindturbineid(String windturbineid) {
+        this.windturbineid = windturbineid == null ? null : windturbineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.speed
+     *
+     * @return the value of windturbinecurvefitting.speed
+     *
+     * @mbg.generated
+     */
+    public Double getSpeed() {
+        return speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.speed
+     *
+     * @param speed the value for windturbinecurvefitting.speed
+     *
+     * @mbg.generated
+     */
+    public void setSpeed(Double speed) {
+        this.speed = speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.actualPower
+     *
+     * @return the value of windturbinecurvefitting.actualPower
+     *
+     * @mbg.generated
+     */
+    public Double getActualpower() {
+        return actualpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.actualPower
+     *
+     * @param actualpower the value for windturbinecurvefitting.actualPower
+     *
+     * @mbg.generated
+     */
+    public void setActualpower(Double actualpower) {
+        this.actualpower = actualpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.optimalPower
+     *
+     * @return the value of windturbinecurvefitting.optimalPower
+     *
+     * @mbg.generated
+     */
+    public Double getOptimalpower() {
+        return optimalpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.optimalPower
+     *
+     * @param optimalpower the value for windturbinecurvefitting.optimalPower
+     *
+     * @mbg.generated
+     */
+    public void setOptimalpower(Double optimalpower) {
+        this.optimalpower = optimalpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.recordDate
+     *
+     * @return the value of windturbinecurvefitting.recordDate
+     *
+     * @mbg.generated
+     */
+    public Date getRecorddate() {
+        return recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.recordDate
+     *
+     * @param recorddate the value for windturbinecurvefitting.recordDate
+     *
+     * @mbg.generated
+     */
+    public void setRecorddate(Date recorddate) {
+        this.recorddate = recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefitting.mainId
+     *
+     * @return the value of windturbinecurvefitting.mainId
+     *
+     * @mbg.generated
+     */
+    public String getMainid() {
+        return mainid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefitting.mainId
+     *
+     * @param mainid the value for windturbinecurvefitting.mainId
+     *
+     * @mbg.generated
+     */
+    public void setMainid(String mainid) {
+        this.mainid = mainid == null ? null : mainid.trim();
+    }
+}

+ 743 - 0
src/main/java/com/gyee/frame/model/auto/WindturbinecurvefittingExample.java

@@ -0,0 +1,743 @@
+package com.gyee.frame.model.auto;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class WindturbinecurvefittingExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public WindturbinecurvefittingExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefitting
+     *
+     * @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 windturbinecurvefitting
+     *
+     * @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 windturbinecurvefitting
+     *
+     * @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 windturbinecurvefitting
+     *
+     * @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 windturbinecurvefitting
+     *
+     * @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(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNull() {
+            addCriterion("windturbineId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNotNull() {
+            addCriterion("windturbineId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidEqualTo(String value) {
+            addCriterion("windturbineId =", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotEqualTo(String value) {
+            addCriterion("windturbineId <>", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThan(String value) {
+            addCriterion("windturbineId >", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
+            addCriterion("windturbineId >=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThan(String value) {
+            addCriterion("windturbineId <", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
+            addCriterion("windturbineId <=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLike(String value) {
+            addCriterion("windturbineId like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotLike(String value) {
+            addCriterion("windturbineId not like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIn(List<String> values) {
+            addCriterion("windturbineId in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotIn(List<String> values) {
+            addCriterion("windturbineId not in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidBetween(String value1, String value2) {
+            addCriterion("windturbineId between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotBetween(String value1, String value2) {
+            addCriterion("windturbineId not between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNull() {
+            addCriterion("speed is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNotNull() {
+            addCriterion("speed is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedEqualTo(Double value) {
+            addCriterion("speed =", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotEqualTo(Double value) {
+            addCriterion("speed <>", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThan(Double value) {
+            addCriterion("speed >", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThanOrEqualTo(Double value) {
+            addCriterion("speed >=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThan(Double value) {
+            addCriterion("speed <", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThanOrEqualTo(Double value) {
+            addCriterion("speed <=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIn(List<Double> values) {
+            addCriterion("speed in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotIn(List<Double> values) {
+            addCriterion("speed not in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedBetween(Double value1, Double value2) {
+            addCriterion("speed between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotBetween(Double value1, Double value2) {
+            addCriterion("speed not between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIsNull() {
+            addCriterion("actualPower is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIsNotNull() {
+            addCriterion("actualPower is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerEqualTo(Double value) {
+            addCriterion("actualPower =", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotEqualTo(Double value) {
+            addCriterion("actualPower <>", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerGreaterThan(Double value) {
+            addCriterion("actualPower >", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerGreaterThanOrEqualTo(Double value) {
+            addCriterion("actualPower >=", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerLessThan(Double value) {
+            addCriterion("actualPower <", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerLessThanOrEqualTo(Double value) {
+            addCriterion("actualPower <=", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIn(List<Double> values) {
+            addCriterion("actualPower in", values, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotIn(List<Double> values) {
+            addCriterion("actualPower not in", values, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerBetween(Double value1, Double value2) {
+            addCriterion("actualPower between", value1, value2, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotBetween(Double value1, Double value2) {
+            addCriterion("actualPower not between", value1, value2, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIsNull() {
+            addCriterion("optimalPower is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIsNotNull() {
+            addCriterion("optimalPower is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerEqualTo(Double value) {
+            addCriterion("optimalPower =", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotEqualTo(Double value) {
+            addCriterion("optimalPower <>", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerGreaterThan(Double value) {
+            addCriterion("optimalPower >", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerGreaterThanOrEqualTo(Double value) {
+            addCriterion("optimalPower >=", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerLessThan(Double value) {
+            addCriterion("optimalPower <", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerLessThanOrEqualTo(Double value) {
+            addCriterion("optimalPower <=", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIn(List<Double> values) {
+            addCriterion("optimalPower in", values, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotIn(List<Double> values) {
+            addCriterion("optimalPower not in", values, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerBetween(Double value1, Double value2) {
+            addCriterion("optimalPower between", value1, value2, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotBetween(Double value1, Double value2) {
+            addCriterion("optimalPower not between", value1, value2, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNull() {
+            addCriterion("recordDate is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNotNull() {
+            addCriterion("recordDate is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateEqualTo(Date value) {
+            addCriterion("recordDate =", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotEqualTo(Date value) {
+            addCriterion("recordDate <>", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThan(Date value) {
+            addCriterion("recordDate >", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("recordDate >=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThan(Date value) {
+            addCriterion("recordDate <", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
+            addCriterion("recordDate <=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIn(List<Date> values) {
+            addCriterion("recordDate in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotIn(List<Date> values) {
+            addCriterion("recordDate not in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateBetween(Date value1, Date value2) {
+            addCriterion("recordDate between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
+            addCriterion("recordDate not between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIsNull() {
+            addCriterion("mainId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIsNotNull() {
+            addCriterion("mainId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidEqualTo(String value) {
+            addCriterion("mainId =", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotEqualTo(String value) {
+            addCriterion("mainId <>", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidGreaterThan(String value) {
+            addCriterion("mainId >", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidGreaterThanOrEqualTo(String value) {
+            addCriterion("mainId >=", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLessThan(String value) {
+            addCriterion("mainId <", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLessThanOrEqualTo(String value) {
+            addCriterion("mainId <=", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLike(String value) {
+            addCriterion("mainId like", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotLike(String value) {
+            addCriterion("mainId not like", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIn(List<String> values) {
+            addCriterion("mainId in", values, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotIn(List<String> values) {
+            addCriterion("mainId not in", values, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidBetween(String value1, String value2) {
+            addCriterion("mainId between", value1, value2, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotBetween(String value1, String value2) {
+            addCriterion("mainId not between", value1, value2, "mainid");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table windturbinecurvefitting
+     *
+     * @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 windturbinecurvefitting
+     *
+     * @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);
+        }
+    }
+}

+ 277 - 0
src/main/java/com/gyee/frame/model/auto/Windturbinecurvefittingmonth.java

@@ -0,0 +1,277 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+
+public class Windturbinecurvefittingmonth implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.id
+     *
+     * @mbg.generated
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.windturbineId
+     *
+     * @mbg.generated
+     */
+    private String windturbineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.speed
+     *
+     * @mbg.generated
+     */
+    private Double speed;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.actualPower
+     *
+     * @mbg.generated
+     */
+    private Double actualpower;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.optimalPower
+     *
+     * @mbg.generated
+     */
+    private Double optimalpower;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.year
+     *
+     * @mbg.generated
+     */
+    private String year;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.month
+     *
+     * @mbg.generated
+     */
+    private String month;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbinecurvefittingmonth.mainId
+     *
+     * @mbg.generated
+     */
+    private String mainid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.id
+     *
+     * @return the value of windturbinecurvefittingmonth.id
+     *
+     * @mbg.generated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.id
+     *
+     * @param id the value for windturbinecurvefittingmonth.id
+     *
+     * @mbg.generated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.windturbineId
+     *
+     * @return the value of windturbinecurvefittingmonth.windturbineId
+     *
+     * @mbg.generated
+     */
+    public String getWindturbineid() {
+        return windturbineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.windturbineId
+     *
+     * @param windturbineid the value for windturbinecurvefittingmonth.windturbineId
+     *
+     * @mbg.generated
+     */
+    public void setWindturbineid(String windturbineid) {
+        this.windturbineid = windturbineid == null ? null : windturbineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.speed
+     *
+     * @return the value of windturbinecurvefittingmonth.speed
+     *
+     * @mbg.generated
+     */
+    public Double getSpeed() {
+        return speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.speed
+     *
+     * @param speed the value for windturbinecurvefittingmonth.speed
+     *
+     * @mbg.generated
+     */
+    public void setSpeed(Double speed) {
+        this.speed = speed;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.actualPower
+     *
+     * @return the value of windturbinecurvefittingmonth.actualPower
+     *
+     * @mbg.generated
+     */
+    public Double getActualpower() {
+        return actualpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.actualPower
+     *
+     * @param actualpower the value for windturbinecurvefittingmonth.actualPower
+     *
+     * @mbg.generated
+     */
+    public void setActualpower(Double actualpower) {
+        this.actualpower = actualpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.optimalPower
+     *
+     * @return the value of windturbinecurvefittingmonth.optimalPower
+     *
+     * @mbg.generated
+     */
+    public Double getOptimalpower() {
+        return optimalpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.optimalPower
+     *
+     * @param optimalpower the value for windturbinecurvefittingmonth.optimalPower
+     *
+     * @mbg.generated
+     */
+    public void setOptimalpower(Double optimalpower) {
+        this.optimalpower = optimalpower;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.year
+     *
+     * @return the value of windturbinecurvefittingmonth.year
+     *
+     * @mbg.generated
+     */
+    public String getYear() {
+        return year;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.year
+     *
+     * @param year the value for windturbinecurvefittingmonth.year
+     *
+     * @mbg.generated
+     */
+    public void setYear(String year) {
+        this.year = year == null ? null : year.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.month
+     *
+     * @return the value of windturbinecurvefittingmonth.month
+     *
+     * @mbg.generated
+     */
+    public String getMonth() {
+        return month;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.month
+     *
+     * @param month the value for windturbinecurvefittingmonth.month
+     *
+     * @mbg.generated
+     */
+    public void setMonth(String month) {
+        this.month = month == null ? null : month.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbinecurvefittingmonth.mainId
+     *
+     * @return the value of windturbinecurvefittingmonth.mainId
+     *
+     * @mbg.generated
+     */
+    public String getMainid() {
+        return mainid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbinecurvefittingmonth.mainId
+     *
+     * @param mainid the value for windturbinecurvefittingmonth.mainId
+     *
+     * @mbg.generated
+     */
+    public void setMainid(String mainid) {
+        this.mainid = mainid == null ? null : mainid.trim();
+    }
+}

+ 822 - 0
src/main/java/com/gyee/frame/model/auto/WindturbinecurvefittingmonthExample.java

@@ -0,0 +1,822 @@
+package com.gyee.frame.model.auto;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class WindturbinecurvefittingmonthExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public WindturbinecurvefittingmonthExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @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 windturbinecurvefittingmonth
+     *
+     * @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 windturbinecurvefittingmonth
+     *
+     * @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 windturbinecurvefittingmonth
+     *
+     * @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 windturbinecurvefittingmonth
+     *
+     * @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(Integer value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Integer value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Integer value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Integer value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Integer value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Integer> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Integer> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Integer value1, Integer value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNull() {
+            addCriterion("windturbineId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIsNotNull() {
+            addCriterion("windturbineId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidEqualTo(String value) {
+            addCriterion("windturbineId =", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotEqualTo(String value) {
+            addCriterion("windturbineId <>", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThan(String value) {
+            addCriterion("windturbineId >", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
+            addCriterion("windturbineId >=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThan(String value) {
+            addCriterion("windturbineId <", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
+            addCriterion("windturbineId <=", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidLike(String value) {
+            addCriterion("windturbineId like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotLike(String value) {
+            addCriterion("windturbineId not like", value, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidIn(List<String> values) {
+            addCriterion("windturbineId in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotIn(List<String> values) {
+            addCriterion("windturbineId not in", values, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidBetween(String value1, String value2) {
+            addCriterion("windturbineId between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWindturbineidNotBetween(String value1, String value2) {
+            addCriterion("windturbineId not between", value1, value2, "windturbineid");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNull() {
+            addCriterion("speed is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIsNotNull() {
+            addCriterion("speed is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedEqualTo(Double value) {
+            addCriterion("speed =", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotEqualTo(Double value) {
+            addCriterion("speed <>", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThan(Double value) {
+            addCriterion("speed >", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedGreaterThanOrEqualTo(Double value) {
+            addCriterion("speed >=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThan(Double value) {
+            addCriterion("speed <", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedLessThanOrEqualTo(Double value) {
+            addCriterion("speed <=", value, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedIn(List<Double> values) {
+            addCriterion("speed in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotIn(List<Double> values) {
+            addCriterion("speed not in", values, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedBetween(Double value1, Double value2) {
+            addCriterion("speed between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andSpeedNotBetween(Double value1, Double value2) {
+            addCriterion("speed not between", value1, value2, "speed");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIsNull() {
+            addCriterion("actualPower is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIsNotNull() {
+            addCriterion("actualPower is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerEqualTo(Double value) {
+            addCriterion("actualPower =", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotEqualTo(Double value) {
+            addCriterion("actualPower <>", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerGreaterThan(Double value) {
+            addCriterion("actualPower >", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerGreaterThanOrEqualTo(Double value) {
+            addCriterion("actualPower >=", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerLessThan(Double value) {
+            addCriterion("actualPower <", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerLessThanOrEqualTo(Double value) {
+            addCriterion("actualPower <=", value, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerIn(List<Double> values) {
+            addCriterion("actualPower in", values, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotIn(List<Double> values) {
+            addCriterion("actualPower not in", values, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerBetween(Double value1, Double value2) {
+            addCriterion("actualPower between", value1, value2, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andActualpowerNotBetween(Double value1, Double value2) {
+            addCriterion("actualPower not between", value1, value2, "actualpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIsNull() {
+            addCriterion("optimalPower is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIsNotNull() {
+            addCriterion("optimalPower is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerEqualTo(Double value) {
+            addCriterion("optimalPower =", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotEqualTo(Double value) {
+            addCriterion("optimalPower <>", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerGreaterThan(Double value) {
+            addCriterion("optimalPower >", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerGreaterThanOrEqualTo(Double value) {
+            addCriterion("optimalPower >=", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerLessThan(Double value) {
+            addCriterion("optimalPower <", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerLessThanOrEqualTo(Double value) {
+            addCriterion("optimalPower <=", value, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerIn(List<Double> values) {
+            addCriterion("optimalPower in", values, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotIn(List<Double> values) {
+            addCriterion("optimalPower not in", values, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerBetween(Double value1, Double value2) {
+            addCriterion("optimalPower between", value1, value2, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andOptimalpowerNotBetween(Double value1, Double value2) {
+            addCriterion("optimalPower not between", value1, value2, "optimalpower");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIsNull() {
+            addCriterion("year is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIsNotNull() {
+            addCriterion("year is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearEqualTo(String value) {
+            addCriterion("year =", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotEqualTo(String value) {
+            addCriterion("year <>", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearGreaterThan(String value) {
+            addCriterion("year >", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearGreaterThanOrEqualTo(String value) {
+            addCriterion("year >=", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLessThan(String value) {
+            addCriterion("year <", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLessThanOrEqualTo(String value) {
+            addCriterion("year <=", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearLike(String value) {
+            addCriterion("year like", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotLike(String value) {
+            addCriterion("year not like", value, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearIn(List<String> values) {
+            addCriterion("year in", values, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotIn(List<String> values) {
+            addCriterion("year not in", values, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearBetween(String value1, String value2) {
+            addCriterion("year between", value1, value2, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andYearNotBetween(String value1, String value2) {
+            addCriterion("year not between", value1, value2, "year");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIsNull() {
+            addCriterion("month is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIsNotNull() {
+            addCriterion("month is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthEqualTo(String value) {
+            addCriterion("month =", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotEqualTo(String value) {
+            addCriterion("month <>", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthGreaterThan(String value) {
+            addCriterion("month >", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthGreaterThanOrEqualTo(String value) {
+            addCriterion("month >=", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLessThan(String value) {
+            addCriterion("month <", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLessThanOrEqualTo(String value) {
+            addCriterion("month <=", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthLike(String value) {
+            addCriterion("month like", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotLike(String value) {
+            addCriterion("month not like", value, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthIn(List<String> values) {
+            addCriterion("month in", values, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotIn(List<String> values) {
+            addCriterion("month not in", values, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthBetween(String value1, String value2) {
+            addCriterion("month between", value1, value2, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMonthNotBetween(String value1, String value2) {
+            addCriterion("month not between", value1, value2, "month");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIsNull() {
+            addCriterion("mainId is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIsNotNull() {
+            addCriterion("mainId is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidEqualTo(String value) {
+            addCriterion("mainId =", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotEqualTo(String value) {
+            addCriterion("mainId <>", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidGreaterThan(String value) {
+            addCriterion("mainId >", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidGreaterThanOrEqualTo(String value) {
+            addCriterion("mainId >=", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLessThan(String value) {
+            addCriterion("mainId <", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLessThanOrEqualTo(String value) {
+            addCriterion("mainId <=", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidLike(String value) {
+            addCriterion("mainId like", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotLike(String value) {
+            addCriterion("mainId not like", value, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidIn(List<String> values) {
+            addCriterion("mainId in", values, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotIn(List<String> values) {
+            addCriterion("mainId not in", values, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidBetween(String value1, String value2) {
+            addCriterion("mainId between", value1, value2, "mainid");
+            return (Criteria) this;
+        }
+
+        public Criteria andMainidNotBetween(String value1, String value2) {
+            addCriterion("mainId not between", value1, value2, "mainid");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table windturbinecurvefittingmonth
+     *
+     * @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 windturbinecurvefittingmonth
+     *
+     * @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);
+        }
+    }
+}

Разлика између датотеке није приказан због своје велике величине
+ 9915 - 0
src/main/java/com/gyee/frame/model/auto/Windturbinethewindinfo.java


Разлика између датотеке није приказан због своје велике величине
+ 18314 - 0
src/main/java/com/gyee/frame/model/auto/WindturbinethewindinfoExample.java


+ 67 - 0
src/main/java/com/gyee/frame/model/custom/GoodCompareVo.java

@@ -0,0 +1,67 @@
+package com.gyee.frame.model.custom;
+
+
+public class GoodCompareVo implements java.io.Serializable {
+
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = 1L;
+	// Fields
+
+	private Integer id;
+	private String name;
+	private String value1;
+	private String value2;
+	private String value3;
+	private String value4;
+	private String value5;
+	
+	public String getName() {
+    	return name;
+    }
+	public void setName(String name) {
+    	this.name = name;
+    }
+	public Integer getId() {
+    	return id;
+    }
+	public void setId(Integer id) {
+    	this.id = id;
+    }
+	public String getValue1() {
+    	return value1;
+    }
+	public void setValue1(String value1) {
+    	this.value1 = value1;
+    }
+	public String getValue2() {
+    	return value2;
+    }
+	public void setValue2(String value2) {
+    	this.value2 = value2;
+    }
+	public String getValue3() {
+    	return value3;
+    }
+	public void setValue3(String value3) {
+    	this.value3 = value3;
+    }
+	public String getValue4() {
+    	return value4;
+    }
+	public void setValue4(String value4) {
+    	this.value4 = value4;
+    }
+	public String getValue5() {
+    	return value5;
+    }
+	public void setValue5(String value5) {
+    	this.value5 = value5;
+    }
+	
+
+
+}

+ 92 - 0
src/main/java/com/gyee/frame/service/ActivePowerDataService.java

@@ -0,0 +1,92 @@
+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.ActivePowerDataMapper;
+import com.gyee.frame.model.auto.ActivePowerData;
+import com.gyee.frame.model.auto.ActivePowerDataExample;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+@Service
+public class ActivePowerDataService implements BaseService<ActivePowerData, ActivePowerDataExample> {
+	@Autowired
+	private ActivePowerDataMapper activePowerDataMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			ActivePowerDataExample example=new ActivePowerDataExample();
+			example.createCriteria().andIdIn(lista);
+			return activePowerDataMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public ActivePowerData selectByPrimaryKey(String id) {
+				
+			return activePowerDataMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(ActivePowerData record) {
+		return activePowerDataMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(ActivePowerData record) {
+				
+
+				
+		return activePowerDataMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(ActivePowerData record, ActivePowerDataExample example) {
+		
+		return activePowerDataMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(ActivePowerData record, ActivePowerDataExample example) {
+		
+		return activePowerDataMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<ActivePowerData> selectByExample(ActivePowerDataExample example) {
+		
+		return activePowerDataMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(ActivePowerDataExample example) {
+		
+		return activePowerDataMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(ActivePowerDataExample example) {
+		
+		return activePowerDataMapper.deleteByExample(example);
+	}
+	
+
+}

+ 95 - 0
src/main/java/com/gyee/frame/service/CurvefittingmainService.java

@@ -0,0 +1,95 @@
+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.CurvefittingmainMapper;
+import com.gyee.frame.model.auto.Curvefittingmain;
+import com.gyee.frame.model.auto.CurvefittingmainExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+@Service
+public class CurvefittingmainService implements BaseService<Curvefittingmain, CurvefittingmainExample> {
+	@Autowired
+	private CurvefittingmainMapper curvefittingmainMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			CurvefittingmainExample example=new CurvefittingmainExample();
+			example.createCriteria().andIdIn(lista);
+			return curvefittingmainMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Curvefittingmain selectByPrimaryKey(String id) {
+				
+			return curvefittingmainMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Curvefittingmain record) {
+		return curvefittingmainMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Curvefittingmain record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return curvefittingmainMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Curvefittingmain record, CurvefittingmainExample example) {
+		
+		return curvefittingmainMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Curvefittingmain record, CurvefittingmainExample example) {
+		
+		return curvefittingmainMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Curvefittingmain> selectByExample(CurvefittingmainExample example) {
+		
+		return curvefittingmainMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(CurvefittingmainExample example) {
+		
+		return curvefittingmainMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(CurvefittingmainExample example) {
+		
+		return curvefittingmainMapper.deleteByExample(example);
+	}
+	
+
+}

+ 95 - 0
src/main/java/com/gyee/frame/service/CurvefittingmonthmainService.java

@@ -0,0 +1,95 @@
+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.CurvefittingmonthmainMapper;
+import com.gyee.frame.model.auto.Curvefittingmonthmain;
+import com.gyee.frame.model.auto.CurvefittingmonthmainExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+@Service
+public class CurvefittingmonthmainService implements BaseService<Curvefittingmonthmain, CurvefittingmonthmainExample> {
+	@Autowired
+	private CurvefittingmonthmainMapper curvefittingmonthmainMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			CurvefittingmonthmainExample example=new CurvefittingmonthmainExample();
+			example.createCriteria().andIdIn(lista);
+			return curvefittingmonthmainMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Curvefittingmonthmain selectByPrimaryKey(String id) {
+				
+			return curvefittingmonthmainMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Curvefittingmonthmain record) {
+		return curvefittingmonthmainMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Curvefittingmonthmain record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return curvefittingmonthmainMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Curvefittingmonthmain record, CurvefittingmonthmainExample example) {
+		
+		return curvefittingmonthmainMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Curvefittingmonthmain record, CurvefittingmonthmainExample example) {
+		
+		return curvefittingmonthmainMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Curvefittingmonthmain> selectByExample(CurvefittingmonthmainExample example) {
+		
+		return curvefittingmonthmainMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(CurvefittingmonthmainExample example) {
+		
+		return curvefittingmonthmainMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(CurvefittingmonthmainExample example) {
+		
+		return curvefittingmonthmainMapper.deleteByExample(example);
+	}
+	
+
+}

+ 95 - 0
src/main/java/com/gyee/frame/service/WarningClassifyService.java

@@ -0,0 +1,95 @@
+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.WarningClassifyMapper;
+import com.gyee.frame.model.auto.WarningClassify;
+import com.gyee.frame.model.auto.WarningClassifyExample;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+@Service
+public class WarningClassifyService implements BaseService<WarningClassify, WarningClassifyExample> {
+	@Autowired
+	private WarningClassifyMapper warningClassifyMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<String> lista=Convert.toListStrArray(ids);
+			WarningClassifyExample example=new WarningClassifyExample();
+			example.createCriteria().andIdIn(lista);
+			return warningClassifyMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public WarningClassify selectByPrimaryKey(String id) {
+				
+			return warningClassifyMapper.selectByPrimaryKey(id);
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(WarningClassify record) {
+		return warningClassifyMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(WarningClassify record) {
+				
+		//添加雪花主键id
+		record.setId(SnowflakeIdWorker.getUUID());
+			
+				
+		return warningClassifyMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(WarningClassify record, WarningClassifyExample example) {
+		
+		return warningClassifyMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(WarningClassify record, WarningClassifyExample example) {
+		
+		return warningClassifyMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<WarningClassify> selectByExample(WarningClassifyExample example) {
+		
+		return warningClassifyMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WarningClassifyExample example) {
+		
+		return warningClassifyMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WarningClassifyExample example) {
+		
+		return warningClassifyMapper.deleteByExample(example);
+	}
+	
+
+}

+ 92 - 0
src/main/java/com/gyee/frame/service/WarningInfoDayService.java

@@ -0,0 +1,92 @@
+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.WarningInfoDayMapper;
+import com.gyee.frame.model.auto.WarningInfoDay;
+import com.gyee.frame.model.auto.WarningInfoDayExample;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+
+@Service
+public class WarningInfoDayService implements BaseService<WarningInfoDay, WarningInfoDayExample> {
+	@Autowired
+	private WarningInfoDayMapper warningInfoDayMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			WarningInfoDayExample example=new WarningInfoDayExample();
+			example.createCriteria().andIdIn(lista);
+			return warningInfoDayMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public WarningInfoDay selectByPrimaryKey(String id) {
+				
+			return warningInfoDayMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(WarningInfoDay record) {
+		return warningInfoDayMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(WarningInfoDay record) {
+				
+			
+				
+		return warningInfoDayMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(WarningInfoDay record, WarningInfoDayExample example) {
+		
+		return warningInfoDayMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(WarningInfoDay record, WarningInfoDayExample example) {
+		
+		return warningInfoDayMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<WarningInfoDay> selectByExample(WarningInfoDayExample example) {
+		
+		return warningInfoDayMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WarningInfoDayExample example) {
+		
+		return warningInfoDayMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WarningInfoDayExample example) {
+		
+		return warningInfoDayMapper.deleteByExample(example);
+	}
+	
+
+}

+ 126 - 0
src/main/java/com/gyee/frame/service/WindturbineanalysisdayService.java

@@ -0,0 +1,126 @@
+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.WindturbineanalysisdayMapper;
+import com.gyee.frame.model.auto.Windturbineanalysisday;
+import com.gyee.frame.model.auto.WindturbineanalysisdayExample;
+import com.gyee.frame.util.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+
+@Service
+public class WindturbineanalysisdayService implements BaseService<Windturbineanalysisday, WindturbineanalysisdayExample> {
+	@Autowired
+	private WindturbineanalysisdayMapper windturbineanalysisdayMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			WindturbineanalysisdayExample example=new WindturbineanalysisdayExample();
+			example.createCriteria().andIdIn(lista);
+			return windturbineanalysisdayMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Windturbineanalysisday selectByPrimaryKey(String id) {
+				
+			return windturbineanalysisdayMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Windturbineanalysisday record) {
+		return windturbineanalysisdayMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Windturbineanalysisday record) {
+				
+
+				
+		return windturbineanalysisdayMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Windturbineanalysisday record, WindturbineanalysisdayExample example) {
+		
+		return windturbineanalysisdayMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Windturbineanalysisday record, WindturbineanalysisdayExample example) {
+		
+		return windturbineanalysisdayMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Windturbineanalysisday> selectByExample(WindturbineanalysisdayExample example) {
+		
+		return windturbineanalysisdayMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WindturbineanalysisdayExample example) {
+		
+		return windturbineanalysisdayMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WindturbineanalysisdayExample example) {
+		
+		return windturbineanalysisdayMapper.deleteByExample(example);
+	}
+
+
+	public List<Windturbineanalysisday> comparelist(String windturbineid,Date date)  {
+
+
+		List<Windturbineanalysisday> list =new ArrayList<>();
+
+		WindturbineanalysisdayExample example=new WindturbineanalysisdayExample();
+		example.setOrderByClause("windturbineid ASC");
+
+		WindturbineanalysisdayExample.Criteria criteria =example.createCriteria();
+
+		List<String> idls = new ArrayList<String>();
+
+		String[] strs = windturbineid.split(",");
+
+		for (int i = 0; i < strs.length; i++) {
+			idls.add(strs[i]);
+		}
+
+		criteria.andWindturbineidIn(idls);
+
+		Date endDate= DateUtils.addDays(date,1);
+		criteria.andRecorddateGreaterThanOrEqualTo(date).andRecorddateLessThan(endDate);
+
+
+		list= windturbineanalysisdayMapper.selectByExample(example);
+		return list;
+
+	}
+
+
+
+}

+ 124 - 0
src/main/java/com/gyee/frame/service/WindturbinecurvefittingService.java

@@ -0,0 +1,124 @@
+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.WindturbinecurvefittingMapper;
+import com.gyee.frame.model.auto.Windturbinecurvefitting;
+import com.gyee.frame.model.auto.WindturbinecurvefittingExample;
+import com.gyee.frame.util.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+
+@Service
+public class WindturbinecurvefittingService implements BaseService<Windturbinecurvefitting, WindturbinecurvefittingExample> {
+	@Autowired
+	private WindturbinecurvefittingMapper windturbinecurvefittingMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			WindturbinecurvefittingExample example=new WindturbinecurvefittingExample();
+			example.createCriteria().andIdIn(lista);
+			return windturbinecurvefittingMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Windturbinecurvefitting selectByPrimaryKey(String id) {
+				
+			return windturbinecurvefittingMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Windturbinecurvefitting record) {
+		return windturbinecurvefittingMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Windturbinecurvefitting record) {
+				
+
+			
+				
+		return windturbinecurvefittingMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Windturbinecurvefitting record, WindturbinecurvefittingExample example) {
+		
+		return windturbinecurvefittingMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Windturbinecurvefitting record, WindturbinecurvefittingExample example) {
+		
+		return windturbinecurvefittingMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Windturbinecurvefitting> selectByExample(WindturbinecurvefittingExample example) {
+		
+		return windturbinecurvefittingMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WindturbinecurvefittingExample example) {
+		
+		return windturbinecurvefittingMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WindturbinecurvefittingExample example) {
+		
+		return windturbinecurvefittingMapper.deleteByExample(example);
+	}
+
+	public List<Windturbinecurvefitting> comparechatAjax(String windturbineid, Date date)  {
+
+
+		List<Windturbinecurvefitting> list =new ArrayList<>();
+
+		WindturbinecurvefittingExample example=new WindturbinecurvefittingExample();
+		example.setOrderByClause("speed ASC");
+
+		WindturbinecurvefittingExample.Criteria criteria =example.createCriteria();
+
+		List<String> idls = new ArrayList<String>();
+
+		String[] strs = windturbineid.split(",");
+
+		for (int i = 0; i < strs.length; i++) {
+			idls.add(strs[i]);
+		}
+
+		criteria.andWindturbineidIn(idls);
+
+		Date endDate= DateUtils.addDays(date,1);
+		criteria.andRecorddateGreaterThanOrEqualTo(date).andRecorddateLessThan(endDate);
+
+
+		list= windturbinecurvefittingMapper.selectByExample(example);
+		return list;
+
+	}
+
+}

+ 155 - 0
src/main/java/com/gyee/frame/service/WindturbinecurvefittingmonthService.java

@@ -0,0 +1,155 @@
+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.WindturbinecurvefittingmonthMapper;
+import com.gyee.frame.model.auto.Windturbinecurvefittingmonth;
+import com.gyee.frame.model.auto.WindturbinecurvefittingmonthExample;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.List;
+
+
+@Service
+public class WindturbinecurvefittingmonthService implements BaseService<Windturbinecurvefittingmonth, WindturbinecurvefittingmonthExample> {
+	@Autowired
+	private WindturbinecurvefittingmonthMapper windturbinecurvefittingmonthMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			WindturbinecurvefittingmonthExample example=new WindturbinecurvefittingmonthExample();
+			example.createCriteria().andIdIn(lista);
+			return windturbinecurvefittingmonthMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Windturbinecurvefittingmonth selectByPrimaryKey(String id) {
+				
+			return windturbinecurvefittingmonthMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Windturbinecurvefittingmonth record) {
+		return windturbinecurvefittingmonthMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Windturbinecurvefittingmonth record) {
+				
+
+			
+				
+		return windturbinecurvefittingmonthMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Windturbinecurvefittingmonth record, WindturbinecurvefittingmonthExample example) {
+		
+		return windturbinecurvefittingmonthMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Windturbinecurvefittingmonth record, WindturbinecurvefittingmonthExample example) {
+		
+		return windturbinecurvefittingmonthMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Windturbinecurvefittingmonth> selectByExample(WindturbinecurvefittingmonthExample example) {
+		
+		return windturbinecurvefittingmonthMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WindturbinecurvefittingmonthExample example) {
+		
+		return windturbinecurvefittingmonthMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WindturbinecurvefittingmonthExample example) {
+		
+		return windturbinecurvefittingmonthMapper.deleteByExample(example);
+	}
+
+	public List<Windturbinecurvefittingmonth> compareMonthChat(String windturbineid, Date date)  {
+
+
+		List<Windturbinecurvefittingmonth> list =new ArrayList<>();
+
+		WindturbinecurvefittingmonthExample example=new WindturbinecurvefittingmonthExample();
+		example.setOrderByClause("speed ASC");
+
+		WindturbinecurvefittingmonthExample.Criteria criteria =example.createCriteria();
+
+		List<String> idls = new ArrayList<String>();
+
+		String[] strs = windturbineid.split(",");
+
+		for (int i = 0; i < strs.length; i++) {
+			idls.add(strs[i]);
+		}
+
+		criteria.andWindturbineidIn(idls);
+
+		Calendar cal = Calendar.getInstance();
+		cal.setTime(date);
+
+		criteria.andYearEqualTo(String.valueOf(cal.get(Calendar.YEAR)));
+		criteria.andYearEqualTo(String.valueOf(cal.get(Calendar.MONTH)+1));
+
+
+		list= windturbinecurvefittingmonthMapper.selectByExample(example);
+		return list;
+
+	}
+	public List<Windturbinecurvefittingmonth> compareYearChat(String windturbineid, Date date)  {
+
+
+		List<Windturbinecurvefittingmonth> list =new ArrayList<>();
+
+		WindturbinecurvefittingmonthExample example=new WindturbinecurvefittingmonthExample();
+		example.setOrderByClause("speed ASC");
+
+		WindturbinecurvefittingmonthExample.Criteria criteria =example.createCriteria();
+
+		List<String> idls = new ArrayList<String>();
+
+		String[] strs = windturbineid.split(",");
+
+		for (int i = 0; i < strs.length; i++) {
+			idls.add(strs[i]);
+		}
+
+		criteria.andWindturbineidIn(idls);
+
+		Calendar cal = Calendar.getInstance();
+		cal.setTime(date);
+
+		criteria.andYearEqualTo(String.valueOf(cal.get(Calendar.YEAR)));
+
+		list= windturbinecurvefittingmonthMapper.selectByExample(example);
+		return list;
+
+	}
+}

+ 115 - 0
src/main/java/com/gyee/frame/service/WindturbinethewindinfoService.java

@@ -0,0 +1,115 @@
+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.WindturbinethewindinfoMapper;
+import com.gyee.frame.model.auto.Windturbinethewindinfo;
+import com.gyee.frame.model.auto.WindturbinethewindinfoExample;
+import com.gyee.frame.util.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+
+@Service
+public class WindturbinethewindinfoService implements BaseService<Windturbinethewindinfo, WindturbinethewindinfoExample> {
+	@Autowired
+	private WindturbinethewindinfoMapper windturbinethewindinfoMapper;
+	
+
+	@Override
+	public int deleteByPrimaryKey(String ids) {
+				
+			List<Integer> lista=Convert.toIntArrayList(ids);
+			WindturbinethewindinfoExample example=new WindturbinethewindinfoExample();
+			example.createCriteria().andIdIn(lista);
+			return windturbinethewindinfoMapper.deleteByExample(example);
+			
+				
+	}
+	
+	
+	@Override
+	public Windturbinethewindinfo selectByPrimaryKey(String id) {
+				
+			return windturbinethewindinfoMapper.selectByPrimaryKey(Integer.valueOf(id));
+				
+	}
+
+	
+	@Override
+	public int updateByPrimaryKeySelective(Windturbinethewindinfo record) {
+		return windturbinethewindinfoMapper.updateByPrimaryKeySelective(record);
+	}
+	
+	
+	/**
+	 * 添加
+	 */
+	@Override
+	public int insertSelective(Windturbinethewindinfo record) {
+				
+
+			
+				
+		return windturbinethewindinfoMapper.insertSelective(record);
+	}
+	
+	
+	@Override
+	public int updateByExampleSelective(Windturbinethewindinfo record, WindturbinethewindinfoExample example) {
+		
+		return windturbinethewindinfoMapper.updateByExampleSelective(record, example);
+	}
+
+	
+	@Override
+	public int updateByExample(Windturbinethewindinfo record, WindturbinethewindinfoExample example) {
+		
+		return windturbinethewindinfoMapper.updateByExample(record, example);
+	}
+
+	@Override
+	public List<Windturbinethewindinfo> selectByExample(WindturbinethewindinfoExample example) {
+		
+		return windturbinethewindinfoMapper.selectByExample(example);
+	}
+
+	
+	@Override
+	public long countByExample(WindturbinethewindinfoExample example) {
+		
+		return windturbinethewindinfoMapper.countByExample(example);
+	}
+
+	
+	@Override
+	public int deleteByExample(WindturbinethewindinfoExample example) {
+		
+		return windturbinethewindinfoMapper.deleteByExample(example);
+	}
+
+	public List<Windturbinethewindinfo> fzy(String windturbineid, Date date)  {
+
+
+		List<Windturbinethewindinfo> list =new ArrayList<>();
+
+		WindturbinethewindinfoExample example=new WindturbinethewindinfoExample();
+		example.setOrderByClause("windturbineid ASC");
+
+		WindturbinethewindinfoExample.Criteria criteria =example.createCriteria();
+
+		criteria.andWindturbineidEqualTo(windturbineid);
+
+		Date endDate= DateUtils.addDays(date,1);
+		criteria.andRecorddateGreaterThanOrEqualTo(date).andRecorddateLessThan(endDate);
+
+		list= windturbinethewindinfoMapper.selectByExample(example);
+		return list;
+
+	}
+
+}

Разлика између датотеке није приказан због своје велике величине
+ 1830 - 0
src/main/java/com/gyee/frame/service/compare/CompareService.java


+ 408 - 0
src/main/java/com/gyee/frame/service/contrast/ContrastLnService.java

@@ -0,0 +1,408 @@
+package com.gyee.frame.service.contrast;
+
+import com.gyee.frame.common.spring.InitialRunner;
+import com.gyee.frame.model.auto.*;
+import com.gyee.frame.model.custom.BenchMarkVo;
+import com.gyee.frame.model.custom.DataVo;
+import com.gyee.frame.service.FaultEliminateDefectsService;
+import com.gyee.frame.service.StatetransitionratesService;
+import com.gyee.frame.service.Windpowerinfoday3Service;
+import com.gyee.frame.util.DateUtils;
+import com.gyee.frame.util.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.math.BigDecimal;
+import java.math.RoundingMode;
+import java.util.*;
+
+
+@Service
+public class ContrastLnService {
+	@Resource
+	private Windpowerinfoday3Service windpowerinfoday3Service;
+	@Autowired
+	private FaultEliminateDefectsService faultEliminateDefectsService;
+	@Autowired
+	private StatetransitionratesService statetransitionratesService;
+
+
+
+	public List<BenchMarkVo> benchmarkLnList(String wpId,String lnId, String beginDate, String endDate) {
+		List<BenchMarkVo> vos = new ArrayList<>();
+		Date tempDate = null;
+		if (StringUtils.isNotEmpty(beginDate) && StringUtils.isNotEmpty(endDate)) {
+			Date begin = DateUtils.parseDate(beginDate);
+			Date end = DateUtils.parseDate(endDate);
+
+			// 获得复位及时率、状态转换及时率数据
+			Map<String, Statetransitionrates> stmap = statetransitionratesService.getStatetransitionratesByWpTotal(null, begin, end);
+			// 获得消缺及时率数据
+			Map<String, FaultEliminateDefects> fdmap = faultEliminateDefectsService.getFaultEliminateDefectsByWpTotal(null, begin, end);
+
+			List<String> wpids = new ArrayList<String>();
+			if (StringUtils.notEmp(wpId)) {
+				if (wpId.indexOf(",") != -1) {
+					String[] strs = wpId.split(",");
+					if (strs.length > 0) {
+						for (int i = 0; i < strs.length; i++) {
+							wpids.add(strs[i]);
+						}
+					}
+				} else {
+					wpids.add(wpId);
+				}
+			}
+
+			List<String> lnids = new ArrayList<String>();
+			if (StringUtils.notEmp(lnId)) {
+				if (lnId.indexOf(",") != -1) {
+					String[] strs = lnId.split(",");
+					if (strs.length > 0) {
+						for (int i = 0; i < strs.length; i++) {
+							lnids.add(strs[i]);
+						}
+					}
+				} else {
+					lnids.add(lnId);
+				}
+			}
+			List<Windpowerinfoday3> ls =null;
+			if (!lnids.isEmpty()) {
+				ls =windpowerinfoday3Service.getWindpowerinfoday3(lnids, begin, end, "line");
+			} else if (!wpids.isEmpty()) {
+				ls =windpowerinfoday3Service.getWindpowerinfoday3(wpids, begin, end, "windpower");
+			}
+
+			Map<String, Windpowerstation> wpmap = InitialRunner.wpmap;
+
+			Map<String, Project> pjmap = InitialRunner.pjmap;
+
+			Map<String, Windpowerinfoday3> wdmap = new HashMap<String, Windpowerinfoday3>();
+			if (!ls.isEmpty()) {
+				for (Windpowerinfoday3 wd : ls) {
+					if (wdmap.containsKey(wd.getProjectid())) {
+						Windpowerinfoday3 w = wdmap.get(wd.getProjectid());
+						w.setWindpowerstationid(wd.getWindpowerstationid());
+						w.setProjectid(wd.getProjectid());
+						double losspower1 = null != wd.getDaynhxdssdl() ? wd.getDaynhxdssdl() : 0.0;
+						double losspower2 = null != wd.getDaynhgzssdl() ? wd.getDaynhgzssdl() : 0.0;
+						double losspower3 = null != wd.getDaynhwhssdl() ? wd.getDaynhwhssdl() : 0.0;
+						double losspower4 = null != wd.getDaynhqfdl() ? wd.getDaynhqfdl() : 0.0;
+						double scadafdl = null != wd.getDaydl2() ? wd.getDaydl2() : 0; // scada发电量
+
+						w.setDaynhxdssdl(w.getDaynhxdssdl() + losspower1);
+						w.setDaynhgzssdl(w.getDaynhgzssdl() + losspower2);
+						w.setDaynhwhssdl(w.getDaynhwhssdl() + losspower3);
+						w.setDaynhqfdl(w.getDaynhqfdl() + losspower4);
+						w.setDaydl2(w.getDaydl2() + scadafdl);
+						wdmap.put(wd.getProjectid(), w);
+					} else {
+						Windpowerinfoday3 w = new Windpowerinfoday3();
+						w.setWindpowerstationid(wd.getWindpowerstationid());
+						w.setProjectid(wd.getProjectid());
+						double scadafdl = null != wd.getDaydl2() ? wd.getDaydl2() : 0; // scada发电量
+						double losspower1 = null != wd.getDaynhxdssdl() ? wd.getDaynhxdssdl() : 0.0;
+						double losspower2 = null != wd.getDaynhgzssdl() ? wd.getDaynhgzssdl() : 0.0;
+						double losspower3 = null != wd.getDaynhwhssdl() ? wd.getDaynhwhssdl() : 0.0;
+						double losspower4 = null != wd.getDaynhqfdl() ? wd.getDaynhqfdl() : 0.0;
+						w.setDaydl2(scadafdl);
+						w.setDaynhxdssdl(losspower1);
+						w.setDaynhgzssdl(losspower2);
+						w.setDaynhwhssdl(losspower3);
+						w.setDaynhqfdl(losspower4);
+						wdmap.put(wd.getProjectid(), w);
+					}
+				}
+
+				Set<Map.Entry<String, Windpowerinfoday3>> set = wdmap.entrySet();
+				for (Iterator<Map.Entry<String, Windpowerinfoday3>> it = set.iterator(); it.hasNext();) {
+					Map.Entry<String, Windpowerinfoday3> entry = (Map.Entry<String, Windpowerinfoday3>) it.next();
+					// System.out.println(entry.getKey() + "--->" +
+					// entry.getValue());
+
+					Windpowerinfoday3 wd = entry.getValue();
+					BenchMarkVo vo = new BenchMarkVo();
+
+					if (pjmap.containsKey(wd.getProjectid())) {
+						Project pj = pjmap.get(wd.getProjectid());
+						vo.setPjId(wd.getProjectid());
+						vo.setPjName(pj.getName());
+
+					}
+					if (wpmap.containsKey(wd.getWindpowerstationid())) {
+						Windpowerstation wp = wpmap.get(wd.getWindpowerstationid());
+						vo.setWpId(wd.getWindpowerstationid());
+						vo.setWpName(wp.getName());
+					}
+					// vo.setRecordDate(DateUtils.truncate(wd.getRecorddate()));
+					double scadafdl = null != wd.getDaydl2() ? (new BigDecimal(wd.getDaydl2()).divide(new BigDecimal(10000), 2, RoundingMode.HALF_UP).doubleValue()) : 0; // scada发电量
+					double fdl = null != wd.getDaydl2() ? wd.getDaydl2() : 0; // 发电量
+					double qfss = null != wd.getDaynhqfdl() ? (new BigDecimal(wd.getDaynhqfdl()).divide(new BigDecimal(10000), 2, RoundingMode.HALF_UP).doubleValue()) : 0;// 欠发损失发电量
+					double gzss = null != wd.getDaynhgzssdl() ? (new BigDecimal(wd.getDaynhgzssdl()).divide(new BigDecimal(10000), 2, RoundingMode.HALF_UP).doubleValue()) : 0;// 故障损失发电量
+					double whss = null != wd.getDaynhwhssdl() ? (new BigDecimal(wd.getDaynhwhssdl()).divide(new BigDecimal(10000), 2, RoundingMode.HALF_UP).doubleValue()) : 0;// 维护损失发电量
+					double xdss = null != wd.getDaynhxdssdl() ? (new BigDecimal(wd.getDaynhxdssdl()).divide(new BigDecimal(10000), 2, RoundingMode.HALF_UP).doubleValue()) : 0;// 限电损失发电量
+					double llfdl = scadafdl + qfss + gzss + whss + xdss;// 理论发电量
+					vo.setFdl(fdl);// 发电量
+					vo.setFjhtyssdl(gzss);// 非计划停运损失电量
+					vo.setSbyxssdl(qfss);// 设备运行状态损失电量
+					vo.setSlssl(0.0);// 受累损失电量
+
+					vo.setScadafdl(scadafdl);
+					vo.setGzss(gzss);
+					vo.setWhss(whss);
+					vo.setQfss(qfss);
+					vo.setXdss(xdss);
+					vo.setSlss(0.0);
+
+					if (llfdl != 0) {
+						double temp = xdss;
+
+						BigDecimal b1 = new BigDecimal(temp);
+						BigDecimal b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 弃风率
+						vo.setQfl(temp);
+						temp = qfss;
+
+						b1 = new BigDecimal(temp);
+						b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 性能损失率
+						vo.setXnssl(temp);
+						temp = gzss;
+
+						b1 = new BigDecimal(temp);
+						b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 故障损失率
+						vo.setGzssl(temp);
+
+						temp = whss;
+
+						b1 = new BigDecimal(temp);
+						b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 检修损失率
+						vo.setJxssl(temp);
+						temp = 0;
+
+						b1 = new BigDecimal(temp);
+						b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 受累损失率
+						vo.setSlssl(temp);
+						temp = scadafdl;
+
+						b1 = new BigDecimal(temp);
+						b2 = new BigDecimal(llfdl);
+
+						temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+						// temp 风能利用率
+						vo.setFnlyl(temp);
+					} else {
+						// temp 风能利用率
+						vo.setFnlyl(0.0);
+						// temp 故障损失率
+						vo.setGzssl(0.0);
+						// temp 检修损失率
+						vo.setJxssl(0.0);
+						// temp 弃风率
+						vo.setQfl(0.0);
+						// temp 受累损失率
+						vo.setSlssl(0.0);
+						// temp 性能损失率
+						vo.setXnssl(0.0);
+					}
+
+					if (stmap.containsKey(wd.getWindpowerstationid())) {
+						Statetransitionrates st = stmap.get(wd.getWindpowerstationid());
+
+						double temp1 = st.getTimerate1();// 小于3米5分钟转换及时次数
+						double temp2 = st.getTimerate13();// 小于3米状态转换总次数
+
+						if (temp2 != 0) {
+							double temp = 0;
+
+							BigDecimal b1 = new BigDecimal(temp1);
+							BigDecimal b2 = new BigDecimal(temp2);
+
+							temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+							// temp 复位及时率
+							vo.setFwjsl(temp);
+						} else {
+							vo.setFwjsl(100.0);
+						}
+
+						temp1 = st.getTimerate16();// 5分钟复位及时次数
+						temp2 = st.getTimerate20();// 总复位次数
+
+						if (temp2 != 0) {
+							double temp = 0;
+
+							BigDecimal b1 = new BigDecimal(temp1);
+							BigDecimal b2 = new BigDecimal(temp2);
+
+							temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+							// temp 状态转换及时率
+							vo.setZtzhjsl(temp);
+						} else {
+							vo.setZtzhjsl(100.0);
+						}
+
+					} else {
+						vo.setZtzhjsl(100.0);
+						vo.setFwjsl(100.0);
+					}
+					if (fdmap.containsKey(wd.getWindpowerstationid())) {
+						FaultEliminateDefects fd = fdmap.get(wd.getWindpowerstationid());
+
+						double temp1 = fd.getRightcount();// 消缺及时次数
+						double temp2 = fd.getFaultcount();// 故障次数
+
+						if (temp2 != 0) {
+							double temp = 0;
+
+							BigDecimal b1 = new BigDecimal(temp1);
+							BigDecimal b2 = new BigDecimal(temp2);
+
+							temp = b1.divide(b2, 4, RoundingMode.HALF_UP).multiply(new BigDecimal(100)).doubleValue();
+							// temp 消缺及时率
+							vo.setXqjsl(temp);
+						} else {
+							vo.setXqjsl(100.0);
+						}
+
+					} else {
+						vo.setXqjsl(100.0);
+					}
+
+					vos.add(vo);
+
+				}
+			}
+
+		}
+		return vos;
+	}
+
+	public List<DataVo> findLnPowerChat(String wpId,String lnId, String beginDate, String endDate) {
+
+		Date begin = DateUtils.parseDate(beginDate);
+		Date end = DateUtils.parseDate(endDate);
+
+		List<DataVo> vos = new ArrayList<DataVo>();
+		List<String> wpids = new ArrayList<String>();
+		if (StringUtils.notEmp(wpId)) {
+			if (wpId.indexOf(",") != -1) {
+				String[] strs = wpId.split(",");
+				if (strs.length > 0) {
+					for (int i = 0; i < strs.length; i++) {
+						wpids.add(strs[i]);
+					}
+				}
+			} else {
+				wpids.add(wpId);
+			}
+		}
+
+		List<String> lnids = new ArrayList<String>();
+		if (StringUtils.notEmp(lnId)) {
+			if (lnId.indexOf(",") != -1) {
+				String[] strs = lnId.split(",");
+				if (strs.length > 0) {
+					for (int i = 0; i < strs.length; i++) {
+						lnids.add(strs[i]);
+					}
+				}
+			} else {
+				lnids.add(lnId);
+			}
+		}
+		List<Windpowerinfoday3> ls =null;
+		if (!lnids.isEmpty()) {
+			ls =windpowerinfoday3Service.getWindpowerinfoday3(lnids, begin, end, "line");
+		} else if (!wpids.isEmpty()) {
+			ls =windpowerinfoday3Service.getWindpowerinfoday3(wpids, begin, end, "windpower");
+		}
+		// Map<String, Windpowerstation> wpmap = CacheContext.wpmap;
+		Map<String, Project> pjmap = InitialRunner.pjmap;
+		Map<String, DataVo> vomap = new HashMap<String, DataVo>();
+		if (!ls.isEmpty()) {
+			for (int i = 0; i < ls.size(); i++) {
+				Windpowerinfoday3 wd = ls.get(i);
+				if (vomap.containsKey(wd.getProjectid())) {
+					DataVo vo = vomap.get(wd.getProjectid());
+					double losspower1 = null != wd.getDaynhxdssdl2() ? wd.getDaynhxdssdl2() : 0.0;
+					double losspower2 = null != wd.getDaynhgzssdl2() ? wd.getDaynhgzssdl2() : 0.0;
+					double losspower3 = null != wd.getDaynhwhssdl2() ? wd.getDaynhwhssdl2() : 0.0;
+					double losspower4 = null != wd.getDaynhqfdl2() ? wd.getDaynhqfdl2() : 0.0;
+					double fdl = null != wd.getDaydl2() ? wd.getDaydl2() : 0.0;
+
+					vo.setValue1(vo.getValue1() + losspower1);// 限电损失
+					vo.setValue2(vo.getValue2() + losspower2);// 故障损失
+					vo.setValue3(vo.getValue3() + losspower3);// 维护损失
+					vo.setValue4(vo.getValue4() + losspower4);// 欠发损失
+					vo.setValue5(0.0);// 受累损失
+					vo.setValue6(vo.getValue6() + fdl);// 发电量
+					vomap.put(wd.getProjectid(), vo);
+				} else {
+					DataVo vo = new DataVo();
+
+					vo.setValue1(null != wd.getDaynhxdssdl2() ? wd.getDaynhxdssdl2() : 0.0);// 限电损失
+					vo.setValue2(null != wd.getDaynhgzssdl2() ? wd.getDaynhgzssdl2() : 0.0);// 故障损失
+					vo.setValue3(null != wd.getDaynhwhssdl2() ? wd.getDaynhwhssdl2() : 0.0);// 维护损失
+					vo.setValue4(null != wd.getDaynhqfdl2() ? wd.getDaynhqfdl2() : 0.0);// 欠发损失
+
+					vo.setValue5(0.0);// 受累损失
+					vo.setValue6(null != wd.getDaydl2() ? (new BigDecimal(wd.getDaydl2()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue()) : 0.0);// 发电量
+
+					// vo.setValue7(null != wd.getGridelectricity() ?
+					// wd.getGridelectricity() : 0.0);// 上网电量
+					// vo.setValue8(null != wd.getBuyelectricity() ?
+					// wd.getBuyelectricity() : 0.0);// 购网电量
+
+					vo.setTime(DateUtils.truncate(DateUtils.addDays(wd.getRecorddate(), 1)).getTime());
+
+					if (pjmap.containsKey(wd.getProjectid())) {
+						Project pj = pjmap.get(wd.getProjectid());
+						vo.setName(pj.getName());
+
+					}
+					// if(wpmap.containsKey(wd.getWindpowerstationid()))
+					// {
+					// Windpowerstation
+					// wp=wpmap.get(wd.getWindpowerstationid());
+					// vo.setName(wp.getName());
+					// }
+					vomap.put(wd.getProjectid(), vo);
+				}
+
+			}
+			Set<Map.Entry<String, DataVo>> set = vomap.entrySet();
+			for (Iterator<Map.Entry<String, DataVo>> it = set.iterator(); it.hasNext();) {
+				Map.Entry<String, DataVo> entry = (Map.Entry<String, DataVo>) it.next();
+				// System.out.println(entry.getKey() + "--->" +
+				// entry.getValue());
+				DataVo vo = entry.getValue();
+				vo.setValue1(new BigDecimal(vo.getValue1()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue());
+				vo.setValue2(new BigDecimal(vo.getValue2()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue());
+				vo.setValue3(new BigDecimal(vo.getValue3()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue());
+				vo.setValue4(new BigDecimal(vo.getValue4()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue());
+				vo.setValue5(StringUtils.round(vo.getValue5(), 2));
+				vo.setValue6(new BigDecimal(vo.getValue6()).divide(new BigDecimal(10000), 2, BigDecimal.ROUND_HALF_UP).doubleValue());
+				// vo.setValue7(StringUtils.round(vo.getValue7(), 2));
+				// vo.setValue8(StringUtils.round(vo.getValue8(), 2));
+				vos.add(vo);
+			}
+		}
+
+		return vos;
+	}
+}

+ 3 - 0
src/main/resources/application.yml

@@ -93,6 +93,9 @@ spring :
 #  #该配置项就是指将带有下划线的表字段映射为驼峰格式的实体类属性。
 #  configuration :
 #    map-underscore-to-camel-case : true
+mybatis:
+  configuration :
+    cache-enabled: true
 #pagehelper分页插件
 pagehelper:
     helperDialect: mysql

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

@@ -101,8 +101,11 @@
             <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
         </table>-->
 
+        <table tableName='ActivePowerData' domainObjectName='ActivePowerData'/>
+        <table tableName='Curvefittingmain' domainObjectName='Curvefittingmain'/>
+        <table tableName='Curvefittingmonthmain' domainObjectName='Curvefittingmonthmain'/>
+        <table tableName='WarningClassify' domainObjectName='WarningClassify'/>
+        <table tableName='WarningInfoDay' domainObjectName='WarningInfoDay'/>
 
-        <table tableName='Shutdownevent' domainObjectName='Shutdownevent'/>
-        <table tableName='Warning' domainObjectName='Warning'/>
     </context>
 </generatorConfiguration>

+ 351 - 0
src/main/resources/mybatis/auto/ActivePowerDataMapper.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.ActivePowerDataMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="modelId" jdbcType="VARCHAR" property="modelid" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="speed" jdbcType="DECIMAL" property="speed" />
+    <result column="power" jdbcType="DECIMAL" property="power" />
+    <result column="frequency" jdbcType="DECIMAL" property="frequency" />
+    <result column="windTurbineCode" jdbcType="VARCHAR" property="windturbinecode" />
+    <result column="modelName" jdbcType="VARCHAR" property="modelname" />
+  </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, windPowerStationId, windTurbineId, modelId, recordDate, speed, power, frequency, 
+    windTurbineCode, modelName
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample" 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 activepowerdata
+    <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.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from activepowerdata
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from activepowerdata
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from activepowerdata
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into activepowerdata (id, windPowerStationId, windTurbineId, 
+      modelId, recordDate, speed, 
+      power, frequency, windTurbineCode, 
+      modelName)
+    values (#{id,jdbcType=INTEGER}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{modelid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP}, #{speed,jdbcType=DECIMAL}, 
+      #{power,jdbcType=DECIMAL}, #{frequency,jdbcType=DECIMAL}, #{windturbinecode,jdbcType=VARCHAR}, 
+      #{modelname,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into activepowerdata
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId,
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId,
+      </if>
+      <if test="modelid != null">
+        modelId,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="power != null">
+        power,
+      </if>
+      <if test="frequency != null">
+        frequency,
+      </if>
+      <if test="windturbinecode != null">
+        windTurbineCode,
+      </if>
+      <if test="modelname != null">
+        modelName,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="power != null">
+        #{power,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        #{frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="windturbinecode != null">
+        #{windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="modelname != null">
+        #{modelname,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from activepowerdata
+    <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 activepowerdata
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        modelId = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.power != null">
+        power = #{record.power,jdbcType=DECIMAL},
+      </if>
+      <if test="record.frequency != null">
+        frequency = #{record.frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="record.windturbinecode != null">
+        windTurbineCode = #{record.windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelname != null">
+        modelName = #{record.modelname,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 activepowerdata
+    set id = #{record.id,jdbcType=INTEGER},
+      windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      modelId = #{record.modelid,jdbcType=VARCHAR},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      speed = #{record.speed,jdbcType=DECIMAL},
+      power = #{record.power,jdbcType=DECIMAL},
+      frequency = #{record.frequency,jdbcType=DECIMAL},
+      windTurbineCode = #{record.windturbinecode,jdbcType=VARCHAR},
+      modelName = #{record.modelname,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    <set>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        modelId = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="power != null">
+        power = #{power,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        frequency = #{frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="windturbinecode != null">
+        windTurbineCode = #{windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="modelname != null">
+        modelName = #{modelname,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      modelId = #{modelid,jdbcType=VARCHAR},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      speed = #{speed,jdbcType=DECIMAL},
+      power = #{power,jdbcType=DECIMAL},
+      frequency = #{frequency,jdbcType=DECIMAL},
+      windTurbineCode = #{windturbinecode,jdbcType=VARCHAR},
+      modelName = #{modelname,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 336 - 0
src/main/resources/mybatis/auto/CurvefittingmainMapper.xml

@@ -0,0 +1,336 @@
+<?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.CurvefittingmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="monthDeviationRate" jdbcType="DECIMAL" property="monthdeviationrate" />
+    <result column="yearDeviationRate" jdbcType="DECIMAL" property="yeardeviationrate" />
+    <result column="standardDeviationRate" jdbcType="DECIMAL" property="standarddeviationrate" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="deviationRate1" jdbcType="DECIMAL" property="deviationrate1" />
+    <result column="deviationRate2" jdbcType="DECIMAL" property="deviationrate2" />
+    <result column="deviationRate3" jdbcType="DECIMAL" property="deviationrate3" />
+  </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, windturbineId, monthDeviationRate, yearDeviationRate, standardDeviationRate, 
+    recordDate, deviationRate1, deviationRate2, deviationRate3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample" 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 curvefittingmain
+    <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 curvefittingmain
+    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 curvefittingmain
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmain (id, windturbineId, monthDeviationRate, 
+      yearDeviationRate, standardDeviationRate, 
+      recordDate, deviationRate1, deviationRate2, 
+      deviationRate3)
+    values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, 
+      #{yeardeviationrate,jdbcType=DECIMAL}, #{standarddeviationrate,jdbcType=DECIMAL}, 
+      #{recorddate,jdbcType=TIMESTAMP}, #{deviationrate1,jdbcType=DECIMAL}, #{deviationrate2,jdbcType=DECIMAL}, 
+      #{deviationrate3,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmain
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate,
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate,
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1,
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2,
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from curvefittingmain
+    <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 curvefittingmain
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.monthdeviationrate != null">
+        monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.yeardeviationrate != null">
+        yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.standarddeviationrate != null">
+        standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.deviationrate1 != null">
+        deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate2 != null">
+        deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate3 != null">
+        deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      </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 curvefittingmain
+    set id = #{record.id,jdbcType=VARCHAR},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3 = #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{deviationrate3,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 351 - 0
src/main/resources/mybatis/auto/CurvefittingmonthmainMapper.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.CurvefittingmonthmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="year" jdbcType="VARCHAR" property="year" />
+    <result column="month" jdbcType="VARCHAR" property="month" />
+    <result column="monthDeviationRate" jdbcType="DECIMAL" property="monthdeviationrate" />
+    <result column="yearDeviationRate" jdbcType="DECIMAL" property="yeardeviationrate" />
+    <result column="standardDeviationRate" jdbcType="DECIMAL" property="standarddeviationrate" />
+    <result column="deviationRate1" jdbcType="DECIMAL" property="deviationrate1" />
+    <result column="deviationRate2" jdbcType="DECIMAL" property="deviationrate2" />
+    <result column="deviationRate3" jdbcType="DECIMAL" property="deviationrate3" />
+  </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, windturbineId, year, month, monthDeviationRate, yearDeviationRate, standardDeviationRate, 
+    deviationRate1, deviationRate2, deviationRate3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample" 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 curvefittingmonthmain
+    <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 curvefittingmonthmain
+    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 curvefittingmonthmain
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmonthmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmonthmain (id, windturbineId, year, 
+      month, monthDeviationRate, yearDeviationRate, 
+      standardDeviationRate, deviationRate1, 
+      deviationRate2, deviationRate3)
+    values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{year,jdbcType=VARCHAR}, 
+      #{month,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, #{yeardeviationrate,jdbcType=DECIMAL}, 
+      #{standarddeviationrate,jdbcType=DECIMAL}, #{deviationrate1,jdbcType=DECIMAL}, 
+      #{deviationrate2,jdbcType=DECIMAL}, #{deviationrate3,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmonthmain
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="year != null">
+        year,
+      </if>
+      <if test="month != null">
+        month,
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate,
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate,
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate,
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1,
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2,
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate1 != null">
+        #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from curvefittingmonthmain
+    <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 curvefittingmonthmain
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.year != null">
+        year = #{record.year,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month != null">
+        month = #{record.month,jdbcType=VARCHAR},
+      </if>
+      <if test="record.monthdeviationrate != null">
+        monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.yeardeviationrate != null">
+        yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.standarddeviationrate != null">
+        standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate1 != null">
+        deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate2 != null">
+        deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate3 != null">
+        deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      </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 curvefittingmonthmain
+    set id = #{record.id,jdbcType=VARCHAR},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      year = #{record.year,jdbcType=VARCHAR},
+      month = #{record.month,jdbcType=VARCHAR},
+      monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        year = #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        month = #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3 = #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      year = #{year,jdbcType=VARCHAR},
+      month = #{month,jdbcType=VARCHAR},
+      monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{deviationrate3,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 7 - 0
src/main/resources/mybatis/auto/ShutdowneventMapper.xml

@@ -1,6 +1,13 @@
 <?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.ShutdowneventMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Shutdownevent">
     <!--
       WARNING - @mbg.generated

+ 7 - 0
src/main/resources/mybatis/auto/StatetransitionratesMapper.xml

@@ -1,6 +1,13 @@
 <?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.StatetransitionratesMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Statetransitionrates">
     <!--
       WARNING - @mbg.generated

+ 224 - 0
src/main/resources/mybatis/auto/WarningClassifyMapper.xml

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

+ 398 - 0
src/main/resources/mybatis/auto/WarningInfoDayMapper.xml

@@ -0,0 +1,398 @@
+<?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.WarningInfoDayMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.WarningInfoDay">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="manufacturerId" jdbcType="VARCHAR" property="manufacturerid" />
+    <result column="modelId" jdbcType="VARCHAR" property="modelid" />
+    <result column="warningId" jdbcType="VARCHAR" property="warningid" />
+    <result column="frequencyDay" jdbcType="INTEGER" property="frequencyday" />
+    <result column="totalhoursDay" jdbcType="DECIMAL" property="totalhoursday" />
+    <result column="frequencyMonth" jdbcType="INTEGER" property="frequencymonth" />
+    <result column="totalhoursMonth" jdbcType="DECIMAL" property="totalhoursmonth" />
+    <result column="frequencyYear" jdbcType="INTEGER" property="frequencyyear" />
+    <result column="totalhoursYear" jdbcType="DECIMAL" property="totalhoursyear" />
+    <result column="frequency" jdbcType="INTEGER" property="frequency" />
+    <result column="totalHours" jdbcType="DECIMAL" property="totalhours" />
+  </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, recordDate, manufacturerId, modelId, warningId, frequencyDay, totalhoursDay, 
+    frequencyMonth, totalhoursMonth, frequencyYear, totalhoursYear, frequency, totalHours
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WarningInfoDayExample" 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 warninginfoday
+    <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.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from warninginfoday
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from warninginfoday
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WarningInfoDayExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from warninginfoday
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.WarningInfoDay">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into warninginfoday (id, recordDate, manufacturerId, 
+      modelId, warningId, frequencyDay, 
+      totalhoursDay, frequencyMonth, totalhoursMonth, 
+      frequencyYear, totalhoursYear, frequency, 
+      totalHours)
+    values (#{id,jdbcType=INTEGER}, #{recorddate,jdbcType=TIMESTAMP}, #{manufacturerid,jdbcType=VARCHAR}, 
+      #{modelid,jdbcType=VARCHAR}, #{warningid,jdbcType=VARCHAR}, #{frequencyday,jdbcType=INTEGER}, 
+      #{totalhoursday,jdbcType=DECIMAL}, #{frequencymonth,jdbcType=INTEGER}, #{totalhoursmonth,jdbcType=DECIMAL}, 
+      #{frequencyyear,jdbcType=INTEGER}, #{totalhoursyear,jdbcType=DECIMAL}, #{frequency,jdbcType=INTEGER}, 
+      #{totalhours,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.WarningInfoDay">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into warninginfoday
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="manufacturerid != null">
+        manufacturerId,
+      </if>
+      <if test="modelid != null">
+        modelId,
+      </if>
+      <if test="warningid != null">
+        warningId,
+      </if>
+      <if test="frequencyday != null">
+        frequencyDay,
+      </if>
+      <if test="totalhoursday != null">
+        totalhoursDay,
+      </if>
+      <if test="frequencymonth != null">
+        frequencyMonth,
+      </if>
+      <if test="totalhoursmonth != null">
+        totalhoursMonth,
+      </if>
+      <if test="frequencyyear != null">
+        frequencyYear,
+      </if>
+      <if test="totalhoursyear != null">
+        totalhoursYear,
+      </if>
+      <if test="frequency != null">
+        frequency,
+      </if>
+      <if test="totalhours != null">
+        totalHours,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="manufacturerid != null">
+        #{manufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="warningid != null">
+        #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="frequencyday != null">
+        #{frequencyday,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursday != null">
+        #{totalhoursday,jdbcType=DECIMAL},
+      </if>
+      <if test="frequencymonth != null">
+        #{frequencymonth,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursmonth != null">
+        #{totalhoursmonth,jdbcType=DECIMAL},
+      </if>
+      <if test="frequencyyear != null">
+        #{frequencyyear,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursyear != null">
+        #{totalhoursyear,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        #{frequency,jdbcType=INTEGER},
+      </if>
+      <if test="totalhours != null">
+        #{totalhours,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WarningInfoDayExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from warninginfoday
+    <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 warninginfoday
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.manufacturerid != null">
+        manufacturerId = #{record.manufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        modelId = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.warningid != null">
+        warningId = #{record.warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.frequencyday != null">
+        frequencyDay = #{record.frequencyday,jdbcType=INTEGER},
+      </if>
+      <if test="record.totalhoursday != null">
+        totalhoursDay = #{record.totalhoursday,jdbcType=DECIMAL},
+      </if>
+      <if test="record.frequencymonth != null">
+        frequencyMonth = #{record.frequencymonth,jdbcType=INTEGER},
+      </if>
+      <if test="record.totalhoursmonth != null">
+        totalhoursMonth = #{record.totalhoursmonth,jdbcType=DECIMAL},
+      </if>
+      <if test="record.frequencyyear != null">
+        frequencyYear = #{record.frequencyyear,jdbcType=INTEGER},
+      </if>
+      <if test="record.totalhoursyear != null">
+        totalhoursYear = #{record.totalhoursyear,jdbcType=DECIMAL},
+      </if>
+      <if test="record.frequency != null">
+        frequency = #{record.frequency,jdbcType=INTEGER},
+      </if>
+      <if test="record.totalhours != null">
+        totalHours = #{record.totalhours,jdbcType=DECIMAL},
+      </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 warninginfoday
+    set id = #{record.id,jdbcType=INTEGER},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      manufacturerId = #{record.manufacturerid,jdbcType=VARCHAR},
+      modelId = #{record.modelid,jdbcType=VARCHAR},
+      warningId = #{record.warningid,jdbcType=VARCHAR},
+      frequencyDay = #{record.frequencyday,jdbcType=INTEGER},
+      totalhoursDay = #{record.totalhoursday,jdbcType=DECIMAL},
+      frequencyMonth = #{record.frequencymonth,jdbcType=INTEGER},
+      totalhoursMonth = #{record.totalhoursmonth,jdbcType=DECIMAL},
+      frequencyYear = #{record.frequencyyear,jdbcType=INTEGER},
+      totalhoursYear = #{record.totalhoursyear,jdbcType=DECIMAL},
+      frequency = #{record.frequency,jdbcType=INTEGER},
+      totalHours = #{record.totalhours,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.WarningInfoDay">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update warninginfoday
+    <set>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="manufacturerid != null">
+        manufacturerId = #{manufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        modelId = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="warningid != null">
+        warningId = #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="frequencyday != null">
+        frequencyDay = #{frequencyday,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursday != null">
+        totalhoursDay = #{totalhoursday,jdbcType=DECIMAL},
+      </if>
+      <if test="frequencymonth != null">
+        frequencyMonth = #{frequencymonth,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursmonth != null">
+        totalhoursMonth = #{totalhoursmonth,jdbcType=DECIMAL},
+      </if>
+      <if test="frequencyyear != null">
+        frequencyYear = #{frequencyyear,jdbcType=INTEGER},
+      </if>
+      <if test="totalhoursyear != null">
+        totalhoursYear = #{totalhoursyear,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        frequency = #{frequency,jdbcType=INTEGER},
+      </if>
+      <if test="totalhours != null">
+        totalHours = #{totalhours,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.WarningInfoDay">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update warninginfoday
+    set recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      manufacturerId = #{manufacturerid,jdbcType=VARCHAR},
+      modelId = #{modelid,jdbcType=VARCHAR},
+      warningId = #{warningid,jdbcType=VARCHAR},
+      frequencyDay = #{frequencyday,jdbcType=INTEGER},
+      totalhoursDay = #{totalhoursday,jdbcType=DECIMAL},
+      frequencyMonth = #{frequencymonth,jdbcType=INTEGER},
+      totalhoursMonth = #{totalhoursmonth,jdbcType=DECIMAL},
+      frequencyYear = #{frequencyyear,jdbcType=INTEGER},
+      totalhoursYear = #{totalhoursyear,jdbcType=DECIMAL},
+      frequency = #{frequency,jdbcType=INTEGER},
+      totalHours = #{totalhours,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 7 - 0
src/main/resources/mybatis/auto/WindTurbineInfoDayMapper.xml

@@ -1,6 +1,13 @@
 <?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.WindTurbineInfoDayMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.WindTurbineInfoDay">
     <!--
       WARNING - @mbg.generated

+ 7 - 0
src/main/resources/mybatis/auto/Windpowerinfoday3Mapper.xml

@@ -1,6 +1,13 @@
 <?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.Windpowerinfoday3Mapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windpowerinfoday3">
     <!--
       WARNING - @mbg.generated

+ 7 - 0
src/main/resources/mybatis/auto/WindturbineStatusDayStatisticsMapper.xml

@@ -1,6 +1,13 @@
 <?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.WindturbineStatusDayStatisticsMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.WindturbineStatusDayStatistics">
     <!--
       WARNING - @mbg.generated

Разлика између датотеке није приказан због своје велике величине
+ 1181 - 0
src/main/resources/mybatis/auto/WindturbineanalysisdayMapper.xml


+ 310 - 0
src/main/resources/mybatis/auto/WindturbinecurvefittingMapper.xml

@@ -0,0 +1,310 @@
+<?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.WindturbinecurvefittingMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbinecurvefitting">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="speed" jdbcType="DECIMAL" property="speed" />
+    <result column="actualPower" jdbcType="DECIMAL" property="actualpower" />
+    <result column="optimalPower" jdbcType="DECIMAL" property="optimalpower" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="mainId" jdbcType="VARCHAR" property="mainid" />
+  </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, windturbineId, speed, actualPower, optimalPower, recordDate, mainId
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingExample" 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 windturbinecurvefitting
+    <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.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from windturbinecurvefitting
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windturbinecurvefitting
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windturbinecurvefitting
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Windturbinecurvefitting">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbinecurvefitting (id, windturbineId, speed, 
+      actualPower, optimalPower, recordDate, 
+      mainId)
+    values (#{id,jdbcType=INTEGER}, #{windturbineid,jdbcType=VARCHAR}, #{speed,jdbcType=DECIMAL}, 
+      #{actualpower,jdbcType=DECIMAL}, #{optimalpower,jdbcType=DECIMAL}, #{recorddate,jdbcType=TIMESTAMP}, 
+      #{mainid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windturbinecurvefitting">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbinecurvefitting
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="actualpower != null">
+        actualPower,
+      </if>
+      <if test="optimalpower != null">
+        optimalPower,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="mainid != null">
+        mainId,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="actualpower != null">
+        #{actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="optimalpower != null">
+        #{optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from windturbinecurvefitting
+    <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 windturbinecurvefitting
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.actualpower != null">
+        actualPower = #{record.actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.optimalpower != null">
+        optimalPower = #{record.optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.mainid != null">
+        mainId = #{record.mainid,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 windturbinecurvefitting
+    set id = #{record.id,jdbcType=INTEGER},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      speed = #{record.speed,jdbcType=DECIMAL},
+      actualPower = #{record.actualpower,jdbcType=DECIMAL},
+      optimalPower = #{record.optimalpower,jdbcType=DECIMAL},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      mainId = #{record.mainid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Windturbinecurvefitting">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbinecurvefitting
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="actualpower != null">
+        actualPower = #{actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="optimalpower != null">
+        optimalPower = #{optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="mainid != null">
+        mainId = #{mainid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windturbinecurvefitting">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbinecurvefitting
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      speed = #{speed,jdbcType=DECIMAL},
+      actualPower = #{actualpower,jdbcType=DECIMAL},
+      optimalPower = #{optimalpower,jdbcType=DECIMAL},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      mainId = #{mainid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 325 - 0
src/main/resources/mybatis/auto/WindturbinecurvefittingmonthMapper.xml

@@ -0,0 +1,325 @@
+<?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.WindturbinecurvefittingmonthMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbinecurvefittingmonth">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="speed" jdbcType="DECIMAL" property="speed" />
+    <result column="actualPower" jdbcType="DECIMAL" property="actualpower" />
+    <result column="optimalPower" jdbcType="DECIMAL" property="optimalpower" />
+    <result column="year" jdbcType="VARCHAR" property="year" />
+    <result column="month" jdbcType="VARCHAR" property="month" />
+    <result column="mainId" jdbcType="VARCHAR" property="mainid" />
+  </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, windturbineId, speed, actualPower, optimalPower, year, month, mainId
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingmonthExample" 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 windturbinecurvefittingmonth
+    <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.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from windturbinecurvefittingmonth
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windturbinecurvefittingmonth
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingmonthExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windturbinecurvefittingmonth
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Windturbinecurvefittingmonth">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbinecurvefittingmonth (id, windturbineId, speed, 
+      actualPower, optimalPower, year, 
+      month, mainId)
+    values (#{id,jdbcType=INTEGER}, #{windturbineid,jdbcType=VARCHAR}, #{speed,jdbcType=DECIMAL}, 
+      #{actualpower,jdbcType=DECIMAL}, #{optimalpower,jdbcType=DECIMAL}, #{year,jdbcType=VARCHAR}, 
+      #{month,jdbcType=VARCHAR}, #{mainid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windturbinecurvefittingmonth">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbinecurvefittingmonth
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="actualpower != null">
+        actualPower,
+      </if>
+      <if test="optimalpower != null">
+        optimalPower,
+      </if>
+      <if test="year != null">
+        year,
+      </if>
+      <if test="month != null">
+        month,
+      </if>
+      <if test="mainid != null">
+        mainId,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="actualpower != null">
+        #{actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="optimalpower != null">
+        #{optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="year != null">
+        #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindturbinecurvefittingmonthExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from windturbinecurvefittingmonth
+    <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 windturbinecurvefittingmonth
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.actualpower != null">
+        actualPower = #{record.actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.optimalpower != null">
+        optimalPower = #{record.optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.year != null">
+        year = #{record.year,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month != null">
+        month = #{record.month,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mainid != null">
+        mainId = #{record.mainid,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 windturbinecurvefittingmonth
+    set id = #{record.id,jdbcType=INTEGER},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      speed = #{record.speed,jdbcType=DECIMAL},
+      actualPower = #{record.actualpower,jdbcType=DECIMAL},
+      optimalPower = #{record.optimalpower,jdbcType=DECIMAL},
+      year = #{record.year,jdbcType=VARCHAR},
+      month = #{record.month,jdbcType=VARCHAR},
+      mainId = #{record.mainid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Windturbinecurvefittingmonth">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbinecurvefittingmonth
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="actualpower != null">
+        actualPower = #{actualpower,jdbcType=DECIMAL},
+      </if>
+      <if test="optimalpower != null">
+        optimalPower = #{optimalpower,jdbcType=DECIMAL},
+      </if>
+      <if test="year != null">
+        year = #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        month = #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        mainId = #{mainid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windturbinecurvefittingmonth">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbinecurvefittingmonth
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      speed = #{speed,jdbcType=DECIMAL},
+      actualPower = #{actualpower,jdbcType=DECIMAL},
+      optimalPower = #{optimalpower,jdbcType=DECIMAL},
+      year = #{year,jdbcType=VARCHAR},
+      month = #{month,jdbcType=VARCHAR},
+      mainId = #{mainid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 7 - 0
src/main/resources/mybatis/auto/Windturbineinfoday3Mapper.xml

@@ -1,6 +1,13 @@
 <?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.Windturbineinfoday3Mapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbineinfoday3">
     <!--
       WARNING - @mbg.generated

+ 7 - 0
src/main/resources/mybatis/auto/Windturbineinfodaytop3Mapper.xml

@@ -1,6 +1,13 @@
 <?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.Windturbineinfodaytop3Mapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbineinfodaytop3">
     <!--
       WARNING - @mbg.generated

+ 7 - 0
src/main/resources/mybatis/auto/WindturbinepowercurvefittingMapper.xml

@@ -1,6 +1,13 @@
 <?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.WindturbinepowercurvefittingMapper">
+  <cache type="org.mybatis.caches.ehcache.EhcacheCache">
+    <property name="timeToIdleSeconds" value="60"></property><!--&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;-->
+    <property name="timeToLiveSeconds" value="160"></property><!--&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;-->
+    <property name="maxEntriesLocalHeap" value="1000"></property>
+    <property name="maxEntriesLocalDisk" value="10000000"></property>
+    <property name="memoryStoreEvictionPolicy" value="LRU"></property>
+  </cache>
   <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbinepowercurvefitting">
     <!--
       WARNING - @mbg.generated

Разлика између датотеке није приказан због своје велике величине
+ 4871 - 0
src/main/resources/mybatis/auto/WindturbinethewindinfoMapper.xml


+ 87 - 0
src/test/java/test/CompareTest.java

@@ -0,0 +1,87 @@
+package test;
+
+import com.gyee.SpringbootStart;
+import com.gyee.frame.common.domain.AjaxResult;
+import com.gyee.frame.common.spring.SpringUtils;
+import com.gyee.frame.controller.compare.CompareController;
+import com.gyee.frame.model.custom.DataVo;
+import com.gyee.frame.model.custom.GoodCompareVo;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.model.custom.ValueVo;
+import lombok.SneakyThrows;
+import org.springframework.boot.SpringApplication;
+
+import java.util.Calendar;
+import java.util.Date;
+import java.util.List;
+import java.util.Map;
+
+public class CompareTest {
+
+    @SneakyThrows
+    public static void main(String[] args) {
+
+        SpringApplication.run(SpringbootStart.class, args);
+
+
+        Calendar c = Calendar.getInstance();
+
+        c.set(Calendar.HOUR_OF_DAY, 0);
+        c.set(Calendar.MINUTE, 0);
+        c.set(Calendar.SECOND, 0);
+
+        c.set(Calendar.DAY_OF_MONTH,2);
+        c.set(Calendar.MONTH,0);
+        c.set(Calendar.YEAR,2021);
+
+        Date date = c.getTime();
+
+        String wtid="MG01_01";
+
+        CompareController compareController= SpringUtils.getBean("compareController");
+//
+//        AjaxResult ajaxResult = dayBenchmarkingController.gadaylist(wpid,"2021-01-01");
+//
+//        List<Windturbineinfodaytop3> test=(List<Windturbineinfodaytop3>)ajaxResult.get("data");
+
+        Tablepar tablepar=new Tablepar();
+        tablepar.setPageNum(1);
+        tablepar.setPageSize(10);
+
+        AjaxResult ajaxResult =compareController.compareDayList(wtid,date);
+
+        List<GoodCompareVo> test=(List<GoodCompareVo>)ajaxResult.get("data");
+        for(GoodCompareVo wtd:test)
+        {
+            System.out.println(wtd.getName()+"----------------"+wtd.getValue1()+"----------------"+wtd.getValue2());
+        }
+
+        ajaxResult =compareController.fzyDay(wtid,date);
+
+        Map<String, Object> test2=(Map<String, Object>)ajaxResult.get("data");
+        System.out.println(String.valueOf(test2.get("jfpl")));
+        List<ValueVo> vos =(List<ValueVo>)test2.get("data");
+
+        for(ValueVo wtd:vos)
+        {
+            System.out.println(wtd.getName()+"----------------"+wtd.getValue()+"----------------"+wtd.getData1());
+        }
+        System.out.println("***************************************************************************************");
+
+        ajaxResult =compareController.compareDayChat(wtid,date);
+
+        List<DataVo> test3=(List<DataVo>)ajaxResult.get("data");
+
+        for(DataVo wtd:test3)
+        {
+            System.out.println(wtd.getValue1()+"----------------"+wtd.getSpeed());
+        }
+        System.out.println("***************************************************************************************");
+
+
+    }
+
+
+
+
+}