Browse Source

增加首页各场站信息

wangb 2 years ago
parent
commit
780d3b55a7
20 changed files with 6898 additions and 394 deletions
  1. 167 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/common/spring/InitialRunner.java
  2. 18 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/controller/monitor/GenreSetPushController.java
  3. 96 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/mapper/auto/LinePGMapper.java
  4. 70 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/mapper/auto/ProjectPGMapper.java
  5. 96 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/mapper/auto/WindturbinePGMapper.java
  6. 311 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/LinePG.java
  7. 903 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/LinePGExample.java
  8. 477 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/ProjectPG.java
  9. 1271 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/ProjectPGExample.java
  10. 444 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindturbinePG.java
  11. 1211 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindturbinePGExample.java
  12. 132 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/LinePGService.java
  13. 2 2
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/LineService.java
  14. 131 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/ProjectPGService.java
  15. 33 4
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/WindpowerstationPGService.java
  16. 99 0
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/WindturbinePGService.java
  17. 379 388
      web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/websocket/GenreSetPushService.java
  18. 335 0
      web/monitor-web-sxjn/src/main/resources/mybatis/auto/LinePGMapper.xml
  19. 325 0
      web/monitor-web-sxjn/src/main/resources/mybatis/auto/ProjectPGMapper.xml
  20. 398 0
      web/monitor-web-sxjn/src/main/resources/mybatis/auto/WindturbinePGMapper.xml

+ 167 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/common/spring/InitialRunner.java

@@ -14,6 +14,7 @@ import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.stream.Collectors;
 
 /**
  * 服务启动前执行,进行全局变量初始化
@@ -75,24 +76,47 @@ public class InitialRunner implements CommandLineRunner {
 
     @Resource
     private CompanysService companysService;
+
+    @Resource
+    private WindpowerstationPGService windpowerstationPGService;
+
+    @Resource
+    private WindturbinePGService windturbinePGService;
+
+    @Resource
+    private LinePGService linePGService;
+
+    @Resource
+    private ProjectPGService projectPGService;
+
     private final String QS = "0";
     private final String FD = "-1";
     private final String GF = "-2";
 
     public static List<Companys> cmls = new ArrayList<>();
     public static Map<String, List<Windpowerstation>> cm_wpmap = new HashMap<String, List<Windpowerstation>>();
+    public static Map<String, List<WindpowerstationPG>> cmpg_wpmap = new HashMap<String, List<WindpowerstationPG>>();
 
     public static List<Windpowerstation> wpallls = new ArrayList<Windpowerstation>(); // 风电场LIST集合(包含光电电)
+    public static List<WindpowerstationPG> wppgallls = new ArrayList<WindpowerstationPG>(); // 风电场LIST集合(包含光电电)
     public static List<Project> pjallls = new ArrayList<Project>(); //项目LIST集合(包含光电电)
+    public static List<ProjectPG> pjpgallls = new ArrayList<ProjectPG>(); //项目LIST集合(包含光电电)
     public static List<Line> lineallls = new ArrayList<Line>(); // 线路LIST集合(包含光电电)
+    public static List<LinePG> linepgallls = new ArrayList<LinePG>(); // 线路LIST集合(包含光电电)
     public static List<Windturbine> wtallls = new ArrayList<Windturbine>(); // 风电机LIST集合(包含光电电)
+    public static List<WindturbinePG> wtpgallls = new ArrayList<WindturbinePG>(); // 风电机LIST集合(包含光电电)
 
     public static List<Windpowerstation> wpls = new ArrayList<Windpowerstation>(); // 风电场LIST集合
     public static List<Windpowerstation> spls = new ArrayList<Windpowerstation>(); // 光伏场LIST集合
 
+    public static List<WindpowerstationPG> wppgls = new ArrayList<WindpowerstationPG>(); // 风电场LIST集合
+    public static List<WindpowerstationPG> sppgls = new ArrayList<WindpowerstationPG>(); // 光伏场LIST集合
+
     public static List<Project> pjls = new ArrayList<Project>(); // 项目LIST集合
     public static List<Line> linels = new ArrayList<Line>(); // 线路LIST集合
+    public static List<LinePG> linepgls = new ArrayList<LinePG>(); // 线路LIST集合
     public static List<Windturbine> wtls = new ArrayList<Windturbine>(); // 风电机LIST集合
+    public static List<WindturbinePG> wtpgls = new ArrayList<WindturbinePG>(); // 风电机LIST集合
 
     public static List< Alertrule2> alertrulels = new ArrayList< Alertrule2>(); // 自定义报警规则LIST集合
 
@@ -100,9 +124,16 @@ public class InitialRunner implements CommandLineRunner {
     public static Map<String,  Alertrule2> alertrulemap = new HashMap<String,  Alertrule2>();//自定义报警规则MAP
 
     public static Map<String, Windpowerstation> wpmap = new HashMap<String, Windpowerstation>();//风场(包含光电电)
+    public static Map<String, WindpowerstationPG> wppgmap = new HashMap<String, WindpowerstationPG>();//风场(包含光电电)
     public static Map<String, Project> pjmap = new HashMap<String, Project>(); // 项目MAP(包含光电电)
+    public static List<ProjectPG> projectPGs = new ArrayList<>();
+    public static Map<String, List<ProjectPG>> pjpggroupmap = new HashMap<String, List<ProjectPG>>(); // 期次根据场站分组
+    public static Map<String, ProjectPG> pjpgmap = new HashMap<String, ProjectPG>(); // 项目MAP(包含光电电)
     public static Map<String, Line> lnmap = new HashMap<String, Line>(); // 线路(包含光电电)
+    public static Map<String, LinePG> lnpgmap = new HashMap<String, LinePG>(); // 线路(包含光电电)
+    public static Map<String, List<LinePG>> pjlnpgmap = new HashMap<String, List<LinePG>>(); // 线路(包含光电电)
     public static Map<String, Windturbine> wtmap = new HashMap<String, Windturbine>();//风机(包含光电电)
+    public static Map<String, WindturbinePG> wtpgmap = new HashMap<String, WindturbinePG>();//风机(包含光电电)
 
     public static Map<String, Stoptype> stoptypemap = new HashMap<String, Stoptype>();//停机类型
     public static List<Warning2> warnls = new ArrayList<Warning2>(); // 报警LIST集合
@@ -116,11 +147,16 @@ public class InitialRunner implements CommandLineRunner {
     public static Map<String, Manufacturer> manufacturermap = new HashMap<String, Manufacturer>();
 
     public static Map<String, List<Windpowerstation>> re_wpmap = new HashMap<String, List<Windpowerstation>>();
+    public static Map<String, List<WindpowerstationPG>> repg_wpmap = new HashMap<String, List<WindpowerstationPG>>();
     public static Map<String, List<Windturbine>> wp_wtmap = new HashMap<String, List<Windturbine>>();
+    public static Map<String, List<WindturbinePG>> wppg_wtmap = new HashMap<String, List<WindturbinePG>>();
     public static Map<String, List<Windturbine>> pj_wtmap = new HashMap<String, List<Windturbine>>();
+    public static Map<String, List<WindturbinePG>> pjpg_wtmap = new HashMap<String, List<WindturbinePG>>();
     public static Map<String, List<Windturbine>> ln_wtmap = new HashMap<String, List<Windturbine>>();
+    public static Map<String, List<WindturbinePG>> lnpg_wtmap = new HashMap<String, List<WindturbinePG>>();
     public static Map<String, List<Project>> pjsmap = new HashMap<String, List<Project>>(); // 通过风场编号获得所属项目
     public static Map<String, List<Line>> lnsmap = new HashMap<String, List<Line>>(); // 通过项目编号获得所属线路
+    public static Map<String, List<LinePG>> lnpgsmap = new HashMap<String, List<LinePG>>(); // 通过项目编号获得所属线路
     public static Map<String, Map<Double, ModelpowerRd>> mprdMap = new HashMap<String, Map<Double, ModelpowerRd>>();
     public static Map<String, Map<String, Windturbinetestingpointnew>> wtPointmap = new HashMap<String, Map<String, Windturbinetestingpointnew>>();// 风电机测点AI表
    // public static Map<String, Map<String, Windturbinetestingpointnew>> wtPointmap = new HashMap<String, Map<String, Windturbinetestingpointnew>>();// 风电机测点AI表
@@ -813,6 +849,137 @@ public class InitialRunner implements CommandLineRunner {
             }
         }
 //        wppointnummap= windPowerstationTestingPoint2Service.getWpPointTotal();
+
+        //测试库
+        WindpowerstationPGExample windpowerstationPGExample = new WindpowerstationPGExample();
+        windpowerstationPGExample.setOrderByClause("ordernum ASC");
+//        windpowerstationExample.createCriteria().andIdNotLike("%SY_FDC%");
+        wppgallls = windpowerstationPGService.selectByExample(windpowerstationPGExample);
+        if (!wppgallls.isEmpty()) {
+            for (WindpowerstationPG wp : wppgallls) {
+                if (wp.getId().endsWith("FDC")) {
+                    wppgls.add(wp);
+                }
+                if (wp.getId().endsWith("GDC")) {
+                    sppgls.add(wp);
+                }
+
+                if(cmpg_wpmap.containsKey(wp.getCompanyid()))
+                {
+                    List<WindpowerstationPG> ls=cmpg_wpmap.get(wp.getCompanyid());
+                    ls.add(wp);
+                    cmpg_wpmap.put(wp.getCompanyid(),ls);
+                }else {
+                    List<WindpowerstationPG> ls=new ArrayList<>();
+                    ls.add(wp);
+                    cmpg_wpmap.put(wp.getCompanyid(),ls);
+                }
+
+
+                if(repg_wpmap.containsKey(wp.getCompanyid()+QS))
+                {
+                    List<WindpowerstationPG> ls=repg_wpmap.get(wp.getCompanyid()+QS);
+                    ls.add(wp);
+                    repg_wpmap.put(wp.getCompanyid()+QS,ls);
+                }else {
+                    List<WindpowerstationPG> ls=new ArrayList<>();
+                    ls.add(wp);
+                    repg_wpmap.put(wp.getCompanyid()+QS,ls);
+                }
+
+
+                if(repg_wpmap.containsKey(wp.getCompanyid()+FD))
+                {
+                    List<WindpowerstationPG> ls=repg_wpmap.get(wp.getCompanyid()+FD);
+                    if(wp.getId().endsWith("FDC"))
+                    {
+                        ls.add(wp);
+                        repg_wpmap.put(wp.getCompanyid()+FD,ls);
+                    }
+                }else {
+                    List<WindpowerstationPG> ls=new ArrayList<>();
+                    if(wp.getId().endsWith("FDC"))
+                    {
+                        ls.add(wp);
+                        repg_wpmap.put(wp.getCompanyid()+FD,ls);
+                    }
+                }
+
+                if(repg_wpmap.containsKey(wp.getCompanyid()+GF))
+                {
+                    List<WindpowerstationPG> ls=repg_wpmap.get(wp.getCompanyid()+GF);
+                    if(wp.getId().endsWith("GDC"))
+                    {
+                        ls.add(wp);
+                        repg_wpmap.put(wp.getCompanyid()+GF,ls);
+                    }
+                }else {
+                    List<WindpowerstationPG> ls=new ArrayList<>();
+                    if(wp.getId().endsWith("GDC"))
+                    {
+                        ls.add(wp);
+                        repg_wpmap.put(wp.getCompanyid()+GF,ls);
+                    }
+                }
+                wppgmap.put(wp.getId(), wp);
+            }
+        }
+
+        //测试库风机
+        WindturbinePGExample windturbinePGExample = new WindturbinePGExample();
+        windturbinePGExample.setOrderByClause("ID ASC");
+
+        wtpgallls = windturbinePGService.selectByExample(windturbinePGExample);
+
+        if (!wtpgallls.isEmpty()) {
+            for (WindturbinePG wt : wtpgallls) {
+                if (wppgmap.containsKey(wt.getWindpowerstationid())) {
+                    if (wt.getWindpowerstationid().endsWith("FDC")) {
+                        wtpgls.add(wt);
+                    }
+                }
+
+                wtpgmap.put(wt.getId(), wt);
+            }
+        }
+
+        //测试库线路
+        LinePGExample linepgExample = new LinePGExample();
+        linepgExample.setOrderByClause("ordernum ASC");
+        linepgExample.createCriteria().getAllCriteria();
+        linepgallls = linePGService.selectByExample(linepgExample);
+
+        if (!linepgallls.isEmpty()) {
+
+            pjlnpgmap = linepgallls.stream().collect(Collectors.groupingBy(LinePG::getProjectid));
+            for (LinePG ln : linepgallls) {
+                lnpgmap.put(ln.getId(), ln);
+                if (pjpgmap.containsKey(ln.getProjectid())) {
+                    ProjectPG pj = pjpgmap.get(ln.getProjectid());
+                    if (pj.getWindpowerstationid().endsWith("FDC")) {
+                        linepgls.add(ln);
+                    }
+                }
+                if (lnpgsmap.containsKey(ln.getProjectid())) {
+                    List<LinePG> lnls = lnpgsmap.get(ln.getProjectid());
+                    lnls.add(ln);
+                    lnpgsmap.put(ln.getProjectid(), lnls);
+                } else {
+                    List<LinePG> lnls = new ArrayList<LinePG>();
+                    lnls.add(ln);
+                    lnpgsmap.put(ln.getProjectid(), lnls);
+                }
+            }
+        }
+
+
+        //测试库线路
+        ProjectPGExample projectpgExample = new ProjectPGExample();
+        projectpgExample.setOrderByClause("ordernum ASC");
+        projectpgExample.createCriteria().getAllCriteria();
+        projectPGs = projectPGService.selectByExample(projectpgExample);
+        pjpggroupmap = projectPGs.stream().collect(Collectors.groupingBy(ProjectPG::getWindpowerstationid));
+
     }
 
 }

+ 18 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/controller/monitor/GenreSetPushController.java

@@ -554,6 +554,7 @@ public class GenreSetPushController {
 
     @GetMapping(value = "/homeSuspensionWindows")
     @ResponseBody
+    @ApiOperation(value = "首页弹窗信息", notes = "首页弹窗信息")
     @CrossOrigin(origins = "*", maxAge = 3600)
     public R wtls() {
         List<Map> resultList = windpowerstationPGService.hso();
@@ -563,4 +564,21 @@ public class GenreSetPushController {
             return R.error().data("查询失败!");
         }
     }
+    @GetMapping("/Stationinformation")
+    @ResponseBody
+    @ApiOperation(value = "场站容量信息", notes = "场站容量信息")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "wpId", value = "场站编号", required = true, dataType = "string", paramType = "query")})
+
+    public AjaxResult getinformation(String wpId) throws Exception {
+
+        Map m = genreSetPushService.Stationinformation(wpId);
+
+        if (null!=m){
+            return AjaxResult.successData(AjaxStatus.success.code, m);
+        } else {
+            return AjaxResult.successData(AjaxStatus.error.code, m);
+        }
+
+    }
 }

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

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

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

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

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

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

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

@@ -0,0 +1,311 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+public class LinePG implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.code
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.aname
+     *
+     * @mbg.generated
+     */
+    private String aname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.projectid
+     *
+     * @mbg.generated
+     */
+    private String projectid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.ordernum
+     *
+     * @mbg.generated
+     */
+    private Long ordernum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.capacity
+     *
+     * @mbg.generated
+     */
+    private Double capacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.capacityunit
+     *
+     * @mbg.generated
+     */
+    private String capacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column line.quantity
+     *
+     * @mbg.generated
+     */
+    private Long quantity;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.id
+     *
+     * @return the value of line.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.id
+     *
+     * @param id the value for line.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 line.code
+     *
+     * @return the value of line.code
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.code
+     *
+     * @param code the value for line.code
+     *
+     * @mbg.generated
+     */
+    public void setCode(String code) {
+        this.code = code == null ? null : code.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.name
+     *
+     * @return the value of line.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.name
+     *
+     * @param name the value for line.name
+     *
+     * @mbg.generated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.aname
+     *
+     * @return the value of line.aname
+     *
+     * @mbg.generated
+     */
+    public String getAname() {
+        return aname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.aname
+     *
+     * @param aname the value for line.aname
+     *
+     * @mbg.generated
+     */
+    public void setAname(String aname) {
+        this.aname = aname == null ? null : aname.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.projectid
+     *
+     * @return the value of line.projectid
+     *
+     * @mbg.generated
+     */
+    public String getProjectid() {
+        return projectid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.projectid
+     *
+     * @param projectid the value for line.projectid
+     *
+     * @mbg.generated
+     */
+    public void setProjectid(String projectid) {
+        this.projectid = projectid == null ? null : projectid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.ordernum
+     *
+     * @return the value of line.ordernum
+     *
+     * @mbg.generated
+     */
+    public Long getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.ordernum
+     *
+     * @param ordernum the value for line.ordernum
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(Long ordernum) {
+        this.ordernum = ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.capacity
+     *
+     * @return the value of line.capacity
+     *
+     * @mbg.generated
+     */
+    public Double getCapacity() {
+        return capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.capacity
+     *
+     * @param capacity the value for line.capacity
+     *
+     * @mbg.generated
+     */
+    public void setCapacity(Double capacity) {
+        this.capacity = capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.capacityunit
+     *
+     * @return the value of line.capacityunit
+     *
+     * @mbg.generated
+     */
+    public String getCapacityunit() {
+        return capacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.capacityunit
+     *
+     * @param capacityunit the value for line.capacityunit
+     *
+     * @mbg.generated
+     */
+    public void setCapacityunit(String capacityunit) {
+        this.capacityunit = capacityunit == null ? null : capacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column line.quantity
+     *
+     * @return the value of line.quantity
+     *
+     * @mbg.generated
+     */
+    public Long getQuantity() {
+        return quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column line.quantity
+     *
+     * @param quantity the value for line.quantity
+     *
+     * @mbg.generated
+     */
+    public void setQuantity(Long quantity) {
+        this.quantity = quantity;
+    }
+}

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

@@ -0,0 +1,903 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.List;
+
+public class LinePGExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public LinePGExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table line
+     *
+     * @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 line
+     *
+     * @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 line
+     *
+     * @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 line
+     *
+     * @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 line
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            addCriterion("id =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            addCriterion("id <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("id >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("id >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("id <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("id <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("id like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("id not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("id in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("id not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("id between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("id not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNull() {
+            addCriterion("code is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIsNotNull() {
+            addCriterion("code is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeEqualTo(String value) {
+            addCriterion("code =", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotEqualTo(String value) {
+            addCriterion("code <>", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThan(String value) {
+            addCriterion("code >", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeGreaterThanOrEqualTo(String value) {
+            addCriterion("code >=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThan(String value) {
+            addCriterion("code <", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLessThanOrEqualTo(String value) {
+            addCriterion("code <=", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeLike(String value) {
+            addCriterion("code like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotLike(String value) {
+            addCriterion("code not like", value, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeIn(List<String> values) {
+            addCriterion("code in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotIn(List<String> values) {
+            addCriterion("code not in", values, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeBetween(String value1, String value2) {
+            addCriterion("code between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andCodeNotBetween(String value1, String value2) {
+            addCriterion("code not between", value1, value2, "code");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            addCriterion("name =", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            addCriterion("name <>", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("name >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("name >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("name <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("name <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("name like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("name not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("name in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("name not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("name between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("name not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIsNull() {
+            addCriterion("aname is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIsNotNull() {
+            addCriterion("aname is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameEqualTo(String value) {
+            addCriterion("aname =", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotEqualTo(String value) {
+            addCriterion("aname <>", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameGreaterThan(String value) {
+            addCriterion("aname >", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameGreaterThanOrEqualTo(String value) {
+            addCriterion("aname >=", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLessThan(String value) {
+            addCriterion("aname <", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLessThanOrEqualTo(String value) {
+            addCriterion("aname <=", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameLike(String value) {
+            addCriterion("aname like", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotLike(String value) {
+            addCriterion("aname not like", value, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameIn(List<String> values) {
+            addCriterion("aname in", values, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotIn(List<String> values) {
+            addCriterion("aname not in", values, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameBetween(String value1, String value2) {
+            addCriterion("aname between", value1, value2, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andAnameNotBetween(String value1, String value2) {
+            addCriterion("aname not between", value1, value2, "aname");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidIsNull() {
+            addCriterion("projectid is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidIsNotNull() {
+            addCriterion("projectid is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidEqualTo(String value) {
+            addCriterion("projectid =", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidNotEqualTo(String value) {
+            addCriterion("projectid <>", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidGreaterThan(String value) {
+            addCriterion("projectid >", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidGreaterThanOrEqualTo(String value) {
+            addCriterion("projectid >=", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidLessThan(String value) {
+            addCriterion("projectid <", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidLessThanOrEqualTo(String value) {
+            addCriterion("projectid <=", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidLike(String value) {
+            addCriterion("projectid like", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidNotLike(String value) {
+            addCriterion("projectid not like", value, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidIn(List<String> values) {
+            addCriterion("projectid in", values, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidNotIn(List<String> values) {
+            addCriterion("projectid not in", values, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidBetween(String value1, String value2) {
+            addCriterion("projectid between", value1, value2, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andProjectidNotBetween(String value1, String value2) {
+            addCriterion("projectid not between", value1, value2, "projectid");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNull() {
+            addCriterion("ordernum is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIsNotNull() {
+            addCriterion("ordernum is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumEqualTo(Long value) {
+            addCriterion("ordernum =", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotEqualTo(Long value) {
+            addCriterion("ordernum <>", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThan(Long value) {
+            addCriterion("ordernum >", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumGreaterThanOrEqualTo(Long value) {
+            addCriterion("ordernum >=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThan(Long value) {
+            addCriterion("ordernum <", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumLessThanOrEqualTo(Long value) {
+            addCriterion("ordernum <=", value, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumIn(List<Long> values) {
+            addCriterion("ordernum in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotIn(List<Long> values) {
+            addCriterion("ordernum not in", values, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumBetween(Long value1, Long value2) {
+            addCriterion("ordernum between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOrdernumNotBetween(Long value1, Long value2) {
+            addCriterion("ordernum not between", value1, value2, "ordernum");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIsNull() {
+            addCriterion("capacity is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIsNotNull() {
+            addCriterion("capacity is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityEqualTo(BigDecimal value) {
+            addCriterion("capacity =", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotEqualTo(BigDecimal value) {
+            addCriterion("capacity <>", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityGreaterThan(BigDecimal value) {
+            addCriterion("capacity >", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("capacity >=", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityLessThan(BigDecimal value) {
+            addCriterion("capacity <", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("capacity <=", value, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityIn(List<BigDecimal> values) {
+            addCriterion("capacity in", values, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotIn(List<BigDecimal> values) {
+            addCriterion("capacity not in", values, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("capacity between", value1, value2, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("capacity not between", value1, value2, "capacity");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIsNull() {
+            addCriterion("capacityunit is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIsNotNull() {
+            addCriterion("capacityunit is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitEqualTo(String value) {
+            addCriterion("capacityunit =", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotEqualTo(String value) {
+            addCriterion("capacityunit <>", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitGreaterThan(String value) {
+            addCriterion("capacityunit >", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitGreaterThanOrEqualTo(String value) {
+            addCriterion("capacityunit >=", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLessThan(String value) {
+            addCriterion("capacityunit <", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLessThanOrEqualTo(String value) {
+            addCriterion("capacityunit <=", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitLike(String value) {
+            addCriterion("capacityunit like", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotLike(String value) {
+            addCriterion("capacityunit not like", value, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitIn(List<String> values) {
+            addCriterion("capacityunit in", values, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotIn(List<String> values) {
+            addCriterion("capacityunit not in", values, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitBetween(String value1, String value2) {
+            addCriterion("capacityunit between", value1, value2, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andCapacityunitNotBetween(String value1, String value2) {
+            addCriterion("capacityunit not between", value1, value2, "capacityunit");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIsNull() {
+            addCriterion("quantity is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIsNotNull() {
+            addCriterion("quantity is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityEqualTo(Long value) {
+            addCriterion("quantity =", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotEqualTo(Long value) {
+            addCriterion("quantity <>", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityGreaterThan(Long value) {
+            addCriterion("quantity >", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityGreaterThanOrEqualTo(Long value) {
+            addCriterion("quantity >=", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityLessThan(Long value) {
+            addCriterion("quantity <", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityLessThanOrEqualTo(Long value) {
+            addCriterion("quantity <=", value, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityIn(List<Long> values) {
+            addCriterion("quantity in", values, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotIn(List<Long> values) {
+            addCriterion("quantity not in", values, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityBetween(Long value1, Long value2) {
+            addCriterion("quantity between", value1, value2, "quantity");
+            return (Criteria) this;
+        }
+
+        public Criteria andQuantityNotBetween(Long value1, Long value2) {
+            addCriterion("quantity not between", value1, value2, "quantity");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table line
+     *
+     * @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 line
+     *
+     * @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);
+        }
+    }
+}

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

@@ -0,0 +1,477 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class ProjectPG implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.code
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.aname
+     *
+     * @mbg.generated
+     */
+    private String aname;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.windpowerstationid
+     *
+     * @mbg.generated
+     */
+    private String windpowerstationid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.capacity
+     *
+     * @mbg.generated
+     */
+    private BigDecimal capacity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.capacityunit
+     *
+     * @mbg.generated
+     */
+    private String capacityunit;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.quantity
+     *
+     * @mbg.generated
+     */
+    private Long quantity;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.model
+     *
+     * @mbg.generated
+     */
+    private String model;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.commissiondate
+     *
+     * @mbg.generated
+     */
+    private Date commissiondate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.masterphone
+     *
+     * @mbg.generated
+     */
+    private String masterphone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.shiftforeman
+     *
+     * @mbg.generated
+     */
+    private String shiftforeman;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.shiftforemanphone
+     *
+     * @mbg.generated
+     */
+    private String shiftforemanphone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column project.ordernum
+     *
+     * @mbg.generated
+     */
+    private Long ordernum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table project
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.id
+     *
+     * @return the value of project.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.id
+     *
+     * @param id the value for project.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 project.code
+     *
+     * @return the value of project.code
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.code
+     *
+     * @param code the value for project.code
+     *
+     * @mbg.generated
+     */
+    public void setCode(String code) {
+        this.code = code == null ? null : code.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.name
+     *
+     * @return the value of project.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.name
+     *
+     * @param name the value for project.name
+     *
+     * @mbg.generated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.aname
+     *
+     * @return the value of project.aname
+     *
+     * @mbg.generated
+     */
+    public String getAname() {
+        return aname;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.aname
+     *
+     * @param aname the value for project.aname
+     *
+     * @mbg.generated
+     */
+    public void setAname(String aname) {
+        this.aname = aname == null ? null : aname.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.windpowerstationid
+     *
+     * @return the value of project.windpowerstationid
+     *
+     * @mbg.generated
+     */
+    public String getWindpowerstationid() {
+        return windpowerstationid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.windpowerstationid
+     *
+     * @param windpowerstationid the value for project.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 project.capacity
+     *
+     * @return the value of project.capacity
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getCapacity() {
+        return capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.capacity
+     *
+     * @param capacity the value for project.capacity
+     *
+     * @mbg.generated
+     */
+    public void setCapacity(BigDecimal capacity) {
+        this.capacity = capacity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.capacityunit
+     *
+     * @return the value of project.capacityunit
+     *
+     * @mbg.generated
+     */
+    public String getCapacityunit() {
+        return capacityunit;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.capacityunit
+     *
+     * @param capacityunit the value for project.capacityunit
+     *
+     * @mbg.generated
+     */
+    public void setCapacityunit(String capacityunit) {
+        this.capacityunit = capacityunit == null ? null : capacityunit.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.quantity
+     *
+     * @return the value of project.quantity
+     *
+     * @mbg.generated
+     */
+    public Long getQuantity() {
+        return quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.quantity
+     *
+     * @param quantity the value for project.quantity
+     *
+     * @mbg.generated
+     */
+    public void setQuantity(Long quantity) {
+        this.quantity = quantity;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.model
+     *
+     * @return the value of project.model
+     *
+     * @mbg.generated
+     */
+    public String getModel() {
+        return model;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.model
+     *
+     * @param model the value for project.model
+     *
+     * @mbg.generated
+     */
+    public void setModel(String model) {
+        this.model = model == null ? null : model.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.commissiondate
+     *
+     * @return the value of project.commissiondate
+     *
+     * @mbg.generated
+     */
+    public Date getCommissiondate() {
+        return commissiondate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.commissiondate
+     *
+     * @param commissiondate the value for project.commissiondate
+     *
+     * @mbg.generated
+     */
+    public void setCommissiondate(Date commissiondate) {
+        this.commissiondate = commissiondate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.masterphone
+     *
+     * @return the value of project.masterphone
+     *
+     * @mbg.generated
+     */
+    public String getMasterphone() {
+        return masterphone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.masterphone
+     *
+     * @param masterphone the value for project.masterphone
+     *
+     * @mbg.generated
+     */
+    public void setMasterphone(String masterphone) {
+        this.masterphone = masterphone == null ? null : masterphone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.shiftforeman
+     *
+     * @return the value of project.shiftforeman
+     *
+     * @mbg.generated
+     */
+    public String getShiftforeman() {
+        return shiftforeman;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.shiftforeman
+     *
+     * @param shiftforeman the value for project.shiftforeman
+     *
+     * @mbg.generated
+     */
+    public void setShiftforeman(String shiftforeman) {
+        this.shiftforeman = shiftforeman == null ? null : shiftforeman.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.shiftforemanphone
+     *
+     * @return the value of project.shiftforemanphone
+     *
+     * @mbg.generated
+     */
+    public String getShiftforemanphone() {
+        return shiftforemanphone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.shiftforemanphone
+     *
+     * @param shiftforemanphone the value for project.shiftforemanphone
+     *
+     * @mbg.generated
+     */
+    public void setShiftforemanphone(String shiftforemanphone) {
+        this.shiftforemanphone = shiftforemanphone == null ? null : shiftforemanphone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column project.ordernum
+     *
+     * @return the value of project.ordernum
+     *
+     * @mbg.generated
+     */
+    public Long getOrdernum() {
+        return ordernum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column project.ordernum
+     *
+     * @param ordernum the value for project.ordernum
+     *
+     * @mbg.generated
+     */
+    public void setOrdernum(Long ordernum) {
+        this.ordernum = ordernum;
+    }
+}

File diff suppressed because it is too large
+ 1271 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/ProjectPGExample.java


+ 444 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindturbinePG.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 WindturbinePG implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.id
+     *
+     * @mbg.generated
+     */
+    private String id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.code
+     *
+     * @mbg.generated
+     */
+    private String code;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.windpowerstationid
+     *
+     * @mbg.generated
+     */
+    private String windpowerstationid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.longitude
+     *
+     * @mbg.generated
+     */
+    private BigDecimal longitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.latitude
+     *
+     * @mbg.generated
+     */
+    private BigDecimal latitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.modelid
+     *
+     * @mbg.generated
+     */
+    private String modelid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.status
+     *
+     * @mbg.generated
+     */
+    private String status;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.projectid
+     *
+     * @mbg.generated
+     */
+    private String projectid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.lineid
+     *
+     * @mbg.generated
+     */
+    private String lineid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.firstintegratedtime
+     *
+     * @mbg.generated
+     */
+    private Date firstintegratedtime;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.photo
+     *
+     * @mbg.generated
+     */
+    private String photo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.name
+     *
+     * @mbg.generated
+     */
+    private String name;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column windturbine.standardid
+     *
+     * @mbg.generated
+     */
+    private String standardid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table windturbine
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.id
+     *
+     * @return the value of windturbine.id
+     *
+     * @mbg.generated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.id
+     *
+     * @param id the value for windturbine.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 windturbine.code
+     *
+     * @return the value of windturbine.code
+     *
+     * @mbg.generated
+     */
+    public String getCode() {
+        return code;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.code
+     *
+     * @param code the value for windturbine.code
+     *
+     * @mbg.generated
+     */
+    public void setCode(String code) {
+        this.code = code == null ? null : code.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.windpowerstationid
+     *
+     * @return the value of windturbine.windpowerstationid
+     *
+     * @mbg.generated
+     */
+    public String getWindpowerstationid() {
+        return windpowerstationid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.windpowerstationid
+     *
+     * @param windpowerstationid the value for windturbine.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 windturbine.longitude
+     *
+     * @return the value of windturbine.longitude
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getLongitude() {
+        return longitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.longitude
+     *
+     * @param longitude the value for windturbine.longitude
+     *
+     * @mbg.generated
+     */
+    public void setLongitude(BigDecimal longitude) {
+        this.longitude = longitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.latitude
+     *
+     * @return the value of windturbine.latitude
+     *
+     * @mbg.generated
+     */
+    public BigDecimal getLatitude() {
+        return latitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.latitude
+     *
+     * @param latitude the value for windturbine.latitude
+     *
+     * @mbg.generated
+     */
+    public void setLatitude(BigDecimal latitude) {
+        this.latitude = latitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.modelid
+     *
+     * @return the value of windturbine.modelid
+     *
+     * @mbg.generated
+     */
+    public String getModelid() {
+        return modelid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.modelid
+     *
+     * @param modelid the value for windturbine.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 windturbine.status
+     *
+     * @return the value of windturbine.status
+     *
+     * @mbg.generated
+     */
+    public String getStatus() {
+        return status;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.status
+     *
+     * @param status the value for windturbine.status
+     *
+     * @mbg.generated
+     */
+    public void setStatus(String status) {
+        this.status = status == null ? null : status.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.projectid
+     *
+     * @return the value of windturbine.projectid
+     *
+     * @mbg.generated
+     */
+    public String getProjectid() {
+        return projectid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.projectid
+     *
+     * @param projectid the value for windturbine.projectid
+     *
+     * @mbg.generated
+     */
+    public void setProjectid(String projectid) {
+        this.projectid = projectid == null ? null : projectid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.lineid
+     *
+     * @return the value of windturbine.lineid
+     *
+     * @mbg.generated
+     */
+    public String getLineid() {
+        return lineid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.lineid
+     *
+     * @param lineid the value for windturbine.lineid
+     *
+     * @mbg.generated
+     */
+    public void setLineid(String lineid) {
+        this.lineid = lineid == null ? null : lineid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.firstintegratedtime
+     *
+     * @return the value of windturbine.firstintegratedtime
+     *
+     * @mbg.generated
+     */
+    public Date getFirstintegratedtime() {
+        return firstintegratedtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.firstintegratedtime
+     *
+     * @param firstintegratedtime the value for windturbine.firstintegratedtime
+     *
+     * @mbg.generated
+     */
+    public void setFirstintegratedtime(Date firstintegratedtime) {
+        this.firstintegratedtime = firstintegratedtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.photo
+     *
+     * @return the value of windturbine.photo
+     *
+     * @mbg.generated
+     */
+    public String getPhoto() {
+        return photo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.photo
+     *
+     * @param photo the value for windturbine.photo
+     *
+     * @mbg.generated
+     */
+    public void setPhoto(String photo) {
+        this.photo = photo == null ? null : photo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.name
+     *
+     * @return the value of windturbine.name
+     *
+     * @mbg.generated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.name
+     *
+     * @param name the value for windturbine.name
+     *
+     * @mbg.generated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column windturbine.standardid
+     *
+     * @return the value of windturbine.standardid
+     *
+     * @mbg.generated
+     */
+    public String getStandardid() {
+        return standardid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column windturbine.standardid
+     *
+     * @param standardid the value for windturbine.standardid
+     *
+     * @mbg.generated
+     */
+    public void setStandardid(String standardid) {
+        this.standardid = standardid == null ? null : standardid.trim();
+    }
+}

File diff suppressed because it is too large
+ 1211 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/model/auto/WindturbinePGExample.java


+ 132 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/LinePGService.java

@@ -0,0 +1,132 @@
+package com.gyee.frame.service;
+
+import com.github.pagehelper.PageHelper;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.base.PageInfo;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.LinePGMapper;
+import com.gyee.frame.model.auto.LinePG;
+import com.gyee.frame.model.auto.LinePGExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+@Service
+public class LinePGService implements BaseService<LinePG, LinePGExample> {
+    @Resource
+    private LinePGMapper LinePGMapper;
+
+
+    /**
+     * 分页查询
+     * @param
+     * @param
+     * @return
+     */
+    public PageInfo<LinePG> list(Tablepar tablepar, String name){
+        LinePGExample testExample=new LinePGExample();
+        testExample.setOrderByClause("id ASC");
+        if(name!=null&&!"".equals(name)){
+            testExample.createCriteria().andCodeLike("%"+name+"%");
+        }
+
+        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+        List<LinePG> list= LinePGMapper.selectByExample(testExample);
+        PageInfo<LinePG> pageInfo = new PageInfo<LinePG>(list);
+        return  pageInfo;
+    }
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista= Convert.toListStrArray(ids);
+        LinePGExample example=new LinePGExample();
+        example.createCriteria().andIdIn(lista);
+        return LinePGMapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public LinePG selectByPrimaryKey(String id) {
+
+        return LinePGMapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(LinePG record) {
+        return LinePGMapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(LinePG record) {
+
+        //添加雪花主键id
+        record.setId(SnowflakeIdWorker.getUUID());
+
+
+        return LinePGMapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(LinePG record, LinePGExample example) {
+
+        return LinePGMapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(LinePG record, LinePGExample example) {
+
+        return LinePGMapper.updateByExample(record, example);
+    }
+
+    @Override
+    @DataSource(value = DataSourceType.SLAVE)
+    public List<LinePG> selectByExample(LinePGExample example) {
+
+        return LinePGMapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(LinePGExample example) {
+
+        return LinePGMapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(LinePGExample example) {
+
+        return LinePGMapper.deleteByExample(example);
+    }
+
+    /**
+     * 检查name
+     * @param LinePG
+     * @return
+     */
+    public int checkNameUnique(LinePG LinePG){
+        LinePGExample example=new LinePGExample();
+        example.createCriteria().andCodeEqualTo(LinePG.getCode());
+        List<LinePG> list=LinePGMapper.selectByExample(example);
+        return list.size();
+    }
+
+
+}

+ 2 - 2
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/LineService.java

@@ -30,8 +30,8 @@ public class LineService implements BaseService<Line, LineExample> {
       	   	      	      	      	      	      	      	      	      	      	
 	/**
 	 * 分页查询
-	 * @param pageNum
-	 * @param pageSize
+	 * @param
+	 * @param
 	 * @return
 	 */
 	 public PageInfo<Line> list(Tablepar tablepar, String name){

+ 131 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/ProjectPGService.java

@@ -0,0 +1,131 @@
+package com.gyee.frame.service;
+
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.ProjectPGMapper;
+import com.gyee.frame.model.auto.ProjectPG;
+import com.gyee.frame.model.auto.ProjectPGExample;
+import com.gyee.frame.model.custom.Tablepar;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+@Service
+public class ProjectPGService implements BaseService<ProjectPG, ProjectPGExample> {
+    @Resource
+    private ProjectPGMapper ProjectPGMapper;
+
+
+    /**
+     * 分页查询
+     * @param tablepar
+     * @param name
+     * @return
+     */
+    public PageInfo<ProjectPG> list(Tablepar tablepar, String name){
+        ProjectPGExample testExample=new ProjectPGExample();
+        testExample.setOrderByClause("id ASC");
+        if(name!=null&&!"".equals(name)){
+            testExample.createCriteria().andCodeLike("%"+name+"%");
+        }
+
+        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+        List<ProjectPG> list= ProjectPGMapper.selectByExample(testExample);
+        PageInfo<ProjectPG> pageInfo = new PageInfo<ProjectPG>(list);
+        return  pageInfo;
+    }
+
+    @Override
+    public int deleteByPrimaryKey(String ids) {
+
+        List<String> lista= Convert.toListStrArray(ids);
+        ProjectPGExample example=new ProjectPGExample();
+        example.createCriteria().andIdIn(lista);
+        return ProjectPGMapper.deleteByExample(example);
+
+
+    }
+
+
+    @Override
+    public ProjectPG selectByPrimaryKey(String id) {
+
+        return ProjectPGMapper.selectByPrimaryKey(id);
+
+    }
+
+
+    @Override
+    public int updateByPrimaryKeySelective(ProjectPG record) {
+        return ProjectPGMapper.updateByPrimaryKeySelective(record);
+    }
+
+
+    /**
+     * 添加
+     */
+    @Override
+    public int insertSelective(ProjectPG record) {
+
+        //添加雪花主键id
+        record.setId(SnowflakeIdWorker.getUUID());
+
+
+        return ProjectPGMapper.insertSelective(record);
+    }
+
+
+    @Override
+    public int updateByExampleSelective(ProjectPG record, ProjectPGExample example) {
+
+        return ProjectPGMapper.updateByExampleSelective(record, example);
+    }
+
+
+    @Override
+    public int updateByExample(ProjectPG record, ProjectPGExample example) {
+
+        return ProjectPGMapper.updateByExample(record, example);
+    }
+
+    @Override
+    @DataSource(value = DataSourceType.SLAVE)
+    public List<ProjectPG> selectByExample(ProjectPGExample example) {
+
+        return ProjectPGMapper.selectByExample(example);
+    }
+
+
+    @Override
+    public long countByExample(ProjectPGExample example) {
+
+        return ProjectPGMapper.countByExample(example);
+    }
+
+
+    @Override
+    public int deleteByExample(ProjectPGExample example) {
+
+        return ProjectPGMapper.deleteByExample(example);
+    }
+
+    /**
+     * 检查name
+     * @param ProjectPG
+     * @return
+     */
+    public int checkNameUnique(ProjectPG ProjectPG){
+        ProjectPGExample example=new ProjectPGExample();
+        example.createCriteria().andCodeEqualTo(ProjectPG.getCode());
+        List<ProjectPG> list=ProjectPGMapper.selectByExample(example);
+        return list.size();
+    }
+
+
+}

+ 33 - 4
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/WindpowerstationPGService.java

@@ -1,13 +1,14 @@
 package com.gyee.frame.service;
 
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
 import com.gyee.common.model.StringUtils;
 import com.gyee.frame.common.base.BaseService;
 import com.gyee.frame.common.dataSources.DataSource;
 import com.gyee.frame.common.dataSources.DataSourceType;
 import com.gyee.frame.mapper.auto.WindpowerstationPGMapper;
-import com.gyee.frame.model.auto.WindpowerstationPG;
-import com.gyee.frame.model.auto.WindpowerstationPGExample;
+import com.gyee.frame.model.auto.*;
+import com.gyee.frame.model.custom.Tablepar;
 import com.gyee.frame.util.MathUtil;
 import org.springframework.stereotype.Service;
 
@@ -53,8 +54,9 @@ public class WindpowerstationPGService implements BaseService<WindpowerstationPG
     }
 
     @Override
+    @DataSource(value = DataSourceType.SLAVE)
     public List<WindpowerstationPG> selectByExample(WindpowerstationPGExample example) {
-        return null;
+        return windpowerstationPGMapper.selectByExample(example);
     }
 
     @Override
@@ -93,6 +95,33 @@ public class WindpowerstationPGService implements BaseService<WindpowerstationPG
 
     }
     @DataSource(value = DataSourceType.SLAVE)
+    public PageInfo<WindpowerstationPG> list(Tablepar tablepar, String name){
+        WindpowerstationPGExample testExample=new WindpowerstationPGExample();
+        testExample.setOrderByClause("id ASC");
+        if(name!=null&&!"".equals(name)){
+            testExample.createCriteria().andCodeLike("%"+name+"%");
+        }
+
+        PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+        List<WindpowerstationPG> list= windpowerstationPGMapper.selectByExample(testExample);
+        PageInfo<WindpowerstationPG> pageInfo = new PageInfo<WindpowerstationPG>(list);
+        return  pageInfo;
+    }
+    @DataSource(value = DataSourceType.SLAVE)
+    public List<WindpowerstationPG> findstationPG() {
+
+        List<WindpowerstationPG> list=new ArrayList<>();
+
+        WindpowerstationPGExample example=new WindpowerstationPGExample();
+        example.setOrderByClause(" id asc");
+
+        WindpowerstationPGExample.Criteria criteria =example.createCriteria();
+        criteria.andIdEqualTo("QJNY");
+        list= windpowerstationPGMapper.selectByExample(example);
+        return list;
+
+    }
+    @DataSource(value = DataSourceType.SLAVE)
     public List<Map> hso() {
 //        QueryWrapper<WindpowerstationPGPG> qw = new QueryWrapper<>();
 //        List<WindpowerstationPGPG> list = baseMapper.selectList(qw);

+ 99 - 0
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/WindturbinePGService.java

@@ -0,0 +1,99 @@
+package com.gyee.frame.service;
+
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.dataSources.DataSource;
+import com.gyee.frame.common.dataSources.DataSourceType;
+import com.gyee.frame.mapper.auto.WindturbinePGMapper;
+import com.gyee.frame.model.auto.Windturbine;
+import com.gyee.frame.model.auto.WindturbineExample;
+import com.gyee.frame.model.auto.WindturbinePG;
+import com.gyee.frame.model.auto.WindturbinePGExample;
+import com.gyee.frame.model.custom.Tablepar;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.ArrayList;
+import java.util.List;
+
+    @Service
+    public class WindturbinePGService implements BaseService<WindturbinePG, WindturbinePGExample> {
+
+        @Resource
+        private WindturbinePGMapper WindturbinePGMapper;
+        @Override
+        public int deleteByPrimaryKey(String id) {
+            return 0;
+        }
+
+        @Override
+        public int insertSelective(WindturbinePG record) {
+            return 0;
+        }
+
+        @Override
+        public WindturbinePG selectByPrimaryKey(String id) {
+            return null;
+        }
+
+        @Override
+        public int updateByPrimaryKeySelective(WindturbinePG record) {
+            return 0;
+        }
+
+        @Override
+        public int updateByExampleSelective(WindturbinePG record, WindturbinePGExample example) {
+            return 0;
+        }
+
+        @Override
+        public int updateByExample(WindturbinePG record, WindturbinePGExample example) {
+            return 0;
+        }
+
+        @Override
+        @DataSource(value = DataSourceType.SLAVE)
+        public List<WindturbinePG> selectByExample(WindturbinePGExample example) {
+            return WindturbinePGMapper.selectByExample(example);
+        }
+
+        @Override
+        public long countByExample(WindturbinePGExample example) {
+            return 0;
+        }
+
+        @Override
+        public int deleteByExample(WindturbinePGExample example) {
+            return 0;
+        }
+
+
+        @DataSource(value = DataSourceType.SLAVE)
+        public List<WindturbinePG> findWindturbinePG(String windpowerstationid,String projectid,String id ) {
+
+            List<WindturbinePG> list=new ArrayList<>();
+
+            WindturbinePGExample example=new WindturbinePGExample();
+            example.setOrderByClause(" id asc");
+            WindturbinePGExample.Criteria criteria =example.createCriteria();
+
+            list= WindturbinePGMapper.selectByExample(example);
+            return list;
+
+        }
+        @DataSource(value = DataSourceType.SLAVE)
+        public PageInfo<WindturbinePG> list(Tablepar tablepar, String name){
+            WindturbinePGExample testExample=new WindturbinePGExample();
+            testExample.setOrderByClause("id ASC");
+            if(name!=null&&!"".equals(name)){
+                testExample.createCriteria().andCodeLike("%"+name+"%");
+            }
+
+            PageHelper.startPage(tablepar.getPageNum(), tablepar.getPageSize());
+            List<WindturbinePG> list= WindturbinePGMapper.selectByExample(testExample);
+            PageInfo<WindturbinePG> pageInfo = new PageInfo<WindturbinePG>(list);
+            return  pageInfo;
+        }
+
+    }

File diff suppressed because it is too large
+ 379 - 388
web/monitor-web-sxjn/src/main/java/com/gyee/frame/service/websocket/GenreSetPushService.java


+ 335 - 0
web/monitor-web-sxjn/src/main/resources/mybatis/auto/LinePGMapper.xml

@@ -0,0 +1,335 @@
+<?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.LinePGMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.LinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="code" jdbcType="VARCHAR" property="code" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="aname" jdbcType="VARCHAR" property="aname" />
+    <result column="projectid" jdbcType="VARCHAR" property="projectid" />
+    <result column="ordernum" jdbcType="NUMERIC" property="ordernum" />
+    <result column="capacity" jdbcType="NUMERIC" property="capacity" />
+    <result column="capacityunit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantity" jdbcType="NUMERIC" property="quantity" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, code, name, aname, projectid, ordernum, capacity, capacityunit, quantity
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.LinePGExample" 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 line
+    <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 line
+    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 line
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.LinePGExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from line
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.LinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into line (id, code, name, 
+      aname, projectid, ordernum, 
+      capacity, capacityunit, quantity
+      )
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{aname,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{ordernum,jdbcType=NUMERIC}, 
+      #{capacity,jdbcType=NUMERIC}, #{capacityunit,jdbcType=VARCHAR}, #{quantity,jdbcType=NUMERIC}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.LinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into line
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="code != null">
+        code,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="aname != null">
+        aname,
+      </if>
+      <if test="projectid != null">
+        projectid,
+      </if>
+      <if test="ordernum != null">
+        ordernum,
+      </if>
+      <if test="capacity != null">
+        capacity,
+      </if>
+      <if test="capacityunit != null">
+        capacityunit,
+      </if>
+      <if test="quantity != null">
+        quantity,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="code != null">
+        #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="capacity != null">
+        #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        #{quantity,jdbcType=NUMERIC},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.LinePGExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from line
+    <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 line
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.code != null">
+        code = #{record.code,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.aname != null">
+        aname = #{record.aname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        projectid = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ordernum = #{record.ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="record.capacity != null">
+        capacity = #{record.capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.capacityunit != null">
+        capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.quantity != null">
+        quantity = #{record.quantity,jdbcType=NUMERIC},
+      </if>
+    </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 line
+    set id = #{record.id,jdbcType=VARCHAR},
+      code = #{record.code,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      aname = #{record.aname,jdbcType=VARCHAR},
+      projectid = #{record.projectid,jdbcType=VARCHAR},
+      ordernum = #{record.ordernum,jdbcType=NUMERIC},
+      capacity = #{record.capacity,jdbcType=NUMERIC},
+      capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      quantity = #{record.quantity,jdbcType=NUMERIC}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.LinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update line
+    <set>
+      <if test="code != null">
+        code = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        aname = #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectid = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ordernum = #{ordernum,jdbcType=NUMERIC},
+      </if>
+      <if test="capacity != null">
+        capacity = #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        capacityunit = #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        quantity = #{quantity,jdbcType=NUMERIC},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.LinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update line
+    set code = #{code,jdbcType=VARCHAR},
+      name = #{name,jdbcType=VARCHAR},
+      aname = #{aname,jdbcType=VARCHAR},
+      projectid = #{projectid,jdbcType=VARCHAR},
+      ordernum = #{ordernum,jdbcType=NUMERIC},
+      capacity = #{capacity,jdbcType=NUMERIC},
+      capacityunit = #{capacityunit,jdbcType=VARCHAR},
+      quantity = #{quantity,jdbcType=NUMERIC}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 325 - 0
web/monitor-web-sxjn/src/main/resources/mybatis/auto/ProjectPGMapper.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.ProjectPGMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ProjectPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="code" jdbcType="VARCHAR" property="code" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="aname" jdbcType="VARCHAR" property="aname" />
+    <result column="windpowerstationid" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="capacity" jdbcType="NUMERIC" property="capacity" />
+    <result column="capacityunit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantity" jdbcType="NUMERIC" property="quantity" />
+    <result column="model" jdbcType="VARCHAR" property="model" />
+    <result column="commissiondate" jdbcType="DATE" property="commissiondate" />
+    <result column="masterphone" jdbcType="VARCHAR" property="masterphone" />
+    <result column="shiftforeman" jdbcType="VARCHAR" property="shiftforeman" />
+    <result column="shiftforemanphone" jdbcType="VARCHAR" property="shiftforemanphone" />
+    <result column="ordernum" jdbcType="NUMERIC" property="ordernum" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, code, name, aname, windpowerstationid, capacity, capacityunit, quantity, model, 
+    commissiondate, masterphone, shiftforeman, shiftforemanphone, ordernum
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ProjectPGExample" 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 project
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ProjectPGExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from project
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ProjectPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into project (id, code, name, 
+      aname, windpowerstationid, capacity, 
+      capacityunit, quantity, model, 
+      commissiondate, masterphone, shiftforeman, 
+      shiftforemanphone, ordernum)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{aname,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{capacity,jdbcType=NUMERIC}, 
+      #{capacityunit,jdbcType=VARCHAR}, #{quantity,jdbcType=NUMERIC}, #{model,jdbcType=VARCHAR}, 
+      #{commissiondate,jdbcType=DATE}, #{masterphone,jdbcType=VARCHAR}, #{shiftforeman,jdbcType=VARCHAR}, 
+      #{shiftforemanphone,jdbcType=VARCHAR}, #{ordernum,jdbcType=NUMERIC})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ProjectPG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into project
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="code != null">
+        code,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="aname != null">
+        aname,
+      </if>
+      <if test="windpowerstationid != null">
+        windpowerstationid,
+      </if>
+      <if test="capacity != null">
+        capacity,
+      </if>
+      <if test="capacityunit != null">
+        capacityunit,
+      </if>
+      <if test="quantity != null">
+        quantity,
+      </if>
+      <if test="model != null">
+        model,
+      </if>
+      <if test="commissiondate != null">
+        commissiondate,
+      </if>
+      <if test="masterphone != null">
+        masterphone,
+      </if>
+      <if test="shiftforeman != null">
+        shiftforeman,
+      </if>
+      <if test="shiftforemanphone != null">
+        shiftforemanphone,
+      </if>
+      <if test="ordernum != null">
+        ordernum,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="code != null">
+        #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="capacity != null">
+        #{capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        #{quantity,jdbcType=NUMERIC},
+      </if>
+      <if test="model != null">
+        #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="commissiondate != null">
+        #{commissiondate,jdbcType=DATE},
+      </if>
+      <if test="masterphone != null">
+        #{masterphone,jdbcType=VARCHAR},
+      </if>
+      <if test="shiftforeman != null">
+        #{shiftforeman,jdbcType=VARCHAR},
+      </if>
+      <if test="shiftforemanphone != null">
+        #{shiftforemanphone,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=NUMERIC},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ProjectPGExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from project
+    <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 project
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.code != null">
+        code = #{record.code,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.aname != null">
+        aname = #{record.aname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.capacity != null">
+        capacity = #{record.capacity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.capacityunit != null">
+        capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.quantity != null">
+        quantity = #{record.quantity,jdbcType=NUMERIC},
+      </if>
+      <if test="record.model != null">
+        model = #{record.model,jdbcType=VARCHAR},
+      </if>
+      <if test="record.commissiondate != null">
+        commissiondate = #{record.commissiondate,jdbcType=DATE},
+      </if>
+      <if test="record.masterphone != null">
+        masterphone = #{record.masterphone,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shiftforeman != null">
+        shiftforeman = #{record.shiftforeman,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shiftforemanphone != null">
+        shiftforemanphone = #{record.shiftforemanphone,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ordernum = #{record.ordernum,jdbcType=NUMERIC},
+      </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 project
+    set id = #{record.id,jdbcType=VARCHAR},
+      code = #{record.code,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      aname = #{record.aname,jdbcType=VARCHAR},
+      windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
+      capacity = #{record.capacity,jdbcType=NUMERIC},
+      capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      quantity = #{record.quantity,jdbcType=NUMERIC},
+      model = #{record.model,jdbcType=VARCHAR},
+      commissiondate = #{record.commissiondate,jdbcType=DATE},
+      masterphone = #{record.masterphone,jdbcType=VARCHAR},
+      shiftforeman = #{record.shiftforeman,jdbcType=VARCHAR},
+      shiftforemanphone = #{record.shiftforemanphone,jdbcType=VARCHAR},
+      ordernum = #{record.ordernum,jdbcType=NUMERIC}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+</mapper>

+ 398 - 0
web/monitor-web-sxjn/src/main/resources/mybatis/auto/WindturbinePGMapper.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.WindturbinePGMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.WindturbinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="code" jdbcType="VARCHAR" property="code" />
+    <result column="windpowerstationid" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="longitude" jdbcType="NUMERIC" property="longitude" />
+    <result column="latitude" jdbcType="NUMERIC" property="latitude" />
+    <result column="modelid" jdbcType="VARCHAR" property="modelid" />
+    <result column="status" jdbcType="VARCHAR" property="status" />
+    <result column="projectid" jdbcType="VARCHAR" property="projectid" />
+    <result column="lineid" jdbcType="VARCHAR" property="lineid" />
+    <result column="firstintegratedtime" jdbcType="DATE" property="firstintegratedtime" />
+    <result column="photo" jdbcType="VARCHAR" property="photo" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="standardid" jdbcType="VARCHAR" property="standardid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, code, windpowerstationid, longitude, latitude, modelid, status, projectid, lineid, 
+    firstintegratedtime, photo, name, standardid
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.WindturbinePGExample" 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 windturbine
+    <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 windturbine
+    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 windturbine
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.WindturbinePGExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from windturbine
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.WindturbinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbine (id, code, windpowerstationid, 
+      longitude, latitude, modelid, 
+      status, projectid, lineid, 
+      firstintegratedtime, photo, name, 
+      standardid)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, 
+      #{longitude,jdbcType=NUMERIC}, #{latitude,jdbcType=NUMERIC}, #{modelid,jdbcType=VARCHAR}, 
+      #{status,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{lineid,jdbcType=VARCHAR}, 
+      #{firstintegratedtime,jdbcType=DATE}, #{photo,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{standardid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.WindturbinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into windturbine
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="code != null">
+        code,
+      </if>
+      <if test="windpowerstationid != null">
+        windpowerstationid,
+      </if>
+      <if test="longitude != null">
+        longitude,
+      </if>
+      <if test="latitude != null">
+        latitude,
+      </if>
+      <if test="modelid != null">
+        modelid,
+      </if>
+      <if test="status != null">
+        status,
+      </if>
+      <if test="projectid != null">
+        projectid,
+      </if>
+      <if test="lineid != null">
+        lineid,
+      </if>
+      <if test="firstintegratedtime != null">
+        firstintegratedtime,
+      </if>
+      <if test="photo != null">
+        photo,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="standardid != null">
+        standardid,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="code != null">
+        #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="longitude != null">
+        #{longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="latitude != null">
+        #{latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        #{status,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="firstintegratedtime != null">
+        #{firstintegratedtime,jdbcType=DATE},
+      </if>
+      <if test="photo != null">
+        #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="standardid != null">
+        #{standardid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.WindturbinePGExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from windturbine
+    <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 windturbine
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.code != null">
+        code = #{record.code,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.longitude != null">
+        longitude = #{record.longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="record.latitude != null">
+        latitude = #{record.latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="record.modelid != null">
+        modelid = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.status != null">
+        status = #{record.status,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        projectid = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lineid != null">
+        lineid = #{record.lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.firstintegratedtime != null">
+        firstintegratedtime = #{record.firstintegratedtime,jdbcType=DATE},
+      </if>
+      <if test="record.photo != null">
+        photo = #{record.photo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.standardid != null">
+        standardid = #{record.standardid,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 windturbine
+    set id = #{record.id,jdbcType=VARCHAR},
+      code = #{record.code,jdbcType=VARCHAR},
+      windpowerstationid = #{record.windpowerstationid,jdbcType=VARCHAR},
+      longitude = #{record.longitude,jdbcType=NUMERIC},
+      latitude = #{record.latitude,jdbcType=NUMERIC},
+      modelid = #{record.modelid,jdbcType=VARCHAR},
+      status = #{record.status,jdbcType=VARCHAR},
+      projectid = #{record.projectid,jdbcType=VARCHAR},
+      lineid = #{record.lineid,jdbcType=VARCHAR},
+      firstintegratedtime = #{record.firstintegratedtime,jdbcType=DATE},
+      photo = #{record.photo,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      standardid = #{record.standardid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.WindturbinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbine
+    <set>
+      <if test="code != null">
+        code = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        windpowerstationid = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="longitude != null">
+        longitude = #{longitude,jdbcType=NUMERIC},
+      </if>
+      <if test="latitude != null">
+        latitude = #{latitude,jdbcType=NUMERIC},
+      </if>
+      <if test="modelid != null">
+        modelid = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        status = #{status,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectid = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        lineid = #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="firstintegratedtime != null">
+        firstintegratedtime = #{firstintegratedtime,jdbcType=DATE},
+      </if>
+      <if test="photo != null">
+        photo = #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="standardid != null">
+        standardid = #{standardid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.WindturbinePG">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update windturbine
+    set code = #{code,jdbcType=VARCHAR},
+      windpowerstationid = #{windpowerstationid,jdbcType=VARCHAR},
+      longitude = #{longitude,jdbcType=NUMERIC},
+      latitude = #{latitude,jdbcType=NUMERIC},
+      modelid = #{modelid,jdbcType=VARCHAR},
+      status = #{status,jdbcType=VARCHAR},
+      projectid = #{projectid,jdbcType=VARCHAR},
+      lineid = #{lineid,jdbcType=VARCHAR},
+      firstintegratedtime = #{firstintegratedtime,jdbcType=DATE},
+      photo = #{photo,jdbcType=VARCHAR},
+      name = #{name,jdbcType=VARCHAR},
+      standardid = #{standardid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>