Browse Source

添加晋健康管理模块

shilin 2 years ago
parent
commit
07083db1fe
100 changed files with 36731 additions and 0 deletions
  1. 1091 0
      web/health-jn/doc/springbootv2.sql
  2. 525 0
      web/health-jn/pom.xml
  3. 62 0
      web/health-jn/src/main/resources/META-INF/MANIFEST.MF
  4. 127 0
      web/health-jn/src/main/resources/application-dev.yml
  5. 212 0
      web/health-jn/src/main/resources/application-hb.yml
  6. 214 0
      web/health-jn/src/main/resources/application-hf.yml
  7. 217 0
      web/health-jn/src/main/resources/application-hwy.yml
  8. 103 0
      web/health-jn/src/main/resources/application-prod.yml
  9. 4 0
      web/health-jn/src/main/resources/banner.txt
  10. 3 0
      web/health-jn/src/main/resources/config/leader.properties
  11. 3 0
      web/health-jn/src/main/resources/config/status.properties
  12. 27 0
      web/health-jn/src/main/resources/ehcache/ehcache-shiro.xml
  13. 1 0
      web/health-jn/src/main/resources/generator/MyBatisGenerator/1.bat
  14. 74 0
      web/health-jn/src/main/resources/generator/MyBatisGenerator/generator.xml
  15. BIN
      web/health-jn/src/main/resources/generator/MyBatisGenerator/mybatis-generator-core-1.3.2.jar
  16. BIN
      web/health-jn/src/main/resources/generator/MyBatisGenerator/mybatis-generator-core-1.3.7.jar
  17. BIN
      web/health-jn/src/main/resources/generator/MyBatisGenerator/mysqldriver.jar
  18. 117 0
      web/health-jn/src/main/resources/mybatis-generator.xml
  19. 25 0
      web/health-jn/src/main/resources/mybatis/FanStatusQueryExportMapper/FanStatusQueryExportMapper.xml
  20. 351 0
      web/health-jn/src/main/resources/mybatis/auto/ActivePowerDataMapper.xml
  21. 219 0
      web/health-jn/src/main/resources/mybatis/auto/AlarmcountMapper.xml
  22. 528 0
      web/health-jn/src/main/resources/mybatis/auto/AlarmsnapMapper.xml
  23. 496 0
      web/health-jn/src/main/resources/mybatis/auto/Alertrule2Mapper.xml
  24. 318 0
      web/health-jn/src/main/resources/mybatis/auto/AlertrulefailureMapper.xml
  25. 376 0
      web/health-jn/src/main/resources/mybatis/auto/AnalysissubtablebottomMapper.xml
  26. 478 0
      web/health-jn/src/main/resources/mybatis/auto/Brownoutsevent2Mapper.xml
  27. 809 0
      web/health-jn/src/main/resources/mybatis/auto/CompaniesMapper.xml
  28. 241 0
      web/health-jn/src/main/resources/mybatis/auto/CompanysMapper.xml
  29. 336 0
      web/health-jn/src/main/resources/mybatis/auto/CurvefittingmainMapper.xml
  30. 351 0
      web/health-jn/src/main/resources/mybatis/auto/CurvefittingmonthmainMapper.xml
  31. 351 0
      web/health-jn/src/main/resources/mybatis/auto/CurvefittingsubMapper.xml
  32. 318 0
      web/health-jn/src/main/resources/mybatis/auto/DailyratingmainMapper.xml
  33. 398 0
      web/health-jn/src/main/resources/mybatis/auto/Daylygradeassessmentmain2Mapper.xml
  34. 866 0
      web/health-jn/src/main/resources/mybatis/auto/EarlywarningmainMapper.xml
  35. 445 0
      web/health-jn/src/main/resources/mybatis/auto/EliminatingeqMapper.xml
  36. 1020 0
      web/health-jn/src/main/resources/mybatis/auto/EquipmentSqlMapper.xml
  37. 398 0
      web/health-jn/src/main/resources/mybatis/auto/EquipmentmodelMapper.xml
  38. 582 0
      web/health-jn/src/main/resources/mybatis/auto/EquoperationrecordMapper.xml
  39. 864 0
      web/health-jn/src/main/resources/mybatis/auto/FailurestatisticsmainMapper.xml
  40. 366 0
      web/health-jn/src/main/resources/mybatis/auto/FaultEliminateDefectsMapper.xml
  41. 271 0
      web/health-jn/src/main/resources/mybatis/auto/ForecaststationtandardpointMapper.xml
  42. 366 0
      web/health-jn/src/main/resources/mybatis/auto/ForecastwindspeedMapper.xml
  43. 360 0
      web/health-jn/src/main/resources/mybatis/auto/HealthpointMapper.xml
  44. 1628 0
      web/health-jn/src/main/resources/mybatis/auto/Inputoroutputspeedtotal2Mapper.xml
  45. 1324 0
      web/health-jn/src/main/resources/mybatis/auto/InputoroutputspeedtotalMapper.xml
  46. 572 0
      web/health-jn/src/main/resources/mybatis/auto/InventoryMapper.xml
  47. 336 0
      web/health-jn/src/main/resources/mybatis/auto/LineMapper.xml
  48. 232 0
      web/health-jn/src/main/resources/mybatis/auto/LossPowerRateMapper.xml
  49. 398 0
      web/health-jn/src/main/resources/mybatis/auto/MainBrownouts2Mapper.xml
  50. 271 0
      web/health-jn/src/main/resources/mybatis/auto/ManufacturerMapper.xml
  51. 461 0
      web/health-jn/src/main/resources/mybatis/auto/MetricsMapper.xml
  52. 303 0
      web/health-jn/src/main/resources/mybatis/auto/MetricsUniformCodeMapper.xml
  53. 224 0
      web/health-jn/src/main/resources/mybatis/auto/MismapSqlMapper.xml
  54. 271 0
      web/health-jn/src/main/resources/mybatis/auto/ModelPowerMapper.xml
  55. 271 0
      web/health-jn/src/main/resources/mybatis/auto/ModelpowerRdMapper.xml
  56. 430 0
      web/health-jn/src/main/resources/mybatis/auto/Monthlygradeassessmentmain2Mapper.xml
  57. 398 0
      web/health-jn/src/main/resources/mybatis/auto/P3DeviceFaultMapper.xml
  58. 683 0
      web/health-jn/src/main/resources/mybatis/auto/P3TaskMapper.xml
  59. 219 0
      web/health-jn/src/main/resources/mybatis/auto/PartBjCountMapper.xml
  60. 233 0
      web/health-jn/src/main/resources/mybatis/auto/PartBjCountSubMapper.xml
  61. 1645 0
      web/health-jn/src/main/resources/mybatis/auto/PartstatisticsmainMapper.xml
  62. 335 0
      web/health-jn/src/main/resources/mybatis/auto/ParttemperaturesubMapper.xml
  63. 867 0
      web/health-jn/src/main/resources/mybatis/auto/PolineMapper.xml
  64. 413 0
      web/health-jn/src/main/resources/mybatis/auto/ProjectMapper.xml
  65. 303 0
      web/health-jn/src/main/resources/mybatis/auto/ProjectPlanMapper.xml
  66. 483 0
      web/health-jn/src/main/resources/mybatis/auto/RecommenmainMapper.xml
  67. 499 0
      web/health-jn/src/main/resources/mybatis/auto/RecommenmainMsSqlMapper.xml
  68. 241 0
      web/health-jn/src/main/resources/mybatis/auto/RegionMapper.xml
  69. 318 0
      web/health-jn/src/main/resources/mybatis/auto/ShbrUserMapper.xml
  70. 256 0
      web/health-jn/src/main/resources/mybatis/auto/ShbraceletPointkeyMapper.xml
  71. 256 0
      web/health-jn/src/main/resources/mybatis/auto/ShbraceletUserMapper.xml
  72. 493 0
      web/health-jn/src/main/resources/mybatis/auto/Shutdownevent2Mapper.xml
  73. 542 0
      web/health-jn/src/main/resources/mybatis/auto/ShutdowneventMapper.xml
  74. 365 0
      web/health-jn/src/main/resources/mybatis/auto/Statejudgmentrecord2Mapper.xml
  75. 256 0
      web/health-jn/src/main/resources/mybatis/auto/StatejudgmentrecordMapper.xml
  76. 644 0
      web/health-jn/src/main/resources/mybatis/auto/StatetransitionratesMapper.xml
  77. 335 0
      web/health-jn/src/main/resources/mybatis/auto/StopAnalysisDetailMapper.xml
  78. 311 0
      web/health-jn/src/main/resources/mybatis/auto/StopAnalysisDetailVoMapper.xml
  79. 271 0
      web/health-jn/src/main/resources/mybatis/auto/StopAnalysisMapper.xml
  80. 271 0
      web/health-jn/src/main/resources/mybatis/auto/StopAnalysismainMapper.xml
  81. 265 0
      web/health-jn/src/main/resources/mybatis/auto/StopAnalysismainVoMapper.xml
  82. 271 0
      web/health-jn/src/main/resources/mybatis/auto/StoptypeMapper.xml
  83. 325 0
      web/health-jn/src/main/resources/mybatis/auto/SysAreaMapper.xml
  84. 325 0
      web/health-jn/src/main/resources/mybatis/auto/SysCityMapper.xml
  85. 318 0
      web/health-jn/src/main/resources/mybatis/auto/SysDepartmentMapper.xml
  86. 296 0
      web/health-jn/src/main/resources/mybatis/auto/SysNoticeMapper.xml
  87. 236 0
      web/health-jn/src/main/resources/mybatis/auto/SysNoticeUserMapper.xml
  88. 236 0
      web/health-jn/src/main/resources/mybatis/auto/SysPositionMapper.xml
  89. 308 0
      web/health-jn/src/main/resources/mybatis/auto/SysProvinceMapper.xml
  90. 336 0
      web/health-jn/src/main/resources/mybatis/auto/SysQuartzJobLogMapper.xml
  91. 314 0
      web/health-jn/src/main/resources/mybatis/auto/SysQuartzJobMapper.xml
  92. 396 0
      web/health-jn/src/main/resources/mybatis/auto/SysStreetMapper.xml
  93. 437 0
      web/health-jn/src/main/resources/mybatis/auto/TSysDictDataMapper.xml
  94. 336 0
      web/health-jn/src/main/resources/mybatis/auto/TSysDictTypeMapper.xml
  95. 245 0
      web/health-jn/src/main/resources/mybatis/auto/TSysEmailMapper.xml
  96. 181 0
      web/health-jn/src/main/resources/mybatis/auto/TSysRoleUserMapper.xml
  97. 241 0
      web/health-jn/src/main/resources/mybatis/auto/TaosMapMapper.xml
  98. 213 0
      web/health-jn/src/main/resources/mybatis/auto/TsysDatasMapper.xml
  99. 181 0
      web/health-jn/src/main/resources/mybatis/auto/TsysFileDataMapper.xml
  100. 0 0
      web/health-jn/src/main/resources/mybatis/auto/TsysFileMapper.xml

File diff suppressed because it is too large
+ 1091 - 0
web/health-jn/doc/springbootv2.sql


+ 525 - 0
web/health-jn/pom.xml

@@ -0,0 +1,525 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>web</artifactId>
+        <groupId>com.gyee</groupId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>health-jn</artifactId>
+
+
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <java.version>1.8</java.version>
+        <commons.fileupload.version>1.3.3</commons.fileupload.version>
+        <commons.io.version>2.5</commons.io.version>
+        <tomcat.version>9.0.35</tomcat.version>
+        <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
+        <spring-cloud-alibaba.version>2.2.5.RELEASE</spring-cloud-alibaba.version>
+        <pgsql.version>42.2.5</pgsql.version>
+    </properties>
+
+    <!-- https://mvnrepository.com/ 查找jar网站 -->
+    <dependencies>
+        <!-- SpringBoot Web容器 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <!-- SpringBoot集成mybatis框架 -->
+        <dependency>
+            <groupId>org.mybatis.spring.boot</groupId>
+            <artifactId>mybatis-spring-boot-starter</artifactId>
+            <version>1.3.2</version>
+        </dependency>
+        <!--		<dependency>-->
+        <!--			<groupId>org.mybatis.caches</groupId>-->
+        <!--			<artifactId>mybatis-ehcache</artifactId>-->
+        <!--			<version>1.2.1</version>-->
+        <!--		</dependency>-->
+        <!-- SpringBoot 测试 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <!-- 添加swagger2 -->
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>2.9.2</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>io.swagger</groupId>
+                    <artifactId>swagger-annotations</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>io.swagger</groupId>
+                    <artifactId>swagger-models</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger-ui</artifactId>
+            <version>2.9.2</version>
+        </dependency>
+        <dependency>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-annotations</artifactId>
+            <version>1.5.21</version>
+        </dependency>
+        <dependency>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-models</artifactId>
+            <version>1.5.21</version>
+        </dependency>
+
+        <!-- https://mvnrepository.com/artifact/io.github.swagger2markup/swagger2markup -->
+
+        <dependency>
+            <groupId>io.swagger</groupId>
+            <artifactId>swagger-core</artifactId>
+            <version>1.6.2</version>
+        </dependency>
+        <!--GSON -->
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+        </dependency>
+        <!-- pageHelper -->
+        <dependency>
+            <groupId>com.github.pagehelper</groupId>
+            <artifactId>pagehelper-spring-boot-starter</artifactId>
+            <version>1.2.5</version>
+        </dependency>
+        <!-- mysql驱动7.0-->
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.oracle</groupId>
+            <artifactId>ojdbc6</artifactId>
+            <version>11.2.0.3</version>
+        </dependency>
+        <dependency>
+            <groupId>com.microsoft.sqlserver</groupId>
+            <artifactId>sqljdbc4</artifactId>
+            <version>4.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.taosdata.jdbc</groupId>
+            <artifactId>taos-jdbcdriver</artifactId>
+            <version>2.0.30</version>
+        </dependency>
+        <!-- mysql驱动8.0
+         <dependency>
+             <groupId>mysql</groupId>
+             <artifactId>mysql-connector-java</artifactId>
+            <version>8.0.11</version>
+         </dependency>
+         -->
+        <!--druid 数据源监控-->
+        <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid-spring-boot-starter</artifactId>
+            <version>1.1.10</version>
+        </dependency>
+        <!-- shiro权限 -->
+        <dependency>
+            <groupId>org.apache.shiro</groupId>
+            <artifactId>shiro-spring</artifactId>
+            <version>1.4.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-aop</artifactId>
+        </dependency>
+        <!-- shiro权限支持thymeleaf -->
+        <dependency>
+            <groupId>com.github.theborakompanioni</groupId>
+            <artifactId>thymeleaf-extras-shiro</artifactId>
+            <version>2.0.0</version>
+        </dependency>
+
+        <!-- thymeleaf模版 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-thymeleaf</artifactId>
+        </dependency>
+
+        <!--常用工具类 -->
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <version>2.4</version>
+        </dependency>
+
+        <!--io常用工具类 -->
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>${commons.io.version}</version>
+        </dependency>
+
+        <!--文件上传工具类 -->
+        <dependency>
+            <groupId>commons-fileupload</groupId>
+            <artifactId>commons-fileupload</artifactId>
+            <version>${commons.fileupload.version}</version>
+        </dependency>
+
+
+        <!-- 热部署 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-devtools</artifactId>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- Hutool是一个Java工具包 http://hutool.cn/ -->
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>4.1.12</version>
+        </dependency>
+        <!-- google验证码 -->
+        <dependency>
+            <groupId>com.github.penggle</groupId>
+            <artifactId>kaptcha</artifactId>
+            <version>2.3.2</version>
+        </dependency>
+        <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
+        <dependency>
+            <groupId>org.apache.velocity</groupId>
+            <artifactId>velocity</artifactId>
+            <version>1.7</version>
+        </dependency>
+        <!-- websocket -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-websocket</artifactId>
+        </dependency>
+        <!-- 配置文件读取 -->
+        <dependency>
+            <groupId>commons-configuration</groupId>
+            <artifactId>commons-configuration</artifactId>
+            <version>1.10</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-configuration-processor</artifactId>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- mail -->
+        <dependency>
+            <groupId>javax.mail</groupId>
+            <artifactId>mail</artifactId>
+            <version>1.4.7</version>
+        </dependency>
+
+        <!--百度UEditor依赖的jar包 -->
+        <dependency>
+            <groupId>org.json</groupId>
+            <artifactId>json</artifactId>
+            <version>20180813</version>
+        </dependency>
+        <dependency>
+            <groupId>ueditor</groupId>
+            <artifactId>1.4.3</artifactId>
+            <version>1.8</version>
+            <scope>system</scope>
+            <systemPath>${basedir}/lib/ueditor-1.1.2.jar</systemPath>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-integration</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.integration</groupId>
+            <artifactId>spring-integration-ip</artifactId>
+        </dependency>
+        <!--quartz依赖-->
+        <dependency>
+            <groupId>org.quartz-scheduler</groupId>
+            <artifactId>quartz</artifactId>
+        </dependency>
+        <!-- 七牛云 -->
+        <dependency>
+            <groupId>com.qiniu</groupId>
+            <artifactId>qiniu-java-sdk</artifactId>
+            <version>[7.2.0, 7.2.99]</version>
+        </dependency>
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.17</version>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>1.18.12</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.tomcat</groupId>
+            <artifactId>tomcat-juli</artifactId>
+            <version>${tomcat.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tomcat.embed</groupId>
+            <artifactId>tomcat-embed-core</artifactId>
+            <version>${tomcat.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tomcat.embed</groupId>
+            <artifactId>tomcat-embed-el</artifactId>
+            <version>${tomcat.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tomcat.embed</groupId>
+            <artifactId>tomcat-embed-websocket</artifactId>
+            <version>${tomcat.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>redis.clients</groupId>
+            <artifactId>jedis</artifactId>
+            <version>3.2.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>4.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi</artifactId>
+            <version>4.0.1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.pegdown</groupId>
+            <artifactId>pegdown</artifactId>
+            <version>1.4.2</version>
+        </dependency>
+        <!-- webservice-->
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-api</artifactId>
+            <version>1.2.12</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2</artifactId>
+            <version>1.6.1</version>
+            <type>pom</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-kernel</artifactId>
+            <version>1.6.1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb</artifactId>
+            <version>1.6.1</version>
+        </dependency>
+        <!-- webservice-->
+
+        <!--http请求-->
+        <dependency>
+            <groupId>com.netflix.feign</groupId>
+            <artifactId>feign-core</artifactId>
+            <version>8.18.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.netflix.feign</groupId>
+            <artifactId>feign-jackson</artifactId>
+            <version>8.18.0</version>
+        </dependency>
+        <!--http请求-->
+
+        <dependency>
+            <groupId>com.alibaba.cloud</groupId>
+            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+            <version>${pgsql.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-core</artifactId>
+            <version>3.1.2</version>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>com.alibaba.cloud</groupId>
+                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
+                <version>${spring-cloud-alibaba.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <!-- spring-cloud-dependencies -->
+            <dependency>
+                <groupId>org.springframework.cloud</groupId>
+                <artifactId>spring-cloud-dependencies</artifactId>
+                <version>Hoxton.SR5</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-dependencies</artifactId>
+                <version>${spring-boot.version}</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <build>
+
+
+        <!-- 打包不带版本号 -->
+        <!-- <finalName>Gyee_Frame_HF</finalName> -->
+        <plugins>
+            <!-- JUnit 配置 -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <!--忽略测试启动类 -->
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+
+
+
+
+            <!-- generator 配置-->
+            <plugin>
+                <groupId>org.mybatis.generator</groupId>
+                <artifactId>mybatis-generator-maven-plugin</artifactId>
+                <version>1.3.7</version>
+                <configuration>
+                    <!--允许移动生成的文件 -->
+                    <verbose>false</verbose>
+                    <!--允许覆盖生成的文件 -->
+                    <overwrite>false</overwrite>
+                    <!--配置文件的路径 -->
+                    <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
+                </configuration>
+                <dependencies>
+                    <!--                    					<dependency>-->
+                    <!--                    						<groupId>mysql</groupId>-->
+                    <!--                    						<artifactId>mysql-connector-java</artifactId>-->
+                    <!--                    						<version>${mysql.version}</version>-->
+                    <!--                    					</dependency>-->
+                    <!--                    <dependency>-->
+                    <!--                        <groupId>com.oracle</groupId>-->
+                    <!--                        <artifactId>ojdbc6</artifactId>-->
+                    <!--                        <version>11.2.0.3</version>-->
+                    <!--                    </dependency>-->
+
+                    <dependency>
+                        <groupId>com.microsoft.sqlserver</groupId>
+                        <artifactId>sqljdbc4</artifactId>
+                        <version>4.0</version>
+                    </dependency>
+
+                </dependencies>
+            </plugin>
+            <!-- jar运行配置 -->
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                    <encoding>UTF-8</encoding>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <mainClass>com.gyee.SpringbootStart</mainClass>
+                </configuration>
+
+            </plugin>
+
+
+
+        </plugins>
+    </build>
+
+    <!-- 阿里云maven仓库 -->
+    <repositories>
+        <repository>
+            <id>public</id>
+            <name>aliyun nexus</name>
+            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>public</id>
+            <name>aliyun nexus</name>
+            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </pluginRepository>
+    </pluginRepositories>
+
+
+</project>

+ 62 - 0
web/health-jn/src/main/resources/META-INF/MANIFEST.MF

@@ -0,0 +1,62 @@
+Manifest-Version: 1.0
+Main-Class: com.gyee.SpringbootStart
+Class-Path: netty-resolver-4.1.55.Final.jar spring-plugin-metadata-1.2.0
+ .RELEASE.jar attoparser-2.0.5.RELEASE.jar shiro-config-ogdl-1.4.0.jar a
+ sm-util-4.1.jar lombok-1.18.12.jar swagger-annotations-1.5.21.jar kaptc
+ ha-2.3.2.jar shiro-crypto-core-1.4.0.jar slf4j-api-1.7.30.jar spring-bo
+ ot-devtools-2.3.7.RELEASE.jar thymeleaf-spring5-3.0.11.RELEASE.jar spri
+ ng-beans-5.2.12.RELEASE.jar okhttp-3.14.9.jar jackson-core-2.11.3.jar j
+ ackson-dataformat-yaml-2.11.3.jar jakarta.el-3.0.3.jar mybatis-spring-b
+ oot-starter-1.3.2.jar commons-logging-1.1.1.jar spring-webmvc-5.2.12.RE
+ LEASE.jar lettuce-core-5.3.5.RELEASE.jar reactive-streams-1.0.3.jar spr
+ ingfox-swagger2-2.9.2.jar qiniu-java-sdk-7.2.29.jar spring-plugin-core-
+ 1.2.0.RELEASE.jar shiro-crypto-hash-1.4.0.jar spring-boot-starter-web-2
+ .3.7.RELEASE.jar jackson-module-parameter-names-2.11.3.jar shiro-config
+ -core-1.4.0.jar classmate-1.5.1.jar log4j-to-slf4j-2.13.3.jar velocity-
+ 1.7.jar ojdbc6-11.2.0.3.jar jackson-annotations-2.11.3.jar spring-aop-5
+ .2.12.RELEASE.jar asm-tree-4.1.jar spring-boot-starter-aop-2.3.7.RELEAS
+ E.jar commons-lang-2.4.jar pagehelper-spring-boot-autoconfigure-1.2.5.j
+ ar shiro-crypto-cipher-1.4.0.jar spring-jcl-5.2.12.RELEASE.jar pagehelp
+ er-spring-boot-starter-1.2.5.jar spring-tx-5.2.12.RELEASE.jar reactor-c
+ ore-3.3.12.RELEASE.jar tomcat-annotations-api-9.0.35.jar druid-spring-b
+ oot-starter-1.1.10.jar spring-boot-starter-tomcat-2.3.7.RELEASE.jar map
+ struct-1.2.0.Final.jar commons-configuration-1.10.jar springfox-swagger
+ -common-2.9.2.jar netty-handler-4.1.55.Final.jar sqljdbc4-4.0.jar valid
+ ation-api-2.0.1.Final.jar shiro-web-1.4.0.jar spring-data-keyvalue-2.3.
+ 6.RELEASE.jar commons-beanutils-1.9.3.jar spring-boot-configuration-pro
+ cessor-2.3.7.RELEASE.jar guava-20.0.jar snakeyaml-1.26.jar jedis-3.2.0.
+ jar spring-boot-starter-2.3.7.RELEASE.jar activation-1.1.jar commons-co
+ llections-3.2.1.jar parboiled-java-1.1.6.jar springfox-schema-2.9.2.jar
+  unbescape-1.1.6.RELEASE.jar shiro-lang-1.4.0.jar thymeleaf-extras-java
+ 8time-3.0.4.RELEASE.jar logback-classic-1.2.3.jar netty-common-4.1.55.F
+ inal.jar json-20180813.jar spring-boot-2.3.7.RELEASE.jar springfox-spri
+ ng-web-2.9.2.jar jakarta.annotation-api-1.3.5.jar swagger-core-1.6.2.ja
+ r tomcat-embed-websocket-9.0.35.jar log4j-api-2.13.3.jar springfox-core
+ -2.9.2.jar javax.servlet-api-4.0.1.jar hutool-all-4.1.12.jar HikariCP-3
+ .4.5.jar spring-boot-starter-json-2.3.7.RELEASE.jar spring-boot-autocon
+ figure-2.3.7.RELEASE.jar spring-web-5.2.12.RELEASE.jar pegdown-1.4.2.ja
+ r spring-boot-starter-logging-2.3.7.RELEASE.jar spring-data-redis-2.3.6
+ .RELEASE.jar pagehelper-5.1.4.jar okio-1.17.2.jar druid-1.1.10.jar comm
+ ons-io-2.5.jar mchange-commons-java-0.2.15.jar shiro-spring-1.4.0.jar s
+ hiro-core-1.4.0.jar mybatis-3.4.6.jar spring-boot-starter-thymeleaf-2.3
+ .7.RELEASE.jar commons-pool2-2.8.1.jar spring-boot-starter-websocket-2.
+ 3.7.RELEASE.jar spring-websocket-5.2.12.RELEASE.jar shiro-event-1.4.0.j
+ ar spring-boot-starter-data-redis-2.3.7.RELEASE.jar mybatis-spring-1.3.
+ 2.jar gson-2.8.6.jar spring-oxm-5.2.12.RELEASE.jar springfox-swagger-ui
+ -2.9.2.jar fastjson-1.2.7.jar aspectjweaver-1.9.6.jar commons-fileuploa
+ d-1.3.3.jar spring-jdbc-5.2.12.RELEASE.jar logback-core-1.2.3.jar netty
+ -codec-4.1.55.Final.jar jackson-datatype-jsr310-2.11.3.jar jsqlparser-1
+ .0.jar mysql-connector-java-8.0.22.jar swagger-models-1.5.21.jar shiro-
+ cache-1.4.0.jar quartz-2.3.2.jar spring-boot-starter-jdbc-2.3.7.RELEASE
+ .jar netty-buffer-4.1.55.Final.jar parboiled-core-1.1.6.jar asm-4.1.jar
+  spring-context-support-5.2.12.RELEASE.jar tomcat-embed-core-9.0.35.jar
+  spring-context-5.2.12.RELEASE.jar netty-transport-4.1.55.Final.jar mai
+ l-1.4.7.jar jackson-datatype-jdk8-2.11.3.jar commons-lang3-3.10.jar jac
+ kson-databind-2.11.3.jar thymeleaf-extras-shiro-2.0.0.jar spring-expres
+ sion-5.2.12.RELEASE.jar spring-data-commons-2.3.6.RELEASE.jar ueditor-1
+ .1.2.jar asm-analysis-4.1.jar spring-core-5.2.12.RELEASE.jar tomcat-jul
+ i-9.0.35.jar mybatis-spring-boot-autoconfigure-1.3.2.jar byte-buddy-1.1
+ 0.18.jar thymeleaf-3.0.11.RELEASE.jar spring-messaging-5.2.12.RELEASE.j
+ ar jul-to-slf4j-1.7.30.jar tomcat-embed-el-9.0.35.jar filters-2.0.235-1
+ .jar springfox-spi-2.9.2.jar
+

+ 127 - 0
web/health-jn/src/main/resources/application-dev.yml

@@ -0,0 +1,127 @@
+#dev环境  mysql7.0
+spring:
+  datasource:
+    #type: com.alibaba.druid.pool.DruidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    #    driverClassName: com.mysql.jdbc.Driver
+    #druid连接池配置
+    druid:
+      #主库数据源
+      master:
+        #        url: jdbc:mysql://localhost:3306/springbootv2?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
+        #        username: root
+        #        password: 123456
+        #url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
+#        url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+        url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
+        #url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+        username: gdprod
+        password: gd123
+#        username: nxfdprod
+#        password: gdnxfd123
+        driver-class-name: oracle.jdbc.driver.OracleDriver
+#        url: jdbc:postgresql://10.81.3.151:5432/wisdom
+#        username: gdprod
+#        password: gd123
+#        driver-class-name: org.postgresql.Driver
+      #备数据源 #关闭
+      slave:
+        enabled: false
+        url: jdbc:mysql://localhost:3306/springbootv3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC
+        username: root
+        password: root
+        #两票数据源
+      ticket:
+        #url: jdbc:sqlserver://123.60.213.70:1434;DatabaseName=fdeam
+#        url: jdbc:sqlserver://192.168.2.200:1434;DatabaseName=fdeamnew
+        #url: jdbc:sqlserver://10.83.68.98:1434;DatabaseName=fdeamnew
+        url: jdbc:sqlserver://10.0.118.71:1433;DatabaseName=fdeamnew
+        username: sa
+        #password: ibs
+        #password: Gyee@321#!
+        password: Gd!123456
+        driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+        #配置初始化连接数大小
+      initial-size: 10
+      # 最大连接数
+      max-active: 50
+      #最小连接数
+      min-idle: 10
+      #获取连接等待超时时间
+      max-wait: 5000
+      pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+      max-pool-prepared-statement-per-connection-size: 20
+      validation-query: SELECT 1 FROM DUAL
+      validation-query-timeout: 20000
+      test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+      time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+      #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+      stat-view-servlet:
+        enabled: true
+        url-pattern: /druid/*
+        #可以增加访问账号密码【去掉注释就可以】
+        #login-username: admin
+        #login-password: admin
+      filter:
+        stat:
+          log-slow-sql: true
+          slow-sql-millis: 1000
+          merge-sql: false
+        wall:
+          config:
+            multi-statement-allow: true
+
+#mysql 8.0
+
+#spring:
+#  datasource:
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driverClassName: com.mysql.cj.jdbc.Driver
+#    #druid连接池配置
+#    druid:
+#     # 主库数据源
+#     master:
+#        url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #树熊数据源
+#     slave:
+#        enabled : false
+#        url: jdbc:mysql://localhost:3306/test2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #配置初始化连接数大小
+#     initial-size: 10
+#     # 最大连接数
+#     max-active: 50
+#     #最小连接数
+#     min-idle: 10
+#     #获取连接等待超时时间
+#     max-wait: 5000
+#     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+#     max-pool-prepared-statement-per-connection-size: 20
+#     validation-query: SELECT 1 FROM DUAL
+#     validation-query-timeout: 20000
+#     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+#     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+#     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+#     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+#     stat-view-servlet:
+#      enabled: true
+#      url-pattern: /druid/*
+#      #可以增加访问账号密码【去掉注释就可以】
+#      #login-username: admin
+#      #login-password: admin
+#     filter:
+#      stat:
+#        log-slow-sql: true
+#        slow-sql-millis: 1000
+#        merge-sql: true
+#      wall:
+#        config:
+#          multi-statement-allow: true

+ 212 - 0
web/health-jn/src/main/resources/application-hb.yml

@@ -0,0 +1,212 @@
+# 项目相关配置
+gyee:
+  #名称
+  name: v2
+  #版本
+  version: 3.9
+  #版权年份
+  copyrightYear: 2020
+  #文件上传路径
+  defaultBaseDir: D:/v2file/
+  #地址是否放入项目static目录,如果未Y 放入项目得static。 profile配置失效。  为N存放在D:/v2file/ 前端读取相同,不受影响
+  isstatic: Y
+  #开启存放静态文件夹后目录
+  isroot_dir: static/file_upload/
+  #邮件功能
+  #邮箱发送smtp
+  email_smtp: smtp.sina.com
+  #邮箱发送端口
+  email_port: 465
+  #发送邮箱登录账号
+  email_account: gyee@163.com
+  #发送邮箱登录密码
+  email_password: 1
+  #实例演示开关 启动该模式删除增加修改会弹出演示模式提示框
+  demoEnabled: false
+  #漂亮得拖动验证码 默认false普通验证码、true滚动验证码
+  rollVerification: true
+  #实时数据库Url
+  baseurl: http://192.168.2.198:8011/ts
+  healthurl: http://192.168.2.198:8012/ts
+  adapterUrl: http://192.168.2.198:8011
+  alarmUrl: http://192.168.2.198:8176
+  #API访问ip
+  #swaggerip: 49.4.50.80:8082
+  swaggerip: 192.168.2.198:8082
+  #默认小数位数
+  digit: 2
+  realtimedataBase: golden #数据查询模式 golden、hwy
+  weatherurl: http://192.168.2.198:7011
+  weatherqygs: hb_qygs
+  hbmaps: {CL_FDC_KEY: 2003,KB_FDC_KEY: 1460,DX_FDC_KEY: 2186,SY_FDC_KEY: 1366}
+  initialcode: INITIAL
+#tomcat config
+server :
+  port : 8172
+  session:
+    timeout: 7200
+  ##项目名字配置
+  #servlet :
+  #  context-path : /demo
+  tomcat :
+    maxHttpHeaderSize : 8192
+    max-threads : 128
+    min-spare-threads : 5
+    uri-encoding : UTF-8
+    #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-form-post-size: 9000000
+#dev环境  mysql7.0
+spring :
+  application:
+    name: monitor-hb-provider
+    cloud:
+      nacos:
+        discovery:
+          server-addr: 192.168.2.198:8848
+          #指定yaml格式的配置
+          file-extension: yaml
+          cluster-name: master
+        username: nacos
+        password: nacos
+    #引入其他配置文件,例如ftpHX 未配置文件application-ftpHX.yml
+    #include: ftpHX,ftpCloud
+  servlet:
+    multipart:
+      #设置总上传的数据大小
+      max-request-size: 100MB
+      #单个文件大小
+      maxFileSize : 30MB
+      #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-post-size: 9000000
+  #热部署模块
+  devtools:
+    restart:
+      #热部署开关
+      enabled: true
+      #指定热部署的目录
+      additional-paths: src/main/java
+      #指定目录不更新
+      exclude: test/**
+
+  redis:
+    database: 19
+    host: 192.168.2.202
+    password:
+    pool:
+      maxTotal: 20
+      maxIdle: 20
+      maxwait: 600000
+      minIdle: 10
+    port: 6379
+    timeout: 600000
+  datasource:
+    #type: com.alibaba.druid.pool.DruidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    #    driverClassName: com.mysql.jdbc.Driver
+    #druid连接池配置
+    druid:
+      #主库数据源
+      master:
+        url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+        username: gdprod
+        password: gd123
+        driver-class-name: oracle.jdbc.driver.OracleDriver
+      #备数据源 #关闭
+      slave:
+        enabled: false
+        url: jdbc:mysql://localhost:3306/springbootv3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC
+        username: root
+        password: root
+        #两票数据源
+      ticket:
+        url: jdbc:sqlserver://192.168.2.200:1434;DatabaseName=fdeamnew
+
+        username: sa
+        password: ibs
+        driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+        #配置初始化连接数大小
+      initial-size: 10
+      # 最大连接数
+      max-active: 50
+      #最小连接数
+      min-idle: 10
+      #获取连接等待超时时间
+      max-wait: 5000
+      pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+      max-pool-prepared-statement-per-connection-size: 20
+      validation-query: SELECT 1 FROM DUAL
+      validation-query-timeout: 20000
+      test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+      time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+      #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+      stat-view-servlet:
+        enabled: true
+        url-pattern: /druid/*
+        #可以增加访问账号密码【去掉注释就可以】
+        #login-username: admin
+        #login-password: admin
+      filter:
+        stat:
+          log-slow-sql: true
+          slow-sql-millis: 1000
+          merge-sql: false
+        wall:
+          config:
+            multi-statement-allow: true
+
+#mysql 8.0
+
+#spring:
+#  datasource:
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driverClassName: com.mysql.cj.jdbc.Driver
+#    #druid连接池配置
+#    druid:
+#     # 主库数据源
+#     master:
+#        url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #树熊数据源
+#     slave:
+#        enabled : false
+#        url: jdbc:mysql://localhost:3306/test2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #配置初始化连接数大小
+#     initial-size: 10
+#     # 最大连接数
+#     max-active: 50
+#     #最小连接数
+#     min-idle: 10
+#     #获取连接等待超时时间
+#     max-wait: 5000
+#     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+#     max-pool-prepared-statement-per-connection-size: 20
+#     validation-query: SELECT 1 FROM DUAL
+#     validation-query-timeout: 20000
+#     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+#     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+#     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+#     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+#     stat-view-servlet:
+#      enabled: true
+#      url-pattern: /druid/*
+#      #可以增加访问账号密码【去掉注释就可以】
+#      #login-username: admin
+#      #login-password: admin
+#     filter:
+#      stat:
+#        log-slow-sql: true
+#        slow-sql-millis: 1000
+#        merge-sql: true
+#      wall:
+#        config:
+#          multi-statement-allow: true

+ 214 - 0
web/health-jn/src/main/resources/application-hf.yml

@@ -0,0 +1,214 @@
+# 项目相关配置
+gyee:
+  #名称
+  name: v2
+  #版本
+  version: 3.9
+  #版权年份
+  copyrightYear: 2020
+  #文件上传路径
+  defaultBaseDir: D:/v2file/
+  #地址是否放入项目static目录,如果未Y 放入项目得static。 profile配置失效。  为N存放在D:/v2file/ 前端读取相同,不受影响
+  isstatic: Y
+  #开启存放静态文件夹后目录
+  isroot_dir: static/file_upload/
+  #邮件功能
+  #邮箱发送smtp
+  email_smtp: smtp.sina.com
+  #邮箱发送端口
+  email_port: 465
+  #发送邮箱登录账号
+  email_account: gyee@163.com
+  #发送邮箱登录密码
+  email_password: 1
+  #实例演示开关 启动该模式删除增加修改会弹出演示模式提示框
+  demoEnabled: false
+  #漂亮得拖动验证码 默认false普通验证码、true滚动验证码
+  rollVerification: true
+  #实时数据库Url
+  baseurl: http://10.0.118.73:8011/ts
+  healthurl: http://10.0.118.73:8011/ts
+  adapterUrl: http://10.0.118.73:8011
+  alarmUrl: http://10.0.118.73:8176
+  #API访问ip
+  #swaggerip: 49.4.50.80:8082
+  swaggerip: 10.0.118.73:8082
+  #默认小数位数
+  digit: 2
+  realtimedataBase: golden #数据查询模式 golden、hwy
+  #weatherurl: http://123.60.213.70:7011
+  weatherurl: http://10.0.118.73:7011
+  #weatherurl: http://10.83.68.97:7011
+  weatherqygs: hb_qygs
+  hbmaps: {CL_FDC_KEY: 2003,KB_FDC_KEY: 1460,DX_FDC_KEY: 2186,SY_FDC_KEY: 1366}
+  initialcode: INITIAL
+#tomcat config
+server :
+  port : 8172
+  session:
+    timeout: 7200
+  ##项目名字配置
+  #servlet :
+  #  context-path : /demo
+  tomcat :
+    maxHttpHeaderSize : 8192
+    max-threads : 128
+    min-spare-threads : 5
+    uri-encoding : UTF-8
+    #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-form-post-size: 9000000
+#dev环境  mysql7.0
+spring :
+  application:
+    name: monitor-hb-provider
+    cloud:
+      nacos:
+        discovery:
+          server-addr: 192.168.56.1:8848
+          #指定yaml格式的配置
+          file-extension: yaml
+          cluster-name: master
+        username: nacos
+        password: nacos
+    #引入其他配置文件,例如ftpHX 未配置文件application-ftpHX.yml
+    #include: ftpHX,ftpCloud
+  servlet:
+    multipart:
+      #设置总上传的数据大小
+      max-request-size: 100MB
+      #单个文件大小
+      maxFileSize : 30MB
+      #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-post-size: 9000000
+  #热部署模块
+  devtools:
+    restart:
+      #热部署开关
+      enabled: true
+      #指定热部署的目录
+      additional-paths: src/main/java
+      #指定目录不更新
+      exclude: test/**
+
+  redis:
+    database: 1
+    host: 10.0.118.73
+    password:
+    pool:
+      maxTotal: 20
+      maxIdle: 20
+      maxwait: 600000
+      minIdle: 10
+    port: 6379
+    timeout: 600000
+  datasource:
+    #type: com.alibaba.druid.pool.DruidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    #    driverClassName: com.mysql.jdbc.Driver
+    #druid连接池配置
+    druid:
+      #主库数据源
+      master:
+        url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
+        username: gdprod
+        password: gd123
+        driver-class-name: oracle.jdbc.driver.OracleDriver
+
+      #备数据源 #关闭
+      slave:
+        enabled: false
+        url: jdbc:mysql://localhost:3306/springbootv3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC
+        username: root
+        password: root
+        #两票数据源
+      ticket:
+        url: jdbc:sqlserver://10.0.118.71:1433;DatabaseName=fdeamnew
+        username: sa
+        password: Gd!123456
+        driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+        #配置初始化连接数大小
+      initial-size: 10
+      # 最大连接数
+      max-active: 50
+      #最小连接数
+      min-idle: 10
+      #获取连接等待超时时间
+      max-wait: 5000
+      pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+      max-pool-prepared-statement-per-connection-size: 20
+      validation-query: SELECT 1 FROM DUAL
+      validation-query-timeout: 20000
+      test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+      time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+      #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+      stat-view-servlet:
+        enabled: true
+        url-pattern: /druid/*
+        #可以增加访问账号密码【去掉注释就可以】
+        #login-username: admin
+        #login-password: admin
+      filter:
+        stat:
+          log-slow-sql: true
+          slow-sql-millis: 1000
+          merge-sql: false
+        wall:
+          config:
+            multi-statement-allow: true
+
+#mysql 8.0
+
+#spring:
+#  datasource:
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driverClassName: com.mysql.cj.jdbc.Driver
+#    #druid连接池配置
+#    druid:
+#     # 主库数据源
+#     master:
+#        url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #树熊数据源
+#     slave:
+#        enabled : false
+#        url: jdbc:mysql://localhost:3306/test2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #配置初始化连接数大小
+#     initial-size: 10
+#     # 最大连接数
+#     max-active: 50
+#     #最小连接数
+#     min-idle: 10
+#     #获取连接等待超时时间
+#     max-wait: 5000
+#     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+#     max-pool-prepared-statement-per-connection-size: 20
+#     validation-query: SELECT 1 FROM DUAL
+#     validation-query-timeout: 20000
+#     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+#     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+#     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+#     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+#     stat-view-servlet:
+#      enabled: true
+#      url-pattern: /druid/*
+#      #可以增加访问账号密码【去掉注释就可以】
+#      #login-username: admin
+#      #login-password: admin
+#     filter:
+#      stat:
+#        log-slow-sql: true
+#        slow-sql-millis: 1000
+#        merge-sql: true
+#      wall:
+#        config:
+#          multi-statement-allow: true

+ 217 - 0
web/health-jn/src/main/resources/application-hwy.yml

@@ -0,0 +1,217 @@
+# 项目相关配置
+gyee:
+  #名称
+  name: v2
+  #版本
+  version: 3.9
+  #版权年份
+  copyrightYear: 2020
+  #文件上传路径
+  defaultBaseDir: D:/v2file/
+  #地址是否放入项目static目录,如果未Y 放入项目得static。 profile配置失效。  为N存放在D:/v2file/ 前端读取相同,不受影响
+  isstatic: Y
+  #开启存放静态文件夹后目录
+  isroot_dir: static/file_upload/
+  #邮件功能
+  #邮箱发送smtp
+  email_smtp: smtp.sina.com
+  #邮箱发送端口
+  email_port: 465
+  #发送邮箱登录账号
+  email_account: gyee@163.com
+  #发送邮箱登录密码
+  email_password: 1
+  #实例演示开关 启动该模式删除增加修改会弹出演示模式提示框
+  demoEnabled: false
+  #漂亮得拖动验证码 默认false普通验证码、true滚动验证码
+  rollVerification: true
+  #实时数据库Url
+  baseurl: http://123.60.213.70:8011/ts
+  healthurl: http://123.60.213.70:8011/ts
+  adapterUrl: http://123.60.213.70:8011
+  alarmUrl: http://123.60.213.70:8176
+  #API访问ip
+  swaggerip: 123.60.213.70:8082
+  #默认小数位数
+  digit: 2
+  realtimedataBase: golden #数据查询模式 golden、hwy
+  weatherurl: http://123.60.213.70:7011
+  weatherqygs: hb_qygs
+  hbmaps: {CL_FDC_KEY: 2003,KB_FDC_KEY: 1460,DX_FDC_KEY: 2186,SY_FDC_KEY: 1366}
+  initialcode: INITIAL
+#tomcat config
+server :
+  port : 8172
+  session:
+    timeout: 7200
+  ##项目名字配置
+  #servlet :
+  #  context-path : /demo
+  tomcat :
+    maxHttpHeaderSize : 8192
+    max-threads : 128
+    min-spare-threads : 5
+    uri-encoding : UTF-8
+    #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-form-post-size: 9000000
+#dev环境  mysql7.0
+spring :
+  application:
+    name: monitor-hb-provider
+    cloud:
+      nacos:
+        discovery:
+          server-addr: 123.60.213.70:8848
+          #指定yaml格式的配置
+          file-extension: yaml
+          cluster-name: master
+        username: nacos
+        password: nacos
+    #引入其他配置文件,例如ftpHX 未配置文件application-ftpHX.yml
+    #include: ftpHX,ftpCloud
+  servlet:
+    multipart:
+      #设置总上传的数据大小
+      max-request-size: 100MB
+      #单个文件大小
+      maxFileSize : 30MB
+      #shiro 报错修改的地方
+    max-connections: 200000
+    max-http-post-size: 9000000
+  #热部署模块
+  devtools:
+    restart:
+      #热部署开关
+      enabled: true
+      #指定热部署的目录
+      additional-paths: src/main/java
+      #指定目录不更新
+      exclude: test/**
+
+  redis:
+    database: 1
+    host: 10.0.118.73
+    password:
+    pool:
+      maxTotal: 20
+      maxIdle: 20
+      maxwait: 600000
+      minIdle: 10
+    port: 6379
+    timeout: 600000
+  datasource:
+    #type: com.alibaba.druid.pool.DruidDataSource
+    type: com.alibaba.druid.pool.DruidDataSource
+    #    driverClassName: com.mysql.jdbc.Driver
+    #druid连接池配置
+    druid:
+      #主库数据源
+      master:
+#        url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
+#        username: nxfdprod
+#        password: gdnxfd123
+        driver-class-name: oracle.jdbc.driver.OracleDriver
+        url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
+        username: gdprod
+        password: gd123
+
+      #备数据源 #关闭
+      slave:
+        enabled: false
+        url: jdbc:mysql://localhost:3306/springbootv3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=UTC
+        username: root
+        password: root
+        #两票数据源
+      ticket:
+#        url: jdbc:sqlserver://123.60.213.70:1434;DatabaseName=fdeamnew
+#        username: sa
+#        password: Gyee@321#!
+        url: jdbc:sqlserver://10.0.118.71:1433;DatabaseName=fdeamnew
+        username: sa
+        password: Gd!123456
+        driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+        #配置初始化连接数大小
+      initial-size: 10
+      # 最大连接数
+      max-active: 50
+      #最小连接数
+      min-idle: 10
+      #获取连接等待超时时间
+      max-wait: 5000
+      pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+      max-pool-prepared-statement-per-connection-size: 20
+      validation-query: SELECT 1 FROM DUAL
+      validation-query-timeout: 20000
+      test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+      test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+      time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+      min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+      #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+      stat-view-servlet:
+        enabled: true
+        url-pattern: /druid/*
+        #可以增加访问账号密码【去掉注释就可以】
+        #login-username: admin
+        #login-password: admin
+      filter:
+        stat:
+          log-slow-sql: true
+          slow-sql-millis: 1000
+          merge-sql: false
+        wall:
+          config:
+            multi-statement-allow: true
+
+#mysql 8.0
+
+#spring:
+#  datasource:
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driverClassName: com.mysql.cj.jdbc.Driver
+#    #druid连接池配置
+#    druid:
+#     # 主库数据源
+#     master:
+#        url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #树熊数据源
+#     slave:
+#        enabled : false
+#        url: jdbc:mysql://localhost:3306/test2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #配置初始化连接数大小
+#     initial-size: 10
+#     # 最大连接数
+#     max-active: 50
+#     #最小连接数
+#     min-idle: 10
+#     #获取连接等待超时时间
+#     max-wait: 5000
+#     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+#     max-pool-prepared-statement-per-connection-size: 20
+#     validation-query: SELECT 1 FROM DUAL
+#     validation-query-timeout: 20000
+#     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+#     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+#     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+#     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+#     stat-view-servlet:
+#      enabled: true
+#      url-pattern: /druid/*
+#      #可以增加访问账号密码【去掉注释就可以】
+#      #login-username: admin
+#      #login-password: admin
+#     filter:
+#      stat:
+#        log-slow-sql: true
+#        slow-sql-millis: 1000
+#        merge-sql: true
+#      wall:
+#        config:
+#          multi-statement-allow: true

+ 103 - 0
web/health-jn/src/main/resources/application-prod.yml

@@ -0,0 +1,103 @@
+#线上数据库环境
+#mysql7.0
+spring:
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driverClassName: com.mysql.jdbc.Driver
+    #druid连接池配置
+    druid:
+     #主库数据源
+     master:
+        url: jdbc:mysql://localhost:3306/Gyee_Frame_HF?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+        username: root
+        password: root
+     #备数据源 #关闭
+     slave:
+        enabled: false
+        url: jdbc:mysql://localhost:3306/springbootv3?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+        username: root
+        password: root
+        #配置初始化连接数大小
+     initial-size: 10
+     # 最大连接数
+     max-active: 50
+     #最小连接数
+     min-idle: 10
+     #获取连接等待超时时间
+     max-wait: 5000
+     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+     max-pool-prepared-statement-per-connection-size: 20
+     validation-query: SELECT 1 FROM DUAL
+     validation-query-timeout: 20000
+     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+     stat-view-servlet:
+      enabled: true
+      url-pattern: /druid/*
+      #可以增加访问账号密码【去掉注释就可以】
+      #login-username: admin
+      #login-password: admin
+     filter:
+      stat:
+        log-slow-sql: true
+        slow-sql-millis: 1000
+        merge-sql: true
+      wall:
+        config:
+          multi-statement-allow: true
+
+#mysql 8.0
+
+#spring:
+#  datasource:
+#    type: com.alibaba.druid.pool.DruidDataSource
+#    driverClassName: com.mysql.cj.jdbc.Driver
+#    #druid连接池配置
+#    druid:
+#     # 主库数据源
+#     master:
+#        url: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #树熊数据源
+#     slave:
+#        enabled : false
+#        url: jdbc:mysql://localhost:3306/test2?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT&autoReconnect=true&useSSL=false
+#        username: root
+#        password: root
+#        #配置初始化连接数大小
+#     initial-size: 10
+#     # 最大连接数
+#     max-active: 50
+#     #最小连接数
+#     min-idle: 10
+#     #获取连接等待超时时间
+#     max-wait: 5000
+#     pool-prepared-statements: true #是否缓存preparedStatement,也就是PSCache。PSCache对支持游标的数据库性能提升巨大,比如说oracle。在mysql下建议关闭。
+#     max-pool-prepared-statement-per-connection-size: 20
+#     validation-query: SELECT 1 FROM DUAL
+#     validation-query-timeout: 20000
+#     test-on-borrow: false #申请连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-on-return: false #归还连接时执行validationQuery检测连接是否有效,做了这个配置会降低性能。
+#     test-while-idle: true #建议配置为true,不影响性能,并且保证安全性。申请连接的时候检测,如果空闲时间大于timeBetweenEvictionRunsMillis,执行validationQuery检测连接是否有效。
+#     time-between-eviction-runs-millis: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
+#     min-evictable-idle-time-millis: 300000  #一个连接在池中最小生存的时间,单位是毫秒
+#     #StatViewServlet配置。(因为暴露的监控信息比较敏感,支持密码加密和访问ip限定)
+#     stat-view-servlet:
+#      enabled: true
+#      url-pattern: /druid/*
+#      #可以增加访问账号密码【去掉注释就可以】
+#      #login-username: admin
+#      #login-password: admin
+#     filter:
+#      stat:
+#        log-slow-sql: true
+#        slow-sql-millis: 1000
+#        merge-sql: true
+#      wall:
+#        config:
+#          multi-statement-allow: true

+ 4 - 0
web/health-jn/src/main/resources/banner.txt

@@ -0,0 +1,4 @@
+${AnsiColor.BRIGHT_BLUE}
+Application Version: ${gyee.version}
+Spring Boot Version: ${spring-boot.version}
+${AnsiColor.BLACK}

+ 3 - 0
web/health-jn/src/main/resources/config/leader.properties

@@ -0,0 +1,3 @@
+Leader.FDL = FDL
+Leader.FS = FS
+Leader.GL =GL

+ 3 - 0
web/health-jn/src/main/resources/config/status.properties

@@ -0,0 +1,3 @@
+Status.FDL = SCADAFDL
+Status.FS = SSFS
+Status.GL =PJGL

+ 27 - 0
web/health-jn/src/main/resources/ehcache/ehcache-shiro.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ehcache name="gyee">
+
+    <!-- 磁盘缓存位置 -->
+    <diskStore path="java.io.tmpdir"/>
+
+    <!-- 默认缓存 -->
+    <defaultCache
+            maxEntriesLocalHeap="1000"
+            eternal="false"
+            timeToIdleSeconds="3600"
+            timeToLiveSeconds="3600"
+            overflowToDisk="false">
+    </defaultCache>
+
+    <!-- 登录记录缓存 锁定10分钟 -->
+    <cache name="loginRecordCache"
+           maxEntriesLocalHeap="2000"
+           eternal="false"
+           timeToIdleSeconds="600"
+           timeToLiveSeconds="0"
+           overflowToDisk="false"
+           statistics="true">
+    </cache>
+
+</ehcache>
+	

+ 1 - 0
web/health-jn/src/main/resources/generator/MyBatisGenerator/1.bat

@@ -0,0 +1 @@
+java -jar mybatis-generator-core-1.3.7.jar -configfile generator.xml -overwrite

+ 74 - 0
web/health-jn/src/main/resources/generator/MyBatisGenerator/generator.xml

@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
+<generatorConfiguration>
+	<!-- 数据库驱动包位置 -->
+	<classPathEntry location="mysqldriver.jar" />
+	<context id="DB2Tables" targetRuntime="MyBatis3">
+		  <!--覆盖生成XML文件-->
+        <plugin type="org.mybatis.generator.plugins.UnmergeableXmlMappersPlugin" />
+        <!-- 序列化model-->
+        <plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
+		<commentGenerator>
+			<property name="javaFileEncoding" value="UTF-8"/>
+            <property name="suppressDate" value="true"/>
+			<!-- 是否去除自动生成的注释 true:是 : false:否 -->
+            <property name="suppressAllComments" value="true"/>
+            <!-- 格式化java代码 -->
+            <property name="javaFormatter" value="org.mybatis.generator.api.dom.DefaultJavaFormatter"/>
+            <!-- 格式化XML代码 -->
+            <property name="xmlFormatter" value="org.mybatis.generator.api.dom.DefaultXmlFormatter"/>
+		</commentGenerator>
+		<jdbcConnection driverClass="com.mysql.jdbc.Driver"
+			connectionURL="jdbc:mysql://localhost:3306/Gyee_Frame_HF?useUnicode=true&amp;characterEncoding=UTF-8&amp;autoReconnect=true&amp;useSSL=false"
+			userId="root"
+			password="root">
+			<!-- 针对mysql数据库 -->
+			<property name="useInformationSchema" value="true"></property>
+			
+		</jdbcConnection>
+			
+			<!--
+			<jdbcConnection driverClass="com.mysql.jdbc.Driver"
+			connectionURL="jdbc:mysql://192.168.1.28:13306/datav" userId="root"
+			password="jxzx123"></jdbcConnection>
+			-->
+			
+		<javaTypeResolver>
+			<property name="forceBigDecimals" value="false" />
+		</javaTypeResolver>
+		<!-- 生成模型的包名和位置 -->
+		<javaModelGenerator targetPackage="com.gyee.frame.model.auto"
+			targetProject="D:\Users\Administrator\git\Gyee_Frame_HF\src\main\java">
+			 <!-- 是否对model添加 构造函数 -->
+            <property name="constructorBased" value="true"/>
+			<!-- 是否允许子包,即targetPackage.schemaName.tableName -->
+			<property name="enableSubPackages" value="true" />
+			<property name="trimStrings" value="true" />
+		</javaModelGenerator>
+		<!-- 生成的映射文件包名和位置 -->
+		<sqlMapGenerator targetPackage="mybatis.auto"
+			targetProject="D:\Users\Administrator\git\Gyee_Frame_HF\src\main\resources">
+			<property name="enableSubPackages" value="true" />
+		</sqlMapGenerator>
+		<!-- 生成DAO的包名和位置 -->
+		<javaClientGenerator type="XMLMAPPER" targetPackage="com.gyee.frame.mapper.auto"
+			targetProject="D:\Users\Administrator\git\Gyee_Frame_HF\src\main\java">
+			<property name="enableSubPackages" value="true" />
+		</javaClientGenerator>
+		<!-- 要生成那些表(更改tableName和domainObjectName就可以) -->
+		
+		
+		
+		
+		
+		<!-- 		
+		<table domainObjectName="t_sys_datas" tableName="TsysDatas">  
+		    <columnOverride column="address" javaType="java.lang.String" jdbcType="VARCHAR" />  
+		</table>
+		 -->
+		<table tableName='t_sys_datas' domainObjectName='TsysDatas'/>
+
+
+	</context>
+
+</generatorConfiguration>

BIN
web/health-jn/src/main/resources/generator/MyBatisGenerator/mybatis-generator-core-1.3.2.jar


BIN
web/health-jn/src/main/resources/generator/MyBatisGenerator/mybatis-generator-core-1.3.7.jar


BIN
web/health-jn/src/main/resources/generator/MyBatisGenerator/mysqldriver.jar


+ 117 - 0
web/health-jn/src/main/resources/mybatis-generator.xml

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE generatorConfiguration
+        PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
+        "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
+<generatorConfiguration>
+
+    <!--
+    context:生成一组对象的环境
+    id:必选,上下文id,用于在生成错误时提示
+    defaultModelType:指定生成对象的样式
+        1,conditional:类似hierarchical;
+        2,flat:所有内容(主键,blob)等全部生成在一个对象中;
+        3,hierarchical:主键生成一个XXKey对象(key class),Blob等单独生成一个对象,其他简单属性在一个对象中(record class)
+    targetRuntime:
+        1,MyBatis3:默认的值,生成基于MyBatis3.x以上版本的内容,包括XXXBySample;
+        2,MyBatis3Simple:类似MyBatis3,只是不生成XXXBySample;
+    introspectedColumnImpl:类全限定名,用于扩展MBG
+    
+
+    eclispe 运行mybatis-generator.xml
+3.运行方法:在eclipse 中,选择pom.xml文件,击右键先择Run AS——>Maven Build… ——>在Goals框中输入:mybatis-generator:generate
+
+-->
+
+    <context id="oracle" targetRuntime="MyBatis3" defaultModelType="flat">
+        <!--覆盖生成XML文件-->
+        <plugin type="org.mybatis.generator.plugins.UnmergeableXmlMappersPlugin" />
+
+        <!-- 序列化model-->
+        <plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
+        <!-- 阻止生成自动注释 -->
+        <!-- 当suppressAllComments配置为true是,既生成代码时,不需要mybatis注解时。重重复运mybatis-generator:generate时,xml中会在原来生成的内容基础上,再重新又生成了一边。而不是覆盖原来的。有谁知道怎么解决这个问题吗。配置为false是每次生成是会覆盖的。 -->
+        <commentGenerator>
+            <property name="javaFileEncoding" value="UTF-8"/>
+            <property name="suppressDate" value="true"/>
+            <property name="suppressAllComments" value="false"/>
+            <!-- 格式化java代码 -->
+            <property name="javaFormatter" value="org.mybatis.generator.api.dom.DefaultJavaFormatter"/>
+            <!-- 格式化XML代码 -->
+            <property name="xmlFormatter" value="org.mybatis.generator.api.dom.DefaultXmlFormatter"/>
+            <!-- 自动识别数据库关键字,默认false -->
+            <property name="autoDelimitKeywords" value="true" />
+            <!--可以使用``包括字段名,避免字段名与sql保留字冲突报错 -->
+            <property name="beginningDelimiter" value="`" />
+            <property name="endingDelimiter" value="`" />
+        </commentGenerator>
+        <!-- 数据库链接地址账号密码 -->
+<!--        <jdbcConnection-->
+<!--                driverClass="com.mysql.jdbc.Driver"-->
+<!--                connectionURL="jdbc:mysql://localhost:3306/springbootv2?serverTimezone=UTC"-->
+<!--                userId="root"-->
+<!--                password="123456">-->
+<!--        </jdbcConnection>-->
+<!--        <jdbcConnection-->
+<!--                driverClass="oracle.jdbc.driver.OracleDriver"-->
+<!--                connectionURL="jdbc:oracle:thin:@10.0.118.71:1521:gdsj"-->
+<!--                userId="gdprod"-->
+<!--                password="gd123">-->
+<!--        </jdbcConnection>-->
+
+                <jdbcConnection
+                        driverClass="com.microsoft.sqlserver.jdbc.SQLServerDriver"
+                        connectionURL="jdbc:sqlserver://123.60.213.70:1433;DatabaseName=fdeam"
+                        userId="sa"
+                        password="Gyee@321#!">
+                </jdbcConnection>
+        <javaTypeResolver>
+            <property name="forceBigDecimals" value="false"/>
+        </javaTypeResolver>
+        <!-- 生成Model类存放位置 -->
+        <javaModelGenerator targetPackage="com.gyee.frame.model.auto" targetProject="src/main/java">
+            <property name="enableSubPackages" value="true"/>
+            <property name="trimStrings" value="true"/>
+        </javaModelGenerator>
+        <!-- 生成映射文件存放位置 -->
+        <sqlMapGenerator targetPackage="mybatis.auto" targetProject="src/main/resources">
+            <property name="enableSubPackages" value="true"/>
+        </sqlMapGenerator>
+        <!-- 生成Dao类存放位置 -->
+        <!-- 客户端代码,生成易于使用的针对Model对象和XML配置文件的代码
+            type="ANNOTATEDMAPPER",生成Java Model 和基于注解的Mapper对象
+            type="XMLMAPPER",生成SQLMap XML文件和独立的Mapper接口 -->
+        <javaClientGenerator type="XMLMAPPER" targetPackage="com.gyee.frame.mapper.auto" targetProject="src/main/java">
+            <property name="enableSubPackages" value="true"/>
+        </javaClientGenerator>
+
+        <!-- 配置需要生成的表
+        <table tableName="t_sys_user" domainObjectName="TsysUser" enableCountByExample="true">
+            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
+        </table>
+         <table tableName="t_sys_role" domainObjectName="TsysRole" enableCountByExample="true">
+            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
+        </table>
+        <table tableName="t_sys_permission" domainObjectName="TsysPermission" enableCountByExample="true">
+            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
+        </table>
+         <table tableName="t_sys_role_user" domainObjectName="TSysRoleUser" enableCountByExample="true">
+            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
+        </table>
+        <table tableName="t_sys_permission_role" domainObjectName="TsysPermissionRole" enableCountByExample="true">
+            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
+        </table>-->
+
+
+<!--        <table tableName='Windturbine' domainObjectName='WindturbineSql'/>-->
+<!--        <table tableName='Equipment' domainObjectName='EquipmentSql'/>-->
+
+
+<!--        <table tableName='StopAnalysis' domainObjectName='StopAnalysis'/>-->
+<!--        <table tableName='StopAnalysismain' domainObjectName='StopAnalysismain'/>-->
+<!--        <table tableName='StopAnalysismainVo' domainObjectName='StopAnalysismainVo'/>-->
+
+        <table tableName='Inventory' domainObjectName='Inventory'/>
+
+
+    </context>
+</generatorConfiguration>

+ 25 - 0
web/health-jn/src/main/resources/mybatis/FanStatusQueryExportMapper/FanStatusQueryExportMapper.xml

@@ -0,0 +1,25 @@
+<?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.FanStatusQueryExportMapper.FanStatusQueryExportMapper">
+    <!--风场风机名称-->
+    <!--<select id="getFanName" resultType="ArrayList">-->
+       <!--select name from windturbine where windpowerstationid ='${windpowerstationid}'-->
+    <!--</select>-->
+    <!--风机windturbineid-->
+    <!--<select id="getWindturbineid" resultType="String">-->
+        <!--select id from windturbine where name = '${name}'-->
+    <!--</select>-->
+    <!--风机信息-->
+    <!--<select id="getFjStatus" resultType="hasmap">-->
+        <!--select satuscode,starttime,speed,stoptime-->
+        <!--from windturbinestatus-->
+        <!--where-->
+           <!--windturbineid='${windturbineid}'-->
+        <!--or satuscode='${satuscode}'-->
+        <!--or starttime='${starttime}'-->
+        <!--or stoptime='${stoptime}'-->
+    <!--</select>-->
+
+
+</mapper>

+ 351 - 0
web/health-jn/src/main/resources/mybatis/auto/ActivePowerDataMapper.xml

@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ActivePowerDataMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="modelId" jdbcType="VARCHAR" property="modelid" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="speed" jdbcType="DECIMAL" property="speed" />
+    <result column="power" jdbcType="DECIMAL" property="power" />
+    <result column="frequency" jdbcType="DECIMAL" property="frequency" />
+    <result column="windTurbineCode" jdbcType="VARCHAR" property="windturbinecode" />
+    <result column="modelName" jdbcType="VARCHAR" property="modelname" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windPowerStationId, windTurbineId, modelId, recordDate, speed, power, frequency, 
+    windTurbineCode, modelName
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from activepowerdata
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from activepowerdata
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from activepowerdata
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from activepowerdata
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into activepowerdata (id, windPowerStationId, windTurbineId, 
+      modelId, recordDate, speed, 
+      power, frequency, windTurbineCode, 
+      modelName)
+    values (#{id,jdbcType=INTEGER}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{modelid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP}, #{speed,jdbcType=DECIMAL}, 
+      #{power,jdbcType=DECIMAL}, #{frequency,jdbcType=DECIMAL}, #{windturbinecode,jdbcType=VARCHAR}, 
+      #{modelname,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into activepowerdata
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId,
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId,
+      </if>
+      <if test="modelid != null">
+        modelId,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="power != null">
+        power,
+      </if>
+      <if test="frequency != null">
+        frequency,
+      </if>
+      <if test="windturbinecode != null">
+        windTurbineCode,
+      </if>
+      <if test="modelname != null">
+        modelName,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="power != null">
+        #{power,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        #{frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="windturbinecode != null">
+        #{windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="modelname != null">
+        #{modelname,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ActivePowerDataExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from activepowerdata
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        modelId = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.power != null">
+        power = #{record.power,jdbcType=DECIMAL},
+      </if>
+      <if test="record.frequency != null">
+        frequency = #{record.frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="record.windturbinecode != null">
+        windTurbineCode = #{record.windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelname != null">
+        modelName = #{record.modelname,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    set id = #{record.id,jdbcType=INTEGER},
+      windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      modelId = #{record.modelid,jdbcType=VARCHAR},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      speed = #{record.speed,jdbcType=DECIMAL},
+      power = #{record.power,jdbcType=DECIMAL},
+      frequency = #{record.frequency,jdbcType=DECIMAL},
+      windTurbineCode = #{record.windturbinecode,jdbcType=VARCHAR},
+      modelName = #{record.modelname,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    <set>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        modelId = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="power != null">
+        power = #{power,jdbcType=DECIMAL},
+      </if>
+      <if test="frequency != null">
+        frequency = #{frequency,jdbcType=DECIMAL},
+      </if>
+      <if test="windturbinecode != null">
+        windTurbineCode = #{windturbinecode,jdbcType=VARCHAR},
+      </if>
+      <if test="modelname != null">
+        modelName = #{modelname,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ActivePowerData">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update activepowerdata
+    set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      modelId = #{modelid,jdbcType=VARCHAR},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      speed = #{speed,jdbcType=DECIMAL},
+      power = #{power,jdbcType=DECIMAL},
+      frequency = #{frequency,jdbcType=DECIMAL},
+      windTurbineCode = #{windturbinecode,jdbcType=VARCHAR},
+      modelName = #{modelname,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 219 - 0
web/health-jn/src/main/resources/mybatis/auto/AlarmcountMapper.xml

@@ -0,0 +1,219 @@
+<?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.AlarmcountMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Alarmcount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <result column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="ALARMDATE" jdbcType="TIMESTAMP" property="alarmdate" />
+    <result column="SNAPID" jdbcType="DECIMAL" property="snapid" />
+    <result column="COUNT" jdbcType="DECIMAL" property="count" />
+    <result column="TIME" jdbcType="DECIMAL" property="time" />
+  </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, ALARMDATE, SNAPID, COUNT, TIME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.AlarmcountExample" 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 ALARMCOUNT
+    <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.AlarmcountExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from ALARMCOUNT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Alarmcount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALARMCOUNT (ID, ALARMDATE, SNAPID, 
+      COUNT, TIME)
+    values (#{id,jdbcType=DECIMAL}, #{alarmdate,jdbcType=TIMESTAMP}, #{snapid,jdbcType=DECIMAL}, 
+      #{count,jdbcType=DECIMAL}, #{time,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Alarmcount">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALARMCOUNT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="alarmdate != null">
+        ALARMDATE,
+      </if>
+      <if test="snapid != null">
+        SNAPID,
+      </if>
+      <if test="count != null">
+        COUNT,
+      </if>
+      <if test="time != null">
+        TIME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="alarmdate != null">
+        #{alarmdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="snapid != null">
+        #{snapid,jdbcType=DECIMAL},
+      </if>
+      <if test="count != null">
+        #{count,jdbcType=DECIMAL},
+      </if>
+      <if test="time != null">
+        #{time,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.AlarmcountExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from ALARMCOUNT
+    <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 ALARMCOUNT
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.alarmdate != null">
+        ALARMDATE = #{record.alarmdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.snapid != null">
+        SNAPID = #{record.snapid,jdbcType=DECIMAL},
+      </if>
+      <if test="record.count != null">
+        COUNT = #{record.count,jdbcType=DECIMAL},
+      </if>
+      <if test="record.time != null">
+        TIME = #{record.time,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ALARMCOUNT
+    set ID = #{record.id,jdbcType=DECIMAL},
+      ALARMDATE = #{record.alarmdate,jdbcType=TIMESTAMP},
+      SNAPID = #{record.snapid,jdbcType=DECIMAL},
+      COUNT = #{record.count,jdbcType=DECIMAL},
+      TIME = #{record.time,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+</mapper>

+ 528 - 0
web/health-jn/src/main/resources/mybatis/auto/AlarmsnapMapper.xml

@@ -0,0 +1,528 @@
+<?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.AlarmsnapMapper">
+    <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Alarmsnap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        <id column="ID" jdbcType="DECIMAL" property="id"/>
+        <result column="STATIONID" jdbcType="VARCHAR" property="stationid"/>
+        <result column="PROJECTID" jdbcType="VARCHAR" property="projectid"/>
+        <result column="LINEID" jdbcType="VARCHAR" property="lineid"/>
+        <result column="WINDTURBINEID" jdbcType="VARCHAR" property="windturbineid"/>
+        <result column="ALERTVALUE" jdbcType="DECIMAL" property="alertvalue"/>
+        <result column="CATEGORY1" jdbcType="VARCHAR" property="category1"/>
+        <result column="CATEGORY2" jdbcType="VARCHAR" property="category2"/>
+        <result column="CATEGORY3" jdbcType="VARCHAR" property="category3"/>
+        <result column="RANK" jdbcType="VARCHAR" property="rank"/>
+        <result column="ISOPENED" jdbcType="DECIMAL" property="isopened"/>
+        <result column="STATIONNAME" jdbcType="VARCHAR" property="stationname"/>
+        <result column="PROJECTNAME" jdbcType="VARCHAR" property="projectname"/>
+        <result column="LINENAME" jdbcType="VARCHAR" property="linename"/>
+        <result column="WINDTURBINENAME" jdbcType="VARCHAR" property="windturbinename"/>
+        <result column="ALERTTEXT" jdbcType="VARCHAR" property="alerttext"/>
+        <result column="MODELID" jdbcType="VARCHAR" property="modelid"/>
+        <result column="TESTINGPOINTKEY" jdbcType="VARCHAR" property="testingpointkey"/>
+        <result column="LASTUPDATETIME" jdbcType="TIMESTAMP" property="lastupdatetime"/>
+        <result column="DATAINFO" jdbcType="VARCHAR" property="datainfo"/>
+    </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, STATIONID, PROJECTID, LINEID, WINDTURBINEID, ALERTVALUE, CATEGORY1, CATEGORY2,
+        CATEGORY3, RANK, ISOPENED, STATIONNAME, PROJECTNAME, LINENAME, WINDTURBINENAME, ALERTTEXT,
+        MODELID, TESTINGPOINTKEY, LASTUPDATETIME, DATAINFO
+    </sql>
+    <select id="selectByExample" parameterType="com.gyee.frame.model.auto.AlarmsnapExample" 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 ALARMSNAP
+        <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.Short" resultMap="BaseResultMap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        select
+        <include refid="Base_Column_List"/>
+        from ALARMSNAP
+        where ID = #{id,jdbcType=DECIMAL}
+    </select>
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        delete from ALARMSNAP
+        where ID = #{id,jdbcType=DECIMAL}
+    </delete>
+    <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.AlarmsnapExample">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        delete from ALARMSNAP
+        <if test="_parameter != null">
+            <include refid="Example_Where_Clause"/>
+        </if>
+    </delete>
+    <insert id="insert" parameterType="com.gyee.frame.model.auto.Alarmsnap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        insert into ALARMSNAP (ID, STATIONID, PROJECTID,
+        LINEID, WINDTURBINEID, ALERTVALUE,
+        CATEGORY1, CATEGORY2, CATEGORY3,
+        RANK, ISOPENED, STATIONNAME,
+        PROJECTNAME, LINENAME, WINDTURBINENAME,
+        ALERTTEXT, MODELID, TESTINGPOINTKEY,
+        LASTUPDATETIME, DATAINFO)
+        values (#{id,jdbcType=DECIMAL}, #{stationid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR},
+        #{lineid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{alertvalue,jdbcType=DECIMAL},
+        #{category1,jdbcType=VARCHAR}, #{category2,jdbcType=VARCHAR}, #{category3,jdbcType=VARCHAR},
+        #{rank,jdbcType=VARCHAR}, #{isopened,jdbcType=DECIMAL}, #{stationname,jdbcType=VARCHAR},
+        #{projectname,jdbcType=VARCHAR}, #{linename,jdbcType=VARCHAR}, #{windturbinename,jdbcType=VARCHAR},
+        #{alerttext,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{testingpointkey,jdbcType=VARCHAR},
+        #{lastupdatetime,jdbcType=TIMESTAMP}, #{datainfo,jdbcType=VARCHAR})
+    </insert>
+    <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Alarmsnap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        insert into ALARMSNAP
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">
+                ID,
+            </if>
+            <if test="stationid != null">
+                STATIONID,
+            </if>
+            <if test="projectid != null">
+                PROJECTID,
+            </if>
+            <if test="lineid != null">
+                LINEID,
+            </if>
+            <if test="windturbineid != null">
+                WINDTURBINEID,
+            </if>
+            <if test="alertvalue != null">
+                ALERTVALUE,
+            </if>
+            <if test="category1 != null">
+                CATEGORY1,
+            </if>
+            <if test="category2 != null">
+                CATEGORY2,
+            </if>
+            <if test="category3 != null">
+                CATEGORY3,
+            </if>
+            <if test="rank != null">
+                RANK,
+            </if>
+            <if test="isopened != null">
+                ISOPENED,
+            </if>
+            <if test="stationname != null">
+                STATIONNAME,
+            </if>
+            <if test="projectname != null">
+                PROJECTNAME,
+            </if>
+            <if test="linename != null">
+                LINENAME,
+            </if>
+            <if test="windturbinename != null">
+                WINDTURBINENAME,
+            </if>
+            <if test="alerttext != null">
+                ALERTTEXT,
+            </if>
+            <if test="modelid != null">
+                MODELID,
+            </if>
+            <if test="testingpointkey != null">
+                TESTINGPOINTKEY,
+            </if>
+            <if test="lastupdatetime != null">
+                LASTUPDATETIME,
+            </if>
+            <if test="datainfo != null">
+                DATAINFO,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">
+                #{id,jdbcType=DECIMAL},
+            </if>
+            <if test="stationid != null">
+                #{stationid,jdbcType=VARCHAR},
+            </if>
+            <if test="projectid != null">
+                #{projectid,jdbcType=VARCHAR},
+            </if>
+            <if test="lineid != null">
+                #{lineid,jdbcType=VARCHAR},
+            </if>
+            <if test="windturbineid != null">
+                #{windturbineid,jdbcType=VARCHAR},
+            </if>
+            <if test="alertvalue != null">
+                #{alertvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="category1 != null">
+                #{category1,jdbcType=VARCHAR},
+            </if>
+            <if test="category2 != null">
+                #{category2,jdbcType=VARCHAR},
+            </if>
+            <if test="category3 != null">
+                #{category3,jdbcType=VARCHAR},
+            </if>
+            <if test="rank != null">
+                #{rank,jdbcType=VARCHAR},
+            </if>
+            <if test="isopened != null">
+                #{isopened,jdbcType=DECIMAL},
+            </if>
+            <if test="stationname != null">
+                #{stationname,jdbcType=VARCHAR},
+            </if>
+            <if test="projectname != null">
+                #{projectname,jdbcType=VARCHAR},
+            </if>
+            <if test="linename != null">
+                #{linename,jdbcType=VARCHAR},
+            </if>
+            <if test="windturbinename != null">
+                #{windturbinename,jdbcType=VARCHAR},
+            </if>
+            <if test="alerttext != null">
+                #{alerttext,jdbcType=VARCHAR},
+            </if>
+            <if test="modelid != null">
+                #{modelid,jdbcType=VARCHAR},
+            </if>
+            <if test="testingpointkey != null">
+                #{testingpointkey,jdbcType=VARCHAR},
+            </if>
+            <if test="lastupdatetime != null">
+                #{lastupdatetime,jdbcType=TIMESTAMP},
+            </if>
+            <if test="datainfo != null">
+                #{datainfo,jdbcType=VARCHAR},
+            </if>
+        </trim>
+    </insert>
+    <select id="countByExample" parameterType="com.gyee.frame.model.auto.AlarmsnapExample" resultType="java.lang.Long">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        select count(*) from ALARMSNAP
+        <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 ALARMSNAP
+        <set>
+            <if test="record.id != null">
+                ID = #{record.id,jdbcType=DECIMAL},
+            </if>
+            <if test="record.stationid != null">
+                STATIONID = #{record.stationid,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.windturbineid != null">
+                WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+            </if>
+            <if test="record.alertvalue != null">
+                ALERTVALUE = #{record.alertvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="record.category1 != null">
+                CATEGORY1 = #{record.category1,jdbcType=VARCHAR},
+            </if>
+            <if test="record.category2 != null">
+                CATEGORY2 = #{record.category2,jdbcType=VARCHAR},
+            </if>
+            <if test="record.category3 != null">
+                CATEGORY3 = #{record.category3,jdbcType=VARCHAR},
+            </if>
+            <if test="record.rank != null">
+                RANK = #{record.rank,jdbcType=VARCHAR},
+            </if>
+            <if test="record.isopened != null">
+                ISOPENED = #{record.isopened,jdbcType=DECIMAL},
+            </if>
+            <if test="record.stationname != null">
+                STATIONNAME = #{record.stationname,jdbcType=VARCHAR},
+            </if>
+            <if test="record.projectname != null">
+                PROJECTNAME = #{record.projectname,jdbcType=VARCHAR},
+            </if>
+            <if test="record.linename != null">
+                LINENAME = #{record.linename,jdbcType=VARCHAR},
+            </if>
+            <if test="record.windturbinename != null">
+                WINDTURBINENAME = #{record.windturbinename,jdbcType=VARCHAR},
+            </if>
+            <if test="record.alerttext != null">
+                ALERTTEXT = #{record.alerttext,jdbcType=VARCHAR},
+            </if>
+            <if test="record.modelid != null">
+                MODELID = #{record.modelid,jdbcType=VARCHAR},
+            </if>
+            <if test="record.testingpointkey != null">
+                TESTINGPOINTKEY = #{record.testingpointkey,jdbcType=VARCHAR},
+            </if>
+            <if test="record.lastupdatetime != null">
+                LASTUPDATETIME = #{record.lastupdatetime,jdbcType=TIMESTAMP},
+            </if>
+            <if test="record.datainfo != null">
+                DATAINFO = #{record.datainfo,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 ALARMSNAP
+        set ID = #{record.id,jdbcType=DECIMAL},
+        STATIONID = #{record.stationid,jdbcType=VARCHAR},
+        PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+        LINEID = #{record.lineid,jdbcType=VARCHAR},
+        WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+        ALERTVALUE = #{record.alertvalue,jdbcType=DECIMAL},
+        CATEGORY1 = #{record.category1,jdbcType=VARCHAR},
+        CATEGORY2 = #{record.category2,jdbcType=VARCHAR},
+        CATEGORY3 = #{record.category3,jdbcType=VARCHAR},
+        RANK = #{record.rank,jdbcType=VARCHAR},
+        ISOPENED = #{record.isopened,jdbcType=DECIMAL},
+        STATIONNAME = #{record.stationname,jdbcType=VARCHAR},
+        PROJECTNAME = #{record.projectname,jdbcType=VARCHAR},
+        LINENAME = #{record.linename,jdbcType=VARCHAR},
+        WINDTURBINENAME = #{record.windturbinename,jdbcType=VARCHAR},
+        ALERTTEXT = #{record.alerttext,jdbcType=VARCHAR},
+        MODELID = #{record.modelid,jdbcType=VARCHAR},
+        TESTINGPOINTKEY = #{record.testingpointkey,jdbcType=VARCHAR},
+        LASTUPDATETIME = #{record.lastupdatetime,jdbcType=TIMESTAMP},
+        DATAINFO = #{record.datainfo,jdbcType=VARCHAR}
+        <if test="_parameter != null">
+            <include refid="Update_By_Example_Where_Clause"/>
+        </if>
+    </update>
+    <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Alarmsnap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        update ALARMSNAP
+        <set>
+            <if test="stationid != null">
+                STATIONID = #{stationid,jdbcType=VARCHAR},
+            </if>
+            <if test="projectid != null">
+                PROJECTID = #{projectid,jdbcType=VARCHAR},
+            </if>
+            <if test="lineid != null">
+                LINEID = #{lineid,jdbcType=VARCHAR},
+            </if>
+            <if test="windturbineid != null">
+                WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+            </if>
+            <if test="alertvalue != null">
+                ALERTVALUE = #{alertvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="category1 != null">
+                CATEGORY1 = #{category1,jdbcType=VARCHAR},
+            </if>
+            <if test="category2 != null">
+                CATEGORY2 = #{category2,jdbcType=VARCHAR},
+            </if>
+            <if test="category3 != null">
+                CATEGORY3 = #{category3,jdbcType=VARCHAR},
+            </if>
+            <if test="rank != null">
+                RANK = #{rank,jdbcType=VARCHAR},
+            </if>
+            <if test="isopened != null">
+                ISOPENED = #{isopened,jdbcType=DECIMAL},
+            </if>
+            <if test="stationname != null">
+                STATIONNAME = #{stationname,jdbcType=VARCHAR},
+            </if>
+            <if test="projectname != null">
+                PROJECTNAME = #{projectname,jdbcType=VARCHAR},
+            </if>
+            <if test="linename != null">
+                LINENAME = #{linename,jdbcType=VARCHAR},
+            </if>
+            <if test="windturbinename != null">
+                WINDTURBINENAME = #{windturbinename,jdbcType=VARCHAR},
+            </if>
+            <if test="alerttext != null">
+                ALERTTEXT = #{alerttext,jdbcType=VARCHAR},
+            </if>
+            <if test="modelid != null">
+                MODELID = #{modelid,jdbcType=VARCHAR},
+            </if>
+            <if test="testingpointkey != null">
+                TESTINGPOINTKEY = #{testingpointkey,jdbcType=VARCHAR},
+            </if>
+            <if test="lastupdatetime != null">
+                LASTUPDATETIME = #{lastupdatetime,jdbcType=TIMESTAMP},
+            </if>
+            <if test="datainfo != null">
+                DATAINFO = #{datainfo,jdbcType=VARCHAR},
+            </if>
+        </set>
+        where ID = #{id,jdbcType=DECIMAL}
+    </update>
+    <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Alarmsnap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        update ALARMSNAP
+        set STATIONID = #{stationid,jdbcType=VARCHAR},
+        PROJECTID = #{projectid,jdbcType=VARCHAR},
+        LINEID = #{lineid,jdbcType=VARCHAR},
+        WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+        ALERTVALUE = #{alertvalue,jdbcType=DECIMAL},
+        CATEGORY1 = #{category1,jdbcType=VARCHAR},
+        CATEGORY2 = #{category2,jdbcType=VARCHAR},
+        CATEGORY3 = #{category3,jdbcType=VARCHAR},
+        RANK = #{rank,jdbcType=VARCHAR},
+        ISOPENED = #{isopened,jdbcType=DECIMAL},
+        STATIONNAME = #{stationname,jdbcType=VARCHAR},
+        PROJECTNAME = #{projectname,jdbcType=VARCHAR},
+        LINENAME = #{linename,jdbcType=VARCHAR},
+        WINDTURBINENAME = #{windturbinename,jdbcType=VARCHAR},
+        ALERTTEXT = #{alerttext,jdbcType=VARCHAR},
+        MODELID = #{modelid,jdbcType=VARCHAR},
+        TESTINGPOINTKEY = #{testingpointkey,jdbcType=VARCHAR},
+        LASTUPDATETIME = #{lastupdatetime,jdbcType=TIMESTAMP},
+        DATAINFO = #{datainfo,jdbcType=VARCHAR}
+        where ID = #{id,jdbcType=DECIMAL}
+    </update>
+
+    <select id="getAlarmhistoryList" resultType="com.gyee.frame.model.custom.TotalNumsVo">
+
+        select distinct b.windturbineid,b.alertvalue from ${tname} a,alarmsnap b
+        where a.snapid = b.id and category1='windturbine' and b.category2 is not null
+        and b.category2!='other'
+
+      and a.alerttime>= to_date('${beginDate}','YYYY-MM-DD HH24:MI:SS') and a.alerttime &lt; to_date('${endDate}','YYYY-MM-DD HH24:MI:SS')
+
+
+    </select>
+
+    <select id="findAlertrulefailuresubMap" resultType="com.gyee.frame.model.custom.TotalNumVo">
+
+   select t.altype typeId,r.ednavalue numbers,r.id,t.name from alertrule2 r,alertrulefailuresub t where t.tid=r.id and t.altype is not null
+
+  </select>
+
+</mapper>

+ 496 - 0
web/health-jn/src/main/resources/mybatis/auto/Alertrule2Mapper.xml

@@ -0,0 +1,496 @@
+<?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.Alertrule2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Alertrule2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
+    <result column="EXPRESSION" jdbcType="VARCHAR" property="expression" />
+    <result column="TAG" jdbcType="VARCHAR" property="tag" />
+    <result column="RANK" jdbcType="VARCHAR" property="rank" />
+    <result column="ENABLED" jdbcType="DECIMAL" property="enabled" />
+    <result column="MODELID" jdbcType="VARCHAR" property="modelid" />
+    <result column="EDNAVALUE" jdbcType="DECIMAL" property="ednavalue" />
+    <result column="CATEGORY" jdbcType="VARCHAR" property="category" />
+    <result column="RANGE" jdbcType="VARCHAR" property="range" />
+    <result column="STATION" jdbcType="VARCHAR" property="station" />
+    <result column="WINDTURBINE" jdbcType="VARCHAR" property="windturbine" />
+    <result column="LINE" jdbcType="VARCHAR" property="line" />
+    <result column="PROJECT" jdbcType="VARCHAR" property="project" />
+    <result column="ELECTRICAL" jdbcType="VARCHAR" property="electrical" />
+    <result column="TASKSTART" jdbcType="VARCHAR" property="taskstart" />
+    <result column="RELATEDPARTS" jdbcType="VARCHAR" property="relatedparts" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, NAME, DESCRIPTION, EXPRESSION, TAG, RANK, ENABLED, MODELID, EDNAVALUE, CATEGORY,
+    RANGE, STATION, WINDTURBINE, LINE, PROJECT, ELECTRICAL, TASKSTART, RELATEDPARTS
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Alertrule2Example" 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 ALERTRULE2
+    <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 ALERTRULE2
+    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 ALERTRULE2
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Alertrule2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from ALERTRULE2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Alertrule2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALERTRULE2 (ID, NAME, DESCRIPTION, 
+      EXPRESSION, TAG, RANK, 
+      ENABLED, MODELID, EDNAVALUE, 
+      CATEGORY, RANGE, STATION,
+      WINDTURBINE, LINE, PROJECT, 
+      ELECTRICAL, TASKSTART, RELATEDPARTS
+      )
+    values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, 
+      #{expression,jdbcType=VARCHAR}, #{tag,jdbcType=VARCHAR}, #{rank,jdbcType=VARCHAR}, 
+      #{enabled,jdbcType=DECIMAL}, #{modelid,jdbcType=VARCHAR}, #{ednavalue,jdbcType=DECIMAL}, 
+      #{category,jdbcType=VARCHAR}, #{range,jdbcType=VARCHAR}, #{station,jdbcType=VARCHAR}, 
+      #{windturbine,jdbcType=VARCHAR}, #{line,jdbcType=VARCHAR}, #{project,jdbcType=VARCHAR}, 
+      #{electrical,jdbcType=VARCHAR}, #{taskstart,jdbcType=VARCHAR}, #{relatedparts,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Alertrule2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALERTRULE2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+      <if test="expression != null">
+        EXPRESSION,
+      </if>
+      <if test="tag != null">
+        TAG,
+      </if>
+      <if test="rank != null">
+        RANK,
+      </if>
+      <if test="enabled != null">
+        ENABLED,
+      </if>
+      <if test="modelid != null">
+        MODELID,
+      </if>
+      <if test="ednavalue != null">
+        EDNAVALUE,
+      </if>
+      <if test="category != null">
+        CATEGORY,
+      </if>
+      <if test="range != null">
+        RANGE,
+      </if>
+      <if test="station != null">
+        STATION,
+      </if>
+      <if test="windturbine != null">
+        WINDTURBINE,
+      </if>
+      <if test="line != null">
+        LINE,
+      </if>
+      <if test="project != null">
+        PROJECT,
+      </if>
+      <if test="electrical != null">
+        ELECTRICAL,
+      </if>
+      <if test="taskstart != null">
+        TASKSTART,
+      </if>
+      <if test="relatedparts != null">
+        RELATEDPARTS,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="expression != null">
+        #{expression,jdbcType=VARCHAR},
+      </if>
+      <if test="tag != null">
+        #{tag,jdbcType=VARCHAR},
+      </if>
+      <if test="rank != null">
+        #{rank,jdbcType=VARCHAR},
+      </if>
+      <if test="enabled != null">
+        #{enabled,jdbcType=DECIMAL},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="ednavalue != null">
+        #{ednavalue,jdbcType=DECIMAL},
+      </if>
+      <if test="category != null">
+        #{category,jdbcType=VARCHAR},
+      </if>
+      <if test="range != null">
+        #{range,jdbcType=VARCHAR},
+      </if>
+      <if test="station != null">
+        #{station,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbine != null">
+        #{windturbine,jdbcType=VARCHAR},
+      </if>
+      <if test="line != null">
+        #{line,jdbcType=VARCHAR},
+      </if>
+      <if test="project != null">
+        #{project,jdbcType=VARCHAR},
+      </if>
+      <if test="electrical != null">
+        #{electrical,jdbcType=VARCHAR},
+      </if>
+      <if test="taskstart != null">
+        #{taskstart,jdbcType=VARCHAR},
+      </if>
+      <if test="relatedparts != null">
+        #{relatedparts,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Alertrule2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from ALERTRULE2
+    <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 ALERTRULE2
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=VARCHAR},
+      </if>
+      <if test="record.expression != null">
+        EXPRESSION = #{record.expression,jdbcType=VARCHAR},
+      </if>
+      <if test="record.tag != null">
+        TAG = #{record.tag,jdbcType=VARCHAR},
+      </if>
+      <if test="record.rank != null">
+        RANK = #{record.rank,jdbcType=VARCHAR},
+      </if>
+      <if test="record.enabled != null">
+        ENABLED = #{record.enabled,jdbcType=DECIMAL},
+      </if>
+      <if test="record.modelid != null">
+        MODELID = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ednavalue != null">
+        EDNAVALUE = #{record.ednavalue,jdbcType=DECIMAL},
+      </if>
+      <if test="record.category != null">
+        CATEGORY = #{record.category,jdbcType=VARCHAR},
+      </if>
+      <if test="record.range != null">
+        RANGE = #{record.range,jdbcType=VARCHAR},
+      </if>
+      <if test="record.station != null">
+        STATION = #{record.station,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbine != null">
+        WINDTURBINE = #{record.windturbine,jdbcType=VARCHAR},
+      </if>
+      <if test="record.line != null">
+        LINE = #{record.line,jdbcType=VARCHAR},
+      </if>
+      <if test="record.project != null">
+        PROJECT = #{record.project,jdbcType=VARCHAR},
+      </if>
+      <if test="record.electrical != null">
+        ELECTRICAL = #{record.electrical,jdbcType=VARCHAR},
+      </if>
+      <if test="record.taskstart != null">
+        TASKSTART = #{record.taskstart,jdbcType=VARCHAR},
+      </if>
+      <if test="record.relatedparts != null">
+        RELATEDPARTS = #{record.relatedparts,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 ALERTRULE2
+    set ID = #{record.id,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=VARCHAR},
+      EXPRESSION = #{record.expression,jdbcType=VARCHAR},
+      TAG = #{record.tag,jdbcType=VARCHAR},
+      RANK = #{record.rank,jdbcType=VARCHAR},
+      ENABLED = #{record.enabled,jdbcType=DECIMAL},
+      MODELID = #{record.modelid,jdbcType=VARCHAR},
+      EDNAVALUE = #{record.ednavalue,jdbcType=DECIMAL},
+      CATEGORY = #{record.category,jdbcType=VARCHAR},
+    RANGE = #{record.range,jdbcType=VARCHAR},
+      STATION = #{record.station,jdbcType=VARCHAR},
+      WINDTURBINE = #{record.windturbine,jdbcType=VARCHAR},
+      LINE = #{record.line,jdbcType=VARCHAR},
+      PROJECT = #{record.project,jdbcType=VARCHAR},
+      ELECTRICAL = #{record.electrical,jdbcType=VARCHAR},
+      TASKSTART = #{record.taskstart,jdbcType=VARCHAR},
+      RELATEDPARTS = #{record.relatedparts,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Alertrule2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ALERTRULE2
+    <set>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="expression != null">
+        EXPRESSION = #{expression,jdbcType=VARCHAR},
+      </if>
+      <if test="tag != null">
+        TAG = #{tag,jdbcType=VARCHAR},
+      </if>
+      <if test="rank != null">
+        RANK = #{rank,jdbcType=VARCHAR},
+      </if>
+      <if test="enabled != null">
+        ENABLED = #{enabled,jdbcType=DECIMAL},
+      </if>
+      <if test="modelid != null">
+        MODELID = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="ednavalue != null">
+        EDNAVALUE = #{ednavalue,jdbcType=DECIMAL},
+      </if>
+      <if test="category != null">
+        CATEGORY = #{category,jdbcType=VARCHAR},
+      </if>
+      <if test="range != null">
+        RANGE = #{range,jdbcType=VARCHAR},
+      </if>
+      <if test="station != null">
+        STATION = #{station,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbine != null">
+        WINDTURBINE = #{windturbine,jdbcType=VARCHAR},
+      </if>
+      <if test="line != null">
+        LINE = #{line,jdbcType=VARCHAR},
+      </if>
+      <if test="project != null">
+        PROJECT = #{project,jdbcType=VARCHAR},
+      </if>
+      <if test="electrical != null">
+        ELECTRICAL = #{electrical,jdbcType=VARCHAR},
+      </if>
+      <if test="taskstart != null">
+        TASKSTART = #{taskstart,jdbcType=VARCHAR},
+      </if>
+      <if test="relatedparts != null">
+        RELATEDPARTS = #{relatedparts,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Alertrule2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ALERTRULE2
+    set NAME = #{name,jdbcType=VARCHAR},
+      DESCRIPTION = #{description,jdbcType=VARCHAR},
+      EXPRESSION = #{expression,jdbcType=VARCHAR},
+      TAG = #{tag,jdbcType=VARCHAR},
+      RANK = #{rank,jdbcType=VARCHAR},
+      ENABLED = #{enabled,jdbcType=DECIMAL},
+      MODELID = #{modelid,jdbcType=VARCHAR},
+      EDNAVALUE = #{ednavalue,jdbcType=DECIMAL},
+      CATEGORY = #{category,jdbcType=VARCHAR},
+    RANGE = #{range,jdbcType=VARCHAR},
+      STATION = #{station,jdbcType=VARCHAR},
+      WINDTURBINE = #{windturbine,jdbcType=VARCHAR},
+      LINE = #{line,jdbcType=VARCHAR},
+      PROJECT = #{project,jdbcType=VARCHAR},
+      ELECTRICAL = #{electrical,jdbcType=VARCHAR},
+      TASKSTART = #{taskstart,jdbcType=VARCHAR},
+      RELATEDPARTS = #{relatedparts,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+
+  <select id="getAlarmTotal"  resultType="com.gyee.frame.model.custom.AlarmTotalVo">
+    select s.stationid wpId, s.windturbineid wtId, s.alerttext name from ( select snapid, sum(count) as count,sum(time) time from alarmcount
+    a left join alarmsnap ss on a.snapid = ss.id
+    where
+     ss.windturbineid='${wtId}'
+    and ss.windturbineid is not null
+    and
+     alarmdate >= to_date('${beginDate}','YYYY-MM-DD HH24:MI:SS')
+    and alarmdate &lt; to_date('${endDate}','YYYY-MM-DD HH24:MI:SS')
+    group by snapid ) t left join alarmsnap s
+     on t.snapid = s.id order by  t.count desc
+
+  </select>
+
+  <select id="getAlarmTypenum"  resultType="com.gyee.frame.model.custom.SimpleVo">
+     select count(*) value,w.name name from alertrule2 t,windturbine_parts w where t.relatedparts=w.id group by w.name
+  </select>
+
+</mapper>

+ 318 - 0
web/health-jn/src/main/resources/mybatis/auto/AlertrulefailureMapper.xml

@@ -0,0 +1,318 @@
+<?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.AlertrulefailureMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Alertrulefailure">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="TID" jdbcType="VARCHAR" property="tid" />
+    <result column="GZPC" jdbcType="VARCHAR" property="gzpc" />
+    <result column="GZYY" jdbcType="VARCHAR" property="gzyy" />
+    <result column="GQJ" jdbcType="VARCHAR" property="gqj" />
+    <result column="XQSC" jdbcType="DECIMAL" property="xqsc" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="MODEL" jdbcType="VARCHAR" property="model" />
+  </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, TID, GZPC, GZYY, GQJ, XQSC, NAME, MODEL
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.AlertrulefailureExample" 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 ALERTRULEFAILURE
+    <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 ALERTRULEFAILURE
+    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 ALERTRULEFAILURE
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.AlertrulefailureExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from ALERTRULEFAILURE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Alertrulefailure">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALERTRULEFAILURE (ID, TID, GZPC, 
+      GZYY, GQJ, XQSC, NAME, 
+      MODEL)
+    values (#{id,jdbcType=VARCHAR}, #{tid,jdbcType=VARCHAR}, #{gzpc,jdbcType=VARCHAR}, 
+      #{gzyy,jdbcType=VARCHAR}, #{gqj,jdbcType=VARCHAR}, #{xqsc,jdbcType=DECIMAL}, #{name,jdbcType=VARCHAR}, 
+      #{model,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Alertrulefailure">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ALERTRULEFAILURE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="tid != null">
+        TID,
+      </if>
+      <if test="gzpc != null">
+        GZPC,
+      </if>
+      <if test="gzyy != null">
+        GZYY,
+      </if>
+      <if test="gqj != null">
+        GQJ,
+      </if>
+      <if test="xqsc != null">
+        XQSC,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="model != null">
+        MODEL,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="tid != null">
+        #{tid,jdbcType=VARCHAR},
+      </if>
+      <if test="gzpc != null">
+        #{gzpc,jdbcType=VARCHAR},
+      </if>
+      <if test="gzyy != null">
+        #{gzyy,jdbcType=VARCHAR},
+      </if>
+      <if test="gqj != null">
+        #{gqj,jdbcType=VARCHAR},
+      </if>
+      <if test="xqsc != null">
+        #{xqsc,jdbcType=DECIMAL},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        #{model,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.AlertrulefailureExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from ALERTRULEFAILURE
+    <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 ALERTRULEFAILURE
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.tid != null">
+        TID = #{record.tid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gzpc != null">
+        GZPC = #{record.gzpc,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gzyy != null">
+        GZYY = #{record.gzyy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gqj != null">
+        GQJ = #{record.gqj,jdbcType=VARCHAR},
+      </if>
+      <if test="record.xqsc != null">
+        XQSC = #{record.xqsc,jdbcType=DECIMAL},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.model != null">
+        MODEL = #{record.model,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 ALERTRULEFAILURE
+    set ID = #{record.id,jdbcType=VARCHAR},
+      TID = #{record.tid,jdbcType=VARCHAR},
+      GZPC = #{record.gzpc,jdbcType=VARCHAR},
+      GZYY = #{record.gzyy,jdbcType=VARCHAR},
+      GQJ = #{record.gqj,jdbcType=VARCHAR},
+      XQSC = #{record.xqsc,jdbcType=DECIMAL},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      MODEL = #{record.model,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Alertrulefailure">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ALERTRULEFAILURE
+    <set>
+      <if test="tid != null">
+        TID = #{tid,jdbcType=VARCHAR},
+      </if>
+      <if test="gzpc != null">
+        GZPC = #{gzpc,jdbcType=VARCHAR},
+      </if>
+      <if test="gzyy != null">
+        GZYY = #{gzyy,jdbcType=VARCHAR},
+      </if>
+      <if test="gqj != null">
+        GQJ = #{gqj,jdbcType=VARCHAR},
+      </if>
+      <if test="xqsc != null">
+        XQSC = #{xqsc,jdbcType=DECIMAL},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        MODEL = #{model,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Alertrulefailure">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ALERTRULEFAILURE
+    set TID = #{tid,jdbcType=VARCHAR},
+      GZPC = #{gzpc,jdbcType=VARCHAR},
+      GZYY = #{gzyy,jdbcType=VARCHAR},
+      GQJ = #{gqj,jdbcType=VARCHAR},
+      XQSC = #{xqsc,jdbcType=DECIMAL},
+      NAME = #{name,jdbcType=VARCHAR},
+      MODEL = #{model,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 376 - 0
web/health-jn/src/main/resources/mybatis/auto/AnalysissubtablebottomMapper.xml

@@ -0,0 +1,376 @@
+<?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.AnalysissubtablebottomMapper">
+    <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Analysissubtablebottom">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        <id column="ID" jdbcType="DECIMAL" property="id"/>
+        <result column="TID" jdbcType="DECIMAL" property="tid"/>
+        <result column="RECORDDATE" jdbcType="TIMESTAMP" property="recorddate"/>
+        <result column="WPID" jdbcType="VARCHAR" property="wpid"/>
+        <result column="METERID" jdbcType="VARCHAR" property="meterid"/>
+        <result column="METERNAME" jdbcType="VARCHAR" property="metername"/>
+        <result column="STOPCODE" jdbcType="DECIMAL" property="stopcode"/>
+        <result column="STOPCODEMODIFY" jdbcType="DECIMAL" property="stopcodemodify"/>
+        <result column="DAYVALUE" jdbcType="DECIMAL" property="dayvalue"/>
+        <result column="DAYVALUEMODIFY" jdbcType="DECIMAL" property="dayvaluemodify"/>
+    </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, TID, RECORDDATE, WPID, METERID, METERNAME, STOPCODE, STOPCODEMODIFY, DAYVALUE,
+        DAYVALUEMODIFY
+    </sql>
+    <select id="selectByExample" parameterType="com.gyee.frame.model.auto.AnalysissubtablebottomExample"
+            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 ANALYSISSUBTABLEBOTTOM
+        <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.Short" resultMap="BaseResultMap">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        select
+        <include refid="Base_Column_List"/>
+        from ANALYSISSUBTABLEBOTTOM
+        where ID = #{id,jdbcType=DECIMAL}
+    </select>
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        delete from ANALYSISSUBTABLEBOTTOM
+        where ID = #{id,jdbcType=DECIMAL}
+    </delete>
+    <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.AnalysissubtablebottomExample">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        delete from ANALYSISSUBTABLEBOTTOM
+        <if test="_parameter != null">
+            <include refid="Example_Where_Clause"/>
+        </if>
+    </delete>
+    <insert id="insert" parameterType="com.gyee.frame.model.auto.Analysissubtablebottom">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        insert into ANALYSISSUBTABLEBOTTOM (ID, TID, RECORDDATE,
+        WPID, METERID, METERNAME,
+        STOPCODE, STOPCODEMODIFY, DAYVALUE,
+        DAYVALUEMODIFY)
+        values (#{id,jdbcType=DECIMAL}, #{tid,jdbcType=DECIMAL}, #{recorddate,jdbcType=TIMESTAMP},
+        #{wpid,jdbcType=VARCHAR}, #{meterid,jdbcType=VARCHAR}, #{metername,jdbcType=VARCHAR},
+        #{stopcode,jdbcType=DECIMAL}, #{stopcodemodify,jdbcType=DECIMAL}, #{dayvalue,jdbcType=DECIMAL},
+        #{dayvaluemodify,jdbcType=DECIMAL})
+    </insert>
+    <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Analysissubtablebottom">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        insert into ANALYSISSUBTABLEBOTTOM
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">
+                ID,
+            </if>
+            <if test="tid != null">
+                TID,
+            </if>
+            <if test="recorddate != null">
+                RECORDDATE,
+            </if>
+            <if test="wpid != null">
+                WPID,
+            </if>
+            <if test="meterid != null">
+                METERID,
+            </if>
+            <if test="metername != null">
+                METERNAME,
+            </if>
+            <if test="stopcode != null">
+                STOPCODE,
+            </if>
+            <if test="stopcodemodify != null">
+                STOPCODEMODIFY,
+            </if>
+            <if test="dayvalue != null">
+                DAYVALUE,
+            </if>
+            <if test="dayvaluemodify != null">
+                DAYVALUEMODIFY,
+            </if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">
+                #{id,jdbcType=DECIMAL},
+            </if>
+            <if test="tid != null">
+                #{tid,jdbcType=DECIMAL},
+            </if>
+            <if test="recorddate != null">
+                #{recorddate,jdbcType=TIMESTAMP},
+            </if>
+            <if test="wpid != null">
+                #{wpid,jdbcType=VARCHAR},
+            </if>
+            <if test="meterid != null">
+                #{meterid,jdbcType=VARCHAR},
+            </if>
+            <if test="metername != null">
+                #{metername,jdbcType=VARCHAR},
+            </if>
+            <if test="stopcode != null">
+                #{stopcode,jdbcType=DECIMAL},
+            </if>
+            <if test="stopcodemodify != null">
+                #{stopcodemodify,jdbcType=DECIMAL},
+            </if>
+            <if test="dayvalue != null">
+                #{dayvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="dayvaluemodify != null">
+                #{dayvaluemodify,jdbcType=DECIMAL},
+            </if>
+        </trim>
+    </insert>
+    <select id="countByExample" parameterType="com.gyee.frame.model.auto.AnalysissubtablebottomExample"
+            resultType="java.lang.Long">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        select count(*) from ANALYSISSUBTABLEBOTTOM
+        <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 ANALYSISSUBTABLEBOTTOM
+        <set>
+            <if test="record.id != null">
+                ID = #{record.id,jdbcType=DECIMAL},
+            </if>
+            <if test="record.tid != null">
+                TID = #{record.tid,jdbcType=DECIMAL},
+            </if>
+            <if test="record.recorddate != null">
+                RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+            </if>
+            <if test="record.wpid != null">
+                WPID = #{record.wpid,jdbcType=VARCHAR},
+            </if>
+            <if test="record.meterid != null">
+                METERID = #{record.meterid,jdbcType=VARCHAR},
+            </if>
+            <if test="record.metername != null">
+                METERNAME = #{record.metername,jdbcType=VARCHAR},
+            </if>
+            <if test="record.stopcode != null">
+                STOPCODE = #{record.stopcode,jdbcType=DECIMAL},
+            </if>
+            <if test="record.stopcodemodify != null">
+                STOPCODEMODIFY = #{record.stopcodemodify,jdbcType=DECIMAL},
+            </if>
+            <if test="record.dayvalue != null">
+                DAYVALUE = #{record.dayvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="record.dayvaluemodify != null">
+                DAYVALUEMODIFY = #{record.dayvaluemodify,jdbcType=DECIMAL},
+            </if>
+        </set>
+        <if test="_parameter != null">
+            <include refid="Update_By_Example_Where_Clause"/>
+        </if>
+    </update>
+    <update id="updateByExample" parameterType="map">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        update ANALYSISSUBTABLEBOTTOM
+        set ID = #{record.id,jdbcType=DECIMAL},
+        TID = #{record.tid,jdbcType=DECIMAL},
+        RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+        METERID = #{record.meterid,jdbcType=VARCHAR},
+        METERNAME = #{record.metername,jdbcType=VARCHAR},
+        STOPCODE = #{record.stopcode,jdbcType=DECIMAL},
+        STOPCODEMODIFY = #{record.stopcodemodify,jdbcType=DECIMAL},
+        DAYVALUE = #{record.dayvalue,jdbcType=DECIMAL},
+        DAYVALUEMODIFY = #{record.dayvaluemodify,jdbcType=DECIMAL}
+        <if test="_parameter != null">
+            <include refid="Update_By_Example_Where_Clause"/>
+        </if>
+    </update>
+    <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Analysissubtablebottom">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        update ANALYSISSUBTABLEBOTTOM
+        <set>
+            <if test="tid != null">
+                TID = #{tid,jdbcType=DECIMAL},
+            </if>
+            <if test="recorddate != null">
+                RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+            </if>
+            <if test="wpid != null">
+                WPID = #{wpid,jdbcType=VARCHAR},
+            </if>
+            <if test="meterid != null">
+                METERID = #{meterid,jdbcType=VARCHAR},
+            </if>
+            <if test="metername != null">
+                METERNAME = #{metername,jdbcType=VARCHAR},
+            </if>
+            <if test="stopcode != null">
+                STOPCODE = #{stopcode,jdbcType=DECIMAL},
+            </if>
+            <if test="stopcodemodify != null">
+                STOPCODEMODIFY = #{stopcodemodify,jdbcType=DECIMAL},
+            </if>
+            <if test="dayvalue != null">
+                DAYVALUE = #{dayvalue,jdbcType=DECIMAL},
+            </if>
+            <if test="dayvaluemodify != null">
+                DAYVALUEMODIFY = #{dayvaluemodify,jdbcType=DECIMAL},
+            </if>
+        </set>
+        where ID = #{id,jdbcType=DECIMAL}
+    </update>
+    <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Analysissubtablebottom">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        update ANALYSISSUBTABLEBOTTOM
+        set TID = #{tid,jdbcType=DECIMAL},
+        RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+        WPID = #{wpid,jdbcType=VARCHAR},
+        METERID = #{meterid,jdbcType=VARCHAR},
+        METERNAME = #{metername,jdbcType=VARCHAR},
+        STOPCODE = #{stopcode,jdbcType=DECIMAL},
+        STOPCODEMODIFY = #{stopcodemodify,jdbcType=DECIMAL},
+        DAYVALUE = #{dayvalue,jdbcType=DECIMAL},
+        DAYVALUEMODIFY = #{dayvaluemodify,jdbcType=DECIMAL}
+        where ID = #{id,jdbcType=DECIMAL}
+    </update>
+
+    <select id="selectByRecorddateGrop" resultType="java.util.Map">
+
+        select RECORDDATE recorddate, SUM(dayvaluemodify)/1000 swdl from Analysissubtablebottom
+        <where>
+            AND wpid = #{wpid}
+            AND RECORDDATE >= to_date(#{startTs}, 'yyyy-mm-dd')
+            AND RECORDDATE  &lt;=  to_date(#{endTs}, 'yyyy-mm-dd')
+            AND meterid in
+            <foreach collection="point" item="item" index="index" open= "(" separator="," close=")">
+                #{item}
+            </foreach>
+
+        </where>
+         group by RECORDDATE
+         order by RECORDDATE
+
+
+  </select>
+
+</mapper>

+ 478 - 0
web/health-jn/src/main/resources/mybatis/auto/Brownoutsevent2Mapper.xml

@@ -0,0 +1,478 @@
+<?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.Brownoutsevent2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Brownoutsevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="stopTime" jdbcType="TIMESTAMP" property="stoptime" />
+    <result column="startTime" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="stopHours" jdbcType="DECIMAL" property="stophours" />
+    <result column="lossPower" jdbcType="DECIMAL" property="losspower" />
+    <result column="stopTypeId" jdbcType="VARCHAR" property="stoptypeid" />
+    <result column="isHandle" jdbcType="SMALLINT" property="ishandle" />
+    <result column="shutdownEventId" jdbcType="VARCHAR" property="shutdowneventid" />
+    <result column="projectId" jdbcType="VARCHAR" property="projectid" />
+    <result column="mainId" jdbcType="VARCHAR" property="mainid" />
+    <result column="limitload" jdbcType="DECIMAL" property="limitload" />
+    <result column="BrownoutsDirective" jdbcType="VARCHAR" property="brownoutsdirective" />
+    <result column="windspeed" jdbcType="DECIMAL" property="windspeed" />
+    <result column="thisload" jdbcType="DECIMAL" property="thisload" />
+    <result column="stopReason" jdbcType="VARCHAR" property="stopreason" />
+    <result column="lineId" jdbcType="VARCHAR" property="lineid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windPowerStationId, windTurbineId, stopTime, startTime, stopHours, lossPower, 
+    stopTypeId, isHandle, shutdownEventId, projectId, mainId, limitload, BrownoutsDirective, 
+    windspeed, thisload, stopReason, lineId
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Brownoutsevent2Example" 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 brownoutsevent2
+    <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 brownoutsevent2
+    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 brownoutsevent2
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Brownoutsevent2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from brownoutsevent2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Brownoutsevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into brownoutsevent2 (id, windPowerStationId, windTurbineId, 
+      stopTime, startTime, stopHours, 
+      lossPower, stopTypeId, isHandle, 
+      shutdownEventId, projectId, mainId, 
+      limitload, BrownoutsDirective, windspeed, 
+      thisload, stopReason, lineId
+      )
+    values (#{id,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, #{stophours,jdbcType=DECIMAL}, 
+      #{losspower,jdbcType=DECIMAL}, #{stoptypeid,jdbcType=VARCHAR}, #{ishandle,jdbcType=SMALLINT}, 
+      #{shutdowneventid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{mainid,jdbcType=VARCHAR}, 
+      #{limitload,jdbcType=DECIMAL}, #{brownoutsdirective,jdbcType=VARCHAR}, #{windspeed,jdbcType=DECIMAL}, 
+      #{thisload,jdbcType=DECIMAL}, #{stopreason,jdbcType=VARCHAR}, #{lineid,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Brownoutsevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into brownoutsevent2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId,
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId,
+      </if>
+      <if test="stoptime != null">
+        stopTime,
+      </if>
+      <if test="starttime != null">
+        startTime,
+      </if>
+      <if test="stophours != null">
+        stopHours,
+      </if>
+      <if test="losspower != null">
+        lossPower,
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId,
+      </if>
+      <if test="ishandle != null">
+        isHandle,
+      </if>
+      <if test="shutdowneventid != null">
+        shutdownEventId,
+      </if>
+      <if test="projectid != null">
+        projectId,
+      </if>
+      <if test="mainid != null">
+        mainId,
+      </if>
+      <if test="limitload != null">
+        limitload,
+      </if>
+      <if test="brownoutsdirective != null">
+        BrownoutsDirective,
+      </if>
+      <if test="windspeed != null">
+        windspeed,
+      </if>
+      <if test="thisload != null">
+        thisload,
+      </if>
+      <if test="stopreason != null">
+        stopReason,
+      </if>
+      <if test="lineid != null">
+        lineId,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="shutdowneventid != null">
+        #{shutdowneventid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="limitload != null">
+        #{limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="brownoutsdirective != null">
+        #{brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="windspeed != null">
+        #{windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="thisload != null">
+        #{thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="stopreason != null">
+        #{stopreason,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Brownoutsevent2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from brownoutsevent2
+    <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 brownoutsevent2
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.stoptime != null">
+        stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.starttime != null">
+        startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stophours != null">
+        stopHours = #{record.stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="record.losspower != null">
+        lossPower = #{record.losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.stoptypeid != null">
+        stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ishandle != null">
+        isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="record.shutdowneventid != null">
+        shutdownEventId = #{record.shutdowneventid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        projectId = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mainid != null">
+        mainId = #{record.mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.limitload != null">
+        limitload = #{record.limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="record.brownoutsdirective != null">
+        BrownoutsDirective = #{record.brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windspeed != null">
+        windspeed = #{record.windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.thisload != null">
+        thisload = #{record.thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="record.stopreason != null">
+        stopReason = #{record.stopreason,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lineid != null">
+        lineId = #{record.lineid,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 brownoutsevent2
+    set id = #{record.id,jdbcType=VARCHAR},
+      windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      stopHours = #{record.stophours,jdbcType=DECIMAL},
+      lossPower = #{record.losspower,jdbcType=DECIMAL},
+      stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      shutdownEventId = #{record.shutdowneventid,jdbcType=VARCHAR},
+      projectId = #{record.projectid,jdbcType=VARCHAR},
+      mainId = #{record.mainid,jdbcType=VARCHAR},
+      limitload = #{record.limitload,jdbcType=DECIMAL},
+      BrownoutsDirective = #{record.brownoutsdirective,jdbcType=VARCHAR},
+      windspeed = #{record.windspeed,jdbcType=DECIMAL},
+      thisload = #{record.thisload,jdbcType=DECIMAL},
+      stopReason = #{record.stopreason,jdbcType=VARCHAR},
+      lineId = #{record.lineid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Brownoutsevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update brownoutsevent2
+    <set>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        startTime = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        stopHours = #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        lossPower = #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        isHandle = #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="shutdowneventid != null">
+        shutdownEventId = #{shutdowneventid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectId = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        mainId = #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="limitload != null">
+        limitload = #{limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="brownoutsdirective != null">
+        BrownoutsDirective = #{brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="windspeed != null">
+        windspeed = #{windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="thisload != null">
+        thisload = #{thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="stopreason != null">
+        stopReason = #{stopreason,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        lineId = #{lineid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Brownoutsevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update brownoutsevent2
+    set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      startTime = #{starttime,jdbcType=TIMESTAMP},
+      stopHours = #{stophours,jdbcType=DECIMAL},
+      lossPower = #{losspower,jdbcType=DECIMAL},
+      stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{ishandle,jdbcType=SMALLINT},
+      shutdownEventId = #{shutdowneventid,jdbcType=VARCHAR},
+      projectId = #{projectid,jdbcType=VARCHAR},
+      mainId = #{mainid,jdbcType=VARCHAR},
+      limitload = #{limitload,jdbcType=DECIMAL},
+      BrownoutsDirective = #{brownoutsdirective,jdbcType=VARCHAR},
+      windspeed = #{windspeed,jdbcType=DECIMAL},
+      thisload = #{thisload,jdbcType=DECIMAL},
+      stopReason = #{stopreason,jdbcType=VARCHAR},
+      lineId = #{lineid,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 809 - 0
web/health-jn/src/main/resources/mybatis/auto/CompaniesMapper.xml

@@ -0,0 +1,809 @@
+<?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.CompaniesMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="COMPANY" jdbcType="NVARCHAR" property="company" />
+    <result column="PARENT" jdbcType="NVARCHAR" property="parent" />
+    <result column="TYPE" jdbcType="NVARCHAR" property="type" />
+    <result column="REGFUND" jdbcType="NVARCHAR" property="regfund" />
+    <result column="COMPTYPE" jdbcType="NVARCHAR" property="comptype" />
+    <result column="DELEGATE" jdbcType="NVARCHAR" property="delegate" />
+    <result column="REGNUM" jdbcType="NVARCHAR" property="regnum" />
+    <result column="TAXNUM" jdbcType="NVARCHAR" property="taxnum" />
+    <result column="MAINPROD" jdbcType="NVARCHAR" property="mainprod" />
+    <result column="DEALIN" jdbcType="NVARCHAR" property="dealin" />
+    <result column="ADDRESS" jdbcType="NVARCHAR" property="address" />
+    <result column="POSTNUM" jdbcType="NVARCHAR" property="postnum" />
+    <result column="PROVINCE" jdbcType="NVARCHAR" property="province" />
+    <result column="CITY" jdbcType="NVARCHAR" property="city" />
+    <result column="CONTACT" jdbcType="NVARCHAR" property="contact" />
+    <result column="PHONE" jdbcType="NVARCHAR" property="phone" />
+    <result column="FAX" jdbcType="NVARCHAR" property="fax" />
+    <result column="CONTACTMP" jdbcType="NVARCHAR" property="contactmp" />
+    <result column="CONTACTMAIL" jdbcType="NVARCHAR" property="contactmail" />
+    <result column="FOB" jdbcType="NVARCHAR" property="fob" />
+    <result column="FREIGHTTERMS" jdbcType="NVARCHAR" property="freightterms" />
+    <result column="SHIPVIA" jdbcType="NVARCHAR" property="shipvia" />
+    <result column="PAYMENTTERMS" jdbcType="NVARCHAR" property="paymentterms" />
+    <result column="EBSNUM" jdbcType="NVARCHAR" property="ebsnum" />
+    <result column="EBSISSYNC" jdbcType="NVARCHAR" property="ebsissync" />
+    <result column="CHANGEBY" jdbcType="NVARCHAR" property="changeby" />
+    <result column="CHANGEDATE" jdbcType="TIMESTAMP" property="changedate" />
+    <result column="PAYVENDOR" jdbcType="NVARCHAR" property="payvendor" />
+    <result column="BANKNAME" jdbcType="NVARCHAR" property="bankname" />
+    <result column="BANKACCOUNT" jdbcType="NVARCHAR" property="bankaccount" />
+    <result column="DISABLED" jdbcType="NVARCHAR" property="disabled" />
+    <result column="REMITADDR" jdbcType="NVARCHAR" property="remitaddr" />
+    <result column="REMITPOSTNUM" jdbcType="NVARCHAR" property="remitpostnum" />
+    <result column="REMITPHONE" jdbcType="NVARCHAR" property="remitphone" />
+    <result column="REMITTO" jdbcType="NVARCHAR" property="remitto" />
+    <result column="HOMEPAGE" jdbcType="NVARCHAR" property="homepage" />
+    <result column="DEFWAREHOUSE" jdbcType="NVARCHAR" property="defwarehouse" />
+    <result column="DESCRIPTION" jdbcType="NVARCHAR" property="description" />
+  </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, COMPANY, PARENT, TYPE, REGFUND, COMPTYPE, DELEGATE, REGNUM, TAXNUM, MAINPROD, 
+    DEALIN, ADDRESS, POSTNUM, PROVINCE, CITY, CONTACT, PHONE, FAX, CONTACTMP, CONTACTMAIL, 
+    FOB, FREIGHTTERMS, SHIPVIA, PAYMENTTERMS, EBSNUM, EBSISSYNC, CHANGEBY, CHANGEDATE, 
+    PAYVENDOR, BANKNAME, BANKACCOUNT, DISABLED, REMITADDR, REMITPOSTNUM, REMITPHONE, 
+    REMITTO, HOMEPAGE, DEFWAREHOUSE, DESCRIPTION
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample" 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 COMPANIES
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from COMPANIES
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from COMPANIES
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from COMPANIES
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into COMPANIES (ID, COMPANY, PARENT, 
+      TYPE, REGFUND, COMPTYPE, 
+      DELEGATE, REGNUM, TAXNUM, 
+      MAINPROD, DEALIN, ADDRESS, 
+      POSTNUM, PROVINCE, CITY, 
+      CONTACT, PHONE, FAX, 
+      CONTACTMP, CONTACTMAIL, FOB, 
+      FREIGHTTERMS, SHIPVIA, PAYMENTTERMS, 
+      EBSNUM, EBSISSYNC, CHANGEBY, 
+      CHANGEDATE, PAYVENDOR, BANKNAME, 
+      BANKACCOUNT, DISABLED, REMITADDR, 
+      REMITPOSTNUM, REMITPHONE, REMITTO, 
+      HOMEPAGE, DEFWAREHOUSE, DESCRIPTION
+      )
+    values (#{id,jdbcType=NUMERIC}, #{company,jdbcType=NVARCHAR}, #{parent,jdbcType=NVARCHAR}, 
+      #{type,jdbcType=NVARCHAR}, #{regfund,jdbcType=NVARCHAR}, #{comptype,jdbcType=NVARCHAR}, 
+      #{delegate,jdbcType=NVARCHAR}, #{regnum,jdbcType=NVARCHAR}, #{taxnum,jdbcType=NVARCHAR}, 
+      #{mainprod,jdbcType=NVARCHAR}, #{dealin,jdbcType=NVARCHAR}, #{address,jdbcType=NVARCHAR}, 
+      #{postnum,jdbcType=NVARCHAR}, #{province,jdbcType=NVARCHAR}, #{city,jdbcType=NVARCHAR}, 
+      #{contact,jdbcType=NVARCHAR}, #{phone,jdbcType=NVARCHAR}, #{fax,jdbcType=NVARCHAR}, 
+      #{contactmp,jdbcType=NVARCHAR}, #{contactmail,jdbcType=NVARCHAR}, #{fob,jdbcType=NVARCHAR}, 
+      #{freightterms,jdbcType=NVARCHAR}, #{shipvia,jdbcType=NVARCHAR}, #{paymentterms,jdbcType=NVARCHAR}, 
+      #{ebsnum,jdbcType=NVARCHAR}, #{ebsissync,jdbcType=NVARCHAR}, #{changeby,jdbcType=NVARCHAR}, 
+      #{changedate,jdbcType=TIMESTAMP}, #{payvendor,jdbcType=NVARCHAR}, #{bankname,jdbcType=NVARCHAR}, 
+      #{bankaccount,jdbcType=NVARCHAR}, #{disabled,jdbcType=NVARCHAR}, #{remitaddr,jdbcType=NVARCHAR}, 
+      #{remitpostnum,jdbcType=NVARCHAR}, #{remitphone,jdbcType=NVARCHAR}, #{remitto,jdbcType=NVARCHAR}, 
+      #{homepage,jdbcType=NVARCHAR}, #{defwarehouse,jdbcType=NVARCHAR}, #{description,jdbcType=NVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into COMPANIES
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="company != null">
+        COMPANY,
+      </if>
+      <if test="parent != null">
+        PARENT,
+      </if>
+      <if test="type != null">
+        TYPE,
+      </if>
+      <if test="regfund != null">
+        REGFUND,
+      </if>
+      <if test="comptype != null">
+        COMPTYPE,
+      </if>
+      <if test="delegate != null">
+        DELEGATE,
+      </if>
+      <if test="regnum != null">
+        REGNUM,
+      </if>
+      <if test="taxnum != null">
+        TAXNUM,
+      </if>
+      <if test="mainprod != null">
+        MAINPROD,
+      </if>
+      <if test="dealin != null">
+        DEALIN,
+      </if>
+      <if test="address != null">
+        ADDRESS,
+      </if>
+      <if test="postnum != null">
+        POSTNUM,
+      </if>
+      <if test="province != null">
+        PROVINCE,
+      </if>
+      <if test="city != null">
+        CITY,
+      </if>
+      <if test="contact != null">
+        CONTACT,
+      </if>
+      <if test="phone != null">
+        PHONE,
+      </if>
+      <if test="fax != null">
+        FAX,
+      </if>
+      <if test="contactmp != null">
+        CONTACTMP,
+      </if>
+      <if test="contactmail != null">
+        CONTACTMAIL,
+      </if>
+      <if test="fob != null">
+        FOB,
+      </if>
+      <if test="freightterms != null">
+        FREIGHTTERMS,
+      </if>
+      <if test="shipvia != null">
+        SHIPVIA,
+      </if>
+      <if test="paymentterms != null">
+        PAYMENTTERMS,
+      </if>
+      <if test="ebsnum != null">
+        EBSNUM,
+      </if>
+      <if test="ebsissync != null">
+        EBSISSYNC,
+      </if>
+      <if test="changeby != null">
+        CHANGEBY,
+      </if>
+      <if test="changedate != null">
+        CHANGEDATE,
+      </if>
+      <if test="payvendor != null">
+        PAYVENDOR,
+      </if>
+      <if test="bankname != null">
+        BANKNAME,
+      </if>
+      <if test="bankaccount != null">
+        BANKACCOUNT,
+      </if>
+      <if test="disabled != null">
+        DISABLED,
+      </if>
+      <if test="remitaddr != null">
+        REMITADDR,
+      </if>
+      <if test="remitpostnum != null">
+        REMITPOSTNUM,
+      </if>
+      <if test="remitphone != null">
+        REMITPHONE,
+      </if>
+      <if test="remitto != null">
+        REMITTO,
+      </if>
+      <if test="homepage != null">
+        HOMEPAGE,
+      </if>
+      <if test="defwarehouse != null">
+        DEFWAREHOUSE,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="company != null">
+        #{company,jdbcType=NVARCHAR},
+      </if>
+      <if test="parent != null">
+        #{parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="type != null">
+        #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="regfund != null">
+        #{regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="comptype != null">
+        #{comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="delegate != null">
+        #{delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="regnum != null">
+        #{regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxnum != null">
+        #{taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="mainprod != null">
+        #{mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="dealin != null">
+        #{dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="address != null">
+        #{address,jdbcType=NVARCHAR},
+      </if>
+      <if test="postnum != null">
+        #{postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="province != null">
+        #{province,jdbcType=NVARCHAR},
+      </if>
+      <if test="city != null">
+        #{city,jdbcType=NVARCHAR},
+      </if>
+      <if test="contact != null">
+        #{contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="phone != null">
+        #{phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="fax != null">
+        #{fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmp != null">
+        #{contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmail != null">
+        #{contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="fob != null">
+        #{fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="freightterms != null">
+        #{freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="shipvia != null">
+        #{shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="paymentterms != null">
+        #{paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsnum != null">
+        #{ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsissync != null">
+        #{ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="changeby != null">
+        #{changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="changedate != null">
+        #{changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="payvendor != null">
+        #{payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankname != null">
+        #{bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankaccount != null">
+        #{bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="disabled != null">
+        #{disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitaddr != null">
+        #{remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitpostnum != null">
+        #{remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitphone != null">
+        #{remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitto != null">
+        #{remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="homepage != null">
+        #{homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="defwarehouse != null">
+        #{defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CompaniesExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from COMPANIES
+    <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 COMPANIES
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.company != null">
+        COMPANY = #{record.company,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.parent != null">
+        PARENT = #{record.parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.type != null">
+        TYPE = #{record.type,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.regfund != null">
+        REGFUND = #{record.regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.comptype != null">
+        COMPTYPE = #{record.comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.delegate != null">
+        DELEGATE = #{record.delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.regnum != null">
+        REGNUM = #{record.regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.taxnum != null">
+        TAXNUM = #{record.taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.mainprod != null">
+        MAINPROD = #{record.mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.dealin != null">
+        DEALIN = #{record.dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.address != null">
+        ADDRESS = #{record.address,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.postnum != null">
+        POSTNUM = #{record.postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.province != null">
+        PROVINCE = #{record.province,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.city != null">
+        CITY = #{record.city,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contact != null">
+        CONTACT = #{record.contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.phone != null">
+        PHONE = #{record.phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fax != null">
+        FAX = #{record.fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contactmp != null">
+        CONTACTMP = #{record.contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.contactmail != null">
+        CONTACTMAIL = #{record.contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.fob != null">
+        FOB = #{record.fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.freightterms != null">
+        FREIGHTTERMS = #{record.freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.shipvia != null">
+        SHIPVIA = #{record.shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.paymentterms != null">
+        PAYMENTTERMS = #{record.paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.ebsnum != null">
+        EBSNUM = #{record.ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.ebsissync != null">
+        EBSISSYNC = #{record.ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.changeby != null">
+        CHANGEBY = #{record.changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.changedate != null">
+        CHANGEDATE = #{record.changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.payvendor != null">
+        PAYVENDOR = #{record.payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bankname != null">
+        BANKNAME = #{record.bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bankaccount != null">
+        BANKACCOUNT = #{record.bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.disabled != null">
+        DISABLED = #{record.disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitaddr != null">
+        REMITADDR = #{record.remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitpostnum != null">
+        REMITPOSTNUM = #{record.remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitphone != null">
+        REMITPHONE = #{record.remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remitto != null">
+        REMITTO = #{record.remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.homepage != null">
+        HOMEPAGE = #{record.homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.defwarehouse != null">
+        DEFWAREHOUSE = #{record.defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      </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 COMPANIES
+    set ID = #{record.id,jdbcType=NUMERIC},
+      COMPANY = #{record.company,jdbcType=NVARCHAR},
+      PARENT = #{record.parent,jdbcType=NVARCHAR},
+      TYPE = #{record.type,jdbcType=NVARCHAR},
+      REGFUND = #{record.regfund,jdbcType=NVARCHAR},
+      COMPTYPE = #{record.comptype,jdbcType=NVARCHAR},
+      DELEGATE = #{record.delegate,jdbcType=NVARCHAR},
+      REGNUM = #{record.regnum,jdbcType=NVARCHAR},
+      TAXNUM = #{record.taxnum,jdbcType=NVARCHAR},
+      MAINPROD = #{record.mainprod,jdbcType=NVARCHAR},
+      DEALIN = #{record.dealin,jdbcType=NVARCHAR},
+      ADDRESS = #{record.address,jdbcType=NVARCHAR},
+      POSTNUM = #{record.postnum,jdbcType=NVARCHAR},
+      PROVINCE = #{record.province,jdbcType=NVARCHAR},
+      CITY = #{record.city,jdbcType=NVARCHAR},
+      CONTACT = #{record.contact,jdbcType=NVARCHAR},
+      PHONE = #{record.phone,jdbcType=NVARCHAR},
+      FAX = #{record.fax,jdbcType=NVARCHAR},
+      CONTACTMP = #{record.contactmp,jdbcType=NVARCHAR},
+      CONTACTMAIL = #{record.contactmail,jdbcType=NVARCHAR},
+      FOB = #{record.fob,jdbcType=NVARCHAR},
+      FREIGHTTERMS = #{record.freightterms,jdbcType=NVARCHAR},
+      SHIPVIA = #{record.shipvia,jdbcType=NVARCHAR},
+      PAYMENTTERMS = #{record.paymentterms,jdbcType=NVARCHAR},
+      EBSNUM = #{record.ebsnum,jdbcType=NVARCHAR},
+      EBSISSYNC = #{record.ebsissync,jdbcType=NVARCHAR},
+      CHANGEBY = #{record.changeby,jdbcType=NVARCHAR},
+      CHANGEDATE = #{record.changedate,jdbcType=TIMESTAMP},
+      PAYVENDOR = #{record.payvendor,jdbcType=NVARCHAR},
+      BANKNAME = #{record.bankname,jdbcType=NVARCHAR},
+      BANKACCOUNT = #{record.bankaccount,jdbcType=NVARCHAR},
+      DISABLED = #{record.disabled,jdbcType=NVARCHAR},
+      REMITADDR = #{record.remitaddr,jdbcType=NVARCHAR},
+      REMITPOSTNUM = #{record.remitpostnum,jdbcType=NVARCHAR},
+      REMITPHONE = #{record.remitphone,jdbcType=NVARCHAR},
+      REMITTO = #{record.remitto,jdbcType=NVARCHAR},
+      HOMEPAGE = #{record.homepage,jdbcType=NVARCHAR},
+      DEFWAREHOUSE = #{record.defwarehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    <set>
+      <if test="company != null">
+        COMPANY = #{company,jdbcType=NVARCHAR},
+      </if>
+      <if test="parent != null">
+        PARENT = #{parent,jdbcType=NVARCHAR},
+      </if>
+      <if test="type != null">
+        TYPE = #{type,jdbcType=NVARCHAR},
+      </if>
+      <if test="regfund != null">
+        REGFUND = #{regfund,jdbcType=NVARCHAR},
+      </if>
+      <if test="comptype != null">
+        COMPTYPE = #{comptype,jdbcType=NVARCHAR},
+      </if>
+      <if test="delegate != null">
+        DELEGATE = #{delegate,jdbcType=NVARCHAR},
+      </if>
+      <if test="regnum != null">
+        REGNUM = #{regnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxnum != null">
+        TAXNUM = #{taxnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="mainprod != null">
+        MAINPROD = #{mainprod,jdbcType=NVARCHAR},
+      </if>
+      <if test="dealin != null">
+        DEALIN = #{dealin,jdbcType=NVARCHAR},
+      </if>
+      <if test="address != null">
+        ADDRESS = #{address,jdbcType=NVARCHAR},
+      </if>
+      <if test="postnum != null">
+        POSTNUM = #{postnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="province != null">
+        PROVINCE = #{province,jdbcType=NVARCHAR},
+      </if>
+      <if test="city != null">
+        CITY = #{city,jdbcType=NVARCHAR},
+      </if>
+      <if test="contact != null">
+        CONTACT = #{contact,jdbcType=NVARCHAR},
+      </if>
+      <if test="phone != null">
+        PHONE = #{phone,jdbcType=NVARCHAR},
+      </if>
+      <if test="fax != null">
+        FAX = #{fax,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmp != null">
+        CONTACTMP = #{contactmp,jdbcType=NVARCHAR},
+      </if>
+      <if test="contactmail != null">
+        CONTACTMAIL = #{contactmail,jdbcType=NVARCHAR},
+      </if>
+      <if test="fob != null">
+        FOB = #{fob,jdbcType=NVARCHAR},
+      </if>
+      <if test="freightterms != null">
+        FREIGHTTERMS = #{freightterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="shipvia != null">
+        SHIPVIA = #{shipvia,jdbcType=NVARCHAR},
+      </if>
+      <if test="paymentterms != null">
+        PAYMENTTERMS = #{paymentterms,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsnum != null">
+        EBSNUM = #{ebsnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="ebsissync != null">
+        EBSISSYNC = #{ebsissync,jdbcType=NVARCHAR},
+      </if>
+      <if test="changeby != null">
+        CHANGEBY = #{changeby,jdbcType=NVARCHAR},
+      </if>
+      <if test="changedate != null">
+        CHANGEDATE = #{changedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="payvendor != null">
+        PAYVENDOR = #{payvendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankname != null">
+        BANKNAME = #{bankname,jdbcType=NVARCHAR},
+      </if>
+      <if test="bankaccount != null">
+        BANKACCOUNT = #{bankaccount,jdbcType=NVARCHAR},
+      </if>
+      <if test="disabled != null">
+        DISABLED = #{disabled,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitaddr != null">
+        REMITADDR = #{remitaddr,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitpostnum != null">
+        REMITPOSTNUM = #{remitpostnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitphone != null">
+        REMITPHONE = #{remitphone,jdbcType=NVARCHAR},
+      </if>
+      <if test="remitto != null">
+        REMITTO = #{remitto,jdbcType=NVARCHAR},
+      </if>
+      <if test="homepage != null">
+        HOMEPAGE = #{homepage,jdbcType=NVARCHAR},
+      </if>
+      <if test="defwarehouse != null">
+        DEFWAREHOUSE = #{defwarehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Companies">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update COMPANIES
+    set COMPANY = #{company,jdbcType=NVARCHAR},
+      PARENT = #{parent,jdbcType=NVARCHAR},
+      TYPE = #{type,jdbcType=NVARCHAR},
+      REGFUND = #{regfund,jdbcType=NVARCHAR},
+      COMPTYPE = #{comptype,jdbcType=NVARCHAR},
+      DELEGATE = #{delegate,jdbcType=NVARCHAR},
+      REGNUM = #{regnum,jdbcType=NVARCHAR},
+      TAXNUM = #{taxnum,jdbcType=NVARCHAR},
+      MAINPROD = #{mainprod,jdbcType=NVARCHAR},
+      DEALIN = #{dealin,jdbcType=NVARCHAR},
+      ADDRESS = #{address,jdbcType=NVARCHAR},
+      POSTNUM = #{postnum,jdbcType=NVARCHAR},
+      PROVINCE = #{province,jdbcType=NVARCHAR},
+      CITY = #{city,jdbcType=NVARCHAR},
+      CONTACT = #{contact,jdbcType=NVARCHAR},
+      PHONE = #{phone,jdbcType=NVARCHAR},
+      FAX = #{fax,jdbcType=NVARCHAR},
+      CONTACTMP = #{contactmp,jdbcType=NVARCHAR},
+      CONTACTMAIL = #{contactmail,jdbcType=NVARCHAR},
+      FOB = #{fob,jdbcType=NVARCHAR},
+      FREIGHTTERMS = #{freightterms,jdbcType=NVARCHAR},
+      SHIPVIA = #{shipvia,jdbcType=NVARCHAR},
+      PAYMENTTERMS = #{paymentterms,jdbcType=NVARCHAR},
+      EBSNUM = #{ebsnum,jdbcType=NVARCHAR},
+      EBSISSYNC = #{ebsissync,jdbcType=NVARCHAR},
+      CHANGEBY = #{changeby,jdbcType=NVARCHAR},
+      CHANGEDATE = #{changedate,jdbcType=TIMESTAMP},
+      PAYVENDOR = #{payvendor,jdbcType=NVARCHAR},
+      BANKNAME = #{bankname,jdbcType=NVARCHAR},
+      BANKACCOUNT = #{bankaccount,jdbcType=NVARCHAR},
+      DISABLED = #{disabled,jdbcType=NVARCHAR},
+      REMITADDR = #{remitaddr,jdbcType=NVARCHAR},
+      REMITPOSTNUM = #{remitpostnum,jdbcType=NVARCHAR},
+      REMITPHONE = #{remitphone,jdbcType=NVARCHAR},
+      REMITTO = #{remitto,jdbcType=NVARCHAR},
+      HOMEPAGE = #{homepage,jdbcType=NVARCHAR},
+      DEFWAREHOUSE = #{defwarehouse,jdbcType=NVARCHAR},
+      DESCRIPTION = #{description,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+</mapper>

+ 241 - 0
web/health-jn/src/main/resources/mybatis/auto/CompanysMapper.xml

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

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

@@ -0,0 +1,336 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.CurvefittingmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="monthDeviationRate" jdbcType="DECIMAL" property="monthdeviationrate" />
+    <result column="yearDeviationRate" jdbcType="DECIMAL" property="yeardeviationrate" />
+    <result column="standardDeviationRate" jdbcType="DECIMAL" property="standarddeviationrate" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="deviationRate1" jdbcType="DECIMAL" property="deviationrate1" />
+    <result column="deviationRate2" jdbcType="DECIMAL" property="deviationrate2" />
+    <result column="deviationRate3" jdbcType="DECIMAL" property="deviationrate3" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windturbineId, monthDeviationRate, yearDeviationRate, standardDeviationRate, 
+    recordDate, deviationRate1, deviationRate2, deviationRate3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from curvefittingmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from curvefittingmain
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmain
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmain (id, windturbineId, monthDeviationRate, 
+      yearDeviationRate, standardDeviationRate, 
+      recordDate, deviationRate1, deviationRate2, 
+      deviationRate3)
+    values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, 
+      #{yeardeviationrate,jdbcType=DECIMAL}, #{standarddeviationrate,jdbcType=DECIMAL}, 
+      #{recorddate,jdbcType=TIMESTAMP}, #{deviationrate1,jdbcType=DECIMAL}, #{deviationrate2,jdbcType=DECIMAL}, 
+      #{deviationrate3,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmain
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate,
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate,
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1,
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2,
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from curvefittingmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.monthdeviationrate != null">
+        monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.yeardeviationrate != null">
+        yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.standarddeviationrate != null">
+        standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.deviationrate1 != null">
+        deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate2 != null">
+        deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate3 != null">
+        deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    set id = #{record.id,jdbcType=VARCHAR},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3 = #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Curvefittingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmain
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{deviationrate3,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 351 - 0
web/health-jn/src/main/resources/mybatis/auto/CurvefittingmonthmainMapper.xml

@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.CurvefittingmonthmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="year" jdbcType="VARCHAR" property="year" />
+    <result column="month" jdbcType="VARCHAR" property="month" />
+    <result column="monthDeviationRate" jdbcType="DECIMAL" property="monthdeviationrate" />
+    <result column="yearDeviationRate" jdbcType="DECIMAL" property="yeardeviationrate" />
+    <result column="standardDeviationRate" jdbcType="DECIMAL" property="standarddeviationrate" />
+    <result column="deviationRate1" jdbcType="DECIMAL" property="deviationrate1" />
+    <result column="deviationRate2" jdbcType="DECIMAL" property="deviationrate2" />
+    <result column="deviationRate3" jdbcType="DECIMAL" property="deviationrate3" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windturbineId, year, month, monthDeviationRate, yearDeviationRate, standardDeviationRate, 
+    deviationRate1, deviationRate2, deviationRate3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from curvefittingmonthmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from curvefittingmonthmain
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmonthmain
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingmonthmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmonthmain (id, windturbineId, year, 
+      month, monthDeviationRate, yearDeviationRate, 
+      standardDeviationRate, deviationRate1, 
+      deviationRate2, deviationRate3)
+    values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{year,jdbcType=VARCHAR}, 
+      #{month,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, #{yeardeviationrate,jdbcType=DECIMAL}, 
+      #{standarddeviationrate,jdbcType=DECIMAL}, #{deviationrate1,jdbcType=DECIMAL}, 
+      #{deviationrate2,jdbcType=DECIMAL}, #{deviationrate3,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingmonthmain
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="year != null">
+        year,
+      </if>
+      <if test="month != null">
+        month,
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate,
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate,
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate,
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1,
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2,
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate1 != null">
+        #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CurvefittingmonthmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from curvefittingmonthmain
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.year != null">
+        year = #{record.year,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month != null">
+        month = #{record.month,jdbcType=VARCHAR},
+      </if>
+      <if test="record.monthdeviationrate != null">
+        monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.yeardeviationrate != null">
+        yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.standarddeviationrate != null">
+        standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate1 != null">
+        deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate2 != null">
+        deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate3 != null">
+        deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    set id = #{record.id,jdbcType=VARCHAR},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      year = #{record.year,jdbcType=VARCHAR},
+      month = #{record.month,jdbcType=VARCHAR},
+      monthDeviationRate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      deviationRate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{record.deviationrate3,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    <set>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        year = #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        month = #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate1 != null">
+        deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        deviationRate3 = #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Curvefittingmonthmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingmonthmain
+    set windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      year = #{year,jdbcType=VARCHAR},
+      month = #{month,jdbcType=VARCHAR},
+      monthDeviationRate = #{monthdeviationrate,jdbcType=DECIMAL},
+      yearDeviationRate = #{yeardeviationrate,jdbcType=DECIMAL},
+      standardDeviationRate = #{standarddeviationrate,jdbcType=DECIMAL},
+      deviationRate1 = #{deviationrate1,jdbcType=DECIMAL},
+      deviationRate2 = #{deviationrate2,jdbcType=DECIMAL},
+      deviationRate3 = #{deviationrate3,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 351 - 0
web/health-jn/src/main/resources/mybatis/auto/CurvefittingsubMapper.xml

@@ -0,0 +1,351 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.CurvefittingsubMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Curvefittingsub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windturbineid" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="monthdeviationrate" jdbcType="DECIMAL" property="monthdeviationrate" />
+    <result column="yeardeviationrate" jdbcType="DECIMAL" property="yeardeviationrate" />
+    <result column="standarddeviationrate" jdbcType="DECIMAL" property="standarddeviationrate" />
+    <result column="recorddate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="deviationrate1" jdbcType="DECIMAL" property="deviationrate1" />
+    <result column="deviationrate2" jdbcType="DECIMAL" property="deviationrate2" />
+    <result column="deviationrate3" jdbcType="DECIMAL" property="deviationrate3" />
+    <result column="speed" jdbcType="DOUBLE" property="speed" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windturbineid, monthdeviationrate, yeardeviationrate, standarddeviationrate, 
+    recorddate, deviationrate1, deviationrate2, deviationrate3, speed
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.CurvefittingsubExample" 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 curvefittingsub
+    <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 curvefittingsub
+    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 curvefittingsub
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.CurvefittingsubExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from curvefittingsub
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Curvefittingsub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingsub (id, windturbineid, monthdeviationrate, 
+      yeardeviationrate, standarddeviationrate, 
+      recorddate, deviationrate1, deviationrate2, 
+      deviationrate3, speed)
+    values (#{id,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{monthdeviationrate,jdbcType=DECIMAL}, 
+      #{yeardeviationrate,jdbcType=DECIMAL}, #{standarddeviationrate,jdbcType=DECIMAL}, 
+      #{recorddate,jdbcType=TIMESTAMP}, #{deviationrate1,jdbcType=DECIMAL}, #{deviationrate2,jdbcType=DECIMAL}, 
+      #{deviationrate3,jdbcType=DECIMAL}, #{speed,jdbcType=DOUBLE})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Curvefittingsub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into curvefittingsub
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windturbineid != null">
+        windturbineid,
+      </if>
+      <if test="monthdeviationrate != null">
+        monthdeviationrate,
+      </if>
+      <if test="yeardeviationrate != null">
+        yeardeviationrate,
+      </if>
+      <if test="standarddeviationrate != null">
+        standarddeviationrate,
+      </if>
+      <if test="recorddate != null">
+        recorddate,
+      </if>
+      <if test="deviationrate1 != null">
+        deviationrate1,
+      </if>
+      <if test="deviationrate2 != null">
+        deviationrate2,
+      </if>
+      <if test="deviationrate3 != null">
+        deviationrate3,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DOUBLE},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.CurvefittingsubExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from curvefittingsub
+    <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 curvefittingsub
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windturbineid = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.monthdeviationrate != null">
+        monthdeviationrate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.yeardeviationrate != null">
+        yeardeviationrate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.standarddeviationrate != null">
+        standarddeviationrate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        recorddate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.deviationrate1 != null">
+        deviationrate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate2 != null">
+        deviationrate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviationrate3 != null">
+        deviationrate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DOUBLE},
+      </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 curvefittingsub
+    set id = #{record.id,jdbcType=VARCHAR},
+      windturbineid = #{record.windturbineid,jdbcType=VARCHAR},
+      monthdeviationrate = #{record.monthdeviationrate,jdbcType=DECIMAL},
+      yeardeviationrate = #{record.yeardeviationrate,jdbcType=DECIMAL},
+      standarddeviationrate = #{record.standarddeviationrate,jdbcType=DECIMAL},
+      recorddate = #{record.recorddate,jdbcType=TIMESTAMP},
+      deviationrate1 = #{record.deviationrate1,jdbcType=DECIMAL},
+      deviationrate2 = #{record.deviationrate2,jdbcType=DECIMAL},
+      deviationrate3 = #{record.deviationrate3,jdbcType=DECIMAL},
+      speed = #{record.speed,jdbcType=DOUBLE}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Curvefittingsub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingsub
+    <set>
+      <if test="windturbineid != null">
+        windturbineid = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="monthdeviationrate != null">
+        monthdeviationrate = #{monthdeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="yeardeviationrate != null">
+        yeardeviationrate = #{yeardeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="standarddeviationrate != null">
+        standarddeviationrate = #{standarddeviationrate,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        recorddate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="deviationrate1 != null">
+        deviationrate1 = #{deviationrate1,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate2 != null">
+        deviationrate2 = #{deviationrate2,jdbcType=DECIMAL},
+      </if>
+      <if test="deviationrate3 != null">
+        deviationrate3 = #{deviationrate3,jdbcType=DECIMAL},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DOUBLE},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Curvefittingsub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update curvefittingsub
+    set windturbineid = #{windturbineid,jdbcType=VARCHAR},
+      monthdeviationrate = #{monthdeviationrate,jdbcType=DECIMAL},
+      yeardeviationrate = #{yeardeviationrate,jdbcType=DECIMAL},
+      standarddeviationrate = #{standarddeviationrate,jdbcType=DECIMAL},
+      recorddate = #{recorddate,jdbcType=TIMESTAMP},
+      deviationrate1 = #{deviationrate1,jdbcType=DECIMAL},
+      deviationrate2 = #{deviationrate2,jdbcType=DECIMAL},
+      deviationrate3 = #{deviationrate3,jdbcType=DECIMAL},
+      speed = #{speed,jdbcType=DOUBLE}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 318 - 0
web/health-jn/src/main/resources/mybatis/auto/DailyratingmainMapper.xml

@@ -0,0 +1,318 @@
+<?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.DailyratingmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="RECORDDATE" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="GRADE" jdbcType="VARCHAR" property="grade" />
+    <result column="RANKING" jdbcType="DECIMAL" property="ranking" />
+    <result column="SCORE" jdbcType="DECIMAL" property="score" />
+    <result column="TID" jdbcType="DECIMAL" property="tid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, RECORDDATE, WTID, WPID, GRADE, RANKING, SCORE, TID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample" 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 DAILYRATINGMAIN
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from DAILYRATINGMAIN
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from DAILYRATINGMAIN
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from DAILYRATINGMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAILYRATINGMAIN (ID, RECORDDATE, WTID, 
+      WPID, GRADE, RANKING, 
+      SCORE, TID)
+    values (#{id,jdbcType=DECIMAL}, #{recorddate,jdbcType=TIMESTAMP}, #{wtid,jdbcType=VARCHAR}, 
+      #{wpid,jdbcType=VARCHAR}, #{grade,jdbcType=VARCHAR}, #{ranking,jdbcType=DECIMAL}, 
+      #{score,jdbcType=DECIMAL}, #{tid,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAILYRATINGMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="grade != null">
+        GRADE,
+      </if>
+      <if test="ranking != null">
+        RANKING,
+      </if>
+      <if test="score != null">
+        SCORE,
+      </if>
+      <if test="tid != null">
+        TID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="grade != null">
+        #{grade,jdbcType=VARCHAR},
+      </if>
+      <if test="ranking != null">
+        #{ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="score != null">
+        #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        #{tid,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from DAILYRATINGMAIN
+    <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 DAILYRATINGMAIN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.grade != null">
+        GRADE = #{record.grade,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ranking != null">
+        RANKING = #{record.ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="record.score != null">
+        SCORE = #{record.score,jdbcType=DECIMAL},
+      </if>
+      <if test="record.tid != null">
+        TID = #{record.tid,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    set ID = #{record.id,jdbcType=DECIMAL},
+      RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      GRADE = #{record.grade,jdbcType=VARCHAR},
+      RANKING = #{record.ranking,jdbcType=DECIMAL},
+      SCORE = #{record.score,jdbcType=DECIMAL},
+      TID = #{record.tid,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    <set>
+      <if test="recorddate != null">
+        RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="grade != null">
+        GRADE = #{grade,jdbcType=VARCHAR},
+      </if>
+      <if test="ranking != null">
+        RANKING = #{ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="score != null">
+        SCORE = #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        TID = #{tid,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    set RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      GRADE = #{grade,jdbcType=VARCHAR},
+      RANKING = #{ranking,jdbcType=DECIMAL},
+      SCORE = #{score,jdbcType=DECIMAL},
+      TID = #{tid,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 398 - 0
web/health-jn/src/main/resources/mybatis/auto/Daylygradeassessmentmain2Mapper.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.Daylygradeassessmentmain2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Daylygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="PROJECTID" jdbcType="VARCHAR" property="projectid" />
+    <result column="LINEID" jdbcType="VARCHAR" property="lineid" />
+    <result column="RECORDDATE" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="SCORE" jdbcType="DECIMAL" property="score" />
+    <result column="PLEVEL" jdbcType="VARCHAR" property="plevel" />
+    <result column="STATE" jdbcType="DECIMAL" property="state" />
+    <result column="MODSCORE" jdbcType="DECIMAL" property="modscore" />
+    <result column="MODLEVEL" jdbcType="VARCHAR" property="modlevel" />
+    <result column="TOTALSCORE" jdbcType="DECIMAL" property="totalscore" />
+    <result column="TID" jdbcType="VARCHAR" property="tid" />
+  </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, WTID, WPID, PROJECTID, LINEID, RECORDDATE, SCORE, PLEVEL, STATE, MODSCORE, MODLEVEL, 
+    TOTALSCORE, TID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2Example" 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 DAYLYGRADEASSESSMENTMAIN2
+    <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 DAYLYGRADEASSESSMENTMAIN2
+    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 DAYLYGRADEASSESSMENTMAIN2
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from DAYLYGRADEASSESSMENTMAIN2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAYLYGRADEASSESSMENTMAIN2 (ID, WTID, WPID, 
+      PROJECTID, LINEID, RECORDDATE, 
+      SCORE, PLEVEL, STATE, 
+      MODSCORE, MODLEVEL, TOTALSCORE, 
+      TID)
+    values (#{id,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{wpid,jdbcType=VARCHAR}, 
+      #{projectid,jdbcType=VARCHAR}, #{lineid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP}, 
+      #{score,jdbcType=DECIMAL}, #{plevel,jdbcType=VARCHAR}, #{state,jdbcType=DECIMAL}, 
+      #{modscore,jdbcType=DECIMAL}, #{modlevel,jdbcType=VARCHAR}, #{totalscore,jdbcType=DECIMAL}, 
+      #{tid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAYLYGRADEASSESSMENTMAIN2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="projectid != null">
+        PROJECTID,
+      </if>
+      <if test="lineid != null">
+        LINEID,
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE,
+      </if>
+      <if test="score != null">
+        SCORE,
+      </if>
+      <if test="plevel != null">
+        PLEVEL,
+      </if>
+      <if test="state != null">
+        STATE,
+      </if>
+      <if test="modscore != null">
+        MODSCORE,
+      </if>
+      <if test="modlevel != null">
+        MODLEVEL,
+      </if>
+      <if test="totalscore != null">
+        TOTALSCORE,
+      </if>
+      <if test="tid != null">
+        TID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="plevel != null">
+        #{plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        #{state,jdbcType=DECIMAL},
+      </if>
+      <if test="modscore != null">
+        #{modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="modlevel != null">
+        #{modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="totalscore != null">
+        #{totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        #{tid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from DAYLYGRADEASSESSMENTMAIN2
+    <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 DAYLYGRADEASSESSMENTMAIN2
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,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.recorddate != null">
+        RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.score != null">
+        SCORE = #{record.score,jdbcType=DECIMAL},
+      </if>
+      <if test="record.plevel != null">
+        PLEVEL = #{record.plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="record.state != null">
+        STATE = #{record.state,jdbcType=DECIMAL},
+      </if>
+      <if test="record.modscore != null">
+        MODSCORE = #{record.modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="record.modlevel != null">
+        MODLEVEL = #{record.modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="record.totalscore != null">
+        TOTALSCORE = #{record.totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="record.tid != null">
+        TID = #{record.tid,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 DAYLYGRADEASSESSMENTMAIN2
+    set ID = #{record.id,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      LINEID = #{record.lineid,jdbcType=VARCHAR},
+      RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      SCORE = #{record.score,jdbcType=DECIMAL},
+      PLEVEL = #{record.plevel,jdbcType=VARCHAR},
+      STATE = #{record.state,jdbcType=DECIMAL},
+      MODSCORE = #{record.modscore,jdbcType=DECIMAL},
+      MODLEVEL = #{record.modlevel,jdbcType=VARCHAR},
+      TOTALSCORE = #{record.totalscore,jdbcType=DECIMAL},
+      TID = #{record.tid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAYLYGRADEASSESSMENTMAIN2
+    <set>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        PROJECTID = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        LINEID = #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        SCORE = #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="plevel != null">
+        PLEVEL = #{plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        STATE = #{state,jdbcType=DECIMAL},
+      </if>
+      <if test="modscore != null">
+        MODSCORE = #{modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="modlevel != null">
+        MODLEVEL = #{modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="totalscore != null">
+        TOTALSCORE = #{totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        TID = #{tid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Daylygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAYLYGRADEASSESSMENTMAIN2
+    set WTID = #{wtid,jdbcType=VARCHAR},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      PROJECTID = #{projectid,jdbcType=VARCHAR},
+      LINEID = #{lineid,jdbcType=VARCHAR},
+      RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      SCORE = #{score,jdbcType=DECIMAL},
+      PLEVEL = #{plevel,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=DECIMAL},
+      MODSCORE = #{modscore,jdbcType=DECIMAL},
+      MODLEVEL = #{modlevel,jdbcType=VARCHAR},
+      TOTALSCORE = #{totalscore,jdbcType=DECIMAL},
+      TID = #{tid,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 866 - 0
web/health-jn/src/main/resources/mybatis/auto/EarlywarningmainMapper.xml

@@ -0,0 +1,866 @@
+<?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.EarlywarningmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Earlywarningmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WPNAME" jdbcType="VARCHAR" property="wpname" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WTNAME" jdbcType="VARCHAR" property="wtname" />
+    <result column="DAY3TOP1" jdbcType="DECIMAL" property="day3top1" />
+    <result column="DAY3TOP2" jdbcType="DECIMAL" property="day3top2" />
+    <result column="DAY3TOP3" jdbcType="DECIMAL" property="day3top3" />
+    <result column="DAY7TOP1" jdbcType="DECIMAL" property="day7top1" />
+    <result column="DAY7TOP2" jdbcType="DECIMAL" property="day7top2" />
+    <result column="DAY7TOP3" jdbcType="DECIMAL" property="day7top3" />
+    <result column="DAY15TOP1" jdbcType="DECIMAL" property="day15top1" />
+    <result column="DAY15TOP2" jdbcType="DECIMAL" property="day15top2" />
+    <result column="DAY15TOP3" jdbcType="DECIMAL" property="day15top3" />
+    <result column="MONTH1TOP1" jdbcType="DECIMAL" property="month1top1" />
+    <result column="MONTH1TOP2" jdbcType="DECIMAL" property="month1top2" />
+    <result column="MONTH1TOP3" jdbcType="DECIMAL" property="month1top3" />
+    <result column="DAY3TOP1NAME" jdbcType="VARCHAR" property="day3top1name" />
+    <result column="DAY3TOP2NAME" jdbcType="VARCHAR" property="day3top2name" />
+    <result column="DAY3TOP3NAME" jdbcType="VARCHAR" property="day3top3name" />
+    <result column="DAY7TOP1NAME" jdbcType="VARCHAR" property="day7top1name" />
+    <result column="DAY7TOP2NAME" jdbcType="VARCHAR" property="day7top2name" />
+    <result column="DAY7TOP3NAME" jdbcType="VARCHAR" property="day7top3name" />
+    <result column="DAY15TOP1NAME" jdbcType="VARCHAR" property="day15top1name" />
+    <result column="DAY15TOP2NAME" jdbcType="VARCHAR" property="day15top2name" />
+    <result column="DAY15TOP3NAME" jdbcType="VARCHAR" property="day15top3name" />
+    <result column="MONTH1TOP1NAME" jdbcType="VARCHAR" property="month1top1name" />
+    <result column="MONTH1TOP2NAME" jdbcType="VARCHAR" property="month1top2name" />
+    <result column="MONTH1TOP3NAME" jdbcType="VARCHAR" property="month1top3name" />
+    <result column="MONTH1TOPNUM" jdbcType="DECIMAL" property="month1topnum" />
+    <result column="DAY7TOPNUM" jdbcType="DECIMAL" property="day7topnum" />
+    <result column="DAY15TOPNUM" jdbcType="DECIMAL" property="day15topnum" />
+    <result column="DAY3TOPNUM" jdbcType="DECIMAL" property="day3topnum" />
+    <result column="SYNTHESISTOPNUM" jdbcType="DECIMAL" property="synthesistopnum" />
+    <result column="DAY1TOP1" jdbcType="DECIMAL" property="day1top1" />
+    <result column="DAY1TOP2" jdbcType="DECIMAL" property="day1top2" />
+    <result column="DAY1TOP3" jdbcType="DECIMAL" property="day1top3" />
+    <result column="DAY1TOP1NAME" jdbcType="VARCHAR" property="day1top1name" />
+    <result column="DAY1TOP2NAME" jdbcType="VARCHAR" property="day1top2name" />
+    <result column="DAY1TOP3NAME" jdbcType="VARCHAR" property="day1top3name" />
+    <result column="DAY1TOPNUM" jdbcType="DECIMAL" property="day1topnum" />
+  </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, RECODEDATE, WPID, WPNAME, WTID, WTNAME, DAY3TOP1, DAY3TOP2, DAY3TOP3, DAY7TOP1, 
+    DAY7TOP2, DAY7TOP3, DAY15TOP1, DAY15TOP2, DAY15TOP3, MONTH1TOP1, MONTH1TOP2, MONTH1TOP3, 
+    DAY3TOP1NAME, DAY3TOP2NAME, DAY3TOP3NAME, DAY7TOP1NAME, DAY7TOP2NAME, DAY7TOP3NAME, 
+    DAY15TOP1NAME, DAY15TOP2NAME, DAY15TOP3NAME, MONTH1TOP1NAME, MONTH1TOP2NAME, MONTH1TOP3NAME, 
+    MONTH1TOPNUM, DAY7TOPNUM, DAY15TOPNUM, DAY3TOPNUM, SYNTHESISTOPNUM, DAY1TOP1, DAY1TOP2, 
+    DAY1TOP3, DAY1TOP1NAME, DAY1TOP2NAME, DAY1TOP3NAME, DAY1TOPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.EarlywarningmainExample" 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 EARLYWARNINGMAIN
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from EARLYWARNINGMAIN
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EARLYWARNINGMAIN
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.EarlywarningmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EARLYWARNINGMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Earlywarningmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EARLYWARNINGMAIN (ID, RECODEDATE, WPID, 
+      WPNAME, WTID, WTNAME, 
+      DAY3TOP1, DAY3TOP2, DAY3TOP3, 
+      DAY7TOP1, DAY7TOP2, DAY7TOP3, 
+      DAY15TOP1, DAY15TOP2, DAY15TOP3, 
+      MONTH1TOP1, MONTH1TOP2, MONTH1TOP3, 
+      DAY3TOP1NAME, DAY3TOP2NAME, DAY3TOP3NAME, 
+      DAY7TOP1NAME, DAY7TOP2NAME, DAY7TOP3NAME, 
+      DAY15TOP1NAME, DAY15TOP2NAME, DAY15TOP3NAME, 
+      MONTH1TOP1NAME, MONTH1TOP2NAME, MONTH1TOP3NAME, 
+      MONTH1TOPNUM, DAY7TOPNUM, DAY15TOPNUM, 
+      DAY3TOPNUM, SYNTHESISTOPNUM, DAY1TOP1, 
+      DAY1TOP2, DAY1TOP3, DAY1TOP1NAME, 
+      DAY1TOP2NAME, DAY1TOP3NAME, DAY1TOPNUM
+      )
+    values (#{id,jdbcType=DECIMAL}, #{recodedate,jdbcType=TIMESTAMP}, #{wpid,jdbcType=VARCHAR}, 
+      #{wpname,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{wtname,jdbcType=VARCHAR}, 
+      #{day3top1,jdbcType=DECIMAL}, #{day3top2,jdbcType=DECIMAL}, #{day3top3,jdbcType=DECIMAL}, 
+      #{day7top1,jdbcType=DECIMAL}, #{day7top2,jdbcType=DECIMAL}, #{day7top3,jdbcType=DECIMAL}, 
+      #{day15top1,jdbcType=DECIMAL}, #{day15top2,jdbcType=DECIMAL}, #{day15top3,jdbcType=DECIMAL}, 
+      #{month1top1,jdbcType=DECIMAL}, #{month1top2,jdbcType=DECIMAL}, #{month1top3,jdbcType=DECIMAL}, 
+      #{day3top1name,jdbcType=VARCHAR}, #{day3top2name,jdbcType=VARCHAR}, #{day3top3name,jdbcType=VARCHAR}, 
+      #{day7top1name,jdbcType=VARCHAR}, #{day7top2name,jdbcType=VARCHAR}, #{day7top3name,jdbcType=VARCHAR}, 
+      #{day15top1name,jdbcType=VARCHAR}, #{day15top2name,jdbcType=VARCHAR}, #{day15top3name,jdbcType=VARCHAR}, 
+      #{month1top1name,jdbcType=VARCHAR}, #{month1top2name,jdbcType=VARCHAR}, #{month1top3name,jdbcType=VARCHAR}, 
+      #{month1topnum,jdbcType=DECIMAL}, #{day7topnum,jdbcType=DECIMAL}, #{day15topnum,jdbcType=DECIMAL}, 
+      #{day3topnum,jdbcType=DECIMAL}, #{synthesistopnum,jdbcType=DECIMAL}, #{day1top1,jdbcType=DECIMAL}, 
+      #{day1top2,jdbcType=DECIMAL}, #{day1top3,jdbcType=DECIMAL}, #{day1top1name,jdbcType=VARCHAR}, 
+      #{day1top2name,jdbcType=VARCHAR}, #{day1top3name,jdbcType=VARCHAR}, #{day1topnum,jdbcType=DECIMAL}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Earlywarningmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EARLYWARNINGMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wpname != null">
+        WPNAME,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wtname != null">
+        WTNAME,
+      </if>
+      <if test="day3top1 != null">
+        DAY3TOP1,
+      </if>
+      <if test="day3top2 != null">
+        DAY3TOP2,
+      </if>
+      <if test="day3top3 != null">
+        DAY3TOP3,
+      </if>
+      <if test="day7top1 != null">
+        DAY7TOP1,
+      </if>
+      <if test="day7top2 != null">
+        DAY7TOP2,
+      </if>
+      <if test="day7top3 != null">
+        DAY7TOP3,
+      </if>
+      <if test="day15top1 != null">
+        DAY15TOP1,
+      </if>
+      <if test="day15top2 != null">
+        DAY15TOP2,
+      </if>
+      <if test="day15top3 != null">
+        DAY15TOP3,
+      </if>
+      <if test="month1top1 != null">
+        MONTH1TOP1,
+      </if>
+      <if test="month1top2 != null">
+        MONTH1TOP2,
+      </if>
+      <if test="month1top3 != null">
+        MONTH1TOP3,
+      </if>
+      <if test="day3top1name != null">
+        DAY3TOP1NAME,
+      </if>
+      <if test="day3top2name != null">
+        DAY3TOP2NAME,
+      </if>
+      <if test="day3top3name != null">
+        DAY3TOP3NAME,
+      </if>
+      <if test="day7top1name != null">
+        DAY7TOP1NAME,
+      </if>
+      <if test="day7top2name != null">
+        DAY7TOP2NAME,
+      </if>
+      <if test="day7top3name != null">
+        DAY7TOP3NAME,
+      </if>
+      <if test="day15top1name != null">
+        DAY15TOP1NAME,
+      </if>
+      <if test="day15top2name != null">
+        DAY15TOP2NAME,
+      </if>
+      <if test="day15top3name != null">
+        DAY15TOP3NAME,
+      </if>
+      <if test="month1top1name != null">
+        MONTH1TOP1NAME,
+      </if>
+      <if test="month1top2name != null">
+        MONTH1TOP2NAME,
+      </if>
+      <if test="month1top3name != null">
+        MONTH1TOP3NAME,
+      </if>
+      <if test="month1topnum != null">
+        MONTH1TOPNUM,
+      </if>
+      <if test="day7topnum != null">
+        DAY7TOPNUM,
+      </if>
+      <if test="day15topnum != null">
+        DAY15TOPNUM,
+      </if>
+      <if test="day3topnum != null">
+        DAY3TOPNUM,
+      </if>
+      <if test="synthesistopnum != null">
+        SYNTHESISTOPNUM,
+      </if>
+      <if test="day1top1 != null">
+        DAY1TOP1,
+      </if>
+      <if test="day1top2 != null">
+        DAY1TOP2,
+      </if>
+      <if test="day1top3 != null">
+        DAY1TOP3,
+      </if>
+      <if test="day1top1name != null">
+        DAY1TOP1NAME,
+      </if>
+      <if test="day1top2name != null">
+        DAY1TOP2NAME,
+      </if>
+      <if test="day1top3name != null">
+        DAY1TOP3NAME,
+      </if>
+      <if test="day1topnum != null">
+        DAY1TOPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top1 != null">
+        #{day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top2 != null">
+        #{day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top3 != null">
+        #{day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top1 != null">
+        #{day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top2 != null">
+        #{day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top3 != null">
+        #{day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top1 != null">
+        #{day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top2 != null">
+        #{day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top3 != null">
+        #{day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top1 != null">
+        #{month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top2 != null">
+        #{month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top3 != null">
+        #{month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top1name != null">
+        #{day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top2name != null">
+        #{day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top3name != null">
+        #{day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top1name != null">
+        #{day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top2name != null">
+        #{day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top3name != null">
+        #{day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top1name != null">
+        #{day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top2name != null">
+        #{day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top3name != null">
+        #{day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top1name != null">
+        #{month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top2name != null">
+        #{month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top3name != null">
+        #{month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1topnum != null">
+        #{month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day7topnum != null">
+        #{day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day15topnum != null">
+        #{day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day3topnum != null">
+        #{day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="synthesistopnum != null">
+        #{synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1 != null">
+        #{day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top2 != null">
+        #{day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top3 != null">
+        #{day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1name != null">
+        #{day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top2name != null">
+        #{day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top3name != null">
+        #{day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1topnum != null">
+        #{day1topnum,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.EarlywarningmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from EARLYWARNINGMAIN
+    <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 EARLYWARNINGMAIN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpname != null">
+        WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtname != null">
+        WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top1 != null">
+        DAY3TOP1 = #{record.day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top2 != null">
+        DAY3TOP2 = #{record.day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top3 != null">
+        DAY3TOP3 = #{record.day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top1 != null">
+        DAY7TOP1 = #{record.day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top2 != null">
+        DAY7TOP2 = #{record.day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top3 != null">
+        DAY7TOP3 = #{record.day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top1 != null">
+        DAY15TOP1 = #{record.day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top2 != null">
+        DAY15TOP2 = #{record.day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top3 != null">
+        DAY15TOP3 = #{record.day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top1 != null">
+        MONTH1TOP1 = #{record.month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top2 != null">
+        MONTH1TOP2 = #{record.month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top3 != null">
+        MONTH1TOP3 = #{record.month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top1name != null">
+        DAY3TOP1NAME = #{record.day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top2name != null">
+        DAY3TOP2NAME = #{record.day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top3name != null">
+        DAY3TOP3NAME = #{record.day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top1name != null">
+        DAY7TOP1NAME = #{record.day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top2name != null">
+        DAY7TOP2NAME = #{record.day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top3name != null">
+        DAY7TOP3NAME = #{record.day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top1name != null">
+        DAY15TOP1NAME = #{record.day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top2name != null">
+        DAY15TOP2NAME = #{record.day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top3name != null">
+        DAY15TOP3NAME = #{record.day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top1name != null">
+        MONTH1TOP1NAME = #{record.month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top2name != null">
+        MONTH1TOP2NAME = #{record.month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top3name != null">
+        MONTH1TOP3NAME = #{record.month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1topnum != null">
+        MONTH1TOPNUM = #{record.month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7topnum != null">
+        DAY7TOPNUM = #{record.day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15topnum != null">
+        DAY15TOPNUM = #{record.day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3topnum != null">
+        DAY3TOPNUM = #{record.day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.synthesistopnum != null">
+        SYNTHESISTOPNUM = #{record.synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top1 != null">
+        DAY1TOP1 = #{record.day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top2 != null">
+        DAY1TOP2 = #{record.day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top3 != null">
+        DAY1TOP3 = #{record.day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top1name != null">
+        DAY1TOP1NAME = #{record.day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1top2name != null">
+        DAY1TOP2NAME = #{record.day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1top3name != null">
+        DAY1TOP3NAME = #{record.day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1topnum != null">
+        DAY1TOPNUM = #{record.day1topnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EARLYWARNINGMAIN
+    set ID = #{record.id,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      DAY3TOP1 = #{record.day3top1,jdbcType=DECIMAL},
+      DAY3TOP2 = #{record.day3top2,jdbcType=DECIMAL},
+      DAY3TOP3 = #{record.day3top3,jdbcType=DECIMAL},
+      DAY7TOP1 = #{record.day7top1,jdbcType=DECIMAL},
+      DAY7TOP2 = #{record.day7top2,jdbcType=DECIMAL},
+      DAY7TOP3 = #{record.day7top3,jdbcType=DECIMAL},
+      DAY15TOP1 = #{record.day15top1,jdbcType=DECIMAL},
+      DAY15TOP2 = #{record.day15top2,jdbcType=DECIMAL},
+      DAY15TOP3 = #{record.day15top3,jdbcType=DECIMAL},
+      MONTH1TOP1 = #{record.month1top1,jdbcType=DECIMAL},
+      MONTH1TOP2 = #{record.month1top2,jdbcType=DECIMAL},
+      MONTH1TOP3 = #{record.month1top3,jdbcType=DECIMAL},
+      DAY3TOP1NAME = #{record.day3top1name,jdbcType=VARCHAR},
+      DAY3TOP2NAME = #{record.day3top2name,jdbcType=VARCHAR},
+      DAY3TOP3NAME = #{record.day3top3name,jdbcType=VARCHAR},
+      DAY7TOP1NAME = #{record.day7top1name,jdbcType=VARCHAR},
+      DAY7TOP2NAME = #{record.day7top2name,jdbcType=VARCHAR},
+      DAY7TOP3NAME = #{record.day7top3name,jdbcType=VARCHAR},
+      DAY15TOP1NAME = #{record.day15top1name,jdbcType=VARCHAR},
+      DAY15TOP2NAME = #{record.day15top2name,jdbcType=VARCHAR},
+      DAY15TOP3NAME = #{record.day15top3name,jdbcType=VARCHAR},
+      MONTH1TOP1NAME = #{record.month1top1name,jdbcType=VARCHAR},
+      MONTH1TOP2NAME = #{record.month1top2name,jdbcType=VARCHAR},
+      MONTH1TOP3NAME = #{record.month1top3name,jdbcType=VARCHAR},
+      MONTH1TOPNUM = #{record.month1topnum,jdbcType=DECIMAL},
+      DAY7TOPNUM = #{record.day7topnum,jdbcType=DECIMAL},
+      DAY15TOPNUM = #{record.day15topnum,jdbcType=DECIMAL},
+      DAY3TOPNUM = #{record.day3topnum,jdbcType=DECIMAL},
+      SYNTHESISTOPNUM = #{record.synthesistopnum,jdbcType=DECIMAL},
+      DAY1TOP1 = #{record.day1top1,jdbcType=DECIMAL},
+      DAY1TOP2 = #{record.day1top2,jdbcType=DECIMAL},
+      DAY1TOP3 = #{record.day1top3,jdbcType=DECIMAL},
+      DAY1TOP1NAME = #{record.day1top1name,jdbcType=VARCHAR},
+      DAY1TOP2NAME = #{record.day1top2name,jdbcType=VARCHAR},
+      DAY1TOP3NAME = #{record.day1top3name,jdbcType=VARCHAR},
+      DAY1TOPNUM = #{record.day1topnum,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Earlywarningmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EARLYWARNINGMAIN
+    <set>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        WPNAME = #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        WTNAME = #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top1 != null">
+        DAY3TOP1 = #{day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top2 != null">
+        DAY3TOP2 = #{day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top3 != null">
+        DAY3TOP3 = #{day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top1 != null">
+        DAY7TOP1 = #{day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top2 != null">
+        DAY7TOP2 = #{day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top3 != null">
+        DAY7TOP3 = #{day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top1 != null">
+        DAY15TOP1 = #{day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top2 != null">
+        DAY15TOP2 = #{day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top3 != null">
+        DAY15TOP3 = #{day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top1 != null">
+        MONTH1TOP1 = #{month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top2 != null">
+        MONTH1TOP2 = #{month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top3 != null">
+        MONTH1TOP3 = #{month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top1name != null">
+        DAY3TOP1NAME = #{day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top2name != null">
+        DAY3TOP2NAME = #{day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top3name != null">
+        DAY3TOP3NAME = #{day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top1name != null">
+        DAY7TOP1NAME = #{day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top2name != null">
+        DAY7TOP2NAME = #{day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top3name != null">
+        DAY7TOP3NAME = #{day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top1name != null">
+        DAY15TOP1NAME = #{day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top2name != null">
+        DAY15TOP2NAME = #{day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top3name != null">
+        DAY15TOP3NAME = #{day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top1name != null">
+        MONTH1TOP1NAME = #{month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top2name != null">
+        MONTH1TOP2NAME = #{month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top3name != null">
+        MONTH1TOP3NAME = #{month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1topnum != null">
+        MONTH1TOPNUM = #{month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day7topnum != null">
+        DAY7TOPNUM = #{day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day15topnum != null">
+        DAY15TOPNUM = #{day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day3topnum != null">
+        DAY3TOPNUM = #{day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="synthesistopnum != null">
+        SYNTHESISTOPNUM = #{synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1 != null">
+        DAY1TOP1 = #{day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top2 != null">
+        DAY1TOP2 = #{day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top3 != null">
+        DAY1TOP3 = #{day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1name != null">
+        DAY1TOP1NAME = #{day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top2name != null">
+        DAY1TOP2NAME = #{day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top3name != null">
+        DAY1TOP3NAME = #{day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1topnum != null">
+        DAY1TOPNUM = #{day1topnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Earlywarningmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EARLYWARNINGMAIN
+    set RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      WPNAME = #{wpname,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      WTNAME = #{wtname,jdbcType=VARCHAR},
+      DAY3TOP1 = #{day3top1,jdbcType=DECIMAL},
+      DAY3TOP2 = #{day3top2,jdbcType=DECIMAL},
+      DAY3TOP3 = #{day3top3,jdbcType=DECIMAL},
+      DAY7TOP1 = #{day7top1,jdbcType=DECIMAL},
+      DAY7TOP2 = #{day7top2,jdbcType=DECIMAL},
+      DAY7TOP3 = #{day7top3,jdbcType=DECIMAL},
+      DAY15TOP1 = #{day15top1,jdbcType=DECIMAL},
+      DAY15TOP2 = #{day15top2,jdbcType=DECIMAL},
+      DAY15TOP3 = #{day15top3,jdbcType=DECIMAL},
+      MONTH1TOP1 = #{month1top1,jdbcType=DECIMAL},
+      MONTH1TOP2 = #{month1top2,jdbcType=DECIMAL},
+      MONTH1TOP3 = #{month1top3,jdbcType=DECIMAL},
+      DAY3TOP1NAME = #{day3top1name,jdbcType=VARCHAR},
+      DAY3TOP2NAME = #{day3top2name,jdbcType=VARCHAR},
+      DAY3TOP3NAME = #{day3top3name,jdbcType=VARCHAR},
+      DAY7TOP1NAME = #{day7top1name,jdbcType=VARCHAR},
+      DAY7TOP2NAME = #{day7top2name,jdbcType=VARCHAR},
+      DAY7TOP3NAME = #{day7top3name,jdbcType=VARCHAR},
+      DAY15TOP1NAME = #{day15top1name,jdbcType=VARCHAR},
+      DAY15TOP2NAME = #{day15top2name,jdbcType=VARCHAR},
+      DAY15TOP3NAME = #{day15top3name,jdbcType=VARCHAR},
+      MONTH1TOP1NAME = #{month1top1name,jdbcType=VARCHAR},
+      MONTH1TOP2NAME = #{month1top2name,jdbcType=VARCHAR},
+      MONTH1TOP3NAME = #{month1top3name,jdbcType=VARCHAR},
+      MONTH1TOPNUM = #{month1topnum,jdbcType=DECIMAL},
+      DAY7TOPNUM = #{day7topnum,jdbcType=DECIMAL},
+      DAY15TOPNUM = #{day15topnum,jdbcType=DECIMAL},
+      DAY3TOPNUM = #{day3topnum,jdbcType=DECIMAL},
+      SYNTHESISTOPNUM = #{synthesistopnum,jdbcType=DECIMAL},
+      DAY1TOP1 = #{day1top1,jdbcType=DECIMAL},
+      DAY1TOP2 = #{day1top2,jdbcType=DECIMAL},
+      DAY1TOP3 = #{day1top3,jdbcType=DECIMAL},
+      DAY1TOP1NAME = #{day1top1name,jdbcType=VARCHAR},
+      DAY1TOP2NAME = #{day1top2name,jdbcType=VARCHAR},
+      DAY1TOP3NAME = #{day1top3name,jdbcType=VARCHAR},
+      DAY1TOPNUM = #{day1topnum,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+
+
+
+    <select id="listEarly" resultMap="BaseResultMap">
+
+
+        select  * from earlywarningmain where wpid=#{wpid} and recodedate=to_date(#{date},'yyyy-MM-dd')
+
+    </select>
+</mapper>

+ 445 - 0
web/health-jn/src/main/resources/mybatis/auto/EliminatingeqMapper.xml

@@ -0,0 +1,445 @@
+<?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.EliminatingeqMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Eliminatingeq">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="BADNAME" jdbcType="NVARCHAR" property="badname" />
+    <result column="MODELNUMBERS" jdbcType="NVARCHAR" property="modelnumbers" />
+    <result column="NUMBER" jdbcType="NUMERIC" property="number" />
+    <result column="BELONGS" jdbcType="NVARCHAR" property="belongs" />
+    <result column="DESCRIPTION" jdbcType="NVARCHAR" property="description" />
+    <result column="SITENUM" jdbcType="NVARCHAR" property="sitenum" />
+    <result column="CORPNUM" jdbcType="NVARCHAR" property="corpnum" />
+    <result column="BUGNUM" jdbcType="NVARCHAR" property="bugnum" />
+    <result column="RECORDPERSONNEL" jdbcType="NVARCHAR" property="recordpersonnel" />
+    <result column="MANUFACTURERS" jdbcType="NVARCHAR" property="manufacturers" />
+    <result column="EQNUM" jdbcType="NVARCHAR" property="eqnum" />
+    <result column="LOCATION" jdbcType="NVARCHAR" property="location" />
+    <result column="NEWEQNUM" jdbcType="NVARCHAR" property="neweqnum" />
+    <result column="REPLACETIME" jdbcType="TIMESTAMP" property="replacetime" />
+    <result column="SPARENAME" jdbcType="NVARCHAR" property="sparename" />
+  </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, BADNAME, MODELNUMBERS, NUMBER, BELONGS, DESCRIPTION, SITENUM, CORPNUM, BUGNUM, 
+    RECORDPERSONNEL, MANUFACTURERS, EQNUM, LOCATION, NEWEQNUM, REPLACETIME, SPARENAME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.EliminatingeqExample" 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 ELIMINATINGEQ
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from ELIMINATINGEQ
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from ELIMINATINGEQ
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.EliminatingeqExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from ELIMINATINGEQ
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Eliminatingeq">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ELIMINATINGEQ (ID, BADNAME, MODELNUMBERS, 
+      NUMBER, BELONGS, DESCRIPTION, 
+      SITENUM, CORPNUM, BUGNUM, 
+      RECORDPERSONNEL, MANUFACTURERS, EQNUM, 
+      LOCATION, NEWEQNUM, REPLACETIME, 
+      SPARENAME)
+    values (#{id,jdbcType=NUMERIC}, #{badname,jdbcType=NVARCHAR}, #{modelnumbers,jdbcType=NVARCHAR}, 
+      #{number,jdbcType=NUMERIC}, #{belongs,jdbcType=NVARCHAR}, #{description,jdbcType=NVARCHAR}, 
+      #{sitenum,jdbcType=NVARCHAR}, #{corpnum,jdbcType=NVARCHAR}, #{bugnum,jdbcType=NVARCHAR}, 
+      #{recordpersonnel,jdbcType=NVARCHAR}, #{manufacturers,jdbcType=NVARCHAR}, #{eqnum,jdbcType=NVARCHAR}, 
+      #{location,jdbcType=NVARCHAR}, #{neweqnum,jdbcType=NVARCHAR}, #{replacetime,jdbcType=TIMESTAMP}, 
+      #{sparename,jdbcType=NVARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Eliminatingeq">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into ELIMINATINGEQ
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="badname != null">
+        BADNAME,
+      </if>
+      <if test="modelnumbers != null">
+        MODELNUMBERS,
+      </if>
+      <if test="number != null">
+        NUMBER,
+      </if>
+      <if test="belongs != null">
+        BELONGS,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+      <if test="sitenum != null">
+        SITENUM,
+      </if>
+      <if test="corpnum != null">
+        CORPNUM,
+      </if>
+      <if test="bugnum != null">
+        BUGNUM,
+      </if>
+      <if test="recordpersonnel != null">
+        RECORDPERSONNEL,
+      </if>
+      <if test="manufacturers != null">
+        MANUFACTURERS,
+      </if>
+      <if test="eqnum != null">
+        EQNUM,
+      </if>
+      <if test="location != null">
+        LOCATION,
+      </if>
+      <if test="neweqnum != null">
+        NEWEQNUM,
+      </if>
+      <if test="replacetime != null">
+        REPLACETIME,
+      </if>
+      <if test="sparename != null">
+        SPARENAME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="badname != null">
+        #{badname,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnumbers != null">
+        #{modelnumbers,jdbcType=NVARCHAR},
+      </if>
+      <if test="number != null">
+        #{number,jdbcType=NUMERIC},
+      </if>
+      <if test="belongs != null">
+        #{belongs,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        #{corpnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="bugnum != null">
+        #{bugnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="recordpersonnel != null">
+        #{recordpersonnel,jdbcType=NVARCHAR},
+      </if>
+      <if test="manufacturers != null">
+        #{manufacturers,jdbcType=NVARCHAR},
+      </if>
+      <if test="eqnum != null">
+        #{eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="location != null">
+        #{location,jdbcType=NVARCHAR},
+      </if>
+      <if test="neweqnum != null">
+        #{neweqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="replacetime != null">
+        #{replacetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="sparename != null">
+        #{sparename,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.EliminatingeqExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from ELIMINATINGEQ
+    <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 ELIMINATINGEQ
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.badname != null">
+        BADNAME = #{record.badname,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.modelnumbers != null">
+        MODELNUMBERS = #{record.modelnumbers,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.number != null">
+        NUMBER = #{record.number,jdbcType=NUMERIC},
+      </if>
+      <if test="record.belongs != null">
+        BELONGS = #{record.belongs,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.sitenum != null">
+        SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.corpnum != null">
+        CORPNUM = #{record.corpnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bugnum != null">
+        BUGNUM = #{record.bugnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.recordpersonnel != null">
+        RECORDPERSONNEL = #{record.recordpersonnel,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.manufacturers != null">
+        MANUFACTURERS = #{record.manufacturers,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.eqnum != null">
+        EQNUM = #{record.eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.location != null">
+        LOCATION = #{record.location,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.neweqnum != null">
+        NEWEQNUM = #{record.neweqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.replacetime != null">
+        REPLACETIME = #{record.replacetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.sparename != null">
+        SPARENAME = #{record.sparename,jdbcType=NVARCHAR},
+      </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 ELIMINATINGEQ
+    set ID = #{record.id,jdbcType=NUMERIC},
+      BADNAME = #{record.badname,jdbcType=NVARCHAR},
+      MODELNUMBERS = #{record.modelnumbers,jdbcType=NVARCHAR},
+      NUMBER = #{record.number,jdbcType=NUMERIC},
+      BELONGS = #{record.belongs,jdbcType=NVARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{record.corpnum,jdbcType=NVARCHAR},
+      BUGNUM = #{record.bugnum,jdbcType=NVARCHAR},
+      RECORDPERSONNEL = #{record.recordpersonnel,jdbcType=NVARCHAR},
+      MANUFACTURERS = #{record.manufacturers,jdbcType=NVARCHAR},
+      EQNUM = #{record.eqnum,jdbcType=NVARCHAR},
+      LOCATION = #{record.location,jdbcType=NVARCHAR},
+      NEWEQNUM = #{record.neweqnum,jdbcType=NVARCHAR},
+      REPLACETIME = #{record.replacetime,jdbcType=TIMESTAMP},
+      SPARENAME = #{record.sparename,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Eliminatingeq">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ELIMINATINGEQ
+    <set>
+      <if test="badname != null">
+        BADNAME = #{badname,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnumbers != null">
+        MODELNUMBERS = #{modelnumbers,jdbcType=NVARCHAR},
+      </if>
+      <if test="number != null">
+        NUMBER = #{number,jdbcType=NUMERIC},
+      </if>
+      <if test="belongs != null">
+        BELONGS = #{belongs,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        CORPNUM = #{corpnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="bugnum != null">
+        BUGNUM = #{bugnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="recordpersonnel != null">
+        RECORDPERSONNEL = #{recordpersonnel,jdbcType=NVARCHAR},
+      </if>
+      <if test="manufacturers != null">
+        MANUFACTURERS = #{manufacturers,jdbcType=NVARCHAR},
+      </if>
+      <if test="eqnum != null">
+        EQNUM = #{eqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="location != null">
+        LOCATION = #{location,jdbcType=NVARCHAR},
+      </if>
+      <if test="neweqnum != null">
+        NEWEQNUM = #{neweqnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="replacetime != null">
+        REPLACETIME = #{replacetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="sparename != null">
+        SPARENAME = #{sparename,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Eliminatingeq">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update ELIMINATINGEQ
+    set BADNAME = #{badname,jdbcType=NVARCHAR},
+      MODELNUMBERS = #{modelnumbers,jdbcType=NVARCHAR},
+      NUMBER = #{number,jdbcType=NUMERIC},
+      BELONGS = #{belongs,jdbcType=NVARCHAR},
+      DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{corpnum,jdbcType=NVARCHAR},
+      BUGNUM = #{bugnum,jdbcType=NVARCHAR},
+      RECORDPERSONNEL = #{recordpersonnel,jdbcType=NVARCHAR},
+      MANUFACTURERS = #{manufacturers,jdbcType=NVARCHAR},
+      EQNUM = #{eqnum,jdbcType=NVARCHAR},
+      LOCATION = #{location,jdbcType=NVARCHAR},
+      NEWEQNUM = #{neweqnum,jdbcType=NVARCHAR},
+      REPLACETIME = #{replacetime,jdbcType=TIMESTAMP},
+      SPARENAME = #{sparename,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+</mapper>

File diff suppressed because it is too large
+ 1020 - 0
web/health-jn/src/main/resources/mybatis/auto/EquipmentSqlMapper.xml


+ 398 - 0
web/health-jn/src/main/resources/mybatis/auto/EquipmentmodelMapper.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.EquipmentmodelMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Equipmentmodel">
+    <!--
+      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="description" jdbcType="VARCHAR" property="description" />
+    <result column="powerProduction" jdbcType="DECIMAL" property="powerproduction" />
+    <result column="cutinWindSpeed" jdbcType="DECIMAL" property="cutinwindspeed" />
+    <result column="ratedWindSpeed" jdbcType="DECIMAL" property="ratedwindspeed" />
+    <result column="cutoutWindSpeed" jdbcType="VARCHAR" property="cutoutwindspeed" />
+    <result column="windTurbineManufacturerId" jdbcType="VARCHAR" property="windturbinemanufacturerid" />
+    <result column="photo" jdbcType="VARCHAR" property="photo" />
+    <result column="unit" jdbcType="VARCHAR" property="unit" />
+    <result column="sweptArea" jdbcType="DECIMAL" property="sweptarea" />
+    <result column="equipmentCategory" jdbcType="INTEGER" property="equipmentcategory" />
+  </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, description, powerProduction, cutinWindSpeed, ratedWindSpeed, cutoutWindSpeed, 
+    windTurbineManufacturerId, photo, unit, sweptArea, equipmentCategory
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.EquipmentmodelExample" 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 equipmentmodel
+    <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 equipmentmodel
+    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 equipmentmodel
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.EquipmentmodelExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from equipmentmodel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Equipmentmodel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into equipmentmodel (id, code, name, 
+      description, powerProduction, cutinWindSpeed, 
+      ratedWindSpeed, cutoutWindSpeed, windTurbineManufacturerId, 
+      photo, unit, sweptArea, 
+      equipmentCategory)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{description,jdbcType=VARCHAR}, #{powerproduction,jdbcType=DECIMAL}, #{cutinwindspeed,jdbcType=DECIMAL}, 
+      #{ratedwindspeed,jdbcType=DECIMAL}, #{cutoutwindspeed,jdbcType=VARCHAR}, #{windturbinemanufacturerid,jdbcType=VARCHAR}, 
+      #{photo,jdbcType=VARCHAR}, #{unit,jdbcType=VARCHAR}, #{sweptarea,jdbcType=DECIMAL}, 
+      #{equipmentcategory,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Equipmentmodel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into equipmentmodel
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="code != null">
+        code,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="description != null">
+        description,
+      </if>
+      <if test="powerproduction != null">
+        powerProduction,
+      </if>
+      <if test="cutinwindspeed != null">
+        cutinWindSpeed,
+      </if>
+      <if test="ratedwindspeed != null">
+        ratedWindSpeed,
+      </if>
+      <if test="cutoutwindspeed != null">
+        cutoutWindSpeed,
+      </if>
+      <if test="windturbinemanufacturerid != null">
+        windTurbineManufacturerId,
+      </if>
+      <if test="photo != null">
+        photo,
+      </if>
+      <if test="unit != null">
+        unit,
+      </if>
+      <if test="sweptarea != null">
+        sweptArea,
+      </if>
+      <if test="equipmentcategory != null">
+        equipmentCategory,
+      </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="description != null">
+        #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="powerproduction != null">
+        #{powerproduction,jdbcType=DECIMAL},
+      </if>
+      <if test="cutinwindspeed != null">
+        #{cutinwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="ratedwindspeed != null">
+        #{ratedwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="cutoutwindspeed != null">
+        #{cutoutwindspeed,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbinemanufacturerid != null">
+        #{windturbinemanufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="photo != null">
+        #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="unit != null">
+        #{unit,jdbcType=VARCHAR},
+      </if>
+      <if test="sweptarea != null">
+        #{sweptarea,jdbcType=DECIMAL},
+      </if>
+      <if test="equipmentcategory != null">
+        #{equipmentcategory,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.EquipmentmodelExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from equipmentmodel
+    <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 equipmentmodel
+    <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.description != null">
+        description = #{record.description,jdbcType=VARCHAR},
+      </if>
+      <if test="record.powerproduction != null">
+        powerProduction = #{record.powerproduction,jdbcType=DECIMAL},
+      </if>
+      <if test="record.cutinwindspeed != null">
+        cutinWindSpeed = #{record.cutinwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.ratedwindspeed != null">
+        ratedWindSpeed = #{record.ratedwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.cutoutwindspeed != null">
+        cutoutWindSpeed = #{record.cutoutwindspeed,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbinemanufacturerid != null">
+        windTurbineManufacturerId = #{record.windturbinemanufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.photo != null">
+        photo = #{record.photo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.unit != null">
+        unit = #{record.unit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sweptarea != null">
+        sweptArea = #{record.sweptarea,jdbcType=DECIMAL},
+      </if>
+      <if test="record.equipmentcategory != null">
+        equipmentCategory = #{record.equipmentcategory,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update equipmentmodel
+    set id = #{record.id,jdbcType=VARCHAR},
+      code = #{record.code,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      description = #{record.description,jdbcType=VARCHAR},
+      powerProduction = #{record.powerproduction,jdbcType=DECIMAL},
+      cutinWindSpeed = #{record.cutinwindspeed,jdbcType=DECIMAL},
+      ratedWindSpeed = #{record.ratedwindspeed,jdbcType=DECIMAL},
+      cutoutWindSpeed = #{record.cutoutwindspeed,jdbcType=VARCHAR},
+      windTurbineManufacturerId = #{record.windturbinemanufacturerid,jdbcType=VARCHAR},
+      photo = #{record.photo,jdbcType=VARCHAR},
+      unit = #{record.unit,jdbcType=VARCHAR},
+      sweptArea = #{record.sweptarea,jdbcType=DECIMAL},
+      equipmentCategory = #{record.equipmentcategory,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Equipmentmodel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update equipmentmodel
+    <set>
+      <if test="code != null">
+        code = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        description = #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="powerproduction != null">
+        powerProduction = #{powerproduction,jdbcType=DECIMAL},
+      </if>
+      <if test="cutinwindspeed != null">
+        cutinWindSpeed = #{cutinwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="ratedwindspeed != null">
+        ratedWindSpeed = #{ratedwindspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="cutoutwindspeed != null">
+        cutoutWindSpeed = #{cutoutwindspeed,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbinemanufacturerid != null">
+        windTurbineManufacturerId = #{windturbinemanufacturerid,jdbcType=VARCHAR},
+      </if>
+      <if test="photo != null">
+        photo = #{photo,jdbcType=VARCHAR},
+      </if>
+      <if test="unit != null">
+        unit = #{unit,jdbcType=VARCHAR},
+      </if>
+      <if test="sweptarea != null">
+        sweptArea = #{sweptarea,jdbcType=DECIMAL},
+      </if>
+      <if test="equipmentcategory != null">
+        equipmentCategory = #{equipmentcategory,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Equipmentmodel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update equipmentmodel
+    set code = #{code,jdbcType=VARCHAR},
+      name = #{name,jdbcType=VARCHAR},
+      description = #{description,jdbcType=VARCHAR},
+      powerProduction = #{powerproduction,jdbcType=DECIMAL},
+      cutinWindSpeed = #{cutinwindspeed,jdbcType=DECIMAL},
+      ratedWindSpeed = #{ratedwindspeed,jdbcType=DECIMAL},
+      cutoutWindSpeed = #{cutoutwindspeed,jdbcType=VARCHAR},
+      windTurbineManufacturerId = #{windturbinemanufacturerid,jdbcType=VARCHAR},
+      photo = #{photo,jdbcType=VARCHAR},
+      unit = #{unit,jdbcType=VARCHAR},
+      sweptArea = #{sweptarea,jdbcType=DECIMAL},
+      equipmentCategory = #{equipmentcategory,jdbcType=INTEGER}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 582 - 0
web/health-jn/src/main/resources/mybatis/auto/EquoperationrecordMapper.xml

@@ -0,0 +1,582 @@
+<?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.EquoperationrecordMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="TYPE" jdbcType="VARCHAR" property="type" />
+    <result column="FROMLOC" jdbcType="VARCHAR" property="fromloc" />
+    <result column="TOLOC" jdbcType="VARCHAR" property="toloc" />
+    <result column="LEADER" jdbcType="VARCHAR" property="leader" />
+    <result column="OPERATIONLOG" jdbcType="VARCHAR" property="operationlog" />
+    <result column="STARTTIME" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="ENDTIME" jdbcType="TIMESTAMP" property="endtime" />
+    <result column="WONUM" jdbcType="VARCHAR" property="wonum" />
+    <result column="FROMLOCDES" jdbcType="VARCHAR" property="fromlocdes" />
+    <result column="TOLOCDES" jdbcType="VARCHAR" property="tolocdes" />
+    <result column="TYPECODE" jdbcType="VARCHAR" property="typecode" />
+    <result column="WTNUM" jdbcType="VARCHAR" property="wtnum" />
+    <result column="EQNUM" jdbcType="VARCHAR" property="eqnum" />
+    <result column="PROBLEM" jdbcType="VARCHAR" property="problem" />
+    <result column="SOLVEWAY" jdbcType="VARCHAR" property="solveway" />
+    <result column="RESERVE1" jdbcType="VARCHAR" property="reserve1" />
+    <result column="RESERVE2" jdbcType="VARCHAR" property="reserve2" />
+    <result column="RESERVE3" jdbcType="VARCHAR" property="reserve3" />
+  </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, TYPE, FROMLOC, TOLOC, LEADER, OPERATIONLOG, STARTTIME, ENDTIME, WONUM, FROMLOCDES, 
+    TOLOCDES, TYPECODE, WTNUM, EQNUM, PROBLEM, SOLVEWAY, RESERVE1, RESERVE2, RESERVE3
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample" 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 EQUOPERATIONRECORD
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from EQUOPERATIONRECORD
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EQUOPERATIONRECORD
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from EQUOPERATIONRECORD
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EQUOPERATIONRECORD (ID, TYPE, FROMLOC, 
+      TOLOC, LEADER, OPERATIONLOG, 
+      STARTTIME, ENDTIME, WONUM, 
+      FROMLOCDES, TOLOCDES, TYPECODE, 
+      WTNUM, EQNUM, PROBLEM, 
+      SOLVEWAY, RESERVE1, RESERVE2, 
+      RESERVE3)
+    values (#{id,jdbcType=NUMERIC}, #{type,jdbcType=VARCHAR}, #{fromloc,jdbcType=VARCHAR}, 
+      #{toloc,jdbcType=VARCHAR}, #{leader,jdbcType=VARCHAR}, #{operationlog,jdbcType=VARCHAR}, 
+      #{starttime,jdbcType=TIMESTAMP}, #{endtime,jdbcType=TIMESTAMP}, #{wonum,jdbcType=VARCHAR}, 
+      #{fromlocdes,jdbcType=VARCHAR}, #{tolocdes,jdbcType=VARCHAR}, #{typecode,jdbcType=VARCHAR}, 
+      #{wtnum,jdbcType=VARCHAR}, #{eqnum,jdbcType=VARCHAR}, #{problem,jdbcType=VARCHAR}, 
+      #{solveway,jdbcType=VARCHAR}, #{reserve1,jdbcType=VARCHAR}, #{reserve2,jdbcType=VARCHAR}, 
+      #{reserve3,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into EQUOPERATIONRECORD
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="type != null">
+        TYPE,
+      </if>
+      <if test="fromloc != null">
+        FROMLOC,
+      </if>
+      <if test="toloc != null">
+        TOLOC,
+      </if>
+      <if test="leader != null">
+        LEADER,
+      </if>
+      <if test="operationlog != null">
+        OPERATIONLOG,
+      </if>
+      <if test="starttime != null">
+        STARTTIME,
+      </if>
+      <if test="endtime != null">
+        ENDTIME,
+      </if>
+      <if test="wonum != null">
+        WONUM,
+      </if>
+      <if test="fromlocdes != null">
+        FROMLOCDES,
+      </if>
+      <if test="tolocdes != null">
+        TOLOCDES,
+      </if>
+      <if test="typecode != null">
+        TYPECODE,
+      </if>
+      <if test="wtnum != null">
+        WTNUM,
+      </if>
+      <if test="eqnum != null">
+        EQNUM,
+      </if>
+      <if test="problem != null">
+        PROBLEM,
+      </if>
+      <if test="solveway != null">
+        SOLVEWAY,
+      </if>
+      <if test="reserve1 != null">
+        RESERVE1,
+      </if>
+      <if test="reserve2 != null">
+        RESERVE2,
+      </if>
+      <if test="reserve3 != null">
+        RESERVE3,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="type != null">
+        #{type,jdbcType=VARCHAR},
+      </if>
+      <if test="fromloc != null">
+        #{fromloc,jdbcType=VARCHAR},
+      </if>
+      <if test="toloc != null">
+        #{toloc,jdbcType=VARCHAR},
+      </if>
+      <if test="leader != null">
+        #{leader,jdbcType=VARCHAR},
+      </if>
+      <if test="operationlog != null">
+        #{operationlog,jdbcType=VARCHAR},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endtime != null">
+        #{endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wonum != null">
+        #{wonum,jdbcType=VARCHAR},
+      </if>
+      <if test="fromlocdes != null">
+        #{fromlocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="tolocdes != null">
+        #{tolocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="typecode != null">
+        #{typecode,jdbcType=VARCHAR},
+      </if>
+      <if test="wtnum != null">
+        #{wtnum,jdbcType=VARCHAR},
+      </if>
+      <if test="eqnum != null">
+        #{eqnum,jdbcType=VARCHAR},
+      </if>
+      <if test="problem != null">
+        #{problem,jdbcType=VARCHAR},
+      </if>
+      <if test="solveway != null">
+        #{solveway,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve1 != null">
+        #{reserve1,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve2 != null">
+        #{reserve2,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve3 != null">
+        #{reserve3,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.EquoperationrecordExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from EQUOPERATIONRECORD
+    <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 EQUOPERATIONRECORD
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.type != null">
+        TYPE = #{record.type,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fromloc != null">
+        FROMLOC = #{record.fromloc,jdbcType=VARCHAR},
+      </if>
+      <if test="record.toloc != null">
+        TOLOC = #{record.toloc,jdbcType=VARCHAR},
+      </if>
+      <if test="record.leader != null">
+        LEADER = #{record.leader,jdbcType=VARCHAR},
+      </if>
+      <if test="record.operationlog != null">
+        OPERATIONLOG = #{record.operationlog,jdbcType=VARCHAR},
+      </if>
+      <if test="record.starttime != null">
+        STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.endtime != null">
+        ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wonum != null">
+        WONUM = #{record.wonum,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fromlocdes != null">
+        FROMLOCDES = #{record.fromlocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="record.tolocdes != null">
+        TOLOCDES = #{record.tolocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="record.typecode != null">
+        TYPECODE = #{record.typecode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtnum != null">
+        WTNUM = #{record.wtnum,jdbcType=VARCHAR},
+      </if>
+      <if test="record.eqnum != null">
+        EQNUM = #{record.eqnum,jdbcType=VARCHAR},
+      </if>
+      <if test="record.problem != null">
+        PROBLEM = #{record.problem,jdbcType=VARCHAR},
+      </if>
+      <if test="record.solveway != null">
+        SOLVEWAY = #{record.solveway,jdbcType=VARCHAR},
+      </if>
+      <if test="record.reserve1 != null">
+        RESERVE1 = #{record.reserve1,jdbcType=VARCHAR},
+      </if>
+      <if test="record.reserve2 != null">
+        RESERVE2 = #{record.reserve2,jdbcType=VARCHAR},
+      </if>
+      <if test="record.reserve3 != null">
+        RESERVE3 = #{record.reserve3,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 EQUOPERATIONRECORD
+    set ID = #{record.id,jdbcType=NUMERIC},
+      TYPE = #{record.type,jdbcType=VARCHAR},
+      FROMLOC = #{record.fromloc,jdbcType=VARCHAR},
+      TOLOC = #{record.toloc,jdbcType=VARCHAR},
+      LEADER = #{record.leader,jdbcType=VARCHAR},
+      OPERATIONLOG = #{record.operationlog,jdbcType=VARCHAR},
+      STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      ENDTIME = #{record.endtime,jdbcType=TIMESTAMP},
+      WONUM = #{record.wonum,jdbcType=VARCHAR},
+      FROMLOCDES = #{record.fromlocdes,jdbcType=VARCHAR},
+      TOLOCDES = #{record.tolocdes,jdbcType=VARCHAR},
+      TYPECODE = #{record.typecode,jdbcType=VARCHAR},
+      WTNUM = #{record.wtnum,jdbcType=VARCHAR},
+      EQNUM = #{record.eqnum,jdbcType=VARCHAR},
+      PROBLEM = #{record.problem,jdbcType=VARCHAR},
+      SOLVEWAY = #{record.solveway,jdbcType=VARCHAR},
+      RESERVE1 = #{record.reserve1,jdbcType=VARCHAR},
+      RESERVE2 = #{record.reserve2,jdbcType=VARCHAR},
+      RESERVE3 = #{record.reserve3,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    <set>
+      <if test="type != null">
+        TYPE = #{type,jdbcType=VARCHAR},
+      </if>
+      <if test="fromloc != null">
+        FROMLOC = #{fromloc,jdbcType=VARCHAR},
+      </if>
+      <if test="toloc != null">
+        TOLOC = #{toloc,jdbcType=VARCHAR},
+      </if>
+      <if test="leader != null">
+        LEADER = #{leader,jdbcType=VARCHAR},
+      </if>
+      <if test="operationlog != null">
+        OPERATIONLOG = #{operationlog,jdbcType=VARCHAR},
+      </if>
+      <if test="starttime != null">
+        STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="endtime != null">
+        ENDTIME = #{endtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wonum != null">
+        WONUM = #{wonum,jdbcType=VARCHAR},
+      </if>
+      <if test="fromlocdes != null">
+        FROMLOCDES = #{fromlocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="tolocdes != null">
+        TOLOCDES = #{tolocdes,jdbcType=VARCHAR},
+      </if>
+      <if test="typecode != null">
+        TYPECODE = #{typecode,jdbcType=VARCHAR},
+      </if>
+      <if test="wtnum != null">
+        WTNUM = #{wtnum,jdbcType=VARCHAR},
+      </if>
+      <if test="eqnum != null">
+        EQNUM = #{eqnum,jdbcType=VARCHAR},
+      </if>
+      <if test="problem != null">
+        PROBLEM = #{problem,jdbcType=VARCHAR},
+      </if>
+      <if test="solveway != null">
+        SOLVEWAY = #{solveway,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve1 != null">
+        RESERVE1 = #{reserve1,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve2 != null">
+        RESERVE2 = #{reserve2,jdbcType=VARCHAR},
+      </if>
+      <if test="reserve3 != null">
+        RESERVE3 = #{reserve3,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Equoperationrecord">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update EQUOPERATIONRECORD
+    set TYPE = #{type,jdbcType=VARCHAR},
+      FROMLOC = #{fromloc,jdbcType=VARCHAR},
+      TOLOC = #{toloc,jdbcType=VARCHAR},
+      LEADER = #{leader,jdbcType=VARCHAR},
+      OPERATIONLOG = #{operationlog,jdbcType=VARCHAR},
+      STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      ENDTIME = #{endtime,jdbcType=TIMESTAMP},
+      WONUM = #{wonum,jdbcType=VARCHAR},
+      FROMLOCDES = #{fromlocdes,jdbcType=VARCHAR},
+      TOLOCDES = #{tolocdes,jdbcType=VARCHAR},
+      TYPECODE = #{typecode,jdbcType=VARCHAR},
+      WTNUM = #{wtnum,jdbcType=VARCHAR},
+      EQNUM = #{eqnum,jdbcType=VARCHAR},
+      PROBLEM = #{problem,jdbcType=VARCHAR},
+      SOLVEWAY = #{solveway,jdbcType=VARCHAR},
+      RESERVE1 = #{reserve1,jdbcType=VARCHAR},
+      RESERVE2 = #{reserve2,jdbcType=VARCHAR},
+      RESERVE3 = #{reserve3,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+
+
+    <select id="selectEquoperationrecordPageList"  resultMap="BaseResultMap">
+
+        SELECT
+        e.type,
+        e.leader,
+        e.starttime,
+        e.endtime,
+        e.reserve2,
+        e.wtnum wtid,
+        e.eqnum,
+        e.problem,
+        e.tolocdes,
+        e.solveway
+        FROM
+        equoperationrecord e
+        LEFT JOIN WORKTICKET w ON e.wonum = w.wonum
+        <where>
+            <if test=" '' != wtid and null != wtid ">
+                and e.wtnum = #{wtid}
+            </if>
+            <if test="startTime !=null and endTime !=null">
+                and  e.STARTTIME &gt;= #{startTime} and e.ENDTIME &lt;= #{endTime}
+            </if>
+
+            <if test=" '' != type and null != type ">
+                and e.type = #{type}
+            </if>
+
+        </where>
+
+    </select>
+
+    <resultMap id="EquoperationrecordMap" type="com.gyee.frame.model.custom.EquoperationrecordVo">
+
+        <result column="count" jdbcType="NUMERIC" property="count" />
+        <result column="description" jdbcType="VARCHAR" property="description" />
+
+
+    </resultMap>
+    <select id="selectEquUpdateCount" resultMap="EquoperationrecordMap">
+        select
+        l.description,count(l.description) as count
+        from
+        equoperationrecord e
+
+        left join equipment  l on e.toloc = l.location
+        left join workticket w on w.wonum = e.wonum
+        left join windfarm f on  w.workdept = f.wfname
+         and  f.wpid =#{stId,jdbcType=NVARCHAR}
+        group by l.description
+
+    </select>
+
+
+    <resultMap id="InventoryMap" type="com.gyee.frame.model.custom.InventoryVo">
+        <!--
+          WARNING - @mbg.generated
+          This element is automatically generated by MyBatis Generator, do not modify.
+        -->
+        <result column="classid" jdbcType="VARCHAR" property="classid" />
+        <result column="curbal" jdbcType="NUMERIC" property="curbal" />
+        <result column="description" jdbcType="VARCHAR" property="description" />
+
+
+    </resultMap>
+    <select id="getInventoryClassGroupCount" resultMap="InventoryMap">
+
+        with t as (
+        select
+        y.itemnum,
+        c.classid,
+        c.description,
+        k.curbal,
+        y.sitenum,
+        w.wfshortname
+        from
+        inventory y
+        left join invstock k on y.itemnum = k.itemnum
+        left join item m on m.itemnum = y.itemnum
+        left join classification c on c.classid = m.classid
+        left join windfarm w on w.wfname = y.sitenum
+         and  w.wpid  = #{stId,jdbcType=NVARCHAR}
+        )
+        select classid, sum (t.curbal) curbal, t.description from t
+        group by t.classid, t.description
+
+
+    </select>
+</mapper>

+ 864 - 0
web/health-jn/src/main/resources/mybatis/auto/FailurestatisticsmainMapper.xml

@@ -0,0 +1,864 @@
+<?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.FailurestatisticsmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Failurestatisticsmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WPNAME" jdbcType="VARCHAR" property="wpname" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WTNAME" jdbcType="VARCHAR" property="wtname" />
+    <result column="DAY3TOP1" jdbcType="DECIMAL" property="day3top1" />
+    <result column="DAY3TOP2" jdbcType="DECIMAL" property="day3top2" />
+    <result column="DAY3TOP3" jdbcType="DECIMAL" property="day3top3" />
+    <result column="DAY7TOP1" jdbcType="DECIMAL" property="day7top1" />
+    <result column="DAY7TOP2" jdbcType="DECIMAL" property="day7top2" />
+    <result column="DAY7TOP3" jdbcType="DECIMAL" property="day7top3" />
+    <result column="DAY15TOP1" jdbcType="DECIMAL" property="day15top1" />
+    <result column="DAY15TOP2" jdbcType="DECIMAL" property="day15top2" />
+    <result column="DAY15TOP3" jdbcType="DECIMAL" property="day15top3" />
+    <result column="MONTH1TOP1" jdbcType="DECIMAL" property="month1top1" />
+    <result column="MONTH1TOP2" jdbcType="DECIMAL" property="month1top2" />
+    <result column="MONTH1TOP3" jdbcType="DECIMAL" property="month1top3" />
+    <result column="DAY3TOP1NAME" jdbcType="VARCHAR" property="day3top1name" />
+    <result column="DAY3TOP2NAME" jdbcType="VARCHAR" property="day3top2name" />
+    <result column="DAY3TOP3NAME" jdbcType="VARCHAR" property="day3top3name" />
+    <result column="DAY7TOP1NAME" jdbcType="VARCHAR" property="day7top1name" />
+    <result column="DAY7TOP2NAME" jdbcType="VARCHAR" property="day7top2name" />
+    <result column="DAY7TOP3NAME" jdbcType="VARCHAR" property="day7top3name" />
+    <result column="DAY15TOP1NAME" jdbcType="VARCHAR" property="day15top1name" />
+    <result column="DAY15TOP2NAME" jdbcType="VARCHAR" property="day15top2name" />
+    <result column="DAY15TOP3NAME" jdbcType="VARCHAR" property="day15top3name" />
+    <result column="MONTH1TOP1NAME" jdbcType="VARCHAR" property="month1top1name" />
+    <result column="MONTH1TOP2NAME" jdbcType="VARCHAR" property="month1top2name" />
+    <result column="MONTH1TOP3NAME" jdbcType="VARCHAR" property="month1top3name" />
+    <result column="MONTH1TOPNUM" jdbcType="DECIMAL" property="month1topnum" />
+    <result column="DAY7TOPNUM" jdbcType="DECIMAL" property="day7topnum" />
+    <result column="DAY15TOPNUM" jdbcType="DECIMAL" property="day15topnum" />
+    <result column="DAY3TOPNUM" jdbcType="DECIMAL" property="day3topnum" />
+    <result column="SYNTHESISTOPNUM" jdbcType="DECIMAL" property="synthesistopnum" />
+    <result column="DAY1TOP1" jdbcType="DECIMAL" property="day1top1" />
+    <result column="DAY1TOP2" jdbcType="DECIMAL" property="day1top2" />
+    <result column="DAY1TOP3" jdbcType="DECIMAL" property="day1top3" />
+    <result column="DAY1TOP1NAME" jdbcType="VARCHAR" property="day1top1name" />
+    <result column="DAY1TOP2NAME" jdbcType="VARCHAR" property="day1top2name" />
+    <result column="DAY1TOP3NAME" jdbcType="VARCHAR" property="day1top3name" />
+    <result column="DAY1TOPNUM" jdbcType="DECIMAL" property="day1topnum" />
+  </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, RECODEDATE, WPID, WPNAME, WTID, WTNAME, DAY3TOP1, DAY3TOP2, DAY3TOP3, DAY7TOP1, 
+    DAY7TOP2, DAY7TOP3, DAY15TOP1, DAY15TOP2, DAY15TOP3, MONTH1TOP1, MONTH1TOP2, MONTH1TOP3, 
+    DAY3TOP1NAME, DAY3TOP2NAME, DAY3TOP3NAME, DAY7TOP1NAME, DAY7TOP2NAME, DAY7TOP3NAME, 
+    DAY15TOP1NAME, DAY15TOP2NAME, DAY15TOP3NAME, MONTH1TOP1NAME, MONTH1TOP2NAME, MONTH1TOP3NAME, 
+    MONTH1TOPNUM, DAY7TOPNUM, DAY15TOPNUM, DAY3TOPNUM, SYNTHESISTOPNUM, DAY1TOP1, DAY1TOP2, 
+    DAY1TOP3, DAY1TOP1NAME, DAY1TOP2NAME, DAY1TOP3NAME, DAY1TOPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.FailurestatisticsmainExample" 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 FAILURESTATISTICSMAIN
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from FAILURESTATISTICSMAIN
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FAILURESTATISTICSMAIN
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.FailurestatisticsmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FAILURESTATISTICSMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Failurestatisticsmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FAILURESTATISTICSMAIN (ID, RECODEDATE, WPID, 
+      WPNAME, WTID, WTNAME, 
+      DAY3TOP1, DAY3TOP2, DAY3TOP3, 
+      DAY7TOP1, DAY7TOP2, DAY7TOP3, 
+      DAY15TOP1, DAY15TOP2, DAY15TOP3, 
+      MONTH1TOP1, MONTH1TOP2, MONTH1TOP3, 
+      DAY3TOP1NAME, DAY3TOP2NAME, DAY3TOP3NAME, 
+      DAY7TOP1NAME, DAY7TOP2NAME, DAY7TOP3NAME, 
+      DAY15TOP1NAME, DAY15TOP2NAME, DAY15TOP3NAME, 
+      MONTH1TOP1NAME, MONTH1TOP2NAME, MONTH1TOP3NAME, 
+      MONTH1TOPNUM, DAY7TOPNUM, DAY15TOPNUM, 
+      DAY3TOPNUM, SYNTHESISTOPNUM, DAY1TOP1, 
+      DAY1TOP2, DAY1TOP3, DAY1TOP1NAME, 
+      DAY1TOP2NAME, DAY1TOP3NAME, DAY1TOPNUM
+      )
+    values (#{id,jdbcType=DECIMAL}, #{recodedate,jdbcType=TIMESTAMP}, #{wpid,jdbcType=VARCHAR}, 
+      #{wpname,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{wtname,jdbcType=VARCHAR}, 
+      #{day3top1,jdbcType=DECIMAL}, #{day3top2,jdbcType=DECIMAL}, #{day3top3,jdbcType=DECIMAL}, 
+      #{day7top1,jdbcType=DECIMAL}, #{day7top2,jdbcType=DECIMAL}, #{day7top3,jdbcType=DECIMAL}, 
+      #{day15top1,jdbcType=DECIMAL}, #{day15top2,jdbcType=DECIMAL}, #{day15top3,jdbcType=DECIMAL}, 
+      #{month1top1,jdbcType=DECIMAL}, #{month1top2,jdbcType=DECIMAL}, #{month1top3,jdbcType=DECIMAL}, 
+      #{day3top1name,jdbcType=VARCHAR}, #{day3top2name,jdbcType=VARCHAR}, #{day3top3name,jdbcType=VARCHAR}, 
+      #{day7top1name,jdbcType=VARCHAR}, #{day7top2name,jdbcType=VARCHAR}, #{day7top3name,jdbcType=VARCHAR}, 
+      #{day15top1name,jdbcType=VARCHAR}, #{day15top2name,jdbcType=VARCHAR}, #{day15top3name,jdbcType=VARCHAR}, 
+      #{month1top1name,jdbcType=VARCHAR}, #{month1top2name,jdbcType=VARCHAR}, #{month1top3name,jdbcType=VARCHAR}, 
+      #{month1topnum,jdbcType=DECIMAL}, #{day7topnum,jdbcType=DECIMAL}, #{day15topnum,jdbcType=DECIMAL}, 
+      #{day3topnum,jdbcType=DECIMAL}, #{synthesistopnum,jdbcType=DECIMAL}, #{day1top1,jdbcType=DECIMAL}, 
+      #{day1top2,jdbcType=DECIMAL}, #{day1top3,jdbcType=DECIMAL}, #{day1top1name,jdbcType=VARCHAR}, 
+      #{day1top2name,jdbcType=VARCHAR}, #{day1top3name,jdbcType=VARCHAR}, #{day1topnum,jdbcType=DECIMAL}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Failurestatisticsmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FAILURESTATISTICSMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wpname != null">
+        WPNAME,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wtname != null">
+        WTNAME,
+      </if>
+      <if test="day3top1 != null">
+        DAY3TOP1,
+      </if>
+      <if test="day3top2 != null">
+        DAY3TOP2,
+      </if>
+      <if test="day3top3 != null">
+        DAY3TOP3,
+      </if>
+      <if test="day7top1 != null">
+        DAY7TOP1,
+      </if>
+      <if test="day7top2 != null">
+        DAY7TOP2,
+      </if>
+      <if test="day7top3 != null">
+        DAY7TOP3,
+      </if>
+      <if test="day15top1 != null">
+        DAY15TOP1,
+      </if>
+      <if test="day15top2 != null">
+        DAY15TOP2,
+      </if>
+      <if test="day15top3 != null">
+        DAY15TOP3,
+      </if>
+      <if test="month1top1 != null">
+        MONTH1TOP1,
+      </if>
+      <if test="month1top2 != null">
+        MONTH1TOP2,
+      </if>
+      <if test="month1top3 != null">
+        MONTH1TOP3,
+      </if>
+      <if test="day3top1name != null">
+        DAY3TOP1NAME,
+      </if>
+      <if test="day3top2name != null">
+        DAY3TOP2NAME,
+      </if>
+      <if test="day3top3name != null">
+        DAY3TOP3NAME,
+      </if>
+      <if test="day7top1name != null">
+        DAY7TOP1NAME,
+      </if>
+      <if test="day7top2name != null">
+        DAY7TOP2NAME,
+      </if>
+      <if test="day7top3name != null">
+        DAY7TOP3NAME,
+      </if>
+      <if test="day15top1name != null">
+        DAY15TOP1NAME,
+      </if>
+      <if test="day15top2name != null">
+        DAY15TOP2NAME,
+      </if>
+      <if test="day15top3name != null">
+        DAY15TOP3NAME,
+      </if>
+      <if test="month1top1name != null">
+        MONTH1TOP1NAME,
+      </if>
+      <if test="month1top2name != null">
+        MONTH1TOP2NAME,
+      </if>
+      <if test="month1top3name != null">
+        MONTH1TOP3NAME,
+      </if>
+      <if test="month1topnum != null">
+        MONTH1TOPNUM,
+      </if>
+      <if test="day7topnum != null">
+        DAY7TOPNUM,
+      </if>
+      <if test="day15topnum != null">
+        DAY15TOPNUM,
+      </if>
+      <if test="day3topnum != null">
+        DAY3TOPNUM,
+      </if>
+      <if test="synthesistopnum != null">
+        SYNTHESISTOPNUM,
+      </if>
+      <if test="day1top1 != null">
+        DAY1TOP1,
+      </if>
+      <if test="day1top2 != null">
+        DAY1TOP2,
+      </if>
+      <if test="day1top3 != null">
+        DAY1TOP3,
+      </if>
+      <if test="day1top1name != null">
+        DAY1TOP1NAME,
+      </if>
+      <if test="day1top2name != null">
+        DAY1TOP2NAME,
+      </if>
+      <if test="day1top3name != null">
+        DAY1TOP3NAME,
+      </if>
+      <if test="day1topnum != null">
+        DAY1TOPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top1 != null">
+        #{day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top2 != null">
+        #{day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top3 != null">
+        #{day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top1 != null">
+        #{day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top2 != null">
+        #{day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top3 != null">
+        #{day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top1 != null">
+        #{day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top2 != null">
+        #{day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top3 != null">
+        #{day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top1 != null">
+        #{month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top2 != null">
+        #{month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top3 != null">
+        #{month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top1name != null">
+        #{day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top2name != null">
+        #{day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top3name != null">
+        #{day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top1name != null">
+        #{day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top2name != null">
+        #{day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top3name != null">
+        #{day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top1name != null">
+        #{day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top2name != null">
+        #{day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top3name != null">
+        #{day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top1name != null">
+        #{month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top2name != null">
+        #{month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top3name != null">
+        #{month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1topnum != null">
+        #{month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day7topnum != null">
+        #{day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day15topnum != null">
+        #{day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day3topnum != null">
+        #{day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="synthesistopnum != null">
+        #{synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1 != null">
+        #{day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top2 != null">
+        #{day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top3 != null">
+        #{day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1name != null">
+        #{day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top2name != null">
+        #{day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top3name != null">
+        #{day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1topnum != null">
+        #{day1topnum,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.FailurestatisticsmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from FAILURESTATISTICSMAIN
+    <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 FAILURESTATISTICSMAIN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpname != null">
+        WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtname != null">
+        WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top1 != null">
+        DAY3TOP1 = #{record.day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top2 != null">
+        DAY3TOP2 = #{record.day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top3 != null">
+        DAY3TOP3 = #{record.day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top1 != null">
+        DAY7TOP1 = #{record.day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top2 != null">
+        DAY7TOP2 = #{record.day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7top3 != null">
+        DAY7TOP3 = #{record.day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top1 != null">
+        DAY15TOP1 = #{record.day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top2 != null">
+        DAY15TOP2 = #{record.day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15top3 != null">
+        DAY15TOP3 = #{record.day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top1 != null">
+        MONTH1TOP1 = #{record.month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top2 != null">
+        MONTH1TOP2 = #{record.month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.month1top3 != null">
+        MONTH1TOP3 = #{record.month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3top1name != null">
+        DAY3TOP1NAME = #{record.day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top2name != null">
+        DAY3TOP2NAME = #{record.day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day3top3name != null">
+        DAY3TOP3NAME = #{record.day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top1name != null">
+        DAY7TOP1NAME = #{record.day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top2name != null">
+        DAY7TOP2NAME = #{record.day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day7top3name != null">
+        DAY7TOP3NAME = #{record.day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top1name != null">
+        DAY15TOP1NAME = #{record.day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top2name != null">
+        DAY15TOP2NAME = #{record.day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day15top3name != null">
+        DAY15TOP3NAME = #{record.day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top1name != null">
+        MONTH1TOP1NAME = #{record.month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top2name != null">
+        MONTH1TOP2NAME = #{record.month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1top3name != null">
+        MONTH1TOP3NAME = #{record.month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month1topnum != null">
+        MONTH1TOPNUM = #{record.month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day7topnum != null">
+        DAY7TOPNUM = #{record.day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day15topnum != null">
+        DAY15TOPNUM = #{record.day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day3topnum != null">
+        DAY3TOPNUM = #{record.day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.synthesistopnum != null">
+        SYNTHESISTOPNUM = #{record.synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top1 != null">
+        DAY1TOP1 = #{record.day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top2 != null">
+        DAY1TOP2 = #{record.day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top3 != null">
+        DAY1TOP3 = #{record.day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.day1top1name != null">
+        DAY1TOP1NAME = #{record.day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1top2name != null">
+        DAY1TOP2NAME = #{record.day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1top3name != null">
+        DAY1TOP3NAME = #{record.day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.day1topnum != null">
+        DAY1TOPNUM = #{record.day1topnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FAILURESTATISTICSMAIN
+    set ID = #{record.id,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      DAY3TOP1 = #{record.day3top1,jdbcType=DECIMAL},
+      DAY3TOP2 = #{record.day3top2,jdbcType=DECIMAL},
+      DAY3TOP3 = #{record.day3top3,jdbcType=DECIMAL},
+      DAY7TOP1 = #{record.day7top1,jdbcType=DECIMAL},
+      DAY7TOP2 = #{record.day7top2,jdbcType=DECIMAL},
+      DAY7TOP3 = #{record.day7top3,jdbcType=DECIMAL},
+      DAY15TOP1 = #{record.day15top1,jdbcType=DECIMAL},
+      DAY15TOP2 = #{record.day15top2,jdbcType=DECIMAL},
+      DAY15TOP3 = #{record.day15top3,jdbcType=DECIMAL},
+      MONTH1TOP1 = #{record.month1top1,jdbcType=DECIMAL},
+      MONTH1TOP2 = #{record.month1top2,jdbcType=DECIMAL},
+      MONTH1TOP3 = #{record.month1top3,jdbcType=DECIMAL},
+      DAY3TOP1NAME = #{record.day3top1name,jdbcType=VARCHAR},
+      DAY3TOP2NAME = #{record.day3top2name,jdbcType=VARCHAR},
+      DAY3TOP3NAME = #{record.day3top3name,jdbcType=VARCHAR},
+      DAY7TOP1NAME = #{record.day7top1name,jdbcType=VARCHAR},
+      DAY7TOP2NAME = #{record.day7top2name,jdbcType=VARCHAR},
+      DAY7TOP3NAME = #{record.day7top3name,jdbcType=VARCHAR},
+      DAY15TOP1NAME = #{record.day15top1name,jdbcType=VARCHAR},
+      DAY15TOP2NAME = #{record.day15top2name,jdbcType=VARCHAR},
+      DAY15TOP3NAME = #{record.day15top3name,jdbcType=VARCHAR},
+      MONTH1TOP1NAME = #{record.month1top1name,jdbcType=VARCHAR},
+      MONTH1TOP2NAME = #{record.month1top2name,jdbcType=VARCHAR},
+      MONTH1TOP3NAME = #{record.month1top3name,jdbcType=VARCHAR},
+      MONTH1TOPNUM = #{record.month1topnum,jdbcType=DECIMAL},
+      DAY7TOPNUM = #{record.day7topnum,jdbcType=DECIMAL},
+      DAY15TOPNUM = #{record.day15topnum,jdbcType=DECIMAL},
+      DAY3TOPNUM = #{record.day3topnum,jdbcType=DECIMAL},
+      SYNTHESISTOPNUM = #{record.synthesistopnum,jdbcType=DECIMAL},
+      DAY1TOP1 = #{record.day1top1,jdbcType=DECIMAL},
+      DAY1TOP2 = #{record.day1top2,jdbcType=DECIMAL},
+      DAY1TOP3 = #{record.day1top3,jdbcType=DECIMAL},
+      DAY1TOP1NAME = #{record.day1top1name,jdbcType=VARCHAR},
+      DAY1TOP2NAME = #{record.day1top2name,jdbcType=VARCHAR},
+      DAY1TOP3NAME = #{record.day1top3name,jdbcType=VARCHAR},
+      DAY1TOPNUM = #{record.day1topnum,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Failurestatisticsmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FAILURESTATISTICSMAIN
+    <set>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        WPNAME = #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        WTNAME = #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top1 != null">
+        DAY3TOP1 = #{day3top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top2 != null">
+        DAY3TOP2 = #{day3top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top3 != null">
+        DAY3TOP3 = #{day3top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top1 != null">
+        DAY7TOP1 = #{day7top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top2 != null">
+        DAY7TOP2 = #{day7top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day7top3 != null">
+        DAY7TOP3 = #{day7top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top1 != null">
+        DAY15TOP1 = #{day15top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top2 != null">
+        DAY15TOP2 = #{day15top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day15top3 != null">
+        DAY15TOP3 = #{day15top3,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top1 != null">
+        MONTH1TOP1 = #{month1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top2 != null">
+        MONTH1TOP2 = #{month1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="month1top3 != null">
+        MONTH1TOP3 = #{month1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day3top1name != null">
+        DAY3TOP1NAME = #{day3top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top2name != null">
+        DAY3TOP2NAME = #{day3top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day3top3name != null">
+        DAY3TOP3NAME = #{day3top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top1name != null">
+        DAY7TOP1NAME = #{day7top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top2name != null">
+        DAY7TOP2NAME = #{day7top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day7top3name != null">
+        DAY7TOP3NAME = #{day7top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top1name != null">
+        DAY15TOP1NAME = #{day15top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top2name != null">
+        DAY15TOP2NAME = #{day15top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day15top3name != null">
+        DAY15TOP3NAME = #{day15top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top1name != null">
+        MONTH1TOP1NAME = #{month1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top2name != null">
+        MONTH1TOP2NAME = #{month1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1top3name != null">
+        MONTH1TOP3NAME = #{month1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="month1topnum != null">
+        MONTH1TOPNUM = #{month1topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day7topnum != null">
+        DAY7TOPNUM = #{day7topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day15topnum != null">
+        DAY15TOPNUM = #{day15topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day3topnum != null">
+        DAY3TOPNUM = #{day3topnum,jdbcType=DECIMAL},
+      </if>
+      <if test="synthesistopnum != null">
+        SYNTHESISTOPNUM = #{synthesistopnum,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1 != null">
+        DAY1TOP1 = #{day1top1,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top2 != null">
+        DAY1TOP2 = #{day1top2,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top3 != null">
+        DAY1TOP3 = #{day1top3,jdbcType=DECIMAL},
+      </if>
+      <if test="day1top1name != null">
+        DAY1TOP1NAME = #{day1top1name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top2name != null">
+        DAY1TOP2NAME = #{day1top2name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1top3name != null">
+        DAY1TOP3NAME = #{day1top3name,jdbcType=VARCHAR},
+      </if>
+      <if test="day1topnum != null">
+        DAY1TOPNUM = #{day1topnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Failurestatisticsmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FAILURESTATISTICSMAIN
+    set RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      WPNAME = #{wpname,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      WTNAME = #{wtname,jdbcType=VARCHAR},
+      DAY3TOP1 = #{day3top1,jdbcType=DECIMAL},
+      DAY3TOP2 = #{day3top2,jdbcType=DECIMAL},
+      DAY3TOP3 = #{day3top3,jdbcType=DECIMAL},
+      DAY7TOP1 = #{day7top1,jdbcType=DECIMAL},
+      DAY7TOP2 = #{day7top2,jdbcType=DECIMAL},
+      DAY7TOP3 = #{day7top3,jdbcType=DECIMAL},
+      DAY15TOP1 = #{day15top1,jdbcType=DECIMAL},
+      DAY15TOP2 = #{day15top2,jdbcType=DECIMAL},
+      DAY15TOP3 = #{day15top3,jdbcType=DECIMAL},
+      MONTH1TOP1 = #{month1top1,jdbcType=DECIMAL},
+      MONTH1TOP2 = #{month1top2,jdbcType=DECIMAL},
+      MONTH1TOP3 = #{month1top3,jdbcType=DECIMAL},
+      DAY3TOP1NAME = #{day3top1name,jdbcType=VARCHAR},
+      DAY3TOP2NAME = #{day3top2name,jdbcType=VARCHAR},
+      DAY3TOP3NAME = #{day3top3name,jdbcType=VARCHAR},
+      DAY7TOP1NAME = #{day7top1name,jdbcType=VARCHAR},
+      DAY7TOP2NAME = #{day7top2name,jdbcType=VARCHAR},
+      DAY7TOP3NAME = #{day7top3name,jdbcType=VARCHAR},
+      DAY15TOP1NAME = #{day15top1name,jdbcType=VARCHAR},
+      DAY15TOP2NAME = #{day15top2name,jdbcType=VARCHAR},
+      DAY15TOP3NAME = #{day15top3name,jdbcType=VARCHAR},
+      MONTH1TOP1NAME = #{month1top1name,jdbcType=VARCHAR},
+      MONTH1TOP2NAME = #{month1top2name,jdbcType=VARCHAR},
+      MONTH1TOP3NAME = #{month1top3name,jdbcType=VARCHAR},
+      MONTH1TOPNUM = #{month1topnum,jdbcType=DECIMAL},
+      DAY7TOPNUM = #{day7topnum,jdbcType=DECIMAL},
+      DAY15TOPNUM = #{day15topnum,jdbcType=DECIMAL},
+      DAY3TOPNUM = #{day3topnum,jdbcType=DECIMAL},
+      SYNTHESISTOPNUM = #{synthesistopnum,jdbcType=DECIMAL},
+      DAY1TOP1 = #{day1top1,jdbcType=DECIMAL},
+      DAY1TOP2 = #{day1top2,jdbcType=DECIMAL},
+      DAY1TOP3 = #{day1top3,jdbcType=DECIMAL},
+      DAY1TOP1NAME = #{day1top1name,jdbcType=VARCHAR},
+      DAY1TOP2NAME = #{day1top2name,jdbcType=VARCHAR},
+      DAY1TOP3NAME = #{day1top3name,jdbcType=VARCHAR},
+      DAY1TOPNUM = #{day1topnum,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+
+    <select id="listFailure" resultMap="BaseResultMap">
+
+
+       select * from failurestatisticsmain where wpid=#{wpid} and recodedate = to_date(#{date},'yyyy-MM-dd')
+
+    </select>
+</mapper>

+ 366 - 0
web/health-jn/src/main/resources/mybatis/auto/FaultEliminateDefectsMapper.xml

@@ -0,0 +1,366 @@
+<?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.FaultEliminateDefectsMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.FaultEliminateDefects">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="DECIMAL" property="id" />
+    <result column="WINDPOWERSTATIONID" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="WINDTURBINEID" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="PROJECTID" jdbcType="VARCHAR" property="projectid" />
+    <result column="LINEID" jdbcType="VARCHAR" property="lineid" />
+    <result column="DATETIME" jdbcType="TIMESTAMP" property="datetime" />
+    <result column="CLASSIFYID" jdbcType="VARCHAR" property="classifyid" />
+    <result column="faultCount" jdbcType="DECIMAL" property="faultcount" />
+    <result column="rate" jdbcType="DECIMAL" property="rate" />
+    <result column="RIGHTCOUNT" jdbcType="DECIMAL" property="rightcount" />
+    <result column="cause" jdbcType="VARCHAR" property="cause" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, WINDPOWERSTATIONID, WINDTURBINEID, PROJECTID, LINEID, DATETIME, CLASSIFYID, faultCount, 
+    rate, RIGHTCOUNT, cause
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.FaultEliminateDefectsExample" 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 faulteliminatedefects
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from faulteliminatedefects
+    where id = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from faulteliminatedefects
+    where id = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.FaultEliminateDefectsExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from faulteliminatedefects
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.FaultEliminateDefects">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into faulteliminatedefects (id, WINDPOWERSTATIONID, WINDTURBINEID, 
+      PROJECTID, LINEID, DATETIME, 
+      CLASSIFYID, faultCount, rate, 
+      RIGHTCOUNT, cause)
+    values (#{id,jdbcType=DECIMAL}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{projectid,jdbcType=VARCHAR}, #{lineid,jdbcType=VARCHAR}, #{datetime,jdbcType=TIMESTAMP}, 
+      #{classifyid,jdbcType=VARCHAR}, #{faultcount,jdbcType=DECIMAL}, #{rate,jdbcType=DECIMAL}, 
+      #{rightcount,jdbcType=DECIMAL}, #{cause,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.FaultEliminateDefects">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into faulteliminatedefects
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID,
+      </if>
+      <if test="windturbineid != null">
+        WINDTURBINEID,
+      </if>
+      <if test="projectid != null">
+        PROJECTID,
+      </if>
+      <if test="lineid != null">
+        LINEID,
+      </if>
+      <if test="datetime != null">
+        DATETIME,
+      </if>
+      <if test="classifyid != null">
+        CLASSIFYID,
+      </if>
+      <if test="faultcount != null">
+        faultCount,
+      </if>
+      <if test="rate != null">
+        rate,
+      </if>
+      <if test="rightcount != null">
+        RIGHTCOUNT,
+      </if>
+      <if test="cause != null">
+        cause,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="datetime != null">
+        #{datetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="classifyid != null">
+        #{classifyid,jdbcType=VARCHAR},
+      </if>
+      <if test="faultcount != null">
+        #{faultcount,jdbcType=DECIMAL},
+      </if>
+      <if test="rate != null">
+        #{rate,jdbcType=DECIMAL},
+      </if>
+      <if test="rightcount != null">
+        #{rightcount,jdbcType=DECIMAL},
+      </if>
+      <if test="cause != null">
+        #{cause,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.FaultEliminateDefectsExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from faulteliminatedefects
+    <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 faulteliminatedefects
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.windpowerstationid != null">
+        WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lineid != null">
+        LINEID = #{record.lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.datetime != null">
+        DATETIME = #{record.datetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.classifyid != null">
+        CLASSIFYID = #{record.classifyid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.faultcount != null">
+        faultCount = #{record.faultcount,jdbcType=DECIMAL},
+      </if>
+      <if test="record.rate != null">
+        rate = #{record.rate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.rightcount != null">
+        RIGHTCOUNT = #{record.rightcount,jdbcType=DECIMAL},
+      </if>
+      <if test="record.cause != null">
+        cause = #{record.cause,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 faulteliminatedefects
+    set id = #{record.id,jdbcType=DECIMAL},
+      WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+      PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      LINEID = #{record.lineid,jdbcType=VARCHAR},
+      DATETIME = #{record.datetime,jdbcType=TIMESTAMP},
+      CLASSIFYID = #{record.classifyid,jdbcType=VARCHAR},
+      faultCount = #{record.faultcount,jdbcType=DECIMAL},
+      rate = #{record.rate,jdbcType=DECIMAL},
+      RIGHTCOUNT = #{record.rightcount,jdbcType=DECIMAL},
+      cause = #{record.cause,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.FaultEliminateDefects">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update faulteliminatedefects
+    <set>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        PROJECTID = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        LINEID = #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="datetime != null">
+        DATETIME = #{datetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="classifyid != null">
+        CLASSIFYID = #{classifyid,jdbcType=VARCHAR},
+      </if>
+      <if test="faultcount != null">
+        faultCount = #{faultcount,jdbcType=DECIMAL},
+      </if>
+      <if test="rate != null">
+        rate = #{rate,jdbcType=DECIMAL},
+      </if>
+      <if test="rightcount != null">
+        RIGHTCOUNT = #{rightcount,jdbcType=DECIMAL},
+      </if>
+      <if test="cause != null">
+        cause = #{cause,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.FaultEliminateDefects">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update faulteliminatedefects
+    set WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+      PROJECTID = #{projectid,jdbcType=VARCHAR},
+      LINEID = #{lineid,jdbcType=VARCHAR},
+      DATETIME = #{datetime,jdbcType=TIMESTAMP},
+      CLASSIFYID = #{classifyid,jdbcType=VARCHAR},
+      faultCount = #{faultcount,jdbcType=DECIMAL},
+      rate = #{rate,jdbcType=DECIMAL},
+      RIGHTCOUNT = #{rightcount,jdbcType=DECIMAL},
+      cause = #{cause,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

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

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ForecaststationtandardpointMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="CODE" jdbcType="VARCHAR" property="code" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
+    <result column="ORDERNUM" jdbcType="VARCHAR" property="ordernum" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, CODE, NAME, UNIFORMCODE, ORDERNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from FORECASTSTATIONTANDARDPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from FORECASTSTATIONTANDARDPOINT
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FORECASTSTATIONTANDARDPOINT
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FORECASTSTATIONTANDARDPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTSTATIONTANDARDPOINT (ID, CODE, NAME, 
+      UNIFORMCODE, ORDERNUM)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{uniformcode,jdbcType=VARCHAR}, #{ordernum,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTSTATIONTANDARDPOINT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE,
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="code != null">
+        #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ForecaststationtandardpointExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from FORECASTSTATIONTANDARDPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.code != null">
+        CODE = #{record.code,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.uniformcode != null">
+        UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ordernum != null">
+        ORDERNUM = #{record.ordernum,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{record.ordernum,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    <set>
+      <if test="code != null">
+        CODE = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        ORDERNUM = #{ordernum,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Forecaststationtandardpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTSTATIONTANDARDPOINT
+    set CODE = #{code,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      ORDERNUM = #{ordernum,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 366 - 0
web/health-jn/src/main/resources/mybatis/auto/ForecastwindspeedMapper.xml

@@ -0,0 +1,366 @@
+<?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.ForecastwindspeedMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Forecastwindspeed">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WPNAME" jdbcType="VARCHAR" property="wpname" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="DAYSPEED" jdbcType="DECIMAL" property="dayspeed" />
+    <result column="DAYPOWER" jdbcType="DECIMAL" property="daypower" />
+    <result column="NIGHTSPEED" jdbcType="DECIMAL" property="nightspeed" />
+    <result column="NIGHTPOWER" jdbcType="DECIMAL" property="nightpower" />
+    <result column="PJID" jdbcType="VARCHAR" property="pjid" />
+    <result column="PJNAME" jdbcType="VARCHAR" property="pjname" />
+    <result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />
+  </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, WPID, WPNAME, RECODEDATE, DAYSPEED, DAYPOWER, NIGHTSPEED, NIGHTPOWER, PJID, PJNAME, 
+    CREATEDATE
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ForecastwindspeedExample" 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 FORECASTWINDSPEED
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from FORECASTWINDSPEED
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FORECASTWINDSPEED
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ForecastwindspeedExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from FORECASTWINDSPEED
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Forecastwindspeed">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTWINDSPEED (ID, WPID, WPNAME, 
+      RECODEDATE, DAYSPEED, DAYPOWER, 
+      NIGHTSPEED, NIGHTPOWER, PJID, 
+      PJNAME, CREATEDATE)
+    values (#{id,jdbcType=DECIMAL}, #{wpid,jdbcType=VARCHAR}, #{wpname,jdbcType=VARCHAR}, 
+      #{recodedate,jdbcType=TIMESTAMP}, #{dayspeed,jdbcType=DECIMAL}, #{daypower,jdbcType=DECIMAL}, 
+      #{nightspeed,jdbcType=DECIMAL}, #{nightpower,jdbcType=DECIMAL}, #{pjid,jdbcType=VARCHAR}, 
+      #{pjname,jdbcType=VARCHAR}, #{createdate,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Forecastwindspeed">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into FORECASTWINDSPEED
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wpname != null">
+        WPNAME,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="dayspeed != null">
+        DAYSPEED,
+      </if>
+      <if test="daypower != null">
+        DAYPOWER,
+      </if>
+      <if test="nightspeed != null">
+        NIGHTSPEED,
+      </if>
+      <if test="nightpower != null">
+        NIGHTPOWER,
+      </if>
+      <if test="pjid != null">
+        PJID,
+      </if>
+      <if test="pjname != null">
+        PJNAME,
+      </if>
+      <if test="createdate != null">
+        CREATEDATE,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="dayspeed != null">
+        #{dayspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="daypower != null">
+        #{daypower,jdbcType=DECIMAL},
+      </if>
+      <if test="nightspeed != null">
+        #{nightspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="nightpower != null">
+        #{nightpower,jdbcType=DECIMAL},
+      </if>
+      <if test="pjid != null">
+        #{pjid,jdbcType=VARCHAR},
+      </if>
+      <if test="pjname != null">
+        #{pjname,jdbcType=VARCHAR},
+      </if>
+      <if test="createdate != null">
+        #{createdate,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ForecastwindspeedExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from FORECASTWINDSPEED
+    <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 FORECASTWINDSPEED
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpname != null">
+        WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.dayspeed != null">
+        DAYSPEED = #{record.dayspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.daypower != null">
+        DAYPOWER = #{record.daypower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.nightspeed != null">
+        NIGHTSPEED = #{record.nightspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.nightpower != null">
+        NIGHTPOWER = #{record.nightpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.pjid != null">
+        PJID = #{record.pjid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.pjname != null">
+        PJNAME = #{record.pjname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createdate != null">
+        CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP},
+      </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 FORECASTWINDSPEED
+    set ID = #{record.id,jdbcType=DECIMAL},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      DAYSPEED = #{record.dayspeed,jdbcType=DECIMAL},
+      DAYPOWER = #{record.daypower,jdbcType=DECIMAL},
+      NIGHTSPEED = #{record.nightspeed,jdbcType=DECIMAL},
+      NIGHTPOWER = #{record.nightpower,jdbcType=DECIMAL},
+      PJID = #{record.pjid,jdbcType=VARCHAR},
+      PJNAME = #{record.pjname,jdbcType=VARCHAR},
+      CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Forecastwindspeed">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTWINDSPEED
+    <set>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        WPNAME = #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="dayspeed != null">
+        DAYSPEED = #{dayspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="daypower != null">
+        DAYPOWER = #{daypower,jdbcType=DECIMAL},
+      </if>
+      <if test="nightspeed != null">
+        NIGHTSPEED = #{nightspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="nightpower != null">
+        NIGHTPOWER = #{nightpower,jdbcType=DECIMAL},
+      </if>
+      <if test="pjid != null">
+        PJID = #{pjid,jdbcType=VARCHAR},
+      </if>
+      <if test="pjname != null">
+        PJNAME = #{pjname,jdbcType=VARCHAR},
+      </if>
+      <if test="createdate != null">
+        CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Forecastwindspeed">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update FORECASTWINDSPEED
+    set WPID = #{wpid,jdbcType=VARCHAR},
+      WPNAME = #{wpname,jdbcType=VARCHAR},
+      RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      DAYSPEED = #{dayspeed,jdbcType=DECIMAL},
+      DAYPOWER = #{daypower,jdbcType=DECIMAL},
+      NIGHTSPEED = #{nightspeed,jdbcType=DECIMAL},
+      NIGHTPOWER = #{nightpower,jdbcType=DECIMAL},
+      PJID = #{pjid,jdbcType=VARCHAR},
+      PJNAME = #{pjname,jdbcType=VARCHAR},
+      CREATEDATE = #{createdate,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 360 - 0
web/health-jn/src/main/resources/mybatis/auto/HealthpointMapper.xml

@@ -0,0 +1,360 @@
+<?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.HealthpointMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Healthpoint">
+    <!--
+      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="MODEL" jdbcType="VARCHAR" property="model" />
+    <result column="VALUEUNIT" jdbcType="VARCHAR" property="valueunit" />
+    <result column="ENGLISHNAME" jdbcType="VARCHAR" property="englishname" />
+    <result column="TYPEID" jdbcType="VARCHAR" property="typeid" />
+    <result column="MODELID" jdbcType="VARCHAR" property="modelid" />
+    <result column="MAXVAL" jdbcType="DECIMAL" property="maxval" />
+    <result column="MINVAL" jdbcType="DECIMAL" property="minval" />
+    <result column="REASONABLEMAXVAL" jdbcType="DECIMAL" property="reasonablemaxval" />
+    <result column="REASONABLEMINVAL" jdbcType="DECIMAL" property="reasonableminval" />
+    <result column="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
+    <result column="SHORTID" jdbcType="VARCHAR" property="shortid" />
+    <result column="LONGID" jdbcType="VARCHAR" property="longid" />
+    <result column="WINDPOWERSTATIONID" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="REALTIMEID" jdbcType="VARCHAR" property="realtimeid" />
+  </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, MODEL, VALUEUNIT, ENGLISHNAME, TYPEID, MODELID, MAXVAL, MINVAL, REASONABLEMAXVAL, 
+    REASONABLEMINVAL, UNIFORMCODE, SHORTID, LONGID, WINDPOWERSTATIONID, REALTIMEID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.HealthpointExample" 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 HEALTHPOINT
+    <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.HealthpointExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from HEALTHPOINT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Healthpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into HEALTHPOINT (ID, CODE, NAME, 
+      MODEL, VALUEUNIT, ENGLISHNAME, 
+      TYPEID, MODELID, MAXVAL, 
+      MINVAL, REASONABLEMAXVAL, REASONABLEMINVAL, 
+      UNIFORMCODE, SHORTID, LONGID, 
+      WINDPOWERSTATIONID, REALTIMEID)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{model,jdbcType=VARCHAR}, #{valueunit,jdbcType=VARCHAR}, #{englishname,jdbcType=VARCHAR}, 
+      #{typeid,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{maxval,jdbcType=DECIMAL}, 
+      #{minval,jdbcType=DECIMAL}, #{reasonablemaxval,jdbcType=DECIMAL}, #{reasonableminval,jdbcType=DECIMAL}, 
+      #{uniformcode,jdbcType=VARCHAR}, #{shortid,jdbcType=VARCHAR}, #{longid,jdbcType=VARCHAR}, 
+      #{windpowerstationid,jdbcType=VARCHAR}, #{realtimeid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Healthpoint">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into HEALTHPOINT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="model != null">
+        MODEL,
+      </if>
+      <if test="valueunit != null">
+        VALUEUNIT,
+      </if>
+      <if test="englishname != null">
+        ENGLISHNAME,
+      </if>
+      <if test="typeid != null">
+        TYPEID,
+      </if>
+      <if test="modelid != null">
+        MODELID,
+      </if>
+      <if test="maxval != null">
+        MAXVAL,
+      </if>
+      <if test="minval != null">
+        MINVAL,
+      </if>
+      <if test="reasonablemaxval != null">
+        REASONABLEMAXVAL,
+      </if>
+      <if test="reasonableminval != null">
+        REASONABLEMINVAL,
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE,
+      </if>
+      <if test="shortid != null">
+        SHORTID,
+      </if>
+      <if test="longid != null">
+        LONGID,
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID,
+      </if>
+      <if test="realtimeid != null">
+        REALTIMEID,
+      </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="model != null">
+        #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="valueunit != null">
+        #{valueunit,jdbcType=VARCHAR},
+      </if>
+      <if test="englishname != null">
+        #{englishname,jdbcType=VARCHAR},
+      </if>
+      <if test="typeid != null">
+        #{typeid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="maxval != null">
+        #{maxval,jdbcType=DECIMAL},
+      </if>
+      <if test="minval != null">
+        #{minval,jdbcType=DECIMAL},
+      </if>
+      <if test="reasonablemaxval != null">
+        #{reasonablemaxval,jdbcType=DECIMAL},
+      </if>
+      <if test="reasonableminval != null">
+        #{reasonableminval,jdbcType=DECIMAL},
+      </if>
+      <if test="uniformcode != null">
+        #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="shortid != null">
+        #{shortid,jdbcType=VARCHAR},
+      </if>
+      <if test="longid != null">
+        #{longid,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="realtimeid != null">
+        #{realtimeid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.HealthpointExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from HEALTHPOINT
+    <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 HEALTHPOINT
+    <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.model != null">
+        MODEL = #{record.model,jdbcType=VARCHAR},
+      </if>
+      <if test="record.valueunit != null">
+        VALUEUNIT = #{record.valueunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.englishname != null">
+        ENGLISHNAME = #{record.englishname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.typeid != null">
+        TYPEID = #{record.typeid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        MODELID = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.maxval != null">
+        MAXVAL = #{record.maxval,jdbcType=DECIMAL},
+      </if>
+      <if test="record.minval != null">
+        MINVAL = #{record.minval,jdbcType=DECIMAL},
+      </if>
+      <if test="record.reasonablemaxval != null">
+        REASONABLEMAXVAL = #{record.reasonablemaxval,jdbcType=DECIMAL},
+      </if>
+      <if test="record.reasonableminval != null">
+        REASONABLEMINVAL = #{record.reasonableminval,jdbcType=DECIMAL},
+      </if>
+      <if test="record.uniformcode != null">
+        UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shortid != null">
+        SHORTID = #{record.shortid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.longid != null">
+        LONGID = #{record.longid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.realtimeid != null">
+        REALTIMEID = #{record.realtimeid,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 HEALTHPOINT
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      MODEL = #{record.model,jdbcType=VARCHAR},
+      VALUEUNIT = #{record.valueunit,jdbcType=VARCHAR},
+      ENGLISHNAME = #{record.englishname,jdbcType=VARCHAR},
+      TYPEID = #{record.typeid,jdbcType=VARCHAR},
+      MODELID = #{record.modelid,jdbcType=VARCHAR},
+      MAXVAL = #{record.maxval,jdbcType=DECIMAL},
+      MINVAL = #{record.minval,jdbcType=DECIMAL},
+      REASONABLEMAXVAL = #{record.reasonablemaxval,jdbcType=DECIMAL},
+      REASONABLEMINVAL = #{record.reasonableminval,jdbcType=DECIMAL},
+      UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      SHORTID = #{record.shortid,jdbcType=VARCHAR},
+      LONGID = #{record.longid,jdbcType=VARCHAR},
+      WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      REALTIMEID = #{record.realtimeid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+</mapper>

File diff suppressed because it is too large
+ 1628 - 0
web/health-jn/src/main/resources/mybatis/auto/Inputoroutputspeedtotal2Mapper.xml


File diff suppressed because it is too large
+ 1324 - 0
web/health-jn/src/main/resources/mybatis/auto/InputoroutputspeedtotalMapper.xml


+ 572 - 0
web/health-jn/src/main/resources/mybatis/auto/InventoryMapper.xml

@@ -0,0 +1,572 @@
+<?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.InventoryMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Inventory">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="ITEMNUM" jdbcType="NVARCHAR" property="itemnum" />
+    <result column="WAREHOUSE" jdbcType="NVARCHAR" property="warehouse" />
+    <result column="BINNUM" jdbcType="NVARCHAR" property="binnum" />
+    <result column="VENDOR" jdbcType="NVARCHAR" property="vendor" />
+    <result column="MANUFACTURER" jdbcType="NVARCHAR" property="manufacturer" />
+    <result column="MODELNUM" jdbcType="NVARCHAR" property="modelnum" />
+    <result column="MINLEVEL" jdbcType="NUMERIC" property="minlevel" />
+    <result column="MAXLEVEL" jdbcType="NUMERIC" property="maxlevel" />
+    <result column="STOCKTYPE" jdbcType="NVARCHAR" property="stocktype" />
+    <result column="ORDERUNIT" jdbcType="NVARCHAR" property="orderunit" />
+    <result column="ISSUEUNIT" jdbcType="NVARCHAR" property="issueunit" />
+    <result column="CONVERSION" jdbcType="NUMERIC" property="conversion" />
+    <result column="ORDERQTY" jdbcType="NUMERIC" property="orderqty" />
+    <result column="STDCOST" jdbcType="NUMERIC" property="stdcost" />
+    <result column="AVGCOST" jdbcType="NUMERIC" property="avgcost" />
+    <result column="LASTCOST" jdbcType="NUMERIC" property="lastcost" />
+    <result column="LASTISSUEDATE" jdbcType="TIMESTAMP" property="lastissuedate" />
+    <result column="ISSUEYTD" jdbcType="NUMERIC" property="issueytd" />
+    <result column="ABCTYPE" jdbcType="NVARCHAR" property="abctype" />
+    <result column="SSTOCK" jdbcType="NUMERIC" property="sstock" />
+    <result column="ITEMDESC" jdbcType="NVARCHAR" property="itemdesc" />
+    <result column="SITENUM" jdbcType="NVARCHAR" property="sitenum" />
+    <result column="CORPNUM" jdbcType="NVARCHAR" property="corpnum" />
+  </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, ITEMNUM, WAREHOUSE, BINNUM, VENDOR, MANUFACTURER, MODELNUM, MINLEVEL, MAXLEVEL, 
+    STOCKTYPE, ORDERUNIT, ISSUEUNIT, CONVERSION, ORDERQTY, STDCOST, AVGCOST, LASTCOST, 
+    LASTISSUEDATE, ISSUEYTD, ABCTYPE, SSTOCK, ITEMDESC, SITENUM, CORPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.InventoryExample" 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 INVENTORY
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from INVENTORY
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from INVENTORY
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.InventoryExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from INVENTORY
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Inventory">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into INVENTORY (ID, ITEMNUM, WAREHOUSE, 
+      BINNUM, VENDOR, MANUFACTURER, 
+      MODELNUM, MINLEVEL, MAXLEVEL, 
+      STOCKTYPE, ORDERUNIT, ISSUEUNIT, 
+      CONVERSION, ORDERQTY, STDCOST, 
+      AVGCOST, LASTCOST, LASTISSUEDATE, 
+      ISSUEYTD, ABCTYPE, SSTOCK, 
+      ITEMDESC, SITENUM, CORPNUM
+      )
+    values (#{id,jdbcType=NUMERIC}, #{itemnum,jdbcType=NVARCHAR}, #{warehouse,jdbcType=NVARCHAR}, 
+      #{binnum,jdbcType=NVARCHAR}, #{vendor,jdbcType=NVARCHAR}, #{manufacturer,jdbcType=NVARCHAR}, 
+      #{modelnum,jdbcType=NVARCHAR}, #{minlevel,jdbcType=NUMERIC}, #{maxlevel,jdbcType=NUMERIC}, 
+      #{stocktype,jdbcType=NVARCHAR}, #{orderunit,jdbcType=NVARCHAR}, #{issueunit,jdbcType=NVARCHAR}, 
+      #{conversion,jdbcType=NUMERIC}, #{orderqty,jdbcType=NUMERIC}, #{stdcost,jdbcType=NUMERIC}, 
+      #{avgcost,jdbcType=NUMERIC}, #{lastcost,jdbcType=NUMERIC}, #{lastissuedate,jdbcType=TIMESTAMP}, 
+      #{issueytd,jdbcType=NUMERIC}, #{abctype,jdbcType=NVARCHAR}, #{sstock,jdbcType=NUMERIC}, 
+      #{itemdesc,jdbcType=NVARCHAR}, #{sitenum,jdbcType=NVARCHAR}, #{corpnum,jdbcType=NVARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Inventory">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into INVENTORY
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="itemnum != null">
+        ITEMNUM,
+      </if>
+      <if test="warehouse != null">
+        WAREHOUSE,
+      </if>
+      <if test="binnum != null">
+        BINNUM,
+      </if>
+      <if test="vendor != null">
+        VENDOR,
+      </if>
+      <if test="manufacturer != null">
+        MANUFACTURER,
+      </if>
+      <if test="modelnum != null">
+        MODELNUM,
+      </if>
+      <if test="minlevel != null">
+        MINLEVEL,
+      </if>
+      <if test="maxlevel != null">
+        MAXLEVEL,
+      </if>
+      <if test="stocktype != null">
+        STOCKTYPE,
+      </if>
+      <if test="orderunit != null">
+        ORDERUNIT,
+      </if>
+      <if test="issueunit != null">
+        ISSUEUNIT,
+      </if>
+      <if test="conversion != null">
+        CONVERSION,
+      </if>
+      <if test="orderqty != null">
+        ORDERQTY,
+      </if>
+      <if test="stdcost != null">
+        STDCOST,
+      </if>
+      <if test="avgcost != null">
+        AVGCOST,
+      </if>
+      <if test="lastcost != null">
+        LASTCOST,
+      </if>
+      <if test="lastissuedate != null">
+        LASTISSUEDATE,
+      </if>
+      <if test="issueytd != null">
+        ISSUEYTD,
+      </if>
+      <if test="abctype != null">
+        ABCTYPE,
+      </if>
+      <if test="sstock != null">
+        SSTOCK,
+      </if>
+      <if test="itemdesc != null">
+        ITEMDESC,
+      </if>
+      <if test="sitenum != null">
+        SITENUM,
+      </if>
+      <if test="corpnum != null">
+        CORPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="itemnum != null">
+        #{itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouse != null">
+        #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="binnum != null">
+        #{binnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="vendor != null">
+        #{vendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="manufacturer != null">
+        #{manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnum != null">
+        #{modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="minlevel != null">
+        #{minlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="maxlevel != null">
+        #{maxlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="stocktype != null">
+        #{stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="orderunit != null">
+        #{orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="issueunit != null">
+        #{issueunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="conversion != null">
+        #{conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="orderqty != null">
+        #{orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="stdcost != null">
+        #{stdcost,jdbcType=NUMERIC},
+      </if>
+      <if test="avgcost != null">
+        #{avgcost,jdbcType=NUMERIC},
+      </if>
+      <if test="lastcost != null">
+        #{lastcost,jdbcType=NUMERIC},
+      </if>
+      <if test="lastissuedate != null">
+        #{lastissuedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="issueytd != null">
+        #{issueytd,jdbcType=NUMERIC},
+      </if>
+      <if test="abctype != null">
+        #{abctype,jdbcType=NVARCHAR},
+      </if>
+      <if test="sstock != null">
+        #{sstock,jdbcType=NUMERIC},
+      </if>
+      <if test="itemdesc != null">
+        #{itemdesc,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        #{corpnum,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.InventoryExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from INVENTORY
+    <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 INVENTORY
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.itemnum != null">
+        ITEMNUM = #{record.itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.warehouse != null">
+        WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.binnum != null">
+        BINNUM = #{record.binnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.vendor != null">
+        VENDOR = #{record.vendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.manufacturer != null">
+        MANUFACTURER = #{record.manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.modelnum != null">
+        MODELNUM = #{record.modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.minlevel != null">
+        MINLEVEL = #{record.minlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="record.maxlevel != null">
+        MAXLEVEL = #{record.maxlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="record.stocktype != null">
+        STOCKTYPE = #{record.stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.orderunit != null">
+        ORDERUNIT = #{record.orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.issueunit != null">
+        ISSUEUNIT = #{record.issueunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.conversion != null">
+        CONVERSION = #{record.conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="record.orderqty != null">
+        ORDERQTY = #{record.orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="record.stdcost != null">
+        STDCOST = #{record.stdcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.avgcost != null">
+        AVGCOST = #{record.avgcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.lastcost != null">
+        LASTCOST = #{record.lastcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.lastissuedate != null">
+        LASTISSUEDATE = #{record.lastissuedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.issueytd != null">
+        ISSUEYTD = #{record.issueytd,jdbcType=NUMERIC},
+      </if>
+      <if test="record.abctype != null">
+        ABCTYPE = #{record.abctype,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.sstock != null">
+        SSTOCK = #{record.sstock,jdbcType=NUMERIC},
+      </if>
+      <if test="record.itemdesc != null">
+        ITEMDESC = #{record.itemdesc,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.sitenum != null">
+        SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.corpnum != null">
+        CORPNUM = #{record.corpnum,jdbcType=NVARCHAR},
+      </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 INVENTORY
+    set ID = #{record.id,jdbcType=NUMERIC},
+      ITEMNUM = #{record.itemnum,jdbcType=NVARCHAR},
+      WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      BINNUM = #{record.binnum,jdbcType=NVARCHAR},
+      VENDOR = #{record.vendor,jdbcType=NVARCHAR},
+      MANUFACTURER = #{record.manufacturer,jdbcType=NVARCHAR},
+      MODELNUM = #{record.modelnum,jdbcType=NVARCHAR},
+      MINLEVEL = #{record.minlevel,jdbcType=NUMERIC},
+      MAXLEVEL = #{record.maxlevel,jdbcType=NUMERIC},
+      STOCKTYPE = #{record.stocktype,jdbcType=NVARCHAR},
+      ORDERUNIT = #{record.orderunit,jdbcType=NVARCHAR},
+      ISSUEUNIT = #{record.issueunit,jdbcType=NVARCHAR},
+      CONVERSION = #{record.conversion,jdbcType=NUMERIC},
+      ORDERQTY = #{record.orderqty,jdbcType=NUMERIC},
+      STDCOST = #{record.stdcost,jdbcType=NUMERIC},
+      AVGCOST = #{record.avgcost,jdbcType=NUMERIC},
+      LASTCOST = #{record.lastcost,jdbcType=NUMERIC},
+      LASTISSUEDATE = #{record.lastissuedate,jdbcType=TIMESTAMP},
+      ISSUEYTD = #{record.issueytd,jdbcType=NUMERIC},
+      ABCTYPE = #{record.abctype,jdbcType=NVARCHAR},
+      SSTOCK = #{record.sstock,jdbcType=NUMERIC},
+      ITEMDESC = #{record.itemdesc,jdbcType=NVARCHAR},
+      SITENUM = #{record.sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{record.corpnum,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Inventory">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update INVENTORY
+    <set>
+      <if test="itemnum != null">
+        ITEMNUM = #{itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouse != null">
+        WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="binnum != null">
+        BINNUM = #{binnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="vendor != null">
+        VENDOR = #{vendor,jdbcType=NVARCHAR},
+      </if>
+      <if test="manufacturer != null">
+        MANUFACTURER = #{manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnum != null">
+        MODELNUM = #{modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="minlevel != null">
+        MINLEVEL = #{minlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="maxlevel != null">
+        MAXLEVEL = #{maxlevel,jdbcType=NUMERIC},
+      </if>
+      <if test="stocktype != null">
+        STOCKTYPE = #{stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="orderunit != null">
+        ORDERUNIT = #{orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="issueunit != null">
+        ISSUEUNIT = #{issueunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="conversion != null">
+        CONVERSION = #{conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="orderqty != null">
+        ORDERQTY = #{orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="stdcost != null">
+        STDCOST = #{stdcost,jdbcType=NUMERIC},
+      </if>
+      <if test="avgcost != null">
+        AVGCOST = #{avgcost,jdbcType=NUMERIC},
+      </if>
+      <if test="lastcost != null">
+        LASTCOST = #{lastcost,jdbcType=NUMERIC},
+      </if>
+      <if test="lastissuedate != null">
+        LASTISSUEDATE = #{lastissuedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="issueytd != null">
+        ISSUEYTD = #{issueytd,jdbcType=NUMERIC},
+      </if>
+      <if test="abctype != null">
+        ABCTYPE = #{abctype,jdbcType=NVARCHAR},
+      </if>
+      <if test="sstock != null">
+        SSTOCK = #{sstock,jdbcType=NUMERIC},
+      </if>
+      <if test="itemdesc != null">
+        ITEMDESC = #{itemdesc,jdbcType=NVARCHAR},
+      </if>
+      <if test="sitenum != null">
+        SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      </if>
+      <if test="corpnum != null">
+        CORPNUM = #{corpnum,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Inventory">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update INVENTORY
+    set ITEMNUM = #{itemnum,jdbcType=NVARCHAR},
+      WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      BINNUM = #{binnum,jdbcType=NVARCHAR},
+      VENDOR = #{vendor,jdbcType=NVARCHAR},
+      MANUFACTURER = #{manufacturer,jdbcType=NVARCHAR},
+      MODELNUM = #{modelnum,jdbcType=NVARCHAR},
+      MINLEVEL = #{minlevel,jdbcType=NUMERIC},
+      MAXLEVEL = #{maxlevel,jdbcType=NUMERIC},
+      STOCKTYPE = #{stocktype,jdbcType=NVARCHAR},
+      ORDERUNIT = #{orderunit,jdbcType=NVARCHAR},
+      ISSUEUNIT = #{issueunit,jdbcType=NVARCHAR},
+      CONVERSION = #{conversion,jdbcType=NUMERIC},
+      ORDERQTY = #{orderqty,jdbcType=NUMERIC},
+      STDCOST = #{stdcost,jdbcType=NUMERIC},
+      AVGCOST = #{avgcost,jdbcType=NUMERIC},
+      LASTCOST = #{lastcost,jdbcType=NUMERIC},
+      LASTISSUEDATE = #{lastissuedate,jdbcType=TIMESTAMP},
+      ISSUEYTD = #{issueytd,jdbcType=NUMERIC},
+      ABCTYPE = #{abctype,jdbcType=NVARCHAR},
+      SSTOCK = #{sstock,jdbcType=NUMERIC},
+      ITEMDESC = #{itemdesc,jdbcType=NVARCHAR},
+      SITENUM = #{sitenum,jdbcType=NVARCHAR},
+      CORPNUM = #{corpnum,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+</mapper>

+ 336 - 0
web/health-jn/src/main/resources/mybatis/auto/LineMapper.xml

@@ -0,0 +1,336 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.LineMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Line">
+    <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="projectid" jdbcType="VARCHAR" property="projectid" />
+    <result column="ordernum" jdbcType="DECIMAL" property="ordernum" />
+    <result column="capacity" jdbcType="DECIMAL" property="capacity" />
+    <result column="capacityunit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantity" jdbcType="DECIMAL" property="quantity" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	code,
+       	  	      	name,
+       	  	      	aname,
+       	  	      	projectid,
+       	  	      	ordernum,
+       	  	      	capacity,
+       	  	      	capacityunit,
+       	  	    	  	quantity
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.LineExample" resultMap="BaseResultMap">
+    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">
+    select 
+    <include refid="Base_Column_List" />
+    from line
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from line
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.LineExample">
+    delete from line
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Line">
+    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=DECIMAL},
+       	  	      	#{capacity,jdbcType=DECIMAL},
+       	  	      	#{capacityunit,jdbcType=VARCHAR},
+       	  	    	  #{quantity,jdbcType=DECIMAL}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Line">
+    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=DECIMAL},
+      </if>
+          <if test="capacity != null">
+        #{capacity,jdbcType=DECIMAL},
+      </if>
+          <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+          <if test="quantity != null">
+        #{quantity,jdbcType=DECIMAL},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.LineExample" resultType="java.lang.Long">
+    select count(*) from line
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    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=DECIMAL},
+      </if>
+          <if test="record.capacity != null">
+        capacity = #{record.capacity,jdbcType=DECIMAL},
+      </if>
+          <if test="record.capacityunit != null">
+        capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+          <if test="record.quantity != null">
+        quantity = #{record.quantity,jdbcType=DECIMAL},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    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=DECIMAL},
+    	         	     	 capacity = #{record.capacity,jdbcType=DECIMAL},
+    	         	     	 capacityunit = #{record.capacityunit,jdbcType=VARCHAR},
+    	         	     	 quantity = #{record.quantity,jdbcType=DECIMAL}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Line">
+    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=DECIMAL},
+      </if>
+                      <if test="capacity != null">
+        capacity = #{capacity,jdbcType=DECIMAL},
+      </if>
+                      <if test="capacityunit != null">
+        capacityunit = #{capacityunit,jdbcType=VARCHAR},
+      </if>
+                      <if test="quantity != null">
+        quantity = #{quantity,jdbcType=DECIMAL},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                          
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Line">
+    update line
+    set 
+             	        	    	 			code = #{code,jdbcType=VARCHAR},
+		     	        	    	 			name = #{name,jdbcType=VARCHAR},
+		     	        	    	 			aname = #{aname,jdbcType=VARCHAR},
+		     	        	    	 			projectid = #{projectid,jdbcType=VARCHAR},
+		     	        	    	 			ordernum = #{ordernum,jdbcType=DECIMAL},
+		     	        	    	 			capacity = #{capacity,jdbcType=DECIMAL},
+		     	        	    	 			capacityunit = #{capacityunit,jdbcType=VARCHAR},
+		     	        	    	 			quantity = #{quantity,jdbcType=DECIMAL}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                            
+  </update>
+  
+                                                 
+</mapper>

+ 232 - 0
web/health-jn/src/main/resources/mybatis/auto/LossPowerRateMapper.xml

@@ -0,0 +1,232 @@
+<?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.LossPowerRateMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.LossPowerRate">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <result column="time" jdbcType="VARCHAR" property="time" />
+    <result column="wtid" jdbcType="VARCHAR" property="wtid" />
+    <result column="realpower" jdbcType="DECIMAL" property="realpower" />
+    <result column="losspower" jdbcType="DECIMAL" property="losspower" />
+    <result column="rate" jdbcType="DECIMAL" property="rate" />
+    <result column="wpid" jdbcType="VARCHAR" property="wpid" />
+  </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.
+    -->
+    time, wtid, realpower, losspower, rate, wpid
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.LossPowerRateExample" 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 losspowerrate
+    <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.LossPowerRateExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from losspowerrate
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.LossPowerRate">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into losspowerrate (time, wtid, realpower, 
+      losspower, rate, wpid
+      )
+    values (#{time,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{realpower,jdbcType=DECIMAL}, 
+      #{losspower,jdbcType=DECIMAL}, #{rate,jdbcType=DECIMAL}, #{wpid,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.LossPowerRate">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into losspowerrate
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="time != null">
+        time,
+      </if>
+      <if test="wtid != null">
+        wtid,
+      </if>
+      <if test="realpower != null">
+        realpower,
+      </if>
+      <if test="losspower != null">
+        losspower,
+      </if>
+      <if test="rate != null">
+        rate,
+      </if>
+      <if test="wpid != null">
+        wpid,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="time != null">
+        #{time,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="realpower != null">
+        #{realpower,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="rate != null">
+        #{rate,jdbcType=DECIMAL},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.LossPowerRateExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from losspowerrate
+    <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 losspowerrate
+    <set>
+      <if test="record.time != null">
+        time = #{record.time,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        wtid = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.realpower != null">
+        realpower = #{record.realpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.losspower != null">
+        losspower = #{record.losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.rate != null">
+        rate = #{record.rate,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wpid != null">
+        wpid = #{record.wpid,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 losspowerrate
+    set time = #{record.time,jdbcType=VARCHAR},
+      wtid = #{record.wtid,jdbcType=VARCHAR},
+      realpower = #{record.realpower,jdbcType=DECIMAL},
+      losspower = #{record.losspower,jdbcType=DECIMAL},
+      rate = #{record.rate,jdbcType=DECIMAL},
+      wpid = #{record.wpid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+</mapper>

+ 398 - 0
web/health-jn/src/main/resources/mybatis/auto/MainBrownouts2Mapper.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.MainBrownouts2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.MainBrownouts2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="STOPTIME" jdbcType="TIMESTAMP" property="stoptime" />
+    <result column="STARTTIME" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="STOPTYPEID" jdbcType="VARCHAR" property="stoptypeid" />
+    <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
+    <result column="LIMITLOAD" jdbcType="DECIMAL" property="limitload" />
+    <result column="BROWNOUTSDIRECTIVE" jdbcType="VARCHAR" property="brownoutsdirective" />
+    <result column="WINDSPEED" jdbcType="DECIMAL" property="windspeed" />
+    <result column="THISLOAD" jdbcType="DECIMAL" property="thisload" />
+    <result column="WINDPOWERSTATIONID" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="WPNAME" jdbcType="VARCHAR" property="wpname" />
+    <result column="LOSSPOWER" jdbcType="DECIMAL" property="losspower" />
+    <result column="STOPHOURS" jdbcType="DECIMAL" property="stophours" />
+  </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, STOPTIME, STARTTIME, STOPTYPEID, DESCRIPTION, LIMITLOAD, BROWNOUTSDIRECTIVE, 
+    WINDSPEED, THISLOAD, WINDPOWERSTATIONID, WPNAME, LOSSPOWER, STOPHOURS
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.MainBrownouts2Example" 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 MAINBROWNOUTS2
+    <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 MAINBROWNOUTS2
+    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 MAINBROWNOUTS2
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.MainBrownouts2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from MAINBROWNOUTS2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.MainBrownouts2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MAINBROWNOUTS2 (ID, STOPTIME, STARTTIME, 
+      STOPTYPEID, DESCRIPTION, LIMITLOAD, 
+      BROWNOUTSDIRECTIVE, WINDSPEED, THISLOAD, 
+      WINDPOWERSTATIONID, WPNAME, LOSSPOWER, 
+      STOPHOURS)
+    values (#{id,jdbcType=VARCHAR}, #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, 
+      #{stoptypeid,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{limitload,jdbcType=DECIMAL}, 
+      #{brownoutsdirective,jdbcType=VARCHAR}, #{windspeed,jdbcType=DECIMAL}, #{thisload,jdbcType=DECIMAL}, 
+      #{windpowerstationid,jdbcType=VARCHAR}, #{wpname,jdbcType=VARCHAR}, #{losspower,jdbcType=DECIMAL}, 
+      #{stophours,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.MainBrownouts2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MAINBROWNOUTS2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="stoptime != null">
+        STOPTIME,
+      </if>
+      <if test="starttime != null">
+        STARTTIME,
+      </if>
+      <if test="stoptypeid != null">
+        STOPTYPEID,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+      <if test="limitload != null">
+        LIMITLOAD,
+      </if>
+      <if test="brownoutsdirective != null">
+        BROWNOUTSDIRECTIVE,
+      </if>
+      <if test="windspeed != null">
+        WINDSPEED,
+      </if>
+      <if test="thisload != null">
+        THISLOAD,
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID,
+      </if>
+      <if test="wpname != null">
+        WPNAME,
+      </if>
+      <if test="losspower != null">
+        LOSSPOWER,
+      </if>
+      <if test="stophours != null">
+        STOPHOURS,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stoptypeid != null">
+        #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="limitload != null">
+        #{limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="brownoutsdirective != null">
+        #{brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="windspeed != null">
+        #{windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="thisload != null">
+        #{thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="losspower != null">
+        #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stophours != null">
+        #{stophours,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.MainBrownouts2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from MAINBROWNOUTS2
+    <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 MAINBROWNOUTS2
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.stoptime != null">
+        STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.starttime != null">
+        STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stoptypeid != null">
+        STOPTYPEID = #{record.stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=VARCHAR},
+      </if>
+      <if test="record.limitload != null">
+        LIMITLOAD = #{record.limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="record.brownoutsdirective != null">
+        BROWNOUTSDIRECTIVE = #{record.brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windspeed != null">
+        WINDSPEED = #{record.windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.thisload != null">
+        THISLOAD = #{record.thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="record.windpowerstationid != null">
+        WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpname != null">
+        WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.losspower != null">
+        LOSSPOWER = #{record.losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.stophours != null">
+        STOPHOURS = #{record.stophours,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MAINBROWNOUTS2
+    set ID = #{record.id,jdbcType=VARCHAR},
+      STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP},
+      STARTTIME = #{record.starttime,jdbcType=TIMESTAMP},
+      STOPTYPEID = #{record.stoptypeid,jdbcType=VARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=VARCHAR},
+      LIMITLOAD = #{record.limitload,jdbcType=DECIMAL},
+      BROWNOUTSDIRECTIVE = #{record.brownoutsdirective,jdbcType=VARCHAR},
+      WINDSPEED = #{record.windspeed,jdbcType=DECIMAL},
+      THISLOAD = #{record.thisload,jdbcType=DECIMAL},
+      WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      WPNAME = #{record.wpname,jdbcType=VARCHAR},
+      LOSSPOWER = #{record.losspower,jdbcType=DECIMAL},
+      STOPHOURS = #{record.stophours,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.MainBrownouts2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MAINBROWNOUTS2
+    <set>
+      <if test="stoptime != null">
+        STOPTIME = #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stoptypeid != null">
+        STOPTYPEID = #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=VARCHAR},
+      </if>
+      <if test="limitload != null">
+        LIMITLOAD = #{limitload,jdbcType=DECIMAL},
+      </if>
+      <if test="brownoutsdirective != null">
+        BROWNOUTSDIRECTIVE = #{brownoutsdirective,jdbcType=VARCHAR},
+      </if>
+      <if test="windspeed != null">
+        WINDSPEED = #{windspeed,jdbcType=DECIMAL},
+      </if>
+      <if test="thisload != null">
+        THISLOAD = #{thisload,jdbcType=DECIMAL},
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpname != null">
+        WPNAME = #{wpname,jdbcType=VARCHAR},
+      </if>
+      <if test="losspower != null">
+        LOSSPOWER = #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stophours != null">
+        STOPHOURS = #{stophours,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.MainBrownouts2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MAINBROWNOUTS2
+    set STOPTIME = #{stoptime,jdbcType=TIMESTAMP},
+      STARTTIME = #{starttime,jdbcType=TIMESTAMP},
+      STOPTYPEID = #{stoptypeid,jdbcType=VARCHAR},
+      DESCRIPTION = #{description,jdbcType=VARCHAR},
+      LIMITLOAD = #{limitload,jdbcType=DECIMAL},
+      BROWNOUTSDIRECTIVE = #{brownoutsdirective,jdbcType=VARCHAR},
+      WINDSPEED = #{windspeed,jdbcType=DECIMAL},
+      THISLOAD = #{thisload,jdbcType=DECIMAL},
+      WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      WPNAME = #{wpname,jdbcType=VARCHAR},
+      LOSSPOWER = #{losspower,jdbcType=DECIMAL},
+      STOPHOURS = #{stophours,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/ManufacturerMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ManufacturerMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Manufacturer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="country" jdbcType="VARCHAR" property="country" />
+    <result column="address" jdbcType="VARCHAR" property="address" />
+    <result column="telephone" jdbcType="VARCHAR" property="telephone" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, name, country, address, telephone
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ManufacturerExample" 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 manufacturer
+    <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 manufacturer
+    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 manufacturer
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ManufacturerExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from manufacturer
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Manufacturer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into manufacturer (id, name, country, 
+      address, telephone)
+    values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, 
+      #{address,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Manufacturer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into manufacturer
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="name != null">
+        name,
+      </if>
+      <if test="country != null">
+        country,
+      </if>
+      <if test="address != null">
+        address,
+      </if>
+      <if test="telephone != null">
+        telephone,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="country != null">
+        #{country,jdbcType=VARCHAR},
+      </if>
+      <if test="address != null">
+        #{address,jdbcType=VARCHAR},
+      </if>
+      <if test="telephone != null">
+        #{telephone,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ManufacturerExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from manufacturer
+    <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 manufacturer
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        name = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.country != null">
+        country = #{record.country,jdbcType=VARCHAR},
+      </if>
+      <if test="record.address != null">
+        address = #{record.address,jdbcType=VARCHAR},
+      </if>
+      <if test="record.telephone != null">
+        telephone = #{record.telephone,jdbcType=VARCHAR},
+      </if>
+    </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 manufacturer
+    set id = #{record.id,jdbcType=VARCHAR},
+      name = #{record.name,jdbcType=VARCHAR},
+      country = #{record.country,jdbcType=VARCHAR},
+      address = #{record.address,jdbcType=VARCHAR},
+      telephone = #{record.telephone,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Manufacturer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update manufacturer
+    <set>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="country != null">
+        country = #{country,jdbcType=VARCHAR},
+      </if>
+      <if test="address != null">
+        address = #{address,jdbcType=VARCHAR},
+      </if>
+      <if test="telephone != null">
+        telephone = #{telephone,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Manufacturer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update manufacturer
+    set name = #{name,jdbcType=VARCHAR},
+      country = #{country,jdbcType=VARCHAR},
+      address = #{address,jdbcType=VARCHAR},
+      telephone = #{telephone,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 461 - 0
web/health-jn/src/main/resources/mybatis/auto/MetricsMapper.xml

@@ -0,0 +1,461 @@
+<?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.MetricsMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Metrics">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="THING" jdbcType="VARCHAR" property="thing" />
+    <result column="METRICID" jdbcType="VARCHAR" property="metricid" />
+    <result column="METRICNAME" jdbcType="VARCHAR" property="metricname" />
+    <result column="UNITNAME" jdbcType="VARCHAR" property="unitname" />
+    <result column="UNITNAMECN" jdbcType="VARCHAR" property="unitnamecn" />
+    <result column="THINGSUB" jdbcType="VARCHAR" property="thingsub" />
+    <result column="THINGSUBSUB" jdbcType="VARCHAR" property="thingsubsub" />
+    <result column="CATEGORYDATA" jdbcType="VARCHAR" property="categorydata" />
+    <result column="CATEGORYSCI" jdbcType="VARCHAR" property="categorysci" />
+    <result column="CATEGORYSYS" jdbcType="VARCHAR" property="categorysys" />
+    <result column="CATEGORYRES1" jdbcType="VARCHAR" property="categoryres1" />
+    <result column="CATEGORYRES2" jdbcType="VARCHAR" property="categoryres2" />
+    <result column="CATEGORYRES3" jdbcType="VARCHAR" property="categoryres3" />
+    <result column="CATEGORYRES4" jdbcType="VARCHAR" property="categoryres4" />
+    <result column="CATEGORYRES5" jdbcType="VARCHAR" property="categoryres5" />
+    <result column="DESCRIPTION" jdbcType="VARCHAR" property="description" />
+  </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, THING, METRICID, METRICNAME, UNITNAME, UNITNAMECN, THINGSUB, THINGSUBSUB, CATEGORYDATA, 
+    CATEGORYSCI, CATEGORYSYS, CATEGORYRES1, CATEGORYRES2, CATEGORYRES3, CATEGORYRES4, 
+    CATEGORYRES5, DESCRIPTION
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.MetricsExample" 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 METRICS
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from METRICS
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from METRICS
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.MetricsExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from METRICS
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Metrics">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into METRICS (ID, THING, METRICID, 
+      METRICNAME, UNITNAME, UNITNAMECN, 
+      THINGSUB, THINGSUBSUB, CATEGORYDATA, 
+      CATEGORYSCI, CATEGORYSYS, CATEGORYRES1, 
+      CATEGORYRES2, CATEGORYRES3, CATEGORYRES4, 
+      CATEGORYRES5, DESCRIPTION)
+    values (#{id,jdbcType=DECIMAL}, #{thing,jdbcType=VARCHAR}, #{metricid,jdbcType=VARCHAR}, 
+      #{metricname,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, #{unitnamecn,jdbcType=VARCHAR}, 
+      #{thingsub,jdbcType=VARCHAR}, #{thingsubsub,jdbcType=VARCHAR}, #{categorydata,jdbcType=VARCHAR}, 
+      #{categorysci,jdbcType=VARCHAR}, #{categorysys,jdbcType=VARCHAR}, #{categoryres1,jdbcType=VARCHAR}, 
+      #{categoryres2,jdbcType=VARCHAR}, #{categoryres3,jdbcType=VARCHAR}, #{categoryres4,jdbcType=VARCHAR}, 
+      #{categoryres5,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Metrics">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into METRICS
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="thing != null">
+        THING,
+      </if>
+      <if test="metricid != null">
+        METRICID,
+      </if>
+      <if test="metricname != null">
+        METRICNAME,
+      </if>
+      <if test="unitname != null">
+        UNITNAME,
+      </if>
+      <if test="unitnamecn != null">
+        UNITNAMECN,
+      </if>
+      <if test="thingsub != null">
+        THINGSUB,
+      </if>
+      <if test="thingsubsub != null">
+        THINGSUBSUB,
+      </if>
+      <if test="categorydata != null">
+        CATEGORYDATA,
+      </if>
+      <if test="categorysci != null">
+        CATEGORYSCI,
+      </if>
+      <if test="categorysys != null">
+        CATEGORYSYS,
+      </if>
+      <if test="categoryres1 != null">
+        CATEGORYRES1,
+      </if>
+      <if test="categoryres2 != null">
+        CATEGORYRES2,
+      </if>
+      <if test="categoryres3 != null">
+        CATEGORYRES3,
+      </if>
+      <if test="categoryres4 != null">
+        CATEGORYRES4,
+      </if>
+      <if test="categoryres5 != null">
+        CATEGORYRES5,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="thing != null">
+        #{thing,jdbcType=VARCHAR},
+      </if>
+      <if test="metricid != null">
+        #{metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="metricname != null">
+        #{metricname,jdbcType=VARCHAR},
+      </if>
+      <if test="unitname != null">
+        #{unitname,jdbcType=VARCHAR},
+      </if>
+      <if test="unitnamecn != null">
+        #{unitnamecn,jdbcType=VARCHAR},
+      </if>
+      <if test="thingsub != null">
+        #{thingsub,jdbcType=VARCHAR},
+      </if>
+      <if test="thingsubsub != null">
+        #{thingsubsub,jdbcType=VARCHAR},
+      </if>
+      <if test="categorydata != null">
+        #{categorydata,jdbcType=VARCHAR},
+      </if>
+      <if test="categorysci != null">
+        #{categorysci,jdbcType=VARCHAR},
+      </if>
+      <if test="categorysys != null">
+        #{categorysys,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres1 != null">
+        #{categoryres1,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres2 != null">
+        #{categoryres2,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres3 != null">
+        #{categoryres3,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres4 != null">
+        #{categoryres4,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres5 != null">
+        #{categoryres5,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.MetricsExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from METRICS
+    <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 METRICS
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.thing != null">
+        THING = #{record.thing,jdbcType=VARCHAR},
+      </if>
+      <if test="record.metricid != null">
+        METRICID = #{record.metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.metricname != null">
+        METRICNAME = #{record.metricname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.unitname != null">
+        UNITNAME = #{record.unitname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.unitnamecn != null">
+        UNITNAMECN = #{record.unitnamecn,jdbcType=VARCHAR},
+      </if>
+      <if test="record.thingsub != null">
+        THINGSUB = #{record.thingsub,jdbcType=VARCHAR},
+      </if>
+      <if test="record.thingsubsub != null">
+        THINGSUBSUB = #{record.thingsubsub,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categorydata != null">
+        CATEGORYDATA = #{record.categorydata,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categorysci != null">
+        CATEGORYSCI = #{record.categorysci,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categorysys != null">
+        CATEGORYSYS = #{record.categorysys,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categoryres1 != null">
+        CATEGORYRES1 = #{record.categoryres1,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categoryres2 != null">
+        CATEGORYRES2 = #{record.categoryres2,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categoryres3 != null">
+        CATEGORYRES3 = #{record.categoryres3,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categoryres4 != null">
+        CATEGORYRES4 = #{record.categoryres4,jdbcType=VARCHAR},
+      </if>
+      <if test="record.categoryres5 != null">
+        CATEGORYRES5 = #{record.categoryres5,jdbcType=VARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,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 METRICS
+    set ID = #{record.id,jdbcType=DECIMAL},
+      THING = #{record.thing,jdbcType=VARCHAR},
+      METRICID = #{record.metricid,jdbcType=VARCHAR},
+      METRICNAME = #{record.metricname,jdbcType=VARCHAR},
+      UNITNAME = #{record.unitname,jdbcType=VARCHAR},
+      UNITNAMECN = #{record.unitnamecn,jdbcType=VARCHAR},
+      THINGSUB = #{record.thingsub,jdbcType=VARCHAR},
+      THINGSUBSUB = #{record.thingsubsub,jdbcType=VARCHAR},
+      CATEGORYDATA = #{record.categorydata,jdbcType=VARCHAR},
+      CATEGORYSCI = #{record.categorysci,jdbcType=VARCHAR},
+      CATEGORYSYS = #{record.categorysys,jdbcType=VARCHAR},
+      CATEGORYRES1 = #{record.categoryres1,jdbcType=VARCHAR},
+      CATEGORYRES2 = #{record.categoryres2,jdbcType=VARCHAR},
+      CATEGORYRES3 = #{record.categoryres3,jdbcType=VARCHAR},
+      CATEGORYRES4 = #{record.categoryres4,jdbcType=VARCHAR},
+      CATEGORYRES5 = #{record.categoryres5,jdbcType=VARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Metrics">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update METRICS
+    <set>
+      <if test="thing != null">
+        THING = #{thing,jdbcType=VARCHAR},
+      </if>
+      <if test="metricid != null">
+        METRICID = #{metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="metricname != null">
+        METRICNAME = #{metricname,jdbcType=VARCHAR},
+      </if>
+      <if test="unitname != null">
+        UNITNAME = #{unitname,jdbcType=VARCHAR},
+      </if>
+      <if test="unitnamecn != null">
+        UNITNAMECN = #{unitnamecn,jdbcType=VARCHAR},
+      </if>
+      <if test="thingsub != null">
+        THINGSUB = #{thingsub,jdbcType=VARCHAR},
+      </if>
+      <if test="thingsubsub != null">
+        THINGSUBSUB = #{thingsubsub,jdbcType=VARCHAR},
+      </if>
+      <if test="categorydata != null">
+        CATEGORYDATA = #{categorydata,jdbcType=VARCHAR},
+      </if>
+      <if test="categorysci != null">
+        CATEGORYSCI = #{categorysci,jdbcType=VARCHAR},
+      </if>
+      <if test="categorysys != null">
+        CATEGORYSYS = #{categorysys,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres1 != null">
+        CATEGORYRES1 = #{categoryres1,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres2 != null">
+        CATEGORYRES2 = #{categoryres2,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres3 != null">
+        CATEGORYRES3 = #{categoryres3,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres4 != null">
+        CATEGORYRES4 = #{categoryres4,jdbcType=VARCHAR},
+      </if>
+      <if test="categoryres5 != null">
+        CATEGORYRES5 = #{categoryres5,jdbcType=VARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Metrics">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update METRICS
+    set THING = #{thing,jdbcType=VARCHAR},
+      METRICID = #{metricid,jdbcType=VARCHAR},
+      METRICNAME = #{metricname,jdbcType=VARCHAR},
+      UNITNAME = #{unitname,jdbcType=VARCHAR},
+      UNITNAMECN = #{unitnamecn,jdbcType=VARCHAR},
+      THINGSUB = #{thingsub,jdbcType=VARCHAR},
+      THINGSUBSUB = #{thingsubsub,jdbcType=VARCHAR},
+      CATEGORYDATA = #{categorydata,jdbcType=VARCHAR},
+      CATEGORYSCI = #{categorysci,jdbcType=VARCHAR},
+      CATEGORYSYS = #{categorysys,jdbcType=VARCHAR},
+      CATEGORYRES1 = #{categoryres1,jdbcType=VARCHAR},
+      CATEGORYRES2 = #{categoryres2,jdbcType=VARCHAR},
+      CATEGORYRES3 = #{categoryres3,jdbcType=VARCHAR},
+      CATEGORYRES4 = #{categoryres4,jdbcType=VARCHAR},
+      CATEGORYRES5 = #{categoryres5,jdbcType=VARCHAR},
+      DESCRIPTION = #{description,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 303 - 0
web/health-jn/src/main/resources/mybatis/auto/MetricsUniformCodeMapper.xml

@@ -0,0 +1,303 @@
+<?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.MetricsUniformCodeMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.MetricsUniformCode">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="THING" jdbcType="VARCHAR" property="thing" />
+    <result column="METRICID" jdbcType="VARCHAR" property="metricid" />
+    <result column="MODEL" jdbcType="VARCHAR" property="model" />
+    <result column="STATIONID" jdbcType="VARCHAR" property="stationid" />
+    <result column="UNIFORMCODE" jdbcType="VARCHAR" property="uniformcode" />
+    <result column="MULTIPLIER" jdbcType="DECIMAL" property="multiplier" />
+  </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, THING, METRICID, MODEL, STATIONID, UNIFORMCODE, MULTIPLIER
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.MetricsUniformCodeExample" 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 METRICS_UNIFORMCODE
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from METRICS_UNIFORMCODE
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from METRICS_UNIFORMCODE
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.MetricsUniformCodeExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from METRICS_UNIFORMCODE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.MetricsUniformCode">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into METRICS_UNIFORMCODE (ID, THING, METRICID, 
+      MODEL, STATIONID, UNIFORMCODE, 
+      MULTIPLIER)
+    values (#{id,jdbcType=DECIMAL}, #{thing,jdbcType=VARCHAR}, #{metricid,jdbcType=VARCHAR}, 
+      #{model,jdbcType=VARCHAR}, #{stationid,jdbcType=VARCHAR}, #{uniformcode,jdbcType=VARCHAR}, 
+      #{multiplier,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.MetricsUniformCode">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into METRICS_UNIFORMCODE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="thing != null">
+        THING,
+      </if>
+      <if test="metricid != null">
+        METRICID,
+      </if>
+      <if test="model != null">
+        MODEL,
+      </if>
+      <if test="stationid != null">
+        STATIONID,
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE,
+      </if>
+      <if test="multiplier != null">
+        MULTIPLIER,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="thing != null">
+        #{thing,jdbcType=VARCHAR},
+      </if>
+      <if test="metricid != null">
+        #{metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="stationid != null">
+        #{stationid,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="multiplier != null">
+        #{multiplier,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.MetricsUniformCodeExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from METRICS_UNIFORMCODE
+    <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 METRICS_UNIFORMCODE
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.thing != null">
+        THING = #{record.thing,jdbcType=VARCHAR},
+      </if>
+      <if test="record.metricid != null">
+        METRICID = #{record.metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.model != null">
+        MODEL = #{record.model,jdbcType=VARCHAR},
+      </if>
+      <if test="record.stationid != null">
+        STATIONID = #{record.stationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.uniformcode != null">
+        UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.multiplier != null">
+        MULTIPLIER = #{record.multiplier,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update METRICS_UNIFORMCODE
+    set ID = #{record.id,jdbcType=DECIMAL},
+      THING = #{record.thing,jdbcType=VARCHAR},
+      METRICID = #{record.metricid,jdbcType=VARCHAR},
+      MODEL = #{record.model,jdbcType=VARCHAR},
+      STATIONID = #{record.stationid,jdbcType=VARCHAR},
+      UNIFORMCODE = #{record.uniformcode,jdbcType=VARCHAR},
+      MULTIPLIER = #{record.multiplier,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.MetricsUniformCode">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update METRICS_UNIFORMCODE
+    <set>
+      <if test="thing != null">
+        THING = #{thing,jdbcType=VARCHAR},
+      </if>
+      <if test="metricid != null">
+        METRICID = #{metricid,jdbcType=VARCHAR},
+      </if>
+      <if test="model != null">
+        MODEL = #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="stationid != null">
+        STATIONID = #{stationid,jdbcType=VARCHAR},
+      </if>
+      <if test="uniformcode != null">
+        UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      </if>
+      <if test="multiplier != null">
+        MULTIPLIER = #{multiplier,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.MetricsUniformCode">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update METRICS_UNIFORMCODE
+    set THING = #{thing,jdbcType=VARCHAR},
+      METRICID = #{metricid,jdbcType=VARCHAR},
+      MODEL = #{model,jdbcType=VARCHAR},
+      STATIONID = #{stationid,jdbcType=VARCHAR},
+      UNIFORMCODE = #{uniformcode,jdbcType=VARCHAR},
+      MULTIPLIER = #{multiplier,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 224 - 0
web/health-jn/src/main/resources/mybatis/auto/MismapSqlMapper.xml

@@ -0,0 +1,224 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.MismapSqlMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.MismapSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="SISKEY" jdbcType="VARCHAR" property="siskey" />
+    <result column="MISKEY" jdbcType="VARCHAR" property="miskey" />
+  </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.
+    -->
+    SISKEY, MISKEY
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.MismapSqlExample" 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 MISMAP
+    <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 MISMAP
+    where SISKEY = #{siskey,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 MISMAP
+    where SISKEY = #{siskey,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.MismapSqlExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from MISMAP
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.MismapSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MISMAP (SISKEY, MISKEY)
+    values (#{siskey,jdbcType=VARCHAR}, #{miskey,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.MismapSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MISMAP
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="siskey != null">
+        SISKEY,
+      </if>
+      <if test="miskey != null">
+        MISKEY,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="siskey != null">
+        #{siskey,jdbcType=VARCHAR},
+      </if>
+      <if test="miskey != null">
+        #{miskey,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.MismapSqlExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from MISMAP
+    <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 MISMAP
+    <set>
+      <if test="record.siskey != null">
+        SISKEY = #{record.siskey,jdbcType=VARCHAR},
+      </if>
+      <if test="record.miskey != null">
+        MISKEY = #{record.miskey,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 MISMAP
+    set SISKEY = #{record.siskey,jdbcType=VARCHAR},
+      MISKEY = #{record.miskey,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.MismapSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MISMAP
+    <set>
+      <if test="miskey != null">
+        MISKEY = #{miskey,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where SISKEY = #{siskey,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.MismapSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MISMAP
+    set MISKEY = #{miskey,jdbcType=VARCHAR}
+    where SISKEY = #{siskey,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/ModelPowerMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ModelPowerMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ModelPower">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="modelId" jdbcType="VARCHAR" property="modelid" />
+    <result column="speed" jdbcType="DECIMAL" property="speed" />
+    <result column="theoryPower" jdbcType="DECIMAL" property="theorypower" />
+    <result column="ensurePower" jdbcType="DECIMAL" property="ensurepower" />
+  </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, modelId, speed, theoryPower, ensurePower
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ModelPowerExample" 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 modelpower
+    <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 modelpower
+    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 modelpower
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ModelPowerExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from modelpower
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ModelPower">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into modelpower (id, modelId, speed, 
+      theoryPower, ensurePower)
+    values (#{id,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{speed,jdbcType=DECIMAL}, 
+      #{theorypower,jdbcType=DECIMAL}, #{ensurepower,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ModelPower">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into modelpower
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="modelid != null">
+        modelId,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="theorypower != null">
+        theoryPower,
+      </if>
+      <if test="ensurepower != null">
+        ensurePower,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="theorypower != null">
+        #{theorypower,jdbcType=DECIMAL},
+      </if>
+      <if test="ensurepower != null">
+        #{ensurepower,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ModelPowerExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from modelpower
+    <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 modelpower
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        modelId = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.theorypower != null">
+        theoryPower = #{record.theorypower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.ensurepower != null">
+        ensurePower = #{record.ensurepower,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update modelpower
+    set id = #{record.id,jdbcType=VARCHAR},
+      modelId = #{record.modelid,jdbcType=VARCHAR},
+      speed = #{record.speed,jdbcType=DECIMAL},
+      theoryPower = #{record.theorypower,jdbcType=DECIMAL},
+      ensurePower = #{record.ensurepower,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ModelPower">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update modelpower
+    <set>
+      <if test="modelid != null">
+        modelId = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="theorypower != null">
+        theoryPower = #{theorypower,jdbcType=DECIMAL},
+      </if>
+      <if test="ensurepower != null">
+        ensurePower = #{ensurepower,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ModelPower">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update modelpower
+    set modelId = #{modelid,jdbcType=VARCHAR},
+      speed = #{speed,jdbcType=DECIMAL},
+      theoryPower = #{theorypower,jdbcType=DECIMAL},
+      ensurePower = #{ensurepower,jdbcType=DECIMAL}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/ModelpowerRdMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ModelpowerRdMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ModelpowerRd">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="modelid" jdbcType="VARCHAR" property="modelid" />
+    <result column="speed" jdbcType="DOUBLE" property="speed" />
+    <result column="theorypower" jdbcType="DOUBLE" property="theorypower" />
+    <result column="ensurepower" jdbcType="DOUBLE" property="ensurepower" />
+  </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, modelid, speed, theorypower, ensurepower
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ModelpowerRdExample" 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 modelpowerrd
+    <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 modelpowerrd
+    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 modelpowerrd
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ModelpowerRdExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from modelpowerrd
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ModelpowerRd">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into modelpowerrd (id, modelid, speed, 
+      theorypower, ensurepower)
+    values (#{id,jdbcType=VARCHAR}, #{modelid,jdbcType=VARCHAR}, #{speed,jdbcType=DOUBLE}, 
+      #{theorypower,jdbcType=DOUBLE}, #{ensurepower,jdbcType=DOUBLE})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ModelpowerRd">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into modelpowerrd
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="modelid != null">
+        modelid,
+      </if>
+      <if test="speed != null">
+        speed,
+      </if>
+      <if test="theorypower != null">
+        theorypower,
+      </if>
+      <if test="ensurepower != null">
+        ensurepower,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DOUBLE},
+      </if>
+      <if test="theorypower != null">
+        #{theorypower,jdbcType=DOUBLE},
+      </if>
+      <if test="ensurepower != null">
+        #{ensurepower,jdbcType=DOUBLE},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ModelpowerRdExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from modelpowerrd
+    <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 modelpowerrd
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        modelid = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.speed != null">
+        speed = #{record.speed,jdbcType=DOUBLE},
+      </if>
+      <if test="record.theorypower != null">
+        theorypower = #{record.theorypower,jdbcType=DOUBLE},
+      </if>
+      <if test="record.ensurepower != null">
+        ensurepower = #{record.ensurepower,jdbcType=DOUBLE},
+      </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 modelpowerrd
+    set id = #{record.id,jdbcType=VARCHAR},
+      modelid = #{record.modelid,jdbcType=VARCHAR},
+      speed = #{record.speed,jdbcType=DOUBLE},
+      theorypower = #{record.theorypower,jdbcType=DOUBLE},
+      ensurepower = #{record.ensurepower,jdbcType=DOUBLE}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ModelpowerRd">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update modelpowerrd
+    <set>
+      <if test="modelid != null">
+        modelid = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="speed != null">
+        speed = #{speed,jdbcType=DOUBLE},
+      </if>
+      <if test="theorypower != null">
+        theorypower = #{theorypower,jdbcType=DOUBLE},
+      </if>
+      <if test="ensurepower != null">
+        ensurepower = #{ensurepower,jdbcType=DOUBLE},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ModelpowerRd">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update modelpowerrd
+    set modelid = #{modelid,jdbcType=VARCHAR},
+      speed = #{speed,jdbcType=DOUBLE},
+      theorypower = #{theorypower,jdbcType=DOUBLE},
+      ensurepower = #{ensurepower,jdbcType=DOUBLE}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 430 - 0
web/health-jn/src/main/resources/mybatis/auto/Monthlygradeassessmentmain2Mapper.xml

@@ -0,0 +1,430 @@
+<?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.Monthlygradeassessmentmain2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Monthlygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="PROJECTID" jdbcType="VARCHAR" property="projectid" />
+    <result column="LINEID" jdbcType="VARCHAR" property="lineid" />
+    <result column="YEAR" jdbcType="VARCHAR" property="year" />
+    <result column="MONTH" jdbcType="VARCHAR" property="month" />
+    <result column="RECORDDATE" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="SCORE" jdbcType="DECIMAL" property="score" />
+    <result column="PLEVEL" jdbcType="VARCHAR" property="plevel" />
+    <result column="STATE" jdbcType="DECIMAL" property="state" />
+    <result column="MODSCORE" jdbcType="DECIMAL" property="modscore" />
+    <result column="MODLEVEL" jdbcType="VARCHAR" property="modlevel" />
+    <result column="TOTALSCORE" jdbcType="DECIMAL" property="totalscore" />
+    <result column="TID" jdbcType="VARCHAR" property="tid" />
+  </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, WTID, WPID, PROJECTID, LINEID, YEAR, MONTH, RECORDDATE, SCORE, PLEVEL, STATE, 
+    MODSCORE, MODLEVEL, TOTALSCORE, TID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2Example" 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 MONTHLYGRADEASSESSMENTMAIN2
+    <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 MONTHLYGRADEASSESSMENTMAIN2
+    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 MONTHLYGRADEASSESSMENTMAIN2
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from MONTHLYGRADEASSESSMENTMAIN2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MONTHLYGRADEASSESSMENTMAIN2 (ID, WTID, WPID, 
+      PROJECTID, LINEID, YEAR, 
+      MONTH, RECORDDATE, SCORE, 
+      PLEVEL, STATE, MODSCORE, 
+      MODLEVEL, TOTALSCORE, TID
+      )
+    values (#{id,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{wpid,jdbcType=VARCHAR}, 
+      #{projectid,jdbcType=VARCHAR}, #{lineid,jdbcType=VARCHAR}, #{year,jdbcType=VARCHAR}, 
+      #{month,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP}, #{score,jdbcType=DECIMAL}, 
+      #{plevel,jdbcType=VARCHAR}, #{state,jdbcType=DECIMAL}, #{modscore,jdbcType=DECIMAL}, 
+      #{modlevel,jdbcType=VARCHAR}, #{totalscore,jdbcType=DECIMAL}, #{tid,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into MONTHLYGRADEASSESSMENTMAIN2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="projectid != null">
+        PROJECTID,
+      </if>
+      <if test="lineid != null">
+        LINEID,
+      </if>
+      <if test="year != null">
+        YEAR,
+      </if>
+      <if test="month != null">
+        MONTH,
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE,
+      </if>
+      <if test="score != null">
+        SCORE,
+      </if>
+      <if test="plevel != null">
+        PLEVEL,
+      </if>
+      <if test="state != null">
+        STATE,
+      </if>
+      <if test="modscore != null">
+        MODSCORE,
+      </if>
+      <if test="modlevel != null">
+        MODLEVEL,
+      </if>
+      <if test="totalscore != null">
+        TOTALSCORE,
+      </if>
+      <if test="tid != null">
+        TID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="plevel != null">
+        #{plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        #{state,jdbcType=DECIMAL},
+      </if>
+      <if test="modscore != null">
+        #{modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="modlevel != null">
+        #{modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="totalscore != null">
+        #{totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        #{tid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from MONTHLYGRADEASSESSMENTMAIN2
+    <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 MONTHLYGRADEASSESSMENTMAIN2
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,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.year != null">
+        YEAR = #{record.year,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month != null">
+        MONTH = #{record.month,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recorddate != null">
+        RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.score != null">
+        SCORE = #{record.score,jdbcType=DECIMAL},
+      </if>
+      <if test="record.plevel != null">
+        PLEVEL = #{record.plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="record.state != null">
+        STATE = #{record.state,jdbcType=DECIMAL},
+      </if>
+      <if test="record.modscore != null">
+        MODSCORE = #{record.modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="record.modlevel != null">
+        MODLEVEL = #{record.modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="record.totalscore != null">
+        TOTALSCORE = #{record.totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="record.tid != null">
+        TID = #{record.tid,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 MONTHLYGRADEASSESSMENTMAIN2
+    set ID = #{record.id,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      LINEID = #{record.lineid,jdbcType=VARCHAR},
+      YEAR = #{record.year,jdbcType=VARCHAR},
+      MONTH = #{record.month,jdbcType=VARCHAR},
+      RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      SCORE = #{record.score,jdbcType=DECIMAL},
+      PLEVEL = #{record.plevel,jdbcType=VARCHAR},
+      STATE = #{record.state,jdbcType=DECIMAL},
+      MODSCORE = #{record.modscore,jdbcType=DECIMAL},
+      MODLEVEL = #{record.modlevel,jdbcType=VARCHAR},
+      TOTALSCORE = #{record.totalscore,jdbcType=DECIMAL},
+      TID = #{record.tid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MONTHLYGRADEASSESSMENTMAIN2
+    <set>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        PROJECTID = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        LINEID = #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="year != null">
+        YEAR = #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        MONTH = #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        SCORE = #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="plevel != null">
+        PLEVEL = #{plevel,jdbcType=VARCHAR},
+      </if>
+      <if test="state != null">
+        STATE = #{state,jdbcType=DECIMAL},
+      </if>
+      <if test="modscore != null">
+        MODSCORE = #{modscore,jdbcType=DECIMAL},
+      </if>
+      <if test="modlevel != null">
+        MODLEVEL = #{modlevel,jdbcType=VARCHAR},
+      </if>
+      <if test="totalscore != null">
+        TOTALSCORE = #{totalscore,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        TID = #{tid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Monthlygradeassessmentmain2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update MONTHLYGRADEASSESSMENTMAIN2
+    set WTID = #{wtid,jdbcType=VARCHAR},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      PROJECTID = #{projectid,jdbcType=VARCHAR},
+      LINEID = #{lineid,jdbcType=VARCHAR},
+      YEAR = #{year,jdbcType=VARCHAR},
+      MONTH = #{month,jdbcType=VARCHAR},
+      RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      SCORE = #{score,jdbcType=DECIMAL},
+      PLEVEL = #{plevel,jdbcType=VARCHAR},
+      STATE = #{state,jdbcType=DECIMAL},
+      MODSCORE = #{modscore,jdbcType=DECIMAL},
+      MODLEVEL = #{modlevel,jdbcType=VARCHAR},
+      TOTALSCORE = #{totalscore,jdbcType=DECIMAL},
+      TID = #{tid,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 398 - 0
web/health-jn/src/main/resources/mybatis/auto/P3DeviceFaultMapper.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.P3DeviceFaultMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.P3DeviceFault">
+    <!--
+      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="FAULTID" jdbcType="VARCHAR" property="faultid" />
+    <result column="HALTTYPE" jdbcType="VARCHAR" property="halttype" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="CATEGORY" jdbcType="VARCHAR" property="category" />
+    <result column="FAULTLEVEL" jdbcType="DECIMAL" property="faultlevel" />
+    <result column="CAUSE" jdbcType="VARCHAR" property="cause" />
+    <result column="TREATMENTMEASURE" jdbcType="VARCHAR" property="treatmentmeasure" />
+    <result column="DEVICEMODEL" jdbcType="VARCHAR" property="devicemodel" />
+    <result column="DEVICETREEID" jdbcType="DECIMAL" property="devicetreeid" />
+    <result column="CREATETOR" jdbcType="VARCHAR" property="createtor" />
+    <result column="CREATETIME" jdbcType="TIMESTAMP" property="createtime" />
+  </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, FAULTID, HALTTYPE, NAME, CATEGORY, FAULTLEVEL, CAUSE, TREATMENTMEASURE, 
+    DEVICEMODEL, DEVICETREEID, CREATETOR, CREATETIME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.P3DeviceFaultExample" 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 P3_DEVICE_FAULT
+    <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 P3_DEVICE_FAULT
+    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 P3_DEVICE_FAULT
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.P3DeviceFaultExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from P3_DEVICE_FAULT
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.P3DeviceFault">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into P3_DEVICE_FAULT (ID, CODE, FAULTID, 
+      HALTTYPE, NAME, CATEGORY, 
+      FAULTLEVEL, CAUSE, TREATMENTMEASURE, 
+      DEVICEMODEL, DEVICETREEID, CREATETOR, 
+      CREATETIME)
+    values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{faultid,jdbcType=VARCHAR}, 
+      #{halttype,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR}, 
+      #{faultlevel,jdbcType=DECIMAL}, #{cause,jdbcType=VARCHAR}, #{treatmentmeasure,jdbcType=VARCHAR}, 
+      #{devicemodel,jdbcType=VARCHAR}, #{devicetreeid,jdbcType=DECIMAL}, #{createtor,jdbcType=VARCHAR}, 
+      #{createtime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.P3DeviceFault">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into P3_DEVICE_FAULT
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="code != null">
+        CODE,
+      </if>
+      <if test="faultid != null">
+        FAULTID,
+      </if>
+      <if test="halttype != null">
+        HALTTYPE,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="category != null">
+        CATEGORY,
+      </if>
+      <if test="faultlevel != null">
+        FAULTLEVEL,
+      </if>
+      <if test="cause != null">
+        CAUSE,
+      </if>
+      <if test="treatmentmeasure != null">
+        TREATMENTMEASURE,
+      </if>
+      <if test="devicemodel != null">
+        DEVICEMODEL,
+      </if>
+      <if test="devicetreeid != null">
+        DEVICETREEID,
+      </if>
+      <if test="createtor != null">
+        CREATETOR,
+      </if>
+      <if test="createtime != null">
+        CREATETIME,
+      </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="faultid != null">
+        #{faultid,jdbcType=VARCHAR},
+      </if>
+      <if test="halttype != null">
+        #{halttype,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="category != null">
+        #{category,jdbcType=VARCHAR},
+      </if>
+      <if test="faultlevel != null">
+        #{faultlevel,jdbcType=DECIMAL},
+      </if>
+      <if test="cause != null">
+        #{cause,jdbcType=VARCHAR},
+      </if>
+      <if test="treatmentmeasure != null">
+        #{treatmentmeasure,jdbcType=VARCHAR},
+      </if>
+      <if test="devicemodel != null">
+        #{devicemodel,jdbcType=VARCHAR},
+      </if>
+      <if test="devicetreeid != null">
+        #{devicetreeid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtor != null">
+        #{createtor,jdbcType=VARCHAR},
+      </if>
+      <if test="createtime != null">
+        #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.P3DeviceFaultExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from P3_DEVICE_FAULT
+    <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 P3_DEVICE_FAULT
+    <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.faultid != null">
+        FAULTID = #{record.faultid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.halttype != null">
+        HALTTYPE = #{record.halttype,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.category != null">
+        CATEGORY = #{record.category,jdbcType=VARCHAR},
+      </if>
+      <if test="record.faultlevel != null">
+        FAULTLEVEL = #{record.faultlevel,jdbcType=DECIMAL},
+      </if>
+      <if test="record.cause != null">
+        CAUSE = #{record.cause,jdbcType=VARCHAR},
+      </if>
+      <if test="record.treatmentmeasure != null">
+        TREATMENTMEASURE = #{record.treatmentmeasure,jdbcType=VARCHAR},
+      </if>
+      <if test="record.devicemodel != null">
+        DEVICEMODEL = #{record.devicemodel,jdbcType=VARCHAR},
+      </if>
+      <if test="record.devicetreeid != null">
+        DEVICETREEID = #{record.devicetreeid,jdbcType=DECIMAL},
+      </if>
+      <if test="record.createtor != null">
+        CREATETOR = #{record.createtor,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createtime != null">
+        CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
+      </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 P3_DEVICE_FAULT
+    set ID = #{record.id,jdbcType=VARCHAR},
+      CODE = #{record.code,jdbcType=VARCHAR},
+      FAULTID = #{record.faultid,jdbcType=VARCHAR},
+      HALTTYPE = #{record.halttype,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      CATEGORY = #{record.category,jdbcType=VARCHAR},
+      FAULTLEVEL = #{record.faultlevel,jdbcType=DECIMAL},
+      CAUSE = #{record.cause,jdbcType=VARCHAR},
+      TREATMENTMEASURE = #{record.treatmentmeasure,jdbcType=VARCHAR},
+      DEVICEMODEL = #{record.devicemodel,jdbcType=VARCHAR},
+      DEVICETREEID = #{record.devicetreeid,jdbcType=DECIMAL},
+      CREATETOR = #{record.createtor,jdbcType=VARCHAR},
+      CREATETIME = #{record.createtime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.P3DeviceFault">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update P3_DEVICE_FAULT
+    <set>
+      <if test="code != null">
+        CODE = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="faultid != null">
+        FAULTID = #{faultid,jdbcType=VARCHAR},
+      </if>
+      <if test="halttype != null">
+        HALTTYPE = #{halttype,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="category != null">
+        CATEGORY = #{category,jdbcType=VARCHAR},
+      </if>
+      <if test="faultlevel != null">
+        FAULTLEVEL = #{faultlevel,jdbcType=DECIMAL},
+      </if>
+      <if test="cause != null">
+        CAUSE = #{cause,jdbcType=VARCHAR},
+      </if>
+      <if test="treatmentmeasure != null">
+        TREATMENTMEASURE = #{treatmentmeasure,jdbcType=VARCHAR},
+      </if>
+      <if test="devicemodel != null">
+        DEVICEMODEL = #{devicemodel,jdbcType=VARCHAR},
+      </if>
+      <if test="devicetreeid != null">
+        DEVICETREEID = #{devicetreeid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtor != null">
+        CREATETOR = #{createtor,jdbcType=VARCHAR},
+      </if>
+      <if test="createtime != null">
+        CREATETIME = #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.P3DeviceFault">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update P3_DEVICE_FAULT
+    set CODE = #{code,jdbcType=VARCHAR},
+      FAULTID = #{faultid,jdbcType=VARCHAR},
+      HALTTYPE = #{halttype,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      CATEGORY = #{category,jdbcType=VARCHAR},
+      FAULTLEVEL = #{faultlevel,jdbcType=DECIMAL},
+      CAUSE = #{cause,jdbcType=VARCHAR},
+      TREATMENTMEASURE = #{treatmentmeasure,jdbcType=VARCHAR},
+      DEVICEMODEL = #{devicemodel,jdbcType=VARCHAR},
+      DEVICETREEID = #{devicetreeid,jdbcType=DECIMAL},
+      CREATETOR = #{createtor,jdbcType=VARCHAR},
+      CREATETIME = #{createtime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 683 - 0
web/health-jn/src/main/resources/mybatis/auto/P3TaskMapper.xml

@@ -0,0 +1,683 @@
+<?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.P3TaskMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.P3Task">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="TASKCODE" jdbcType="VARCHAR" property="taskcode" />
+    <result column="WINDPOWERSTATIONID" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="WINDTURBINEID" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="WARNINGID" jdbcType="VARCHAR" property="warningid" />
+    <result column="PARTID" jdbcType="VARCHAR" property="partid" />
+    <result column="FREQUENCYCOUNT" jdbcType="DECIMAL" property="frequencycount" />
+    <result column="FAULTCYCLE" jdbcType="DECIMAL" property="faultcycle" />
+    <result column="SHUTDOWNAVGTIME" jdbcType="DECIMAL" property="shutdownavgtime" />
+    <result column="EXPECTLOSTPOWER" jdbcType="DECIMAL" property="expectlostpower" />
+    <result column="HANDLEWAY" jdbcType="CHAR" property="handleway" />
+    <result column="TASKTYPE" jdbcType="CHAR" property="tasktype" />
+    <result column="TASKCLASS" jdbcType="CHAR" property="taskclass" />
+    <result column="TASKSTATUS" jdbcType="CHAR" property="taskstatus" />
+    <result column="TASKMADETIME" jdbcType="TIMESTAMP" property="taskmadetime" />
+    <result column="LASTFAULTTIME" jdbcType="TIMESTAMP" property="lastfaulttime" />
+    <result column="STOPTIME" jdbcType="TIMESTAMP" property="stoptime" />
+    <result column="TASKSTARTTIME" jdbcType="TIMESTAMP" property="taskstarttime" />
+    <result column="TASKRECEIVETIME" jdbcType="TIMESTAMP" property="taskreceivetime" />
+    <result column="ARRIVESPOTTIME" jdbcType="TIMESTAMP" property="arrivespottime" />
+    <result column="EXPECTFINISHTIME" jdbcType="TIMESTAMP" property="expectfinishtime" />
+    <result column="USERID" jdbcType="VARCHAR" property="userid" />
+    <result column="USERNAME" jdbcType="VARCHAR" property="username" />
+    <result column="RECOMMENDTIME" jdbcType="TIMESTAMP" property="recommendtime" />
+    <result column="TASKFINISHTIME" jdbcType="TIMESTAMP" property="taskfinishtime" />
+    <result column="FINISHGRIDCONNECTTIME" jdbcType="TIMESTAMP" property="finishgridconnecttime" />
+    <result column="FACTLOSTPOWER" jdbcType="DECIMAL" property="factlostpower" />
+    <result column="TASKMADEUSERID" jdbcType="VARCHAR" property="taskmadeuserid" />
+    <result column="TASKMADEUSERNAME" jdbcType="VARCHAR" property="taskmadeusername" />
+    <result column="FAILURECAUSEID" jdbcType="VARCHAR" property="failurecauseid" />
+    <result column="WARNINGLEVEL" jdbcType="CHAR" property="warninglevel" />
+  </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, TASKCODE, WINDPOWERSTATIONID, WINDTURBINEID, WARNINGID, PARTID, FREQUENCYCOUNT, 
+    FAULTCYCLE, SHUTDOWNAVGTIME, EXPECTLOSTPOWER, HANDLEWAY, TASKTYPE, TASKCLASS, TASKSTATUS, 
+    TASKMADETIME, LASTFAULTTIME, STOPTIME, TASKSTARTTIME, TASKRECEIVETIME, ARRIVESPOTTIME, 
+    EXPECTFINISHTIME, USERID, USERNAME, RECOMMENDTIME, TASKFINISHTIME, FINISHGRIDCONNECTTIME, 
+    FACTLOSTPOWER, TASKMADEUSERID, TASKMADEUSERNAME, FAILURECAUSEID, WARNINGLEVEL
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.P3TaskExample" 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 P3_TASK
+    <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 P3_TASK
+    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 P3_TASK
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.P3TaskExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from P3_TASK
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.P3Task">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into P3_TASK (ID, TASKCODE, WINDPOWERSTATIONID, 
+      WINDTURBINEID, WARNINGID, PARTID, 
+      FREQUENCYCOUNT, FAULTCYCLE, SHUTDOWNAVGTIME, 
+      EXPECTLOSTPOWER, HANDLEWAY, TASKTYPE, 
+      TASKCLASS, TASKSTATUS, TASKMADETIME, 
+      LASTFAULTTIME, STOPTIME, TASKSTARTTIME, 
+      TASKRECEIVETIME, ARRIVESPOTTIME, EXPECTFINISHTIME, 
+      USERID, USERNAME, RECOMMENDTIME, 
+      TASKFINISHTIME, FINISHGRIDCONNECTTIME, 
+      FACTLOSTPOWER, TASKMADEUSERID, TASKMADEUSERNAME, 
+      FAILURECAUSEID, WARNINGLEVEL)
+    values (#{id,jdbcType=VARCHAR}, #{taskcode,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, 
+      #{windturbineid,jdbcType=VARCHAR}, #{warningid,jdbcType=VARCHAR}, #{partid,jdbcType=VARCHAR}, 
+      #{frequencycount,jdbcType=DECIMAL}, #{faultcycle,jdbcType=DECIMAL}, #{shutdownavgtime,jdbcType=DECIMAL}, 
+      #{expectlostpower,jdbcType=DECIMAL}, #{handleway,jdbcType=CHAR}, #{tasktype,jdbcType=CHAR}, 
+      #{taskclass,jdbcType=CHAR}, #{taskstatus,jdbcType=CHAR}, #{taskmadetime,jdbcType=TIMESTAMP}, 
+      #{lastfaulttime,jdbcType=TIMESTAMP}, #{stoptime,jdbcType=TIMESTAMP}, #{taskstarttime,jdbcType=TIMESTAMP}, 
+      #{taskreceivetime,jdbcType=TIMESTAMP}, #{arrivespottime,jdbcType=TIMESTAMP}, #{expectfinishtime,jdbcType=TIMESTAMP}, 
+      #{userid,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{recommendtime,jdbcType=TIMESTAMP}, 
+      #{taskfinishtime,jdbcType=TIMESTAMP}, #{finishgridconnecttime,jdbcType=TIMESTAMP}, 
+      #{factlostpower,jdbcType=DECIMAL}, #{taskmadeuserid,jdbcType=VARCHAR}, #{taskmadeusername,jdbcType=VARCHAR}, 
+      #{failurecauseid,jdbcType=VARCHAR}, #{warninglevel,jdbcType=CHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.P3Task">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into P3_TASK
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="taskcode != null">
+        TASKCODE,
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID,
+      </if>
+      <if test="windturbineid != null">
+        WINDTURBINEID,
+      </if>
+      <if test="warningid != null">
+        WARNINGID,
+      </if>
+      <if test="partid != null">
+        PARTID,
+      </if>
+      <if test="frequencycount != null">
+        FREQUENCYCOUNT,
+      </if>
+      <if test="faultcycle != null">
+        FAULTCYCLE,
+      </if>
+      <if test="shutdownavgtime != null">
+        SHUTDOWNAVGTIME,
+      </if>
+      <if test="expectlostpower != null">
+        EXPECTLOSTPOWER,
+      </if>
+      <if test="handleway != null">
+        HANDLEWAY,
+      </if>
+      <if test="tasktype != null">
+        TASKTYPE,
+      </if>
+      <if test="taskclass != null">
+        TASKCLASS,
+      </if>
+      <if test="taskstatus != null">
+        TASKSTATUS,
+      </if>
+      <if test="taskmadetime != null">
+        TASKMADETIME,
+      </if>
+      <if test="lastfaulttime != null">
+        LASTFAULTTIME,
+      </if>
+      <if test="stoptime != null">
+        STOPTIME,
+      </if>
+      <if test="taskstarttime != null">
+        TASKSTARTTIME,
+      </if>
+      <if test="taskreceivetime != null">
+        TASKRECEIVETIME,
+      </if>
+      <if test="arrivespottime != null">
+        ARRIVESPOTTIME,
+      </if>
+      <if test="expectfinishtime != null">
+        EXPECTFINISHTIME,
+      </if>
+      <if test="userid != null">
+        USERID,
+      </if>
+      <if test="username != null">
+        USERNAME,
+      </if>
+      <if test="recommendtime != null">
+        RECOMMENDTIME,
+      </if>
+      <if test="taskfinishtime != null">
+        TASKFINISHTIME,
+      </if>
+      <if test="finishgridconnecttime != null">
+        FINISHGRIDCONNECTTIME,
+      </if>
+      <if test="factlostpower != null">
+        FACTLOSTPOWER,
+      </if>
+      <if test="taskmadeuserid != null">
+        TASKMADEUSERID,
+      </if>
+      <if test="taskmadeusername != null">
+        TASKMADEUSERNAME,
+      </if>
+      <if test="failurecauseid != null">
+        FAILURECAUSEID,
+      </if>
+      <if test="warninglevel != null">
+        WARNINGLEVEL,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="taskcode != null">
+        #{taskcode,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="warningid != null">
+        #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="partid != null">
+        #{partid,jdbcType=VARCHAR},
+      </if>
+      <if test="frequencycount != null">
+        #{frequencycount,jdbcType=DECIMAL},
+      </if>
+      <if test="faultcycle != null">
+        #{faultcycle,jdbcType=DECIMAL},
+      </if>
+      <if test="shutdownavgtime != null">
+        #{shutdownavgtime,jdbcType=DECIMAL},
+      </if>
+      <if test="expectlostpower != null">
+        #{expectlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="handleway != null">
+        #{handleway,jdbcType=CHAR},
+      </if>
+      <if test="tasktype != null">
+        #{tasktype,jdbcType=CHAR},
+      </if>
+      <if test="taskclass != null">
+        #{taskclass,jdbcType=CHAR},
+      </if>
+      <if test="taskstatus != null">
+        #{taskstatus,jdbcType=CHAR},
+      </if>
+      <if test="taskmadetime != null">
+        #{taskmadetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="lastfaulttime != null">
+        #{lastfaulttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stoptime != null">
+        #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskstarttime != null">
+        #{taskstarttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskreceivetime != null">
+        #{taskreceivetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="arrivespottime != null">
+        #{arrivespottime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="expectfinishtime != null">
+        #{expectfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="userid != null">
+        #{userid,jdbcType=VARCHAR},
+      </if>
+      <if test="username != null">
+        #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="recommendtime != null">
+        #{recommendtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskfinishtime != null">
+        #{taskfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="finishgridconnecttime != null">
+        #{finishgridconnecttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="factlostpower != null">
+        #{factlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="taskmadeuserid != null">
+        #{taskmadeuserid,jdbcType=VARCHAR},
+      </if>
+      <if test="taskmadeusername != null">
+        #{taskmadeusername,jdbcType=VARCHAR},
+      </if>
+      <if test="failurecauseid != null">
+        #{failurecauseid,jdbcType=VARCHAR},
+      </if>
+      <if test="warninglevel != null">
+        #{warninglevel,jdbcType=CHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.P3TaskExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from P3_TASK
+    <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 P3_TASK
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.taskcode != null">
+        TASKCODE = #{record.taskcode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.warningid != null">
+        WARNINGID = #{record.warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.partid != null">
+        PARTID = #{record.partid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.frequencycount != null">
+        FREQUENCYCOUNT = #{record.frequencycount,jdbcType=DECIMAL},
+      </if>
+      <if test="record.faultcycle != null">
+        FAULTCYCLE = #{record.faultcycle,jdbcType=DECIMAL},
+      </if>
+      <if test="record.shutdownavgtime != null">
+        SHUTDOWNAVGTIME = #{record.shutdownavgtime,jdbcType=DECIMAL},
+      </if>
+      <if test="record.expectlostpower != null">
+        EXPECTLOSTPOWER = #{record.expectlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.handleway != null">
+        HANDLEWAY = #{record.handleway,jdbcType=CHAR},
+      </if>
+      <if test="record.tasktype != null">
+        TASKTYPE = #{record.tasktype,jdbcType=CHAR},
+      </if>
+      <if test="record.taskclass != null">
+        TASKCLASS = #{record.taskclass,jdbcType=CHAR},
+      </if>
+      <if test="record.taskstatus != null">
+        TASKSTATUS = #{record.taskstatus,jdbcType=CHAR},
+      </if>
+      <if test="record.taskmadetime != null">
+        TASKMADETIME = #{record.taskmadetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.lastfaulttime != null">
+        LASTFAULTTIME = #{record.lastfaulttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stoptime != null">
+        STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.taskstarttime != null">
+        TASKSTARTTIME = #{record.taskstarttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.taskreceivetime != null">
+        TASKRECEIVETIME = #{record.taskreceivetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.arrivespottime != null">
+        ARRIVESPOTTIME = #{record.arrivespottime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.expectfinishtime != null">
+        EXPECTFINISHTIME = #{record.expectfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.userid != null">
+        USERID = #{record.userid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.username != null">
+        USERNAME = #{record.username,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recommendtime != null">
+        RECOMMENDTIME = #{record.recommendtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.taskfinishtime != null">
+        TASKFINISHTIME = #{record.taskfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.finishgridconnecttime != null">
+        FINISHGRIDCONNECTTIME = #{record.finishgridconnecttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.factlostpower != null">
+        FACTLOSTPOWER = #{record.factlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.taskmadeuserid != null">
+        TASKMADEUSERID = #{record.taskmadeuserid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.taskmadeusername != null">
+        TASKMADEUSERNAME = #{record.taskmadeusername,jdbcType=VARCHAR},
+      </if>
+      <if test="record.failurecauseid != null">
+        FAILURECAUSEID = #{record.failurecauseid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.warninglevel != null">
+        WARNINGLEVEL = #{record.warninglevel,jdbcType=CHAR},
+      </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 P3_TASK
+    set ID = #{record.id,jdbcType=VARCHAR},
+      TASKCODE = #{record.taskcode,jdbcType=VARCHAR},
+      WINDPOWERSTATIONID = #{record.windpowerstationid,jdbcType=VARCHAR},
+      WINDTURBINEID = #{record.windturbineid,jdbcType=VARCHAR},
+      WARNINGID = #{record.warningid,jdbcType=VARCHAR},
+      PARTID = #{record.partid,jdbcType=VARCHAR},
+      FREQUENCYCOUNT = #{record.frequencycount,jdbcType=DECIMAL},
+      FAULTCYCLE = #{record.faultcycle,jdbcType=DECIMAL},
+      SHUTDOWNAVGTIME = #{record.shutdownavgtime,jdbcType=DECIMAL},
+      EXPECTLOSTPOWER = #{record.expectlostpower,jdbcType=DECIMAL},
+      HANDLEWAY = #{record.handleway,jdbcType=CHAR},
+      TASKTYPE = #{record.tasktype,jdbcType=CHAR},
+      TASKCLASS = #{record.taskclass,jdbcType=CHAR},
+      TASKSTATUS = #{record.taskstatus,jdbcType=CHAR},
+      TASKMADETIME = #{record.taskmadetime,jdbcType=TIMESTAMP},
+      LASTFAULTTIME = #{record.lastfaulttime,jdbcType=TIMESTAMP},
+      STOPTIME = #{record.stoptime,jdbcType=TIMESTAMP},
+      TASKSTARTTIME = #{record.taskstarttime,jdbcType=TIMESTAMP},
+      TASKRECEIVETIME = #{record.taskreceivetime,jdbcType=TIMESTAMP},
+      ARRIVESPOTTIME = #{record.arrivespottime,jdbcType=TIMESTAMP},
+      EXPECTFINISHTIME = #{record.expectfinishtime,jdbcType=TIMESTAMP},
+      USERID = #{record.userid,jdbcType=VARCHAR},
+      USERNAME = #{record.username,jdbcType=VARCHAR},
+      RECOMMENDTIME = #{record.recommendtime,jdbcType=TIMESTAMP},
+      TASKFINISHTIME = #{record.taskfinishtime,jdbcType=TIMESTAMP},
+      FINISHGRIDCONNECTTIME = #{record.finishgridconnecttime,jdbcType=TIMESTAMP},
+      FACTLOSTPOWER = #{record.factlostpower,jdbcType=DECIMAL},
+      TASKMADEUSERID = #{record.taskmadeuserid,jdbcType=VARCHAR},
+      TASKMADEUSERNAME = #{record.taskmadeusername,jdbcType=VARCHAR},
+      FAILURECAUSEID = #{record.failurecauseid,jdbcType=VARCHAR},
+      WARNINGLEVEL = #{record.warninglevel,jdbcType=CHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.P3Task">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update P3_TASK
+    <set>
+      <if test="taskcode != null">
+        TASKCODE = #{taskcode,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="warningid != null">
+        WARNINGID = #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="partid != null">
+        PARTID = #{partid,jdbcType=VARCHAR},
+      </if>
+      <if test="frequencycount != null">
+        FREQUENCYCOUNT = #{frequencycount,jdbcType=DECIMAL},
+      </if>
+      <if test="faultcycle != null">
+        FAULTCYCLE = #{faultcycle,jdbcType=DECIMAL},
+      </if>
+      <if test="shutdownavgtime != null">
+        SHUTDOWNAVGTIME = #{shutdownavgtime,jdbcType=DECIMAL},
+      </if>
+      <if test="expectlostpower != null">
+        EXPECTLOSTPOWER = #{expectlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="handleway != null">
+        HANDLEWAY = #{handleway,jdbcType=CHAR},
+      </if>
+      <if test="tasktype != null">
+        TASKTYPE = #{tasktype,jdbcType=CHAR},
+      </if>
+      <if test="taskclass != null">
+        TASKCLASS = #{taskclass,jdbcType=CHAR},
+      </if>
+      <if test="taskstatus != null">
+        TASKSTATUS = #{taskstatus,jdbcType=CHAR},
+      </if>
+      <if test="taskmadetime != null">
+        TASKMADETIME = #{taskmadetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="lastfaulttime != null">
+        LASTFAULTTIME = #{lastfaulttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stoptime != null">
+        STOPTIME = #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskstarttime != null">
+        TASKSTARTTIME = #{taskstarttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskreceivetime != null">
+        TASKRECEIVETIME = #{taskreceivetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="arrivespottime != null">
+        ARRIVESPOTTIME = #{arrivespottime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="expectfinishtime != null">
+        EXPECTFINISHTIME = #{expectfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="userid != null">
+        USERID = #{userid,jdbcType=VARCHAR},
+      </if>
+      <if test="username != null">
+        USERNAME = #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="recommendtime != null">
+        RECOMMENDTIME = #{recommendtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="taskfinishtime != null">
+        TASKFINISHTIME = #{taskfinishtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="finishgridconnecttime != null">
+        FINISHGRIDCONNECTTIME = #{finishgridconnecttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="factlostpower != null">
+        FACTLOSTPOWER = #{factlostpower,jdbcType=DECIMAL},
+      </if>
+      <if test="taskmadeuserid != null">
+        TASKMADEUSERID = #{taskmadeuserid,jdbcType=VARCHAR},
+      </if>
+      <if test="taskmadeusername != null">
+        TASKMADEUSERNAME = #{taskmadeusername,jdbcType=VARCHAR},
+      </if>
+      <if test="failurecauseid != null">
+        FAILURECAUSEID = #{failurecauseid,jdbcType=VARCHAR},
+      </if>
+      <if test="warninglevel != null">
+        WARNINGLEVEL = #{warninglevel,jdbcType=CHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.P3Task">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update P3_TASK
+    set TASKCODE = #{taskcode,jdbcType=VARCHAR},
+      WINDPOWERSTATIONID = #{windpowerstationid,jdbcType=VARCHAR},
+      WINDTURBINEID = #{windturbineid,jdbcType=VARCHAR},
+      WARNINGID = #{warningid,jdbcType=VARCHAR},
+      PARTID = #{partid,jdbcType=VARCHAR},
+      FREQUENCYCOUNT = #{frequencycount,jdbcType=DECIMAL},
+      FAULTCYCLE = #{faultcycle,jdbcType=DECIMAL},
+      SHUTDOWNAVGTIME = #{shutdownavgtime,jdbcType=DECIMAL},
+      EXPECTLOSTPOWER = #{expectlostpower,jdbcType=DECIMAL},
+      HANDLEWAY = #{handleway,jdbcType=CHAR},
+      TASKTYPE = #{tasktype,jdbcType=CHAR},
+      TASKCLASS = #{taskclass,jdbcType=CHAR},
+      TASKSTATUS = #{taskstatus,jdbcType=CHAR},
+      TASKMADETIME = #{taskmadetime,jdbcType=TIMESTAMP},
+      LASTFAULTTIME = #{lastfaulttime,jdbcType=TIMESTAMP},
+      STOPTIME = #{stoptime,jdbcType=TIMESTAMP},
+      TASKSTARTTIME = #{taskstarttime,jdbcType=TIMESTAMP},
+      TASKRECEIVETIME = #{taskreceivetime,jdbcType=TIMESTAMP},
+      ARRIVESPOTTIME = #{arrivespottime,jdbcType=TIMESTAMP},
+      EXPECTFINISHTIME = #{expectfinishtime,jdbcType=TIMESTAMP},
+      USERID = #{userid,jdbcType=VARCHAR},
+      USERNAME = #{username,jdbcType=VARCHAR},
+      RECOMMENDTIME = #{recommendtime,jdbcType=TIMESTAMP},
+      TASKFINISHTIME = #{taskfinishtime,jdbcType=TIMESTAMP},
+      FINISHGRIDCONNECTTIME = #{finishgridconnecttime,jdbcType=TIMESTAMP},
+      FACTLOSTPOWER = #{factlostpower,jdbcType=DECIMAL},
+      TASKMADEUSERID = #{taskmadeuserid,jdbcType=VARCHAR},
+      TASKMADEUSERNAME = #{taskmadeusername,jdbcType=VARCHAR},
+      FAILURECAUSEID = #{failurecauseid,jdbcType=VARCHAR},
+      WARNINGLEVEL = #{warninglevel,jdbcType=CHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 219 - 0
web/health-jn/src/main/resources/mybatis/auto/PartBjCountMapper.xml

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

+ 233 - 0
web/health-jn/src/main/resources/mybatis/auto/PartBjCountSubMapper.xml

@@ -0,0 +1,233 @@
+<?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.PartBjCountSubMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.PartBjCountSub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="wtid" jdbcType="VARCHAR" property="wtid" />
+    <result column="count" jdbcType="INTEGER" property="count" />
+    <result column="reference" jdbcType="DECIMAL" property="reference" />
+    <result column="rid" jdbcType="VARCHAR" property="rid" />
+  </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, wtid, count, reference, rid
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.PartBjCountSubExample" 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 partbjcountsub
+    <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.PartBjCountSubExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from partbjcountsub
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.PartBjCountSub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into partbjcountsub (id, wtid, count, 
+      reference, rid)
+    values (#{id,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, #{count,jdbcType=INTEGER}, 
+      #{reference,jdbcType=DECIMAL}, #{rid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.PartBjCountSub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into partbjcountsub
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="wtid != null">
+        wtid,
+      </if>
+      <if test="count != null">
+        count,
+      </if>
+      <if test="reference != null">
+        reference,
+      </if>
+      <if test="rid != null">
+        rid,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="count != null">
+        #{count,jdbcType=INTEGER},
+      </if>
+      <if test="reference != null">
+        #{reference,jdbcType=DECIMAL},
+      </if>
+      <if test="rid != null">
+        #{rid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.PartBjCountSubExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from partbjcountsub
+    <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 partbjcountsub
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        wtid = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.count != null">
+        count = #{record.count,jdbcType=INTEGER},
+      </if>
+      <if test="record.reference != null">
+        reference = #{record.reference,jdbcType=DECIMAL},
+      </if>
+      <if test="record.rid != null">
+        rid = #{record.rid,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 partbjcountsub
+    set id = #{record.id,jdbcType=VARCHAR},
+      wtid = #{record.wtid,jdbcType=VARCHAR},
+      count = #{record.count,jdbcType=INTEGER},
+      reference = #{record.reference,jdbcType=DECIMAL},
+      rid = #{record.rid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+
+  <select id="getWindturbinebjCountVoList"  resultType="com.gyee.frame.model.custom.WindturbinebjCountVo">
+    select a.id,b.lnid,b.part,a.wtid,b.alertruleid,a.count,a.reference from partbjcountsub a,partbjcount b
+    where a.rid=b.id
+    <if test="lnid!=null &amp;&amp; lnid.trim()!=''">
+      and b.lnid=#{lnid}
+    </if>
+
+    <if test="part!=null &amp;&amp; part.trim()!=''">
+      and b.part = #{part}
+    </if>
+    and b.recodedate >= #{beginDate} and b.recodedate &lt; #{endDate}
+    order by a.wtid
+  </select>
+</mapper>

File diff suppressed because it is too large
+ 1645 - 0
web/health-jn/src/main/resources/mybatis/auto/PartstatisticsmainMapper.xml


+ 335 - 0
web/health-jn/src/main/resources/mybatis/auto/ParttemperaturesubMapper.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.ParttemperaturesubMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Parttemperaturesub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WTNAME" jdbcType="VARCHAR" property="wtname" />
+    <result column="TRANGE" jdbcType="VARCHAR" property="trange" />
+    <result column="TSNUMBER" jdbcType="DECIMAL" property="tsnumber" />
+    <result column="POINTNAME" jdbcType="VARCHAR" property="pointname" />
+    <result column="PARTNAME" jdbcType="VARCHAR" property="partname" />
+  </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, RECODEDATE, WPID, WTID, WTNAME, TRANGE, TSNUMBER, POINTNAME, PARTNAME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ParttemperaturesubExample" 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 PARTTEMPERATURESUB
+    <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 PARTTEMPERATURESUB
+    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 PARTTEMPERATURESUB
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ParttemperaturesubExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from PARTTEMPERATURESUB
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Parttemperaturesub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into PARTTEMPERATURESUB (ID, RECODEDATE, WPID, 
+      WTID, WTNAME, TRANGE, 
+      TSNUMBER, POINTNAME, PARTNAME
+      )
+    values (#{id,jdbcType=VARCHAR}, #{recodedate,jdbcType=TIMESTAMP}, #{wpid,jdbcType=VARCHAR}, 
+      #{wtid,jdbcType=VARCHAR}, #{wtname,jdbcType=VARCHAR}, #{trange,jdbcType=VARCHAR}, 
+      #{tsnumber,jdbcType=DECIMAL}, #{pointname,jdbcType=VARCHAR}, #{partname,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Parttemperaturesub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into PARTTEMPERATURESUB
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wtname != null">
+        WTNAME,
+      </if>
+      <if test="trange != null">
+        TRANGE,
+      </if>
+      <if test="tsnumber != null">
+        TSNUMBER,
+      </if>
+      <if test="pointname != null">
+        POINTNAME,
+      </if>
+      <if test="partname != null">
+        PARTNAME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="trange != null">
+        #{trange,jdbcType=VARCHAR},
+      </if>
+      <if test="tsnumber != null">
+        #{tsnumber,jdbcType=DECIMAL},
+      </if>
+      <if test="pointname != null">
+        #{pointname,jdbcType=VARCHAR},
+      </if>
+      <if test="partname != null">
+        #{partname,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ParttemperaturesubExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from PARTTEMPERATURESUB
+    <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 PARTTEMPERATURESUB
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtname != null">
+        WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.trange != null">
+        TRANGE = #{record.trange,jdbcType=VARCHAR},
+      </if>
+      <if test="record.tsnumber != null">
+        TSNUMBER = #{record.tsnumber,jdbcType=DECIMAL},
+      </if>
+      <if test="record.pointname != null">
+        POINTNAME = #{record.pointname,jdbcType=VARCHAR},
+      </if>
+      <if test="record.partname != null">
+        PARTNAME = #{record.partname,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 PARTTEMPERATURESUB
+    set ID = #{record.id,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WTNAME = #{record.wtname,jdbcType=VARCHAR},
+      TRANGE = #{record.trange,jdbcType=VARCHAR},
+      TSNUMBER = #{record.tsnumber,jdbcType=DECIMAL},
+      POINTNAME = #{record.pointname,jdbcType=VARCHAR},
+      PARTNAME = #{record.partname,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Parttemperaturesub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update PARTTEMPERATURESUB
+    <set>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtname != null">
+        WTNAME = #{wtname,jdbcType=VARCHAR},
+      </if>
+      <if test="trange != null">
+        TRANGE = #{trange,jdbcType=VARCHAR},
+      </if>
+      <if test="tsnumber != null">
+        TSNUMBER = #{tsnumber,jdbcType=DECIMAL},
+      </if>
+      <if test="pointname != null">
+        POINTNAME = #{pointname,jdbcType=VARCHAR},
+      </if>
+      <if test="partname != null">
+        PARTNAME = #{partname,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Parttemperaturesub">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update PARTTEMPERATURESUB
+    set RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      WTNAME = #{wtname,jdbcType=VARCHAR},
+      TRANGE = #{trange,jdbcType=VARCHAR},
+      TSNUMBER = #{tsnumber,jdbcType=DECIMAL},
+      POINTNAME = #{pointname,jdbcType=VARCHAR},
+      PARTNAME = #{partname,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 867 - 0
web/health-jn/src/main/resources/mybatis/auto/PolineMapper.xml

@@ -0,0 +1,867 @@
+<?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.PolineMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Poline">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="PONUM" jdbcType="NVARCHAR" property="ponum" />
+    <result column="POLINENUM" jdbcType="NUMERIC" property="polinenum" />
+    <result column="ITEMNUM" jdbcType="NVARCHAR" property="itemnum" />
+    <result column="DESCRIPTION" jdbcType="NVARCHAR" property="description" />
+    <result column="WAREHOUSE" jdbcType="NVARCHAR" property="warehouse" />
+    <result column="ORDERQTY" jdbcType="NUMERIC" property="orderqty" />
+    <result column="ORDERUNIT" jdbcType="NVARCHAR" property="orderunit" />
+    <result column="CONVERSION" jdbcType="NUMERIC" property="conversion" />
+    <result column="UNITCOST" jdbcType="NUMERIC" property="unitcost" />
+    <result column="TAXUNITCOST" jdbcType="NUMERIC" property="taxunitcost" />
+    <result column="LINECOST" jdbcType="NUMERIC" property="linecost" />
+    <result column="TAXLINECOST" jdbcType="NUMERIC" property="taxlinecost" />
+    <result column="RECEIVEDQTY" jdbcType="NUMERIC" property="receivedqty" />
+    <result column="RECEIVEDUNITCOST" jdbcType="NUMERIC" property="receivedunitcost" />
+    <result column="RECEIVEDTOTALCOST" jdbcType="NUMERIC" property="receivedtotalcost" />
+    <result column="TAXCODE" jdbcType="NVARCHAR" property="taxcode" />
+    <result column="TAXRATE" jdbcType="NUMERIC" property="taxrate" />
+    <result column="TAX" jdbcType="NUMERIC" property="tax" />
+    <result column="REJECTEDQTY" jdbcType="NUMERIC" property="rejectedqty" />
+    <result column="VENDELIVERYDATE" jdbcType="TIMESTAMP" property="vendeliverydate" />
+    <result column="ENTERDATE" jdbcType="TIMESTAMP" property="enterdate" />
+    <result column="ENTERBY" jdbcType="NVARCHAR" property="enterby" />
+    <result column="REQUESTEDBY" jdbcType="NVARCHAR" property="requestedby" />
+    <result column="REQDELIVERYDATE" jdbcType="TIMESTAMP" property="reqdeliverydate" />
+    <result column="MANUFACTURER" jdbcType="NVARCHAR" property="manufacturer" />
+    <result column="MODELNUM" jdbcType="NVARCHAR" property="modelnum" />
+    <result column="SERVICE" jdbcType="NVARCHAR" property="service" />
+    <result column="STOCKTYPE" jdbcType="NVARCHAR" property="stocktype" />
+    <result column="REMARK" jdbcType="NVARCHAR" property="remark" />
+    <result column="LOCATION" jdbcType="NVARCHAR" property="location" />
+    <result column="RECEIPTSCOMPLETE" jdbcType="NVARCHAR" property="receiptscomplete" />
+    <result column="INSPECTION" jdbcType="NVARCHAR" property="inspection" />
+    <result column="LOADEDCOST" jdbcType="NUMERIC" property="loadedcost" />
+    <result column="PRORATED" jdbcType="NVARCHAR" property="prorated" />
+    <result column="PRORATECOST" jdbcType="NUMERIC" property="proratecost" />
+    <result column="WONUM" jdbcType="NVARCHAR" property="wonum" />
+    <result column="TASKNUM" jdbcType="NVARCHAR" property="tasknum" />
+    <result column="BUDNUM" jdbcType="NVARCHAR" property="budnum" />
+    <result column="BUDITEM" jdbcType="NVARCHAR" property="buditem" />
+  </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, PONUM, POLINENUM, ITEMNUM, DESCRIPTION, WAREHOUSE, ORDERQTY, ORDERUNIT, CONVERSION, 
+    UNITCOST, TAXUNITCOST, LINECOST, TAXLINECOST, RECEIVEDQTY, RECEIVEDUNITCOST, RECEIVEDTOTALCOST, 
+    TAXCODE, TAXRATE, TAX, REJECTEDQTY, VENDELIVERYDATE, ENTERDATE, ENTERBY, REQUESTEDBY, 
+    REQDELIVERYDATE, MANUFACTURER, MODELNUM, SERVICE, STOCKTYPE, REMARK, LOCATION, RECEIPTSCOMPLETE, 
+    INSPECTION, LOADEDCOST, PRORATED, PRORATECOST, WONUM, TASKNUM, BUDNUM, BUDITEM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.PolineExample" 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 POLINE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from POLINE
+    where ID = #{id,jdbcType=NUMERIC}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from POLINE
+    where ID = #{id,jdbcType=NUMERIC}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.PolineExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from POLINE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Poline">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into POLINE (ID, PONUM, POLINENUM, 
+      ITEMNUM, DESCRIPTION, WAREHOUSE, 
+      ORDERQTY, ORDERUNIT, CONVERSION, 
+      UNITCOST, TAXUNITCOST, LINECOST, 
+      TAXLINECOST, RECEIVEDQTY, RECEIVEDUNITCOST, 
+      RECEIVEDTOTALCOST, TAXCODE, TAXRATE, 
+      TAX, REJECTEDQTY, VENDELIVERYDATE, 
+      ENTERDATE, ENTERBY, REQUESTEDBY, 
+      REQDELIVERYDATE, MANUFACTURER, MODELNUM, 
+      SERVICE, STOCKTYPE, REMARK, 
+      LOCATION, RECEIPTSCOMPLETE, INSPECTION, 
+      LOADEDCOST, PRORATED, PRORATECOST, 
+      WONUM, TASKNUM, BUDNUM, 
+      BUDITEM)
+    values (#{id,jdbcType=NUMERIC}, #{ponum,jdbcType=NVARCHAR}, #{polinenum,jdbcType=NUMERIC}, 
+      #{itemnum,jdbcType=NVARCHAR}, #{description,jdbcType=NVARCHAR}, #{warehouse,jdbcType=NVARCHAR}, 
+      #{orderqty,jdbcType=NUMERIC}, #{orderunit,jdbcType=NVARCHAR}, #{conversion,jdbcType=NUMERIC}, 
+      #{unitcost,jdbcType=NUMERIC}, #{taxunitcost,jdbcType=NUMERIC}, #{linecost,jdbcType=NUMERIC}, 
+      #{taxlinecost,jdbcType=NUMERIC}, #{receivedqty,jdbcType=NUMERIC}, #{receivedunitcost,jdbcType=NUMERIC}, 
+      #{receivedtotalcost,jdbcType=NUMERIC}, #{taxcode,jdbcType=NVARCHAR}, #{taxrate,jdbcType=NUMERIC}, 
+      #{tax,jdbcType=NUMERIC}, #{rejectedqty,jdbcType=NUMERIC}, #{vendeliverydate,jdbcType=TIMESTAMP}, 
+      #{enterdate,jdbcType=TIMESTAMP}, #{enterby,jdbcType=NVARCHAR}, #{requestedby,jdbcType=NVARCHAR}, 
+      #{reqdeliverydate,jdbcType=TIMESTAMP}, #{manufacturer,jdbcType=NVARCHAR}, #{modelnum,jdbcType=NVARCHAR}, 
+      #{service,jdbcType=NVARCHAR}, #{stocktype,jdbcType=NVARCHAR}, #{remark,jdbcType=NVARCHAR}, 
+      #{location,jdbcType=NVARCHAR}, #{receiptscomplete,jdbcType=NVARCHAR}, #{inspection,jdbcType=NVARCHAR}, 
+      #{loadedcost,jdbcType=NUMERIC}, #{prorated,jdbcType=NVARCHAR}, #{proratecost,jdbcType=NUMERIC}, 
+      #{wonum,jdbcType=NVARCHAR}, #{tasknum,jdbcType=NVARCHAR}, #{budnum,jdbcType=NVARCHAR}, 
+      #{buditem,jdbcType=NVARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Poline">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into POLINE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="ponum != null">
+        PONUM,
+      </if>
+      <if test="polinenum != null">
+        POLINENUM,
+      </if>
+      <if test="itemnum != null">
+        ITEMNUM,
+      </if>
+      <if test="description != null">
+        DESCRIPTION,
+      </if>
+      <if test="warehouse != null">
+        WAREHOUSE,
+      </if>
+      <if test="orderqty != null">
+        ORDERQTY,
+      </if>
+      <if test="orderunit != null">
+        ORDERUNIT,
+      </if>
+      <if test="conversion != null">
+        CONVERSION,
+      </if>
+      <if test="unitcost != null">
+        UNITCOST,
+      </if>
+      <if test="taxunitcost != null">
+        TAXUNITCOST,
+      </if>
+      <if test="linecost != null">
+        LINECOST,
+      </if>
+      <if test="taxlinecost != null">
+        TAXLINECOST,
+      </if>
+      <if test="receivedqty != null">
+        RECEIVEDQTY,
+      </if>
+      <if test="receivedunitcost != null">
+        RECEIVEDUNITCOST,
+      </if>
+      <if test="receivedtotalcost != null">
+        RECEIVEDTOTALCOST,
+      </if>
+      <if test="taxcode != null">
+        TAXCODE,
+      </if>
+      <if test="taxrate != null">
+        TAXRATE,
+      </if>
+      <if test="tax != null">
+        TAX,
+      </if>
+      <if test="rejectedqty != null">
+        REJECTEDQTY,
+      </if>
+      <if test="vendeliverydate != null">
+        VENDELIVERYDATE,
+      </if>
+      <if test="enterdate != null">
+        ENTERDATE,
+      </if>
+      <if test="enterby != null">
+        ENTERBY,
+      </if>
+      <if test="requestedby != null">
+        REQUESTEDBY,
+      </if>
+      <if test="reqdeliverydate != null">
+        REQDELIVERYDATE,
+      </if>
+      <if test="manufacturer != null">
+        MANUFACTURER,
+      </if>
+      <if test="modelnum != null">
+        MODELNUM,
+      </if>
+      <if test="service != null">
+        SERVICE,
+      </if>
+      <if test="stocktype != null">
+        STOCKTYPE,
+      </if>
+      <if test="remark != null">
+        REMARK,
+      </if>
+      <if test="location != null">
+        LOCATION,
+      </if>
+      <if test="receiptscomplete != null">
+        RECEIPTSCOMPLETE,
+      </if>
+      <if test="inspection != null">
+        INSPECTION,
+      </if>
+      <if test="loadedcost != null">
+        LOADEDCOST,
+      </if>
+      <if test="prorated != null">
+        PRORATED,
+      </if>
+      <if test="proratecost != null">
+        PRORATECOST,
+      </if>
+      <if test="wonum != null">
+        WONUM,
+      </if>
+      <if test="tasknum != null">
+        TASKNUM,
+      </if>
+      <if test="budnum != null">
+        BUDNUM,
+      </if>
+      <if test="buditem != null">
+        BUDITEM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="ponum != null">
+        #{ponum,jdbcType=NVARCHAR},
+      </if>
+      <if test="polinenum != null">
+        #{polinenum,jdbcType=NUMERIC},
+      </if>
+      <if test="itemnum != null">
+        #{itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouse != null">
+        #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="orderqty != null">
+        #{orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="orderunit != null">
+        #{orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="conversion != null">
+        #{conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="unitcost != null">
+        #{unitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxunitcost != null">
+        #{taxunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="linecost != null">
+        #{linecost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxlinecost != null">
+        #{taxlinecost,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedqty != null">
+        #{receivedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedunitcost != null">
+        #{receivedunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedtotalcost != null">
+        #{receivedtotalcost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxcode != null">
+        #{taxcode,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxrate != null">
+        #{taxrate,jdbcType=NUMERIC},
+      </if>
+      <if test="tax != null">
+        #{tax,jdbcType=NUMERIC},
+      </if>
+      <if test="rejectedqty != null">
+        #{rejectedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="vendeliverydate != null">
+        #{vendeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="enterdate != null">
+        #{enterdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="enterby != null">
+        #{enterby,jdbcType=NVARCHAR},
+      </if>
+      <if test="requestedby != null">
+        #{requestedby,jdbcType=NVARCHAR},
+      </if>
+      <if test="reqdeliverydate != null">
+        #{reqdeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="manufacturer != null">
+        #{manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnum != null">
+        #{modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="service != null">
+        #{service,jdbcType=NVARCHAR},
+      </if>
+      <if test="stocktype != null">
+        #{stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="remark != null">
+        #{remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="location != null">
+        #{location,jdbcType=NVARCHAR},
+      </if>
+      <if test="receiptscomplete != null">
+        #{receiptscomplete,jdbcType=NVARCHAR},
+      </if>
+      <if test="inspection != null">
+        #{inspection,jdbcType=NVARCHAR},
+      </if>
+      <if test="loadedcost != null">
+        #{loadedcost,jdbcType=NUMERIC},
+      </if>
+      <if test="prorated != null">
+        #{prorated,jdbcType=NVARCHAR},
+      </if>
+      <if test="proratecost != null">
+        #{proratecost,jdbcType=NUMERIC},
+      </if>
+      <if test="wonum != null">
+        #{wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="tasknum != null">
+        #{tasknum,jdbcType=NVARCHAR},
+      </if>
+      <if test="budnum != null">
+        #{budnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="buditem != null">
+        #{buditem,jdbcType=NVARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.PolineExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from POLINE
+    <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 POLINE
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.ponum != null">
+        PONUM = #{record.ponum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.polinenum != null">
+        POLINENUM = #{record.polinenum,jdbcType=NUMERIC},
+      </if>
+      <if test="record.itemnum != null">
+        ITEMNUM = #{record.itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.description != null">
+        DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.warehouse != null">
+        WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.orderqty != null">
+        ORDERQTY = #{record.orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="record.orderunit != null">
+        ORDERUNIT = #{record.orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.conversion != null">
+        CONVERSION = #{record.conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="record.unitcost != null">
+        UNITCOST = #{record.unitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.taxunitcost != null">
+        TAXUNITCOST = #{record.taxunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.linecost != null">
+        LINECOST = #{record.linecost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.taxlinecost != null">
+        TAXLINECOST = #{record.taxlinecost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.receivedqty != null">
+        RECEIVEDQTY = #{record.receivedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="record.receivedunitcost != null">
+        RECEIVEDUNITCOST = #{record.receivedunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.receivedtotalcost != null">
+        RECEIVEDTOTALCOST = #{record.receivedtotalcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.taxcode != null">
+        TAXCODE = #{record.taxcode,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.taxrate != null">
+        TAXRATE = #{record.taxrate,jdbcType=NUMERIC},
+      </if>
+      <if test="record.tax != null">
+        TAX = #{record.tax,jdbcType=NUMERIC},
+      </if>
+      <if test="record.rejectedqty != null">
+        REJECTEDQTY = #{record.rejectedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="record.vendeliverydate != null">
+        VENDELIVERYDATE = #{record.vendeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.enterdate != null">
+        ENTERDATE = #{record.enterdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.enterby != null">
+        ENTERBY = #{record.enterby,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.requestedby != null">
+        REQUESTEDBY = #{record.requestedby,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.reqdeliverydate != null">
+        REQDELIVERYDATE = #{record.reqdeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.manufacturer != null">
+        MANUFACTURER = #{record.manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.modelnum != null">
+        MODELNUM = #{record.modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.service != null">
+        SERVICE = #{record.service,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.stocktype != null">
+        STOCKTYPE = #{record.stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.remark != null">
+        REMARK = #{record.remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.location != null">
+        LOCATION = #{record.location,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.receiptscomplete != null">
+        RECEIPTSCOMPLETE = #{record.receiptscomplete,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.inspection != null">
+        INSPECTION = #{record.inspection,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.loadedcost != null">
+        LOADEDCOST = #{record.loadedcost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.prorated != null">
+        PRORATED = #{record.prorated,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.proratecost != null">
+        PRORATECOST = #{record.proratecost,jdbcType=NUMERIC},
+      </if>
+      <if test="record.wonum != null">
+        WONUM = #{record.wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.tasknum != null">
+        TASKNUM = #{record.tasknum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.budnum != null">
+        BUDNUM = #{record.budnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.buditem != null">
+        BUDITEM = #{record.buditem,jdbcType=NVARCHAR},
+      </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 POLINE
+    set ID = #{record.id,jdbcType=NUMERIC},
+      PONUM = #{record.ponum,jdbcType=NVARCHAR},
+      POLINENUM = #{record.polinenum,jdbcType=NUMERIC},
+      ITEMNUM = #{record.itemnum,jdbcType=NVARCHAR},
+      DESCRIPTION = #{record.description,jdbcType=NVARCHAR},
+      WAREHOUSE = #{record.warehouse,jdbcType=NVARCHAR},
+      ORDERQTY = #{record.orderqty,jdbcType=NUMERIC},
+      ORDERUNIT = #{record.orderunit,jdbcType=NVARCHAR},
+      CONVERSION = #{record.conversion,jdbcType=NUMERIC},
+      UNITCOST = #{record.unitcost,jdbcType=NUMERIC},
+      TAXUNITCOST = #{record.taxunitcost,jdbcType=NUMERIC},
+      LINECOST = #{record.linecost,jdbcType=NUMERIC},
+      TAXLINECOST = #{record.taxlinecost,jdbcType=NUMERIC},
+      RECEIVEDQTY = #{record.receivedqty,jdbcType=NUMERIC},
+      RECEIVEDUNITCOST = #{record.receivedunitcost,jdbcType=NUMERIC},
+      RECEIVEDTOTALCOST = #{record.receivedtotalcost,jdbcType=NUMERIC},
+      TAXCODE = #{record.taxcode,jdbcType=NVARCHAR},
+      TAXRATE = #{record.taxrate,jdbcType=NUMERIC},
+      TAX = #{record.tax,jdbcType=NUMERIC},
+      REJECTEDQTY = #{record.rejectedqty,jdbcType=NUMERIC},
+      VENDELIVERYDATE = #{record.vendeliverydate,jdbcType=TIMESTAMP},
+      ENTERDATE = #{record.enterdate,jdbcType=TIMESTAMP},
+      ENTERBY = #{record.enterby,jdbcType=NVARCHAR},
+      REQUESTEDBY = #{record.requestedby,jdbcType=NVARCHAR},
+      REQDELIVERYDATE = #{record.reqdeliverydate,jdbcType=TIMESTAMP},
+      MANUFACTURER = #{record.manufacturer,jdbcType=NVARCHAR},
+      MODELNUM = #{record.modelnum,jdbcType=NVARCHAR},
+      SERVICE = #{record.service,jdbcType=NVARCHAR},
+      STOCKTYPE = #{record.stocktype,jdbcType=NVARCHAR},
+      REMARK = #{record.remark,jdbcType=NVARCHAR},
+      LOCATION = #{record.location,jdbcType=NVARCHAR},
+      RECEIPTSCOMPLETE = #{record.receiptscomplete,jdbcType=NVARCHAR},
+      INSPECTION = #{record.inspection,jdbcType=NVARCHAR},
+      LOADEDCOST = #{record.loadedcost,jdbcType=NUMERIC},
+      PRORATED = #{record.prorated,jdbcType=NVARCHAR},
+      PRORATECOST = #{record.proratecost,jdbcType=NUMERIC},
+      WONUM = #{record.wonum,jdbcType=NVARCHAR},
+      TASKNUM = #{record.tasknum,jdbcType=NVARCHAR},
+      BUDNUM = #{record.budnum,jdbcType=NVARCHAR},
+      BUDITEM = #{record.buditem,jdbcType=NVARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Poline">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update POLINE
+    <set>
+      <if test="ponum != null">
+        PONUM = #{ponum,jdbcType=NVARCHAR},
+      </if>
+      <if test="polinenum != null">
+        POLINENUM = #{polinenum,jdbcType=NUMERIC},
+      </if>
+      <if test="itemnum != null">
+        ITEMNUM = #{itemnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="description != null">
+        DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      </if>
+      <if test="warehouse != null">
+        WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      </if>
+      <if test="orderqty != null">
+        ORDERQTY = #{orderqty,jdbcType=NUMERIC},
+      </if>
+      <if test="orderunit != null">
+        ORDERUNIT = #{orderunit,jdbcType=NVARCHAR},
+      </if>
+      <if test="conversion != null">
+        CONVERSION = #{conversion,jdbcType=NUMERIC},
+      </if>
+      <if test="unitcost != null">
+        UNITCOST = #{unitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxunitcost != null">
+        TAXUNITCOST = #{taxunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="linecost != null">
+        LINECOST = #{linecost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxlinecost != null">
+        TAXLINECOST = #{taxlinecost,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedqty != null">
+        RECEIVEDQTY = #{receivedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedunitcost != null">
+        RECEIVEDUNITCOST = #{receivedunitcost,jdbcType=NUMERIC},
+      </if>
+      <if test="receivedtotalcost != null">
+        RECEIVEDTOTALCOST = #{receivedtotalcost,jdbcType=NUMERIC},
+      </if>
+      <if test="taxcode != null">
+        TAXCODE = #{taxcode,jdbcType=NVARCHAR},
+      </if>
+      <if test="taxrate != null">
+        TAXRATE = #{taxrate,jdbcType=NUMERIC},
+      </if>
+      <if test="tax != null">
+        TAX = #{tax,jdbcType=NUMERIC},
+      </if>
+      <if test="rejectedqty != null">
+        REJECTEDQTY = #{rejectedqty,jdbcType=NUMERIC},
+      </if>
+      <if test="vendeliverydate != null">
+        VENDELIVERYDATE = #{vendeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="enterdate != null">
+        ENTERDATE = #{enterdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="enterby != null">
+        ENTERBY = #{enterby,jdbcType=NVARCHAR},
+      </if>
+      <if test="requestedby != null">
+        REQUESTEDBY = #{requestedby,jdbcType=NVARCHAR},
+      </if>
+      <if test="reqdeliverydate != null">
+        REQDELIVERYDATE = #{reqdeliverydate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="manufacturer != null">
+        MANUFACTURER = #{manufacturer,jdbcType=NVARCHAR},
+      </if>
+      <if test="modelnum != null">
+        MODELNUM = #{modelnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="service != null">
+        SERVICE = #{service,jdbcType=NVARCHAR},
+      </if>
+      <if test="stocktype != null">
+        STOCKTYPE = #{stocktype,jdbcType=NVARCHAR},
+      </if>
+      <if test="remark != null">
+        REMARK = #{remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="location != null">
+        LOCATION = #{location,jdbcType=NVARCHAR},
+      </if>
+      <if test="receiptscomplete != null">
+        RECEIPTSCOMPLETE = #{receiptscomplete,jdbcType=NVARCHAR},
+      </if>
+      <if test="inspection != null">
+        INSPECTION = #{inspection,jdbcType=NVARCHAR},
+      </if>
+      <if test="loadedcost != null">
+        LOADEDCOST = #{loadedcost,jdbcType=NUMERIC},
+      </if>
+      <if test="prorated != null">
+        PRORATED = #{prorated,jdbcType=NVARCHAR},
+      </if>
+      <if test="proratecost != null">
+        PRORATECOST = #{proratecost,jdbcType=NUMERIC},
+      </if>
+      <if test="wonum != null">
+        WONUM = #{wonum,jdbcType=NVARCHAR},
+      </if>
+      <if test="tasknum != null">
+        TASKNUM = #{tasknum,jdbcType=NVARCHAR},
+      </if>
+      <if test="budnum != null">
+        BUDNUM = #{budnum,jdbcType=NVARCHAR},
+      </if>
+      <if test="buditem != null">
+        BUDITEM = #{buditem,jdbcType=NVARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Poline">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update POLINE
+    set PONUM = #{ponum,jdbcType=NVARCHAR},
+      POLINENUM = #{polinenum,jdbcType=NUMERIC},
+      ITEMNUM = #{itemnum,jdbcType=NVARCHAR},
+      DESCRIPTION = #{description,jdbcType=NVARCHAR},
+      WAREHOUSE = #{warehouse,jdbcType=NVARCHAR},
+      ORDERQTY = #{orderqty,jdbcType=NUMERIC},
+      ORDERUNIT = #{orderunit,jdbcType=NVARCHAR},
+      CONVERSION = #{conversion,jdbcType=NUMERIC},
+      UNITCOST = #{unitcost,jdbcType=NUMERIC},
+      TAXUNITCOST = #{taxunitcost,jdbcType=NUMERIC},
+      LINECOST = #{linecost,jdbcType=NUMERIC},
+      TAXLINECOST = #{taxlinecost,jdbcType=NUMERIC},
+      RECEIVEDQTY = #{receivedqty,jdbcType=NUMERIC},
+      RECEIVEDUNITCOST = #{receivedunitcost,jdbcType=NUMERIC},
+      RECEIVEDTOTALCOST = #{receivedtotalcost,jdbcType=NUMERIC},
+      TAXCODE = #{taxcode,jdbcType=NVARCHAR},
+      TAXRATE = #{taxrate,jdbcType=NUMERIC},
+      TAX = #{tax,jdbcType=NUMERIC},
+      REJECTEDQTY = #{rejectedqty,jdbcType=NUMERIC},
+      VENDELIVERYDATE = #{vendeliverydate,jdbcType=TIMESTAMP},
+      ENTERDATE = #{enterdate,jdbcType=TIMESTAMP},
+      ENTERBY = #{enterby,jdbcType=NVARCHAR},
+      REQUESTEDBY = #{requestedby,jdbcType=NVARCHAR},
+      REQDELIVERYDATE = #{reqdeliverydate,jdbcType=TIMESTAMP},
+      MANUFACTURER = #{manufacturer,jdbcType=NVARCHAR},
+      MODELNUM = #{modelnum,jdbcType=NVARCHAR},
+      SERVICE = #{service,jdbcType=NVARCHAR},
+      STOCKTYPE = #{stocktype,jdbcType=NVARCHAR},
+      REMARK = #{remark,jdbcType=NVARCHAR},
+      LOCATION = #{location,jdbcType=NVARCHAR},
+      RECEIPTSCOMPLETE = #{receiptscomplete,jdbcType=NVARCHAR},
+      INSPECTION = #{inspection,jdbcType=NVARCHAR},
+      LOADEDCOST = #{loadedcost,jdbcType=NUMERIC},
+      PRORATED = #{prorated,jdbcType=NVARCHAR},
+      PRORATECOST = #{proratecost,jdbcType=NUMERIC},
+      WONUM = #{wonum,jdbcType=NVARCHAR},
+      TASKNUM = #{tasknum,jdbcType=NVARCHAR},
+      BUDNUM = #{budnum,jdbcType=NVARCHAR},
+      BUDITEM = #{buditem,jdbcType=NVARCHAR}
+    where ID = #{id,jdbcType=NUMERIC}
+  </update>
+
+    <select id="selectPolineList" resultType="com.gyee.frame.model.custom.PolineVo">
+        SELECT
+        p.ponum,
+        p.status,
+        p.statusdate,
+        p.vendor,
+        p.totalcost,
+        p.totaltax,
+        p.sitenum,
+        p.description,
+        l.itemnum,
+        l.warehouse,
+        l.orderqty,
+        l.orderunit,
+        l.unitcost,
+        l.linecost,
+        l.enterdate,
+        l.enterby,
+        i.modelnum
+        FROM
+        POLINE l
+        LEFT JOIN Po p ON p.ponum = l.ponum
+        LEFT JOIN ITEM i on i.itemnum = l.itemnum
+        <where>
+
+            <if test=" '' != vendor and null != vendor ">
+                and p.vendor like '%${vendor}%'
+            </if>
+            <if test=" '' != warehouse and null != warehouse ">
+                and l.warehouse like '%${warehouse}%'
+            </if>
+            <if test=" '' != ponum and null != ponum ">
+                and p.ponum like '%${ponum}%'
+            </if>
+
+            <if test=" '' != starttime and starttime !=null and endtime !=null  and '' != endtime">
+                and  l.enterdate &gt;= #{starttime} and l.enterdate &lt;= #{endtime}
+            </if>
+        </where>
+
+    </select>
+
+</mapper>

+ 413 - 0
web/health-jn/src/main/resources/mybatis/auto/ProjectMapper.xml

@@ -0,0 +1,413 @@
+<?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.ProjectMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Project">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="code" jdbcType="VARCHAR" property="code" />
+    <result column="name" jdbcType="VARCHAR" property="name" />
+    <result column="aname" jdbcType="VARCHAR" property="aname" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="capacity" jdbcType="DOUBLE" property="capacity" />
+    <result column="capacityUnit" jdbcType="VARCHAR" property="capacityunit" />
+    <result column="quantity" jdbcType="INTEGER" 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="INTEGER" 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.ProjectExample" 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>
+  <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 project
+    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 project
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ProjectExample">
+    <!--
+      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.Project">
+    <!--
+      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=DOUBLE}, 
+      #{capacityunit,jdbcType=VARCHAR}, #{quantity,jdbcType=INTEGER}, #{model,jdbcType=VARCHAR}, 
+      #{commissiondate,jdbcType=DATE}, #{masterphone,jdbcType=VARCHAR}, #{shiftforeman,jdbcType=VARCHAR}, 
+      #{shiftforemanphone,jdbcType=VARCHAR}, #{ordernum,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Project">
+    <!--
+      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=DOUBLE},
+      </if>
+      <if test="capacityunit != null">
+        #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        #{quantity,jdbcType=INTEGER},
+      </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=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ProjectExample" 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=DOUBLE},
+      </if>
+      <if test="record.capacityunit != null">
+        capacityUnit = #{record.capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="record.quantity != null">
+        quantity = #{record.quantity,jdbcType=INTEGER},
+      </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=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update 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=DOUBLE},
+      capacityUnit = #{record.capacityunit,jdbcType=VARCHAR},
+      quantity = #{record.quantity,jdbcType=INTEGER},
+      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=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Project">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update project
+    <set>
+      <if test="code != null">
+        code = #{code,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        name = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="aname != null">
+        aname = #{aname,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="capacity != null">
+        capacity = #{capacity,jdbcType=DOUBLE},
+      </if>
+      <if test="capacityunit != null">
+        capacityUnit = #{capacityunit,jdbcType=VARCHAR},
+      </if>
+      <if test="quantity != null">
+        quantity = #{quantity,jdbcType=INTEGER},
+      </if>
+      <if test="model != null">
+        model = #{model,jdbcType=VARCHAR},
+      </if>
+      <if test="commissiondate != null">
+        commissionDate = #{commissiondate,jdbcType=DATE},
+      </if>
+      <if test="masterphone != null">
+        masterPhone = #{masterphone,jdbcType=VARCHAR},
+      </if>
+      <if test="shiftforeman != null">
+        shiftForeman = #{shiftforeman,jdbcType=VARCHAR},
+      </if>
+      <if test="shiftforemanphone != null">
+        shiftForemanPhone = #{shiftforemanphone,jdbcType=VARCHAR},
+      </if>
+      <if test="ordernum != null">
+        orderNum = #{ordernum,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Project">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update project
+    set code = #{code,jdbcType=VARCHAR},
+      name = #{name,jdbcType=VARCHAR},
+      aname = #{aname,jdbcType=VARCHAR},
+      windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      capacity = #{capacity,jdbcType=DOUBLE},
+      capacityUnit = #{capacityunit,jdbcType=VARCHAR},
+      quantity = #{quantity,jdbcType=INTEGER},
+      model = #{model,jdbcType=VARCHAR},
+      commissionDate = #{commissiondate,jdbcType=DATE},
+      masterPhone = #{masterphone,jdbcType=VARCHAR},
+      shiftForeman = #{shiftforeman,jdbcType=VARCHAR},
+      shiftForemanPhone = #{shiftforemanphone,jdbcType=VARCHAR},
+      orderNum = #{ordernum,jdbcType=INTEGER}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 303 - 0
web/health-jn/src/main/resources/mybatis/auto/ProjectPlanMapper.xml

@@ -0,0 +1,303 @@
+<?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.ProjectPlanMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ProjectPlan">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="PROJECTID" jdbcType="VARCHAR" property="projectid" />
+    <result column="GENERATINGCAPACITY" jdbcType="VARCHAR" property="generatingcapacity" />
+    <result column="OUTAGEHOURS" jdbcType="DECIMAL" property="outagehours" />
+    <result column="YEAR" jdbcType="VARCHAR" property="year" />
+    <result column="MONTH" jdbcType="VARCHAR" property="month" />
+    <result column="WINDPOWER" jdbcType="VARCHAR" property="windpower" />
+  </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, PROJECTID, GENERATINGCAPACITY, OUTAGEHOURS, YEAR, MONTH, WINDPOWER
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ProjectPlanExample" 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 PROJECTPLAN
+    <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 PROJECTPLAN
+    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 PROJECTPLAN
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ProjectPlanExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from PROJECTPLAN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ProjectPlan">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into PROJECTPLAN (ID, PROJECTID, GENERATINGCAPACITY, 
+      OUTAGEHOURS, YEAR, MONTH, 
+      WINDPOWER)
+    values (#{id,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{generatingcapacity,jdbcType=VARCHAR}, 
+      #{outagehours,jdbcType=DECIMAL}, #{year,jdbcType=VARCHAR}, #{month,jdbcType=VARCHAR}, 
+      #{windpower,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ProjectPlan">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into PROJECTPLAN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="projectid != null">
+        PROJECTID,
+      </if>
+      <if test="generatingcapacity != null">
+        GENERATINGCAPACITY,
+      </if>
+      <if test="outagehours != null">
+        OUTAGEHOURS,
+      </if>
+      <if test="year != null">
+        YEAR,
+      </if>
+      <if test="month != null">
+        MONTH,
+      </if>
+      <if test="windpower != null">
+        WINDPOWER,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="generatingcapacity != null">
+        #{generatingcapacity,jdbcType=VARCHAR},
+      </if>
+      <if test="outagehours != null">
+        #{outagehours,jdbcType=DECIMAL},
+      </if>
+      <if test="year != null">
+        #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="windpower != null">
+        #{windpower,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ProjectPlanExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from PROJECTPLAN
+    <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 PROJECTPLAN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.generatingcapacity != null">
+        GENERATINGCAPACITY = #{record.generatingcapacity,jdbcType=VARCHAR},
+      </if>
+      <if test="record.outagehours != null">
+        OUTAGEHOURS = #{record.outagehours,jdbcType=DECIMAL},
+      </if>
+      <if test="record.year != null">
+        YEAR = #{record.year,jdbcType=VARCHAR},
+      </if>
+      <if test="record.month != null">
+        MONTH = #{record.month,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpower != null">
+        WINDPOWER = #{record.windpower,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 PROJECTPLAN
+    set ID = #{record.id,jdbcType=VARCHAR},
+      PROJECTID = #{record.projectid,jdbcType=VARCHAR},
+      GENERATINGCAPACITY = #{record.generatingcapacity,jdbcType=VARCHAR},
+      OUTAGEHOURS = #{record.outagehours,jdbcType=DECIMAL},
+      YEAR = #{record.year,jdbcType=VARCHAR},
+      MONTH = #{record.month,jdbcType=VARCHAR},
+      WINDPOWER = #{record.windpower,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ProjectPlan">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update PROJECTPLAN
+    <set>
+      <if test="projectid != null">
+        PROJECTID = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="generatingcapacity != null">
+        GENERATINGCAPACITY = #{generatingcapacity,jdbcType=VARCHAR},
+      </if>
+      <if test="outagehours != null">
+        OUTAGEHOURS = #{outagehours,jdbcType=DECIMAL},
+      </if>
+      <if test="year != null">
+        YEAR = #{year,jdbcType=VARCHAR},
+      </if>
+      <if test="month != null">
+        MONTH = #{month,jdbcType=VARCHAR},
+      </if>
+      <if test="windpower != null">
+        WINDPOWER = #{windpower,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ProjectPlan">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update PROJECTPLAN
+    set PROJECTID = #{projectid,jdbcType=VARCHAR},
+      GENERATINGCAPACITY = #{generatingcapacity,jdbcType=VARCHAR},
+      OUTAGEHOURS = #{outagehours,jdbcType=DECIMAL},
+      YEAR = #{year,jdbcType=VARCHAR},
+      MONTH = #{month,jdbcType=VARCHAR},
+      WINDPOWER = #{windpower,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 483 - 0
web/health-jn/src/main/resources/mybatis/auto/RecommenmainMapper.xml

@@ -0,0 +1,483 @@
+<?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.RecommenmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Recommenmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="RID" jdbcType="VARCHAR" property="rid" />
+    <result column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />
+    <result column="SPEED" jdbcType="DECIMAL" property="speed" />
+    <result column="REASON" jdbcType="VARCHAR" property="reason" />
+    <result column="ISMAIN" jdbcType="VARCHAR" property="ismain" />
+    <result column="WOBUGID" jdbcType="VARCHAR" property="wobugid" />
+    <result column="OPERATION" jdbcType="VARCHAR" property="operation" />
+    <result column="OPERATIONDATE" jdbcType="TIMESTAMP" property="operationdate" />
+    <result column="REMARK" jdbcType="VARCHAR" property="remark" />
+    <result column="BAK1" jdbcType="VARCHAR" property="bak1" />
+    <result column="BAK2" jdbcType="VARCHAR" property="bak2" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WTNUM" jdbcType="DECIMAL" property="wtnum" />
+    <result column="WPNUM" jdbcType="DECIMAL" property="wpnum" />
+  </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.
+    -->
+    RID, ID, WTID, RECODEDATE, CREATEDATE, SPEED, REASON, ISMAIN, WOBUGID, OPERATION, 
+    OPERATIONDATE, REMARK, BAK1, BAK2, WPID, WTNUM, WPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.RecommenmainExample" 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 RECOMMENMAIN
+    <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 RECOMMENMAIN
+    where RID = #{rid,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 RECOMMENMAIN
+    where RID = #{rid,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.RecommenmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from RECOMMENMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Recommenmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into RECOMMENMAIN (RID, ID, WTID, 
+      RECODEDATE, CREATEDATE, SPEED, 
+      REASON, ISMAIN, WOBUGID, 
+      OPERATION, OPERATIONDATE, REMARK, 
+      BAK1, BAK2, WPID, WTNUM, 
+      WPNUM)
+    values (#{rid,jdbcType=VARCHAR}, #{id,jdbcType=DECIMAL}, #{wtid,jdbcType=VARCHAR}, 
+      #{recodedate,jdbcType=TIMESTAMP}, #{createdate,jdbcType=TIMESTAMP}, #{speed,jdbcType=DECIMAL}, 
+      #{reason,jdbcType=VARCHAR}, #{ismain,jdbcType=VARCHAR}, #{wobugid,jdbcType=VARCHAR}, 
+      #{operation,jdbcType=VARCHAR}, #{operationdate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, 
+      #{bak1,jdbcType=VARCHAR}, #{bak2,jdbcType=VARCHAR}, #{wpid,jdbcType=VARCHAR}, #{wtnum,jdbcType=DECIMAL}, 
+      #{wpnum,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Recommenmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into RECOMMENMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="rid != null">
+        RID,
+      </if>
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="createdate != null">
+        CREATEDATE,
+      </if>
+      <if test="speed != null">
+        SPEED,
+      </if>
+      <if test="reason != null">
+        REASON,
+      </if>
+      <if test="ismain != null">
+        ISMAIN,
+      </if>
+      <if test="wobugid != null">
+        WOBUGID,
+      </if>
+      <if test="operation != null">
+        OPERATION,
+      </if>
+      <if test="operationdate != null">
+        OPERATIONDATE,
+      </if>
+      <if test="remark != null">
+        REMARK,
+      </if>
+      <if test="bak1 != null">
+        BAK1,
+      </if>
+      <if test="bak2 != null">
+        BAK2,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wtnum != null">
+        WTNUM,
+      </if>
+      <if test="wpnum != null">
+        WPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="rid != null">
+        #{rid,jdbcType=VARCHAR},
+      </if>
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createdate != null">
+        #{createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        #{reason,jdbcType=VARCHAR},
+      </if>
+      <if test="ismain != null">
+        #{ismain,jdbcType=VARCHAR},
+      </if>
+      <if test="wobugid != null">
+        #{wobugid,jdbcType=VARCHAR},
+      </if>
+      <if test="operation != null">
+        #{operation,jdbcType=VARCHAR},
+      </if>
+      <if test="operationdate != null">
+        #{operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="remark != null">
+        #{remark,jdbcType=VARCHAR},
+      </if>
+      <if test="bak1 != null">
+        #{bak1,jdbcType=VARCHAR},
+      </if>
+      <if test="bak2 != null">
+        #{bak2,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtnum != null">
+        #{wtnum,jdbcType=DECIMAL},
+      </if>
+      <if test="wpnum != null">
+        #{wpnum,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.RecommenmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from RECOMMENMAIN
+    <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 RECOMMENMAIN
+    <set>
+      <if test="record.rid != null">
+        RID = #{record.rid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.createdate != null">
+        CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.speed != null">
+        SPEED = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.reason != null">
+        REASON = #{record.reason,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ismain != null">
+        ISMAIN = #{record.ismain,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wobugid != null">
+        WOBUGID = #{record.wobugid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.operation != null">
+        OPERATION = #{record.operation,jdbcType=VARCHAR},
+      </if>
+      <if test="record.operationdate != null">
+        OPERATIONDATE = #{record.operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.remark != null">
+        REMARK = #{record.remark,jdbcType=VARCHAR},
+      </if>
+      <if test="record.bak1 != null">
+        BAK1 = #{record.bak1,jdbcType=VARCHAR},
+      </if>
+      <if test="record.bak2 != null">
+        BAK2 = #{record.bak2,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtnum != null">
+        WTNUM = #{record.wtnum,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wpnum != null">
+        WPNUM = #{record.wpnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update RECOMMENMAIN
+    set RID = #{record.rid,jdbcType=VARCHAR},
+      ID = #{record.id,jdbcType=DECIMAL},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP},
+      SPEED = #{record.speed,jdbcType=DECIMAL},
+      REASON = #{record.reason,jdbcType=VARCHAR},
+      ISMAIN = #{record.ismain,jdbcType=VARCHAR},
+      WOBUGID = #{record.wobugid,jdbcType=VARCHAR},
+      OPERATION = #{record.operation,jdbcType=VARCHAR},
+      OPERATIONDATE = #{record.operationdate,jdbcType=TIMESTAMP},
+      REMARK = #{record.remark,jdbcType=VARCHAR},
+      BAK1 = #{record.bak1,jdbcType=VARCHAR},
+      BAK2 = #{record.bak2,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WTNUM = #{record.wtnum,jdbcType=DECIMAL},
+      WPNUM = #{record.wpnum,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Recommenmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update RECOMMENMAIN
+    <set>
+      <if test="id != null">
+        ID = #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createdate != null">
+        CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        SPEED = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        REASON = #{reason,jdbcType=VARCHAR},
+      </if>
+      <if test="ismain != null">
+        ISMAIN = #{ismain,jdbcType=VARCHAR},
+      </if>
+      <if test="wobugid != null">
+        WOBUGID = #{wobugid,jdbcType=VARCHAR},
+      </if>
+      <if test="operation != null">
+        OPERATION = #{operation,jdbcType=VARCHAR},
+      </if>
+      <if test="operationdate != null">
+        OPERATIONDATE = #{operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="remark != null">
+        REMARK = #{remark,jdbcType=VARCHAR},
+      </if>
+      <if test="bak1 != null">
+        BAK1 = #{bak1,jdbcType=VARCHAR},
+      </if>
+      <if test="bak2 != null">
+        BAK2 = #{bak2,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtnum != null">
+        WTNUM = #{wtnum,jdbcType=DECIMAL},
+      </if>
+      <if test="wpnum != null">
+        WPNUM = #{wpnum,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where RID = #{rid,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Recommenmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update RECOMMENMAIN
+    set ID = #{id,jdbcType=DECIMAL},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
+      SPEED = #{speed,jdbcType=DECIMAL},
+      REASON = #{reason,jdbcType=VARCHAR},
+      ISMAIN = #{ismain,jdbcType=VARCHAR},
+      WOBUGID = #{wobugid,jdbcType=VARCHAR},
+      OPERATION = #{operation,jdbcType=VARCHAR},
+      OPERATIONDATE = #{operationdate,jdbcType=TIMESTAMP},
+      REMARK = #{remark,jdbcType=VARCHAR},
+      BAK1 = #{bak1,jdbcType=VARCHAR},
+      BAK2 = #{bak2,jdbcType=VARCHAR},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      WTNUM = #{wtnum,jdbcType=DECIMAL},
+      WPNUM = #{wpnum,jdbcType=DECIMAL}
+    where RID = #{rid,jdbcType=VARCHAR}
+  </update>
+
+
+  <select id="getRecommenmainDay"  resultType="com.gyee.frame.model.auto.Recommenmain">
+
+    select * from recommenmain t where t.rid in
+    (select max(rid) from recommenmain where ismain=#{ismain} and  recodedate >= #{beginDate} and recodedate &lt; #{endDate} group by wtid )
+    order by t.recodedate
+
+  </select>
+
+  <select id="getRecommenmainTotal"  resultType="com.gyee.frame.model.custom.RecommenmainVo">
+
+    select t.wtid wtId ,count(t.wtid) nums from recommenmain t where
+     t.recodedate >= to_date('${beginDate}','YYYY-MM-DD HH24:MI:SS')
+    and t.recodedate &lt; to_date('${endDate}','YYYY-MM-DD HH24:MI:SS')
+    <if test="wpId != null">
+     and wpid = #{wpId,jdbcType=VARCHAR}
+    </if>
+    and wpid !='QS_FDC'
+    group by t.wtid order by nums desc
+
+  </select>
+
+</mapper>

+ 499 - 0
web/health-jn/src/main/resources/mybatis/auto/RecommenmainMsSqlMapper.xml

@@ -0,0 +1,499 @@
+<?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.RecommenmainMsSqlMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.RecommenmainMsSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="RID" jdbcType="NVARCHAR" property="rid" />
+    <result column="ID" jdbcType="NUMERIC" property="id" />
+    <result column="WTID" jdbcType="NVARCHAR" property="wtid" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="CREATEDATE" jdbcType="TIMESTAMP" property="createdate" />
+    <result column="SPEED" jdbcType="DECIMAL" property="speed" />
+    <result column="REASON" jdbcType="NVARCHAR" property="reason" />
+    <result column="ISMAIN" jdbcType="NVARCHAR" property="ismain" />
+    <result column="WOBUGID" jdbcType="NVARCHAR" property="wobugid" />
+    <result column="OPERATION" jdbcType="NVARCHAR" property="operation" />
+    <result column="OPERATIONDATE" jdbcType="TIMESTAMP" property="operationdate" />
+    <result column="REMARK" jdbcType="NVARCHAR" property="remark" />
+    <result column="BAK1" jdbcType="NVARCHAR" property="bak1" />
+    <result column="BAK2" jdbcType="NVARCHAR" property="bak2" />
+    <result column="WPID" jdbcType="NVARCHAR" property="wpid" />
+    <result column="WTNUM" jdbcType="NUMERIC" property="wtnum" />
+    <result column="WPNUM" jdbcType="NUMERIC" property="wpnum" />
+  </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.
+    -->
+    RID, ID, WTID, RECODEDATE, CREATEDATE, SPEED, REASON, ISMAIN, WOBUGID, OPERATION, 
+    OPERATIONDATE, REMARK, BAK1, BAK2, WPID, WTNUM, WPNUM
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.RecommenmainMsSqlExample" 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 RECOMMENMAIN
+    <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 RECOMMENMAIN
+    where RID = #{rid,jdbcType=NVARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from RECOMMENMAIN
+    where RID = #{rid,jdbcType=NVARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.RecommenmainMsSqlExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from RECOMMENMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.RecommenmainMsSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into RECOMMENMAIN (RID, ID, WTID, 
+      RECODEDATE, CREATEDATE, SPEED, 
+      REASON, ISMAIN, WOBUGID, 
+      OPERATION, OPERATIONDATE, REMARK, 
+      BAK1, BAK2, WPID, 
+      WTNUM, WPNUM)
+    values (#{rid,jdbcType=NVARCHAR}, #{id,jdbcType=NUMERIC}, #{wtid,jdbcType=NVARCHAR}, 
+      #{recodedate,jdbcType=TIMESTAMP}, #{createdate,jdbcType=TIMESTAMP}, #{speed,jdbcType=DECIMAL}, 
+      #{reason,jdbcType=NVARCHAR}, #{ismain,jdbcType=NVARCHAR}, #{wobugid,jdbcType=NVARCHAR}, 
+      #{operation,jdbcType=NVARCHAR}, #{operationdate,jdbcType=TIMESTAMP}, #{remark,jdbcType=NVARCHAR}, 
+      #{bak1,jdbcType=NVARCHAR}, #{bak2,jdbcType=NVARCHAR}, #{wpid,jdbcType=NVARCHAR}, 
+      #{wtnum,jdbcType=NUMERIC}, #{wpnum,jdbcType=NUMERIC})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.RecommenmainMsSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into RECOMMENMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="rid != null">
+        RID,
+      </if>
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="createdate != null">
+        CREATEDATE,
+      </if>
+      <if test="speed != null">
+        SPEED,
+      </if>
+      <if test="reason != null">
+        REASON,
+      </if>
+      <if test="ismain != null">
+        ISMAIN,
+      </if>
+      <if test="wobugid != null">
+        WOBUGID,
+      </if>
+      <if test="operation != null">
+        OPERATION,
+      </if>
+      <if test="operationdate != null">
+        OPERATIONDATE,
+      </if>
+      <if test="remark != null">
+        REMARK,
+      </if>
+      <if test="bak1 != null">
+        BAK1,
+      </if>
+      <if test="bak2 != null">
+        BAK2,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wtnum != null">
+        WTNUM,
+      </if>
+      <if test="wpnum != null">
+        WPNUM,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="rid != null">
+        #{rid,jdbcType=NVARCHAR},
+      </if>
+      <if test="id != null">
+        #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=NVARCHAR},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createdate != null">
+        #{createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        #{reason,jdbcType=NVARCHAR},
+      </if>
+      <if test="ismain != null">
+        #{ismain,jdbcType=NVARCHAR},
+      </if>
+      <if test="wobugid != null">
+        #{wobugid,jdbcType=NVARCHAR},
+      </if>
+      <if test="operation != null">
+        #{operation,jdbcType=NVARCHAR},
+      </if>
+      <if test="operationdate != null">
+        #{operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="remark != null">
+        #{remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="bak1 != null">
+        #{bak1,jdbcType=NVARCHAR},
+      </if>
+      <if test="bak2 != null">
+        #{bak2,jdbcType=NVARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=NVARCHAR},
+      </if>
+      <if test="wtnum != null">
+        #{wtnum,jdbcType=NUMERIC},
+      </if>
+      <if test="wpnum != null">
+        #{wpnum,jdbcType=NUMERIC},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.RecommenmainMsSqlExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from RECOMMENMAIN
+    <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 RECOMMENMAIN
+    <set>
+      <if test="record.rid != null">
+        RID = #{record.rid,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=NUMERIC},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.createdate != null">
+        CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.speed != null">
+        SPEED = #{record.speed,jdbcType=DECIMAL},
+      </if>
+      <if test="record.reason != null">
+        REASON = #{record.reason,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.ismain != null">
+        ISMAIN = #{record.ismain,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.wobugid != null">
+        WOBUGID = #{record.wobugid,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.operation != null">
+        OPERATION = #{record.operation,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.operationdate != null">
+        OPERATIONDATE = #{record.operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.remark != null">
+        REMARK = #{record.remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bak1 != null">
+        BAK1 = #{record.bak1,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.bak2 != null">
+        BAK2 = #{record.bak2,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=NVARCHAR},
+      </if>
+      <if test="record.wtnum != null">
+        WTNUM = #{record.wtnum,jdbcType=NUMERIC},
+      </if>
+      <if test="record.wpnum != null">
+        WPNUM = #{record.wpnum,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 RECOMMENMAIN
+    set RID = #{record.rid,jdbcType=NVARCHAR},
+      ID = #{record.id,jdbcType=NUMERIC},
+      WTID = #{record.wtid,jdbcType=NVARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      CREATEDATE = #{record.createdate,jdbcType=TIMESTAMP},
+      SPEED = #{record.speed,jdbcType=DECIMAL},
+      REASON = #{record.reason,jdbcType=NVARCHAR},
+      ISMAIN = #{record.ismain,jdbcType=NVARCHAR},
+      WOBUGID = #{record.wobugid,jdbcType=NVARCHAR},
+      OPERATION = #{record.operation,jdbcType=NVARCHAR},
+      OPERATIONDATE = #{record.operationdate,jdbcType=TIMESTAMP},
+      REMARK = #{record.remark,jdbcType=NVARCHAR},
+      BAK1 = #{record.bak1,jdbcType=NVARCHAR},
+      BAK2 = #{record.bak2,jdbcType=NVARCHAR},
+      WPID = #{record.wpid,jdbcType=NVARCHAR},
+      WTNUM = #{record.wtnum,jdbcType=NUMERIC},
+      WPNUM = #{record.wpnum,jdbcType=NUMERIC}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.RecommenmainMsSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update RECOMMENMAIN
+    <set>
+      <if test="id != null">
+        ID = #{id,jdbcType=NUMERIC},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=NVARCHAR},
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createdate != null">
+        CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="speed != null">
+        SPEED = #{speed,jdbcType=DECIMAL},
+      </if>
+      <if test="reason != null">
+        REASON = #{reason,jdbcType=NVARCHAR},
+      </if>
+      <if test="ismain != null">
+        ISMAIN = #{ismain,jdbcType=NVARCHAR},
+      </if>
+      <if test="wobugid != null">
+        WOBUGID = #{wobugid,jdbcType=NVARCHAR},
+      </if>
+      <if test="operation != null">
+        OPERATION = #{operation,jdbcType=NVARCHAR},
+      </if>
+      <if test="operationdate != null">
+        OPERATIONDATE = #{operationdate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="remark != null">
+        REMARK = #{remark,jdbcType=NVARCHAR},
+      </if>
+      <if test="bak1 != null">
+        BAK1 = #{bak1,jdbcType=NVARCHAR},
+      </if>
+      <if test="bak2 != null">
+        BAK2 = #{bak2,jdbcType=NVARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=NVARCHAR},
+      </if>
+      <if test="wtnum != null">
+        WTNUM = #{wtnum,jdbcType=NUMERIC},
+      </if>
+      <if test="wpnum != null">
+        WPNUM = #{wpnum,jdbcType=NUMERIC},
+      </if>
+    </set>
+    where RID = #{rid,jdbcType=NVARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.RecommenmainMsSql">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update RECOMMENMAIN
+    set ID = #{id,jdbcType=NUMERIC},
+      WTID = #{wtid,jdbcType=NVARCHAR},
+      RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      CREATEDATE = #{createdate,jdbcType=TIMESTAMP},
+      SPEED = #{speed,jdbcType=DECIMAL},
+      REASON = #{reason,jdbcType=NVARCHAR},
+      ISMAIN = #{ismain,jdbcType=NVARCHAR},
+      WOBUGID = #{wobugid,jdbcType=NVARCHAR},
+      OPERATION = #{operation,jdbcType=NVARCHAR},
+      OPERATIONDATE = #{operationdate,jdbcType=TIMESTAMP},
+      REMARK = #{remark,jdbcType=NVARCHAR},
+      BAK1 = #{bak1,jdbcType=NVARCHAR},
+      BAK2 = #{bak2,jdbcType=NVARCHAR},
+      WPID = #{wpid,jdbcType=NVARCHAR},
+      WTNUM = #{wtnum,jdbcType=NUMERIC},
+      WPNUM = #{wpnum,jdbcType=NUMERIC}
+    where RID = #{rid,jdbcType=NVARCHAR}
+  </update>
+
+
+  <select id="unfinishedList"  resultType="com.gyee.frame.model.custom.WoBugEqVo">
+    SELECT c.WFSHORTNAME,c.WFNAME,a.WTID,b.PRODTDEPTTIME,b.DEPARTURETIME,a.REASON,b.STATUS,a.RID,a.OPERATIONDATE,a.ISMAIN
+    FROM  RECOMMENMAIN a left join WOBUGEQ b on a.wobugid=b.bugnum left join  WINDFARM c on a.wpnum=c.wfnum  where a.OPERATIONDATE IS NOT null
+    AND (b.STATUS!='流程关闭' OR b.STATUS IS NULL)
+    <if test="wpId!=null &amp;&amp; wpId.trim()!=''">
+      and c.WFSHORTNAME=#{wpId}
+    </if>
+    <if test="wtId!=null &amp;&amp; wtId.trim()!=''">
+      and a.WTID=#{wtId}
+    </if>
+    and a.OPERATIONDATE >= #{beginDate} and a.OPERATIONDATE &lt; #{endDate}
+  </select>
+
+  <select id="finishedList"  resultType="com.gyee.frame.model.custom.WoBugEqVo">
+    SELECT  c.WFSHORTNAME,c.WFNAME,a.WTID,b.PRODTDEPTTIME,b.DEPARTURETIME,a.REASON,b.REPAIREDCOMMENT,a.RID,a.OPERATIONDATE,a.ISMAIN
+    FROM  RECOMMENMAIN a left join WOBUGEQ b on a.wobugid=b.bugnum left join  WINDFARM c on a.wpnum=c.wfnum  where  a.ISMAIN='是' AND b.STATUS='流程关闭'
+    <if test="wpId!=null &amp;&amp; wpId.trim()!=''">
+      and c.WFSHORTNAME=#{wpId}
+    </if>
+    <if test="wtId!=null &amp;&amp; wtId.trim()!=''">
+      and a.WTID=#{wtId}
+    </if>
+
+    and a.OPERATIONDATE >= #{beginDate} and a.OPERATIONDATE &lt; #{endDate}
+  </select>
+
+  <select id="totalList"  resultType="com.gyee.frame.model.custom.SimpleVo">
+    SELECT count(*) value
+    FROM  RECOMMENMAIN a left join WOBUGEQ b on a.wobugid=b.bugnum left join  WINDFARM c on a.wpnum=c.wfnum  where  a.ISMAIN='是' AND b.STATUS='流程关闭'
+    <if test="wpId!=null &amp;&amp; wpId.trim()!=''">
+      and c.WFSHORTNAME=#{wpId}
+    </if>
+    <if test="wtId!=null &amp;&amp; wtId.trim()!=''">
+      and a.WTID in (#{wtId})
+    </if>
+    and a.OPERATIONDATE >= #{beginDate} and a.OPERATIONDATE &lt; #{endDate}
+  </select>
+</mapper>

+ 241 - 0
web/health-jn/src/main/resources/mybatis/auto/RegionMapper.xml

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

+ 318 - 0
web/health-jn/src/main/resources/mybatis/auto/ShbrUserMapper.xml

@@ -0,0 +1,318 @@
+<?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.ShbrUserMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ShbrUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="USERNAME" jdbcType="VARCHAR" property="username" />
+    <result column="MOBILE" jdbcType="VARCHAR" property="mobile" />
+    <result column="PASSWORD" jdbcType="VARCHAR" property="password" />
+    <result column="SALT" jdbcType="VARCHAR" property="salt" />
+    <result column="IMG" jdbcType="VARCHAR" property="img" />
+    <result column="CREATETIME" jdbcType="TIMESTAMP" property="createtime" />
+    <result column="STATIONID" jdbcType="VARCHAR" property="stationid" />
+  </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, USERNAME, MOBILE, PASSWORD, SALT, IMG, CREATETIME, STATIONID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ShbrUserExample" 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 SHBRUSER
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from SHBRUSER
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRUSER
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ShbrUserExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRUSER
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ShbrUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRUSER (ID, USERNAME, MOBILE, 
+      PASSWORD, SALT, IMG, 
+      CREATETIME, STATIONID)
+    values (#{id,jdbcType=DECIMAL}, #{username,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, 
+      #{password,jdbcType=VARCHAR}, #{salt,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, 
+      #{createtime,jdbcType=TIMESTAMP}, #{stationid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ShbrUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRUSER
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="username != null">
+        USERNAME,
+      </if>
+      <if test="mobile != null">
+        MOBILE,
+      </if>
+      <if test="password != null">
+        PASSWORD,
+      </if>
+      <if test="salt != null">
+        SALT,
+      </if>
+      <if test="img != null">
+        IMG,
+      </if>
+      <if test="createtime != null">
+        CREATETIME,
+      </if>
+      <if test="stationid != null">
+        STATIONID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="username != null">
+        #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="mobile != null">
+        #{mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="password != null">
+        #{password,jdbcType=VARCHAR},
+      </if>
+      <if test="salt != null">
+        #{salt,jdbcType=VARCHAR},
+      </if>
+      <if test="img != null">
+        #{img,jdbcType=VARCHAR},
+      </if>
+      <if test="createtime != null">
+        #{createtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stationid != null">
+        #{stationid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ShbrUserExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from SHBRUSER
+    <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 SHBRUSER
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.username != null">
+        USERNAME = #{record.username,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mobile != null">
+        MOBILE = #{record.mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="record.password != null">
+        PASSWORD = #{record.password,jdbcType=VARCHAR},
+      </if>
+      <if test="record.salt != null">
+        SALT = #{record.salt,jdbcType=VARCHAR},
+      </if>
+      <if test="record.img != null">
+        IMG = #{record.img,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createtime != null">
+        CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stationid != null">
+        STATIONID = #{record.stationid,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 SHBRUSER
+    set ID = #{record.id,jdbcType=DECIMAL},
+      USERNAME = #{record.username,jdbcType=VARCHAR},
+      MOBILE = #{record.mobile,jdbcType=VARCHAR},
+      PASSWORD = #{record.password,jdbcType=VARCHAR},
+      SALT = #{record.salt,jdbcType=VARCHAR},
+      IMG = #{record.img,jdbcType=VARCHAR},
+      CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
+      STATIONID = #{record.stationid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ShbrUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRUSER
+    <set>
+      <if test="username != null">
+        USERNAME = #{username,jdbcType=VARCHAR},
+      </if>
+      <if test="mobile != null">
+        MOBILE = #{mobile,jdbcType=VARCHAR},
+      </if>
+      <if test="password != null">
+        PASSWORD = #{password,jdbcType=VARCHAR},
+      </if>
+      <if test="salt != null">
+        SALT = #{salt,jdbcType=VARCHAR},
+      </if>
+      <if test="img != null">
+        IMG = #{img,jdbcType=VARCHAR},
+      </if>
+      <if test="createtime != null">
+        CREATETIME = #{createtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stationid != null">
+        STATIONID = #{stationid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ShbrUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRUSER
+    set USERNAME = #{username,jdbcType=VARCHAR},
+      MOBILE = #{mobile,jdbcType=VARCHAR},
+      PASSWORD = #{password,jdbcType=VARCHAR},
+      SALT = #{salt,jdbcType=VARCHAR},
+      IMG = #{img,jdbcType=VARCHAR},
+      CREATETIME = #{createtime,jdbcType=TIMESTAMP},
+      STATIONID = #{stationid,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 256 - 0
web/health-jn/src/main/resources/mybatis/auto/ShbraceletPointkeyMapper.xml

@@ -0,0 +1,256 @@
+<?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.ShbraceletPointkeyMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ShbraceletPointkey">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="POINTKEY" jdbcType="VARCHAR" property="pointkey" />
+    <result column="DEVICEID" jdbcType="DECIMAL" property="deviceid" />
+    <result column="CREATETIME" jdbcType="TIMESTAMP" property="createtime" />
+  </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, POINTKEY, DEVICEID, CREATETIME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ShbraceletPointkeyExample" 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 SHBRACELETPOINTKEY
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from SHBRACELETPOINTKEY
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRACELETPOINTKEY
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ShbraceletPointkeyExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRACELETPOINTKEY
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ShbraceletPointkey">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRACELETPOINTKEY (ID, POINTKEY, DEVICEID, 
+      CREATETIME)
+    values (#{id,jdbcType=DECIMAL}, #{pointkey,jdbcType=VARCHAR}, #{deviceid,jdbcType=DECIMAL}, 
+      #{createtime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ShbraceletPointkey">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRACELETPOINTKEY
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="pointkey != null">
+        POINTKEY,
+      </if>
+      <if test="deviceid != null">
+        DEVICEID,
+      </if>
+      <if test="createtime != null">
+        CREATETIME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="pointkey != null">
+        #{pointkey,jdbcType=VARCHAR},
+      </if>
+      <if test="deviceid != null">
+        #{deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtime != null">
+        #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ShbraceletPointkeyExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from SHBRACELETPOINTKEY
+    <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 SHBRACELETPOINTKEY
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.pointkey != null">
+        POINTKEY = #{record.pointkey,jdbcType=VARCHAR},
+      </if>
+      <if test="record.deviceid != null">
+        DEVICEID = #{record.deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="record.createtime != null">
+        CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
+      </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 SHBRACELETPOINTKEY
+    set ID = #{record.id,jdbcType=DECIMAL},
+      POINTKEY = #{record.pointkey,jdbcType=VARCHAR},
+      DEVICEID = #{record.deviceid,jdbcType=DECIMAL},
+      CREATETIME = #{record.createtime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ShbraceletPointkey">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRACELETPOINTKEY
+    <set>
+      <if test="pointkey != null">
+        POINTKEY = #{pointkey,jdbcType=VARCHAR},
+      </if>
+      <if test="deviceid != null">
+        DEVICEID = #{deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtime != null">
+        CREATETIME = #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ShbraceletPointkey">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRACELETPOINTKEY
+    set POINTKEY = #{pointkey,jdbcType=VARCHAR},
+      DEVICEID = #{deviceid,jdbcType=DECIMAL},
+      CREATETIME = #{createtime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 256 - 0
web/health-jn/src/main/resources/mybatis/auto/ShbraceletUserMapper.xml

@@ -0,0 +1,256 @@
+<?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.ShbraceletUserMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.ShbraceletUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="DEVICEID" jdbcType="DECIMAL" property="deviceid" />
+    <result column="USERID" jdbcType="DECIMAL" property="userid" />
+    <result column="CREATETIME" jdbcType="TIMESTAMP" property="createtime" />
+  </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, DEVICEID, USERID, CREATETIME
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ShbraceletUserExample" 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 SHBRACELETUSER
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from SHBRACELETUSER
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRACELETUSER
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ShbraceletUserExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from SHBRACELETUSER
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.ShbraceletUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRACELETUSER (ID, DEVICEID, USERID, 
+      CREATETIME)
+    values (#{id,jdbcType=DECIMAL}, #{deviceid,jdbcType=DECIMAL}, #{userid,jdbcType=DECIMAL}, 
+      #{createtime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.ShbraceletUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into SHBRACELETUSER
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="deviceid != null">
+        DEVICEID,
+      </if>
+      <if test="userid != null">
+        USERID,
+      </if>
+      <if test="createtime != null">
+        CREATETIME,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="deviceid != null">
+        #{deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="userid != null">
+        #{userid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtime != null">
+        #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ShbraceletUserExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from SHBRACELETUSER
+    <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 SHBRACELETUSER
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.deviceid != null">
+        DEVICEID = #{record.deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="record.userid != null">
+        USERID = #{record.userid,jdbcType=DECIMAL},
+      </if>
+      <if test="record.createtime != null">
+        CREATETIME = #{record.createtime,jdbcType=TIMESTAMP},
+      </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 SHBRACELETUSER
+    set ID = #{record.id,jdbcType=DECIMAL},
+      DEVICEID = #{record.deviceid,jdbcType=DECIMAL},
+      USERID = #{record.userid,jdbcType=DECIMAL},
+      CREATETIME = #{record.createtime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.ShbraceletUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRACELETUSER
+    <set>
+      <if test="deviceid != null">
+        DEVICEID = #{deviceid,jdbcType=DECIMAL},
+      </if>
+      <if test="userid != null">
+        USERID = #{userid,jdbcType=DECIMAL},
+      </if>
+      <if test="createtime != null">
+        CREATETIME = #{createtime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.ShbraceletUser">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update SHBRACELETUSER
+    set DEVICEID = #{deviceid,jdbcType=DECIMAL},
+      USERID = #{userid,jdbcType=DECIMAL},
+      CREATETIME = #{createtime,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 493 - 0
web/health-jn/src/main/resources/mybatis/auto/Shutdownevent2Mapper.xml

@@ -0,0 +1,493 @@
+<?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.Shutdownevent2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Shutdownevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="stopTime" jdbcType="TIMESTAMP" property="stoptime" />
+    <result column="startTime" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="stopHours" jdbcType="DECIMAL" property="stophours" />
+    <result column="lossPower" jdbcType="DECIMAL" property="losspower" />
+    <result column="stopTypeId" jdbcType="VARCHAR" property="stoptypeid" />
+    <result column="isHandle" jdbcType="SMALLINT" property="ishandle" />
+    <result column="warningId" jdbcType="VARCHAR" property="warningid" />
+    <result column="projectId" jdbcType="VARCHAR" property="projectid" />
+    <result column="handleWay" jdbcType="VARCHAR" property="handleway" />
+    <result column="faultView" jdbcType="VARCHAR" property="faultview" />
+    <result column="statusCode" jdbcType="INTEGER" property="statuscode" />
+    <result column="mainId" jdbcType="VARCHAR" property="mainid" />
+    <result column="resetRate" jdbcType="VARCHAR" property="resetrate" />
+    <result column="stateRate" jdbcType="VARCHAR" property="staterate" />
+    <result column="failRate" jdbcType="VARCHAR" property="failrate" />
+    <result column="warningRecordsId" jdbcType="INTEGER" property="warningrecordsid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windPowerStationId, windTurbineId, stopTime, startTime, stopHours, lossPower, 
+    stopTypeId, isHandle, warningId, projectId, handleWay, faultView, statusCode, mainId, 
+    resetRate, stateRate, failRate, warningRecordsId
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Shutdownevent2Example" 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 shutdownevent2
+    <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 shutdownevent2
+    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 shutdownevent2
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Shutdownevent2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from shutdownevent2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Shutdownevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into shutdownevent2 (id, windPowerStationId, windTurbineId, 
+      stopTime, startTime, stopHours, 
+      lossPower, stopTypeId, isHandle, 
+      warningId, projectId, handleWay, 
+      faultView, statusCode, mainId, 
+      resetRate, stateRate, failRate, 
+      warningRecordsId)
+    values (#{id,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, #{stophours,jdbcType=DECIMAL}, 
+      #{losspower,jdbcType=DECIMAL}, #{stoptypeid,jdbcType=VARCHAR}, #{ishandle,jdbcType=SMALLINT}, 
+      #{warningid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{handleway,jdbcType=VARCHAR}, 
+      #{faultview,jdbcType=VARCHAR}, #{statuscode,jdbcType=INTEGER}, #{mainid,jdbcType=VARCHAR}, 
+      #{resetrate,jdbcType=VARCHAR}, #{staterate,jdbcType=VARCHAR}, #{failrate,jdbcType=VARCHAR}, 
+      #{warningrecordsid,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Shutdownevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into shutdownevent2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId,
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId,
+      </if>
+      <if test="stoptime != null">
+        stopTime,
+      </if>
+      <if test="starttime != null">
+        startTime,
+      </if>
+      <if test="stophours != null">
+        stopHours,
+      </if>
+      <if test="losspower != null">
+        lossPower,
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId,
+      </if>
+      <if test="ishandle != null">
+        isHandle,
+      </if>
+      <if test="warningid != null">
+        warningId,
+      </if>
+      <if test="projectid != null">
+        projectId,
+      </if>
+      <if test="handleway != null">
+        handleWay,
+      </if>
+      <if test="faultview != null">
+        faultView,
+      </if>
+      <if test="statuscode != null">
+        statusCode,
+      </if>
+      <if test="mainid != null">
+        mainId,
+      </if>
+      <if test="resetrate != null">
+        resetRate,
+      </if>
+      <if test="staterate != null">
+        stateRate,
+      </if>
+      <if test="failrate != null">
+        failRate,
+      </if>
+      <if test="warningrecordsid != null">
+        warningRecordsId,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="warningid != null">
+        #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="handleway != null">
+        #{handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="faultview != null">
+        #{faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="statuscode != null">
+        #{statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="resetrate != null">
+        #{resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="staterate != null">
+        #{staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="failrate != null">
+        #{failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="warningrecordsid != null">
+        #{warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Shutdownevent2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from shutdownevent2
+    <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 shutdownevent2
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.stoptime != null">
+        stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.starttime != null">
+        startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stophours != null">
+        stopHours = #{record.stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="record.losspower != null">
+        lossPower = #{record.losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.stoptypeid != null">
+        stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ishandle != null">
+        isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="record.warningid != null">
+        warningId = #{record.warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        projectId = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.handleway != null">
+        handleWay = #{record.handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="record.faultview != null">
+        faultView = #{record.faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="record.statuscode != null">
+        statusCode = #{record.statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="record.mainid != null">
+        mainId = #{record.mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.resetrate != null">
+        resetRate = #{record.resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.staterate != null">
+        stateRate = #{record.staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.failrate != null">
+        failRate = #{record.failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.warningrecordsid != null">
+        warningRecordsId = #{record.warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent2
+    set id = #{record.id,jdbcType=VARCHAR},
+      windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      stopHours = #{record.stophours,jdbcType=DECIMAL},
+      lossPower = #{record.losspower,jdbcType=DECIMAL},
+      stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      warningId = #{record.warningid,jdbcType=VARCHAR},
+      projectId = #{record.projectid,jdbcType=VARCHAR},
+      handleWay = #{record.handleway,jdbcType=VARCHAR},
+      faultView = #{record.faultview,jdbcType=VARCHAR},
+      statusCode = #{record.statuscode,jdbcType=INTEGER},
+      mainId = #{record.mainid,jdbcType=VARCHAR},
+      resetRate = #{record.resetrate,jdbcType=VARCHAR},
+      stateRate = #{record.staterate,jdbcType=VARCHAR},
+      failRate = #{record.failrate,jdbcType=VARCHAR},
+      warningRecordsId = #{record.warningrecordsid,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Shutdownevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent2
+    <set>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        startTime = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        stopHours = #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        lossPower = #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        isHandle = #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="warningid != null">
+        warningId = #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectId = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="handleway != null">
+        handleWay = #{handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="faultview != null">
+        faultView = #{faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="statuscode != null">
+        statusCode = #{statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="mainid != null">
+        mainId = #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="resetrate != null">
+        resetRate = #{resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="staterate != null">
+        stateRate = #{staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="failrate != null">
+        failRate = #{failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="warningrecordsid != null">
+        warningRecordsId = #{warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Shutdownevent2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent2
+    set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      startTime = #{starttime,jdbcType=TIMESTAMP},
+      stopHours = #{stophours,jdbcType=DECIMAL},
+      lossPower = #{losspower,jdbcType=DECIMAL},
+      stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{ishandle,jdbcType=SMALLINT},
+      warningId = #{warningid,jdbcType=VARCHAR},
+      projectId = #{projectid,jdbcType=VARCHAR},
+      handleWay = #{handleway,jdbcType=VARCHAR},
+      faultView = #{faultview,jdbcType=VARCHAR},
+      statusCode = #{statuscode,jdbcType=INTEGER},
+      mainId = #{mainid,jdbcType=VARCHAR},
+      resetRate = #{resetrate,jdbcType=VARCHAR},
+      stateRate = #{staterate,jdbcType=VARCHAR},
+      failRate = #{failrate,jdbcType=VARCHAR},
+      warningRecordsId = #{warningrecordsid,jdbcType=INTEGER}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 542 - 0
web/health-jn/src/main/resources/mybatis/auto/ShutdowneventMapper.xml

@@ -0,0 +1,542 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.ShutdowneventMapper">
+<!--  <cache type="org.mybatis.caches.ehcache.EhcacheCache">-->
+<!--    <property name="timeToIdleSeconds" value="60"></property>&lt;!&ndash;&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;&ndash;&gt;-->
+<!--    <property name="timeToLiveSeconds" value="160"></property>&lt;!&ndash;&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;&ndash;&gt;-->
+<!--    <property name="maxEntriesLocalHeap" value="1000"></property>-->
+<!--    <property name="maxEntriesLocalDisk" value="10000000"></property>-->
+<!--    <property name="memoryStoreEvictionPolicy" value="LRU"></property>-->
+<!--  </cache>-->
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Shutdownevent">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="id" jdbcType="VARCHAR" property="id" />
+    <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
+    <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="stopTime" jdbcType="TIMESTAMP" property="stoptime" />
+    <result column="startTime" jdbcType="TIMESTAMP" property="starttime" />
+    <result column="stopHours" jdbcType="DECIMAL" property="stophours" />
+    <result column="lossPower" jdbcType="DECIMAL" property="losspower" />
+    <result column="stopTypeId" jdbcType="VARCHAR" property="stoptypeid" />
+    <result column="isHandle" jdbcType="SMALLINT" property="ishandle" />
+    <result column="warningId" jdbcType="VARCHAR" property="warningid" />
+    <result column="projectId" jdbcType="VARCHAR" property="projectid" />
+    <result column="handleWay" jdbcType="VARCHAR" property="handleway" />
+    <result column="faultView" jdbcType="VARCHAR" property="faultview" />
+    <result column="statusCode" jdbcType="INTEGER" property="statuscode" />
+    <result column="mainId" jdbcType="VARCHAR" property="mainid" />
+    <result column="resetRate" jdbcType="VARCHAR" property="resetrate" />
+    <result column="stateRate" jdbcType="VARCHAR" property="staterate" />
+    <result column="failRate" jdbcType="VARCHAR" property="failrate" />
+    <result column="warningRecordsId" jdbcType="INTEGER" property="warningrecordsid" />
+  </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.dateValue">
+                  and ${criterion.condition} to_date(#{criterion.value},'yyyy-MM-dd')
+                </when>
+
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    id, windPowerStationId, windTurbineId, stopTime, startTime, stopHours, lossPower, 
+    stopTypeId, isHandle, warningId, projectId, handleWay, faultView, statusCode, mainId, 
+    resetRate, stateRate, failRate, warningRecordsId
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.ShutdowneventExample" 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 shutdownevent
+    <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 shutdownevent
+    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 shutdownevent
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.ShutdowneventExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from shutdownevent
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Shutdownevent">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into shutdownevent (id, windPowerStationId, windTurbineId, 
+      stopTime, startTime, stopHours, 
+      lossPower, stopTypeId, isHandle, 
+      warningId, projectId, handleWay, 
+      faultView, statusCode, mainId, 
+      resetRate, stateRate, failRate, 
+      warningRecordsId)
+    values (#{id,jdbcType=VARCHAR}, #{windpowerstationid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, 
+      #{stoptime,jdbcType=TIMESTAMP}, #{starttime,jdbcType=TIMESTAMP}, #{stophours,jdbcType=DECIMAL}, 
+      #{losspower,jdbcType=DECIMAL}, #{stoptypeid,jdbcType=VARCHAR}, #{ishandle,jdbcType=SMALLINT}, 
+      #{warningid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, #{handleway,jdbcType=VARCHAR}, 
+      #{faultview,jdbcType=VARCHAR}, #{statuscode,jdbcType=INTEGER}, #{mainid,jdbcType=VARCHAR}, 
+      #{resetrate,jdbcType=VARCHAR}, #{staterate,jdbcType=VARCHAR}, #{failrate,jdbcType=VARCHAR}, 
+      #{warningrecordsid,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Shutdownevent">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into shutdownevent
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="windpowerstationid != null">
+        windPowerStationId,
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId,
+      </if>
+      <if test="stoptime != null">
+        stopTime,
+      </if>
+      <if test="starttime != null">
+        startTime,
+      </if>
+      <if test="stophours != null">
+        stopHours,
+      </if>
+      <if test="losspower != null">
+        lossPower,
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId,
+      </if>
+      <if test="ishandle != null">
+        isHandle,
+      </if>
+      <if test="warningid != null">
+        warningId,
+      </if>
+      <if test="projectid != null">
+        projectId,
+      </if>
+      <if test="handleway != null">
+        handleWay,
+      </if>
+      <if test="faultview != null">
+        faultView,
+      </if>
+      <if test="statuscode != null">
+        statusCode,
+      </if>
+      <if test="mainid != null">
+        mainId,
+      </if>
+      <if test="resetrate != null">
+        resetRate,
+      </if>
+      <if test="staterate != null">
+        stateRate,
+      </if>
+      <if test="failrate != null">
+        failRate,
+      </if>
+      <if test="warningrecordsid != null">
+        warningRecordsId,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="windpowerstationid != null">
+        #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="warningid != null">
+        #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="handleway != null">
+        #{handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="faultview != null">
+        #{faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="statuscode != null">
+        #{statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="resetrate != null">
+        #{resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="staterate != null">
+        #{staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="failrate != null">
+        #{failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="warningrecordsid != null">
+        #{warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.ShutdowneventExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from shutdownevent
+    <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 shutdownevent
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windpowerstationid != null">
+        windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.windturbineid != null">
+        windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.stoptime != null">
+        stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.starttime != null">
+        startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.stophours != null">
+        stopHours = #{record.stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="record.losspower != null">
+        lossPower = #{record.losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="record.stoptypeid != null">
+        stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ishandle != null">
+        isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="record.warningid != null">
+        warningId = #{record.warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.projectid != null">
+        projectId = #{record.projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.handleway != null">
+        handleWay = #{record.handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="record.faultview != null">
+        faultView = #{record.faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="record.statuscode != null">
+        statusCode = #{record.statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="record.mainid != null">
+        mainId = #{record.mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.resetrate != null">
+        resetRate = #{record.resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.staterate != null">
+        stateRate = #{record.staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.failrate != null">
+        failRate = #{record.failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.warningrecordsid != null">
+        warningRecordsId = #{record.warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent
+    set id = #{record.id,jdbcType=VARCHAR},
+      windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      stopTime = #{record.stoptime,jdbcType=TIMESTAMP},
+      startTime = #{record.starttime,jdbcType=TIMESTAMP},
+      stopHours = #{record.stophours,jdbcType=DECIMAL},
+      lossPower = #{record.losspower,jdbcType=DECIMAL},
+      stopTypeId = #{record.stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{record.ishandle,jdbcType=SMALLINT},
+      warningId = #{record.warningid,jdbcType=VARCHAR},
+      projectId = #{record.projectid,jdbcType=VARCHAR},
+      handleWay = #{record.handleway,jdbcType=VARCHAR},
+      faultView = #{record.faultview,jdbcType=VARCHAR},
+      statusCode = #{record.statuscode,jdbcType=INTEGER},
+      mainId = #{record.mainid,jdbcType=VARCHAR},
+      resetRate = #{record.resetrate,jdbcType=VARCHAR},
+      stateRate = #{record.staterate,jdbcType=VARCHAR},
+      failRate = #{record.failrate,jdbcType=VARCHAR},
+      warningRecordsId = #{record.warningrecordsid,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Shutdownevent">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent
+    <set>
+      <if test="windpowerstationid != null">
+        windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="stoptime != null">
+        stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="starttime != null">
+        startTime = #{starttime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="stophours != null">
+        stopHours = #{stophours,jdbcType=DECIMAL},
+      </if>
+      <if test="losspower != null">
+        lossPower = #{losspower,jdbcType=DECIMAL},
+      </if>
+      <if test="stoptypeid != null">
+        stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      </if>
+      <if test="ishandle != null">
+        isHandle = #{ishandle,jdbcType=SMALLINT},
+      </if>
+      <if test="warningid != null">
+        warningId = #{warningid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectId = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="handleway != null">
+        handleWay = #{handleway,jdbcType=VARCHAR},
+      </if>
+      <if test="faultview != null">
+        faultView = #{faultview,jdbcType=VARCHAR},
+      </if>
+      <if test="statuscode != null">
+        statusCode = #{statuscode,jdbcType=INTEGER},
+      </if>
+      <if test="mainid != null">
+        mainId = #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="resetrate != null">
+        resetRate = #{resetrate,jdbcType=VARCHAR},
+      </if>
+      <if test="staterate != null">
+        stateRate = #{staterate,jdbcType=VARCHAR},
+      </if>
+      <if test="failrate != null">
+        failRate = #{failrate,jdbcType=VARCHAR},
+      </if>
+      <if test="warningrecordsid != null">
+        warningRecordsId = #{warningrecordsid,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Shutdownevent">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update shutdownevent
+    set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
+      windTurbineId = #{windturbineid,jdbcType=VARCHAR},
+      stopTime = #{stoptime,jdbcType=TIMESTAMP},
+      startTime = #{starttime,jdbcType=TIMESTAMP},
+      stopHours = #{stophours,jdbcType=DECIMAL},
+      lossPower = #{losspower,jdbcType=DECIMAL},
+      stopTypeId = #{stoptypeid,jdbcType=VARCHAR},
+      isHandle = #{ishandle,jdbcType=SMALLINT},
+      warningId = #{warningid,jdbcType=VARCHAR},
+      projectId = #{projectid,jdbcType=VARCHAR},
+      handleWay = #{handleway,jdbcType=VARCHAR},
+      faultView = #{faultview,jdbcType=VARCHAR},
+      statusCode = #{statuscode,jdbcType=INTEGER},
+      mainId = #{mainid,jdbcType=VARCHAR},
+      resetRate = #{resetrate,jdbcType=VARCHAR},
+      stateRate = #{staterate,jdbcType=VARCHAR},
+      failRate = #{failrate,jdbcType=VARCHAR},
+      warningRecordsId = #{warningrecordsid,jdbcType=INTEGER}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+
+  <select id="countStopByWp"  resultType="com.gyee.frame.model.custom.SimpleVo">
+    select t.windpowerstationid id,count(*) value from shutdownevent t
+    where  instr(t.windpowerstationid,'_FDC')>0 and t.statuscode=2
+    and t.stoptime >= (select max(stoptime)-7 from shutdownevent)
+    and t.stoptime  &lt;= (select max(stoptime) from shutdownevent)  group by t.windpowerstationid
+  </select>
+
+  <select id="countStopByPj"  resultType="com.gyee.frame.model.custom.SimpleVo">
+    select t1.projectid  id,count(*) value from shutdownevent t,windturbine t1 where  instr(t.windpowerstationid,'_FDC')>0  and t.statuscode=2
+    and t.stoptime >= (select max(stoptime)-7 from shutdownevent)
+    and t.stoptime &lt;= (select max(stoptime) from shutdownevent) and t.windturbineid = t1.id group by t1.projectid  order by t1.projectid
+  </select>
+
+
+    <select id="queryEvents"  resultType="com.gyee.frame.model.custom.ShutdowneventVo">
+        select t.id,t.windPowerStationId,t.windTurbineId,s.warningId,s.alerttext warnDesc,t.stopTime,t.startTime,t.stopHours,t.lossPower,t.statusCode
+         from shutdownevent t inner join (select n.alerttext,w.faulttime,n.windturbineid,n.stationid warningId  from faulthistory w
+          inner join faultsnap n on n.id=w.snapid  where w.faulttime >=#{beginDate}
+          and  w.faulttime &lt;=#{endDate} and w.messagetype=1) s on
+           s.windturbineid=t.windturbineid
+          where t.stopTime>=#{beginDate}
+           and t.stopTime&lt;=#{endDate}
+           and t.statusCode=2
+        <if test="type != null">
+           and t.statusCode  = #{type,jdbcType=VARCHAR}
+        </if>
+        <if test="wtId != null">
+            and t.windTurbineId  = #{wtId,jdbcType=VARCHAR}
+        </if>
+        <if test="wpId != null">
+            and t.windPowerStationId  = #{wpId,jdbcType=VARCHAR}
+        </if>
+           order by t.windturbineid,t.starttime desc
+
+
+    </select>
+</mapper>

+ 365 - 0
web/health-jn/src/main/resources/mybatis/auto/Statejudgmentrecord2Mapper.xml

@@ -0,0 +1,365 @@
+<?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.Statejudgmentrecord2Mapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Statejudgmentrecord2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="STATEJUDGMENT" jdbcType="VARCHAR" property="statejudgment" />
+    <result column="RECODEDATE" jdbcType="TIMESTAMP" property="recodedate" />
+    <result column="SCORE" jdbcType="DECIMAL" property="score" />
+    <result column="FORMULA" jdbcType="VARCHAR" property="formula" />
+    <result column="PART1" jdbcType="VARCHAR" property="part1" />
+    <result column="PART2" jdbcType="VARCHAR" property="part2" />
+    <result column="PART3" jdbcType="VARCHAR" property="part3" />
+    <result column="MARK" jdbcType="VARCHAR" property="mark" />
+  </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, WPID, WTID, STATEJUDGMENT, RECODEDATE, SCORE, FORMULA, PART1, PART2, PART3, MARK
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2Example" 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 STATEJUDGMENTRECORD2
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from STATEJUDGMENTRECORD2
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STATEJUDGMENTRECORD2
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2Example">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STATEJUDGMENTRECORD2
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STATEJUDGMENTRECORD2 (ID, WPID, WTID, 
+      STATEJUDGMENT, RECODEDATE, SCORE, 
+      FORMULA, PART1, PART2, 
+      PART3, MARK)
+    values (#{id,jdbcType=DECIMAL}, #{wpid,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, 
+      #{statejudgment,jdbcType=VARCHAR}, #{recodedate,jdbcType=TIMESTAMP}, #{score,jdbcType=DECIMAL}, 
+      #{formula,jdbcType=VARCHAR}, #{part1,jdbcType=VARCHAR}, #{part2,jdbcType=VARCHAR}, 
+      #{part3,jdbcType=VARCHAR}, #{mark,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STATEJUDGMENTRECORD2
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="statejudgment != null">
+        STATEJUDGMENT,
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE,
+      </if>
+      <if test="score != null">
+        SCORE,
+      </if>
+      <if test="formula != null">
+        FORMULA,
+      </if>
+      <if test="part1 != null">
+        PART1,
+      </if>
+      <if test="part2 != null">
+        PART2,
+      </if>
+      <if test="part3 != null">
+        PART3,
+      </if>
+      <if test="mark != null">
+        MARK,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="statejudgment != null">
+        #{statejudgment,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="formula != null">
+        #{formula,jdbcType=VARCHAR},
+      </if>
+      <if test="part1 != null">
+        #{part1,jdbcType=VARCHAR},
+      </if>
+      <if test="part2 != null">
+        #{part2,jdbcType=VARCHAR},
+      </if>
+      <if test="part3 != null">
+        #{part3,jdbcType=VARCHAR},
+      </if>
+      <if test="mark != null">
+        #{mark,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2Example" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STATEJUDGMENTRECORD2
+    <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 STATEJUDGMENTRECORD2
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.statejudgment != null">
+        STATEJUDGMENT = #{record.statejudgment,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recodedate != null">
+        RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.score != null">
+        SCORE = #{record.score,jdbcType=DECIMAL},
+      </if>
+      <if test="record.formula != null">
+        FORMULA = #{record.formula,jdbcType=VARCHAR},
+      </if>
+      <if test="record.part1 != null">
+        PART1 = #{record.part1,jdbcType=VARCHAR},
+      </if>
+      <if test="record.part2 != null">
+        PART2 = #{record.part2,jdbcType=VARCHAR},
+      </if>
+      <if test="record.part3 != null">
+        PART3 = #{record.part3,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mark != null">
+        MARK = #{record.mark,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 STATEJUDGMENTRECORD2
+    set ID = #{record.id,jdbcType=DECIMAL},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      STATEJUDGMENT = #{record.statejudgment,jdbcType=VARCHAR},
+      RECODEDATE = #{record.recodedate,jdbcType=TIMESTAMP},
+      SCORE = #{record.score,jdbcType=DECIMAL},
+      FORMULA = #{record.formula,jdbcType=VARCHAR},
+      PART1 = #{record.part1,jdbcType=VARCHAR},
+      PART2 = #{record.part2,jdbcType=VARCHAR},
+      PART3 = #{record.part3,jdbcType=VARCHAR},
+      MARK = #{record.mark,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STATEJUDGMENTRECORD2
+    <set>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="statejudgment != null">
+        STATEJUDGMENT = #{statejudgment,jdbcType=VARCHAR},
+      </if>
+      <if test="recodedate != null">
+        RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="score != null">
+        SCORE = #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="formula != null">
+        FORMULA = #{formula,jdbcType=VARCHAR},
+      </if>
+      <if test="part1 != null">
+        PART1 = #{part1,jdbcType=VARCHAR},
+      </if>
+      <if test="part2 != null">
+        PART2 = #{part2,jdbcType=VARCHAR},
+      </if>
+      <if test="part3 != null">
+        PART3 = #{part3,jdbcType=VARCHAR},
+      </if>
+      <if test="mark != null">
+        MARK = #{mark,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Statejudgmentrecord2">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STATEJUDGMENTRECORD2
+    set WPID = #{wpid,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      STATEJUDGMENT = #{statejudgment,jdbcType=VARCHAR},
+      RECODEDATE = #{recodedate,jdbcType=TIMESTAMP},
+      SCORE = #{score,jdbcType=DECIMAL},
+      FORMULA = #{formula,jdbcType=VARCHAR},
+      PART1 = #{part1,jdbcType=VARCHAR},
+      PART2 = #{part2,jdbcType=VARCHAR},
+      PART3 = #{part3,jdbcType=VARCHAR},
+      MARK = #{mark,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>

+ 256 - 0
web/health-jn/src/main/resources/mybatis/auto/StatejudgmentrecordMapper.xml

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

+ 644 - 0
web/health-jn/src/main/resources/mybatis/auto/StatetransitionratesMapper.xml

@@ -0,0 +1,644 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.StatetransitionratesMapper">
+<!--  <cache type="org.mybatis.caches.ehcache.EhcacheCache">-->
+<!--    <property name="timeToIdleSeconds" value="60"></property>&lt;!&ndash;&lt;!&ndash;当缓存闲置60秒后销毁&ndash;&gt;&ndash;&gt;-->
+<!--    <property name="timeToLiveSeconds" value="160"></property>&lt;!&ndash;&lt;!&ndash;缓存存在160秒后销毁&ndash;&gt;&ndash;&gt;-->
+<!--    <property name="maxEntriesLocalHeap" value="1000"></property>-->
+<!--    <property name="maxEntriesLocalDisk" value="10000000"></property>-->
+<!--    <property name="memoryStoreEvictionPolicy" value="LRU"></property>-->
+<!--  </cache>-->
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Statetransitionrates">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="INTEGER" property="id" />
+    <result column="windpwoerId" jdbcType="VARCHAR" property="windpwoerid" />
+    <result column="projectId" jdbcType="VARCHAR" property="projectid" />
+    <result column="lineId" jdbcType="VARCHAR" property="lineid" />
+    <result column="windturbineId" jdbcType="VARCHAR" property="windturbineid" />
+    <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="timerate1" jdbcType="DECIMAL" property="timerate1" />
+    <result column="timerate2" jdbcType="DECIMAL" property="timerate2" />
+    <result column="timerate3" jdbcType="DECIMAL" property="timerate3" />
+    <result column="timerate4" jdbcType="DECIMAL" property="timerate4" />
+    <result column="timerate5" jdbcType="DECIMAL" property="timerate5" />
+    <result column="timerate6" jdbcType="DECIMAL" property="timerate6" />
+    <result column="timerate7" jdbcType="DECIMAL" property="timerate7" />
+    <result column="timerate8" jdbcType="DECIMAL" property="timerate8" />
+    <result column="timerate9" jdbcType="DECIMAL" property="timerate9" />
+    <result column="timerate10" jdbcType="DECIMAL" property="timerate10" />
+    <result column="timerate11" jdbcType="DECIMAL" property="timerate11" />
+    <result column="timerate12" jdbcType="DECIMAL" property="timerate12" />
+    <result column="timerate13" jdbcType="DECIMAL" property="timerate13" />
+    <result column="timerate14" jdbcType="DECIMAL" property="timerate14" />
+    <result column="timerate15" jdbcType="DECIMAL" property="timerate15" />
+    <result column="timerate16" jdbcType="DECIMAL" property="timerate16" />
+    <result column="timerate17" jdbcType="DECIMAL" property="timerate17" />
+    <result column="timerate18" jdbcType="DECIMAL" property="timerate18" />
+    <result column="timerate19" jdbcType="DECIMAL" property="timerate19" />
+    <result column="timerate20" jdbcType="DECIMAL" property="timerate20" />
+    <result column="timerate21" jdbcType="DECIMAL" property="timerate21" />
+    <result column="timerate22" jdbcType="DECIMAL" property="timerate22" />
+  </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, windpwoerId, projectId, lineId, windturbineId, recordDate, timerate1, timerate2, 
+    timerate3, timerate4, timerate5, timerate6, timerate7, timerate8, timerate9, timerate10, 
+    timerate11, timerate12, timerate13, timerate14, timerate15, timerate16, timerate17, 
+    timerate18, timerate19, timerate20, timerate21, timerate22
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample" 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 statetransitionrates
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from statetransitionrates
+    where ID = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from statetransitionrates
+    where ID = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from statetransitionrates
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into statetransitionrates (ID, windpwoerId, projectId, 
+      lineId, windturbineId, recordDate, 
+      timerate1, timerate2, timerate3, 
+      timerate4, timerate5, timerate6, 
+      timerate7, timerate8, timerate9, 
+      timerate10, timerate11, timerate12, 
+      timerate13, timerate14, timerate15, 
+      timerate16, timerate17, timerate18, 
+      timerate19, timerate20, timerate21, 
+      timerate22)
+    values (#{id,jdbcType=INTEGER}, #{windpwoerid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR}, 
+      #{lineid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP}, 
+      #{timerate1,jdbcType=DECIMAL}, #{timerate2,jdbcType=DECIMAL}, #{timerate3,jdbcType=DECIMAL}, 
+      #{timerate4,jdbcType=DECIMAL}, #{timerate5,jdbcType=DECIMAL}, #{timerate6,jdbcType=DECIMAL}, 
+      #{timerate7,jdbcType=DECIMAL}, #{timerate8,jdbcType=DECIMAL}, #{timerate9,jdbcType=DECIMAL}, 
+      #{timerate10,jdbcType=DECIMAL}, #{timerate11,jdbcType=DECIMAL}, #{timerate12,jdbcType=DECIMAL}, 
+      #{timerate13,jdbcType=DECIMAL}, #{timerate14,jdbcType=DECIMAL}, #{timerate15,jdbcType=DECIMAL}, 
+      #{timerate16,jdbcType=DECIMAL}, #{timerate17,jdbcType=DECIMAL}, #{timerate18,jdbcType=DECIMAL}, 
+      #{timerate19,jdbcType=DECIMAL}, #{timerate20,jdbcType=DECIMAL}, #{timerate21,jdbcType=DECIMAL}, 
+      #{timerate22,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into statetransitionrates
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="windpwoerid != null">
+        windpwoerId,
+      </if>
+      <if test="projectid != null">
+        projectId,
+      </if>
+      <if test="lineid != null">
+        lineId,
+      </if>
+      <if test="windturbineid != null">
+        windturbineId,
+      </if>
+      <if test="recorddate != null">
+        recordDate,
+      </if>
+      <if test="timerate1 != null">
+        timerate1,
+      </if>
+      <if test="timerate2 != null">
+        timerate2,
+      </if>
+      <if test="timerate3 != null">
+        timerate3,
+      </if>
+      <if test="timerate4 != null">
+        timerate4,
+      </if>
+      <if test="timerate5 != null">
+        timerate5,
+      </if>
+      <if test="timerate6 != null">
+        timerate6,
+      </if>
+      <if test="timerate7 != null">
+        timerate7,
+      </if>
+      <if test="timerate8 != null">
+        timerate8,
+      </if>
+      <if test="timerate9 != null">
+        timerate9,
+      </if>
+      <if test="timerate10 != null">
+        timerate10,
+      </if>
+      <if test="timerate11 != null">
+        timerate11,
+      </if>
+      <if test="timerate12 != null">
+        timerate12,
+      </if>
+      <if test="timerate13 != null">
+        timerate13,
+      </if>
+      <if test="timerate14 != null">
+        timerate14,
+      </if>
+      <if test="timerate15 != null">
+        timerate15,
+      </if>
+      <if test="timerate16 != null">
+        timerate16,
+      </if>
+      <if test="timerate17 != null">
+        timerate17,
+      </if>
+      <if test="timerate18 != null">
+        timerate18,
+      </if>
+      <if test="timerate19 != null">
+        timerate19,
+      </if>
+      <if test="timerate20 != null">
+        timerate20,
+      </if>
+      <if test="timerate21 != null">
+        timerate21,
+      </if>
+      <if test="timerate22 != null">
+        timerate22,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="windpwoerid != null">
+        #{windpwoerid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="timerate1 != null">
+        #{timerate1,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate2 != null">
+        #{timerate2,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate3 != null">
+        #{timerate3,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate4 != null">
+        #{timerate4,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate5 != null">
+        #{timerate5,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate6 != null">
+        #{timerate6,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate7 != null">
+        #{timerate7,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate8 != null">
+        #{timerate8,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate9 != null">
+        #{timerate9,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate10 != null">
+        #{timerate10,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate11 != null">
+        #{timerate11,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate12 != null">
+        #{timerate12,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate13 != null">
+        #{timerate13,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate14 != null">
+        #{timerate14,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate15 != null">
+        #{timerate15,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate16 != null">
+        #{timerate16,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate17 != null">
+        #{timerate17,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate18 != null">
+        #{timerate18,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate19 != null">
+        #{timerate19,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate20 != null">
+        #{timerate20,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate21 != null">
+        #{timerate21,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate22 != null">
+        #{timerate22,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StatetransitionratesExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from statetransitionrates
+    <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 statetransitionrates
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.windpwoerid != null">
+        windpwoerId = #{record.windpwoerid,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.windturbineid != null">
+        windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.recorddate != null">
+        recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.timerate1 != null">
+        timerate1 = #{record.timerate1,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate2 != null">
+        timerate2 = #{record.timerate2,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate3 != null">
+        timerate3 = #{record.timerate3,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate4 != null">
+        timerate4 = #{record.timerate4,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate5 != null">
+        timerate5 = #{record.timerate5,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate6 != null">
+        timerate6 = #{record.timerate6,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate7 != null">
+        timerate7 = #{record.timerate7,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate8 != null">
+        timerate8 = #{record.timerate8,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate9 != null">
+        timerate9 = #{record.timerate9,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate10 != null">
+        timerate10 = #{record.timerate10,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate11 != null">
+        timerate11 = #{record.timerate11,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate12 != null">
+        timerate12 = #{record.timerate12,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate13 != null">
+        timerate13 = #{record.timerate13,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate14 != null">
+        timerate14 = #{record.timerate14,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate15 != null">
+        timerate15 = #{record.timerate15,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate16 != null">
+        timerate16 = #{record.timerate16,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate17 != null">
+        timerate17 = #{record.timerate17,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate18 != null">
+        timerate18 = #{record.timerate18,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate19 != null">
+        timerate19 = #{record.timerate19,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate20 != null">
+        timerate20 = #{record.timerate20,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate21 != null">
+        timerate21 = #{record.timerate21,jdbcType=DECIMAL},
+      </if>
+      <if test="record.timerate22 != null">
+        timerate22 = #{record.timerate22,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update statetransitionrates
+    set ID = #{record.id,jdbcType=INTEGER},
+      windpwoerId = #{record.windpwoerid,jdbcType=VARCHAR},
+      projectId = #{record.projectid,jdbcType=VARCHAR},
+      lineId = #{record.lineid,jdbcType=VARCHAR},
+      windturbineId = #{record.windturbineid,jdbcType=VARCHAR},
+      recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
+      timerate1 = #{record.timerate1,jdbcType=DECIMAL},
+      timerate2 = #{record.timerate2,jdbcType=DECIMAL},
+      timerate3 = #{record.timerate3,jdbcType=DECIMAL},
+      timerate4 = #{record.timerate4,jdbcType=DECIMAL},
+      timerate5 = #{record.timerate5,jdbcType=DECIMAL},
+      timerate6 = #{record.timerate6,jdbcType=DECIMAL},
+      timerate7 = #{record.timerate7,jdbcType=DECIMAL},
+      timerate8 = #{record.timerate8,jdbcType=DECIMAL},
+      timerate9 = #{record.timerate9,jdbcType=DECIMAL},
+      timerate10 = #{record.timerate10,jdbcType=DECIMAL},
+      timerate11 = #{record.timerate11,jdbcType=DECIMAL},
+      timerate12 = #{record.timerate12,jdbcType=DECIMAL},
+      timerate13 = #{record.timerate13,jdbcType=DECIMAL},
+      timerate14 = #{record.timerate14,jdbcType=DECIMAL},
+      timerate15 = #{record.timerate15,jdbcType=DECIMAL},
+      timerate16 = #{record.timerate16,jdbcType=DECIMAL},
+      timerate17 = #{record.timerate17,jdbcType=DECIMAL},
+      timerate18 = #{record.timerate18,jdbcType=DECIMAL},
+      timerate19 = #{record.timerate19,jdbcType=DECIMAL},
+      timerate20 = #{record.timerate20,jdbcType=DECIMAL},
+      timerate21 = #{record.timerate21,jdbcType=DECIMAL},
+      timerate22 = #{record.timerate22,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update statetransitionrates
+    <set>
+      <if test="windpwoerid != null">
+        windpwoerId = #{windpwoerid,jdbcType=VARCHAR},
+      </if>
+      <if test="projectid != null">
+        projectId = #{projectid,jdbcType=VARCHAR},
+      </if>
+      <if test="lineid != null">
+        lineId = #{lineid,jdbcType=VARCHAR},
+      </if>
+      <if test="windturbineid != null">
+        windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      </if>
+      <if test="recorddate != null">
+        recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="timerate1 != null">
+        timerate1 = #{timerate1,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate2 != null">
+        timerate2 = #{timerate2,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate3 != null">
+        timerate3 = #{timerate3,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate4 != null">
+        timerate4 = #{timerate4,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate5 != null">
+        timerate5 = #{timerate5,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate6 != null">
+        timerate6 = #{timerate6,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate7 != null">
+        timerate7 = #{timerate7,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate8 != null">
+        timerate8 = #{timerate8,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate9 != null">
+        timerate9 = #{timerate9,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate10 != null">
+        timerate10 = #{timerate10,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate11 != null">
+        timerate11 = #{timerate11,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate12 != null">
+        timerate12 = #{timerate12,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate13 != null">
+        timerate13 = #{timerate13,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate14 != null">
+        timerate14 = #{timerate14,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate15 != null">
+        timerate15 = #{timerate15,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate16 != null">
+        timerate16 = #{timerate16,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate17 != null">
+        timerate17 = #{timerate17,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate18 != null">
+        timerate18 = #{timerate18,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate19 != null">
+        timerate19 = #{timerate19,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate20 != null">
+        timerate20 = #{timerate20,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate21 != null">
+        timerate21 = #{timerate21,jdbcType=DECIMAL},
+      </if>
+      <if test="timerate22 != null">
+        timerate22 = #{timerate22,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Statetransitionrates">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update statetransitionrates
+    set windpwoerId = #{windpwoerid,jdbcType=VARCHAR},
+      projectId = #{projectid,jdbcType=VARCHAR},
+      lineId = #{lineid,jdbcType=VARCHAR},
+      windturbineId = #{windturbineid,jdbcType=VARCHAR},
+      recordDate = #{recorddate,jdbcType=TIMESTAMP},
+      timerate1 = #{timerate1,jdbcType=DECIMAL},
+      timerate2 = #{timerate2,jdbcType=DECIMAL},
+      timerate3 = #{timerate3,jdbcType=DECIMAL},
+      timerate4 = #{timerate4,jdbcType=DECIMAL},
+      timerate5 = #{timerate5,jdbcType=DECIMAL},
+      timerate6 = #{timerate6,jdbcType=DECIMAL},
+      timerate7 = #{timerate7,jdbcType=DECIMAL},
+      timerate8 = #{timerate8,jdbcType=DECIMAL},
+      timerate9 = #{timerate9,jdbcType=DECIMAL},
+      timerate10 = #{timerate10,jdbcType=DECIMAL},
+      timerate11 = #{timerate11,jdbcType=DECIMAL},
+      timerate12 = #{timerate12,jdbcType=DECIMAL},
+      timerate13 = #{timerate13,jdbcType=DECIMAL},
+      timerate14 = #{timerate14,jdbcType=DECIMAL},
+      timerate15 = #{timerate15,jdbcType=DECIMAL},
+      timerate16 = #{timerate16,jdbcType=DECIMAL},
+      timerate17 = #{timerate17,jdbcType=DECIMAL},
+      timerate18 = #{timerate18,jdbcType=DECIMAL},
+      timerate19 = #{timerate19,jdbcType=DECIMAL},
+      timerate20 = #{timerate20,jdbcType=DECIMAL},
+      timerate21 = #{timerate21,jdbcType=DECIMAL},
+      timerate22 = #{timerate22,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=INTEGER}
+  </update>
+
+
+</mapper>

+ 335 - 0
web/health-jn/src/main/resources/mybatis/auto/StopAnalysisDetailMapper.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.StopAnalysisDetailMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.StopAnalysisDetail">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="MAINID" jdbcType="VARCHAR" property="mainid" />
+    <result column="PID" jdbcType="VARCHAR" property="pid" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="JUDEGVULUE" jdbcType="VARCHAR" property="judegvulue" />
+    <result column="URL" jdbcType="VARCHAR" property="url" />
+    <result column="ISPARENT" jdbcType="DECIMAL" property="isparent" />
+    <result column="RID" jdbcType="VARCHAR" property="rid" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+  </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, MAINID, PID, NAME, JUDEGVULUE, URL, ISPARENT, RID, WTID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailExample" 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 STOPANALYSISDETAIL
+    <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 STOPANALYSISDETAIL
+    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 STOPANALYSISDETAIL
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPANALYSISDETAIL
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.StopAnalysisDetail">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISDETAIL (ID, MAINID, PID, 
+      NAME, JUDEGVULUE, URL, 
+      ISPARENT, RID, WTID
+      )
+    values (#{id,jdbcType=VARCHAR}, #{mainid,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, 
+      #{name,jdbcType=VARCHAR}, #{judegvulue,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, 
+      #{isparent,jdbcType=DECIMAL}, #{rid,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.StopAnalysisDetail">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISDETAIL
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="mainid != null">
+        MAINID,
+      </if>
+      <if test="pid != null">
+        PID,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE,
+      </if>
+      <if test="url != null">
+        URL,
+      </if>
+      <if test="isparent != null">
+        ISPARENT,
+      </if>
+      <if test="rid != null">
+        RID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="pid != null">
+        #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        #{judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        #{url,jdbcType=VARCHAR},
+      </if>
+      <if test="isparent != null">
+        #{isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="rid != null">
+        #{rid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STOPANALYSISDETAIL
+    <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 STOPANALYSISDETAIL
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mainid != null">
+        MAINID = #{record.mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.pid != null">
+        PID = #{record.pid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.judegvulue != null">
+        JUDEGVULUE = #{record.judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="record.url != null">
+        URL = #{record.url,jdbcType=VARCHAR},
+      </if>
+      <if test="record.isparent != null">
+        ISPARENT = #{record.isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="record.rid != null">
+        RID = #{record.rid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,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 STOPANALYSISDETAIL
+    set ID = #{record.id,jdbcType=VARCHAR},
+      MAINID = #{record.mainid,jdbcType=VARCHAR},
+      PID = #{record.pid,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      JUDEGVULUE = #{record.judegvulue,jdbcType=VARCHAR},
+      URL = #{record.url,jdbcType=VARCHAR},
+      ISPARENT = #{record.isparent,jdbcType=DECIMAL},
+      RID = #{record.rid,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.StopAnalysisDetail">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISDETAIL
+    <set>
+      <if test="mainid != null">
+        MAINID = #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="pid != null">
+        PID = #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        URL = #{url,jdbcType=VARCHAR},
+      </if>
+      <if test="isparent != null">
+        ISPARENT = #{isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="rid != null">
+        RID = #{rid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.StopAnalysisDetail">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISDETAIL
+    set MAINID = #{mainid,jdbcType=VARCHAR},
+      PID = #{pid,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR},
+      URL = #{url,jdbcType=VARCHAR},
+      ISPARENT = #{isparent,jdbcType=DECIMAL},
+      RID = #{rid,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 311 - 0
web/health-jn/src/main/resources/mybatis/auto/StopAnalysisDetailVoMapper.xml

@@ -0,0 +1,311 @@
+<?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.StopAnalysisDetailVoMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.StopAnalysisDetailVo">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="PID" jdbcType="VARCHAR" property="pid" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="JUDEGVULUE" jdbcType="VARCHAR" property="judegvulue" />
+    <result column="URL" jdbcType="VARCHAR" property="url" />
+    <result column="ISPARENT" jdbcType="DECIMAL" property="isparent" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+  </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, PID, NAME, JUDEGVULUE, URL, ISPARENT, WTID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVoExample" 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 STOPANALYSISDETAILVO
+    <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 STOPANALYSISDETAILVO
+    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 STOPANALYSISDETAILVO
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVoExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPANALYSISDETAILVO
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVo">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISDETAILVO (ID, PID, NAME, 
+      JUDEGVULUE, URL, ISPARENT, 
+      WTID)
+    values (#{id,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
+      #{judegvulue,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{isparent,jdbcType=DECIMAL}, 
+      #{wtid,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVo">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISDETAILVO
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="pid != null">
+        PID,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE,
+      </if>
+      <if test="url != null">
+        URL,
+      </if>
+      <if test="isparent != null">
+        ISPARENT,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="pid != null">
+        #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        #{judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        #{url,jdbcType=VARCHAR},
+      </if>
+      <if test="isparent != null">
+        #{isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVoExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STOPANALYSISDETAILVO
+    <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 STOPANALYSISDETAILVO
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.pid != null">
+        PID = #{record.pid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.judegvulue != null">
+        JUDEGVULUE = #{record.judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="record.url != null">
+        URL = #{record.url,jdbcType=VARCHAR},
+      </if>
+      <if test="record.isparent != null">
+        ISPARENT = #{record.isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,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 STOPANALYSISDETAILVO
+    set ID = #{record.id,jdbcType=VARCHAR},
+      PID = #{record.pid,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      JUDEGVULUE = #{record.judegvulue,jdbcType=VARCHAR},
+      URL = #{record.url,jdbcType=VARCHAR},
+      ISPARENT = #{record.isparent,jdbcType=DECIMAL},
+      WTID = #{record.wtid,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVo">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISDETAILVO
+    <set>
+      <if test="pid != null">
+        PID = #{pid,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null">
+        URL = #{url,jdbcType=VARCHAR},
+      </if>
+      <if test="isparent != null">
+        ISPARENT = #{isparent,jdbcType=DECIMAL},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.StopAnalysisDetailVo">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISDETAILVO
+    set PID = #{pid,jdbcType=VARCHAR},
+      NAME = #{name,jdbcType=VARCHAR},
+      JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR},
+      URL = #{url,jdbcType=VARCHAR},
+      ISPARENT = #{isparent,jdbcType=DECIMAL},
+      WTID = #{wtid,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <delete id="deleteAll" >
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPANALYSISDETAILVO
+
+  </delete>
+</mapper>

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/StopAnalysisMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.StopAnalysisMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.StopAnalysis">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="RULEID" jdbcType="VARCHAR" property="ruleid" />
+    <result column="TIMETYPE" jdbcType="VARCHAR" property="timetype" />
+    <result column="JUDEGDATE" jdbcType="TIMESTAMP" property="judegdate" />
+  </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, WPID, RULEID, TIMETYPE, JUDEGDATE
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisExample" 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 STOPANALYSIS
+    <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 STOPANALYSIS
+    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 STOPANALYSIS
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPANALYSIS
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.StopAnalysis">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSIS (ID, WPID, RULEID, 
+      TIMETYPE, JUDEGDATE)
+    values (#{id,jdbcType=VARCHAR}, #{wpid,jdbcType=VARCHAR}, #{ruleid,jdbcType=VARCHAR}, 
+      #{timetype,jdbcType=VARCHAR}, #{judegdate,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.StopAnalysis">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSIS
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="ruleid != null">
+        RULEID,
+      </if>
+      <if test="timetype != null">
+        TIMETYPE,
+      </if>
+      <if test="judegdate != null">
+        JUDEGDATE,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="ruleid != null">
+        #{ruleid,jdbcType=VARCHAR},
+      </if>
+      <if test="timetype != null">
+        #{timetype,jdbcType=VARCHAR},
+      </if>
+      <if test="judegdate != null">
+        #{judegdate,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StopAnalysisExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STOPANALYSIS
+    <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 STOPANALYSIS
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ruleid != null">
+        RULEID = #{record.ruleid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.timetype != null">
+        TIMETYPE = #{record.timetype,jdbcType=VARCHAR},
+      </if>
+      <if test="record.judegdate != null">
+        JUDEGDATE = #{record.judegdate,jdbcType=TIMESTAMP},
+      </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 STOPANALYSIS
+    set ID = #{record.id,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      RULEID = #{record.ruleid,jdbcType=VARCHAR},
+      TIMETYPE = #{record.timetype,jdbcType=VARCHAR},
+      JUDEGDATE = #{record.judegdate,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.StopAnalysis">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSIS
+    <set>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="ruleid != null">
+        RULEID = #{ruleid,jdbcType=VARCHAR},
+      </if>
+      <if test="timetype != null">
+        TIMETYPE = #{timetype,jdbcType=VARCHAR},
+      </if>
+      <if test="judegdate != null">
+        JUDEGDATE = #{judegdate,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.StopAnalysis">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSIS
+    set WPID = #{wpid,jdbcType=VARCHAR},
+      RULEID = #{ruleid,jdbcType=VARCHAR},
+      TIMETYPE = #{timetype,jdbcType=VARCHAR},
+      JUDEGDATE = #{judegdate,jdbcType=TIMESTAMP}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/StopAnalysismainMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.StopAnalysismainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.StopAnalysismain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="MAINID" jdbcType="VARCHAR" property="mainid" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="MODELID" jdbcType="VARCHAR" property="modelid" />
+    <result column="JUDEGVULUE" jdbcType="VARCHAR" property="judegvulue" />
+  </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, MAINID, WTID, MODELID, JUDEGVULUE
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StopAnalysismainExample" 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 STOPANALYSISMAIN
+    <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 STOPANALYSISMAIN
+    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 STOPANALYSISMAIN
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StopAnalysismainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPANALYSISMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.StopAnalysismain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISMAIN (ID, MAINID, WTID, 
+      MODELID, JUDEGVULUE)
+    values (#{id,jdbcType=VARCHAR}, #{mainid,jdbcType=VARCHAR}, #{wtid,jdbcType=VARCHAR}, 
+      #{modelid,jdbcType=VARCHAR}, #{judegvulue,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.StopAnalysismain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPANALYSISMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="mainid != null">
+        MAINID,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="modelid != null">
+        MODELID,
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="mainid != null">
+        #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        #{judegvulue,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StopAnalysismainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STOPANALYSISMAIN
+    <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 STOPANALYSISMAIN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.mainid != null">
+        MAINID = #{record.mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.modelid != null">
+        MODELID = #{record.modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.judegvulue != null">
+        JUDEGVULUE = #{record.judegvulue,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 STOPANALYSISMAIN
+    set ID = #{record.id,jdbcType=VARCHAR},
+      MAINID = #{record.mainid,jdbcType=VARCHAR},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      MODELID = #{record.modelid,jdbcType=VARCHAR},
+      JUDEGVULUE = #{record.judegvulue,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.StopAnalysismain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISMAIN
+    <set>
+      <if test="mainid != null">
+        MAINID = #{mainid,jdbcType=VARCHAR},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="modelid != null">
+        MODELID = #{modelid,jdbcType=VARCHAR},
+      </if>
+      <if test="judegvulue != null">
+        JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.StopAnalysismain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPANALYSISMAIN
+    set MAINID = #{mainid,jdbcType=VARCHAR},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      MODELID = #{modelid,jdbcType=VARCHAR},
+      JUDEGVULUE = #{judegvulue,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 265 - 0
web/health-jn/src/main/resources/mybatis/auto/StopAnalysismainVoMapper.xml

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

+ 271 - 0
web/health-jn/src/main/resources/mybatis/auto/StoptypeMapper.xml

@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.StoptypeMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Stoptype">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="NAME" jdbcType="VARCHAR" property="name" />
+    <result column="ISPLAN" jdbcType="DECIMAL" property="isplan" />
+    <result column="PARENTID" jdbcType="VARCHAR" property="parentid" />
+    <result column="NWYS" jdbcType="VARCHAR" property="nwys" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, NAME, ISPLAN, PARENTID, NWYS
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.StoptypeExample" 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 STOPTYPE
+    <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 STOPTYPE
+    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 STOPTYPE
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.StoptypeExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from STOPTYPE
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Stoptype">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPTYPE (ID, NAME, ISPLAN, 
+      PARENTID, NWYS)
+    values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{isplan,jdbcType=DECIMAL}, 
+      #{parentid,jdbcType=VARCHAR}, #{nwys,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Stoptype">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into STOPTYPE
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="name != null">
+        NAME,
+      </if>
+      <if test="isplan != null">
+        ISPLAN,
+      </if>
+      <if test="parentid != null">
+        PARENTID,
+      </if>
+      <if test="nwys != null">
+        NWYS,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null">
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="isplan != null">
+        #{isplan,jdbcType=DECIMAL},
+      </if>
+      <if test="parentid != null">
+        #{parentid,jdbcType=VARCHAR},
+      </if>
+      <if test="nwys != null">
+        #{nwys,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.StoptypeExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from STOPTYPE
+    <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 STOPTYPE
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null">
+        NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.isplan != null">
+        ISPLAN = #{record.isplan,jdbcType=DECIMAL},
+      </if>
+      <if test="record.parentid != null">
+        PARENTID = #{record.parentid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.nwys != null">
+        NWYS = #{record.nwys,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 STOPTYPE
+    set ID = #{record.id,jdbcType=VARCHAR},
+      NAME = #{record.name,jdbcType=VARCHAR},
+      ISPLAN = #{record.isplan,jdbcType=DECIMAL},
+      PARENTID = #{record.parentid,jdbcType=VARCHAR},
+      NWYS = #{record.nwys,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Stoptype">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPTYPE
+    <set>
+      <if test="name != null">
+        NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="isplan != null">
+        ISPLAN = #{isplan,jdbcType=DECIMAL},
+      </if>
+      <if test="parentid != null">
+        PARENTID = #{parentid,jdbcType=VARCHAR},
+      </if>
+      <if test="nwys != null">
+        NWYS = #{nwys,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Stoptype">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update STOPTYPE
+    set NAME = #{name,jdbcType=VARCHAR},
+      ISPLAN = #{isplan,jdbcType=DECIMAL},
+      PARENTID = #{parentid,jdbcType=VARCHAR},
+      NWYS = #{nwys,jdbcType=VARCHAR}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 325 - 0
web/health-jn/src/main/resources/mybatis/auto/SysAreaMapper.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.SysAreaMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysArea">
+    <constructor>
+      <idArg column="id" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="area_code" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="city_code" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="area_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="short_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lng" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lat" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="sort" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="gmt_create" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="gmt_modified" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="memo" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="data_state" javaType="java.lang.Integer" jdbcType="INTEGER" />
+    </constructor>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    id, area_code, city_code, area_name, short_name, lng, lat, sort, gmt_create, gmt_modified, 
+    memo, data_state
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysAreaExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_area
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_area
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from t_sys_area
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysAreaExample">
+    delete from t_sys_area
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysArea">
+    insert into t_sys_area (id, area_code, city_code, 
+      area_name, short_name, lng, 
+      lat, sort, gmt_create, 
+      gmt_modified, memo, data_state
+      )
+    values (#{id,jdbcType=INTEGER}, #{areaCode,jdbcType=VARCHAR}, #{cityCode,jdbcType=VARCHAR}, 
+      #{areaName,jdbcType=VARCHAR}, #{shortName,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR}, 
+      #{lat,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, 
+      #{gmtModified,jdbcType=TIMESTAMP}, #{memo,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysArea">
+    insert into t_sys_area
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="areaCode != null">
+        area_code,
+      </if>
+      <if test="cityCode != null">
+        city_code,
+      </if>
+      <if test="areaName != null">
+        area_name,
+      </if>
+      <if test="shortName != null">
+        short_name,
+      </if>
+      <if test="lng != null">
+        lng,
+      </if>
+      <if test="lat != null">
+        lat,
+      </if>
+      <if test="sort != null">
+        sort,
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create,
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified,
+      </if>
+      <if test="memo != null">
+        memo,
+      </if>
+      <if test="dataState != null">
+        data_state,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="areaCode != null">
+        #{areaCode,jdbcType=VARCHAR},
+      </if>
+      <if test="cityCode != null">
+        #{cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="areaName != null">
+        #{areaName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        #{dataState,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysAreaExample" resultType="java.lang.Long">
+    select count(*) from t_sys_area
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_area
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.areaCode != null">
+        area_code = #{record.areaCode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cityCode != null">
+        city_code = #{record.cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.areaName != null">
+        area_name = #{record.areaName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shortName != null">
+        short_name = #{record.shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lng != null">
+        lng = #{record.lng,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lat != null">
+        lat = #{record.lat,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sort != null">
+        sort = #{record.sort,jdbcType=INTEGER},
+      </if>
+      <if test="record.gmtCreate != null">
+        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.gmtModified != null">
+        gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.memo != null">
+        memo = #{record.memo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.dataState != null">
+        data_state = #{record.dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update t_sys_area
+    set id = #{record.id,jdbcType=INTEGER},
+      area_code = #{record.areaCode,jdbcType=VARCHAR},
+      city_code = #{record.cityCode,jdbcType=VARCHAR},
+      area_name = #{record.areaName,jdbcType=VARCHAR},
+      short_name = #{record.shortName,jdbcType=VARCHAR},
+      lng = #{record.lng,jdbcType=VARCHAR},
+      lat = #{record.lat,jdbcType=VARCHAR},
+      sort = #{record.sort,jdbcType=INTEGER},
+      gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      memo = #{record.memo,jdbcType=VARCHAR},
+      data_state = #{record.dataState,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysArea">
+    update t_sys_area
+    <set>
+      <if test="areaCode != null">
+        area_code = #{areaCode,jdbcType=VARCHAR},
+      </if>
+      <if test="cityCode != null">
+        city_code = #{cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="areaName != null">
+        area_name = #{areaName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        short_name = #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        lng = #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        lat = #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        sort = #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        memo = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        data_state = #{dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysArea">
+    update t_sys_area
+    set area_code = #{areaCode,jdbcType=VARCHAR},
+      city_code = #{cityCode,jdbcType=VARCHAR},
+      area_name = #{areaName,jdbcType=VARCHAR},
+      short_name = #{shortName,jdbcType=VARCHAR},
+      lng = #{lng,jdbcType=VARCHAR},
+      lat = #{lat,jdbcType=VARCHAR},
+      sort = #{sort,jdbcType=INTEGER},
+      gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      memo = #{memo,jdbcType=VARCHAR},
+      data_state = #{dataState,jdbcType=INTEGER}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 325 - 0
web/health-jn/src/main/resources/mybatis/auto/SysCityMapper.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.SysCityMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysCity">
+    <constructor>
+      <idArg column="id" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="city_code" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="city_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="short_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="province_code" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lng" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lat" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="sort" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="gmt_create" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="gmt_modified" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="memo" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="data_state" javaType="java.lang.Integer" jdbcType="INTEGER" />
+    </constructor>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    id, city_code, city_name, short_name, province_code, lng, lat, sort, gmt_create, 
+    gmt_modified, memo, data_state
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysCityExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_city
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_city
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from t_sys_city
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysCityExample">
+    delete from t_sys_city
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysCity">
+    insert into t_sys_city (id, city_code, city_name, 
+      short_name, province_code, lng, 
+      lat, sort, gmt_create, 
+      gmt_modified, memo, data_state
+      )
+    values (#{id,jdbcType=INTEGER}, #{cityCode,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, 
+      #{shortName,jdbcType=VARCHAR}, #{provinceCode,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR}, 
+      #{lat,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, 
+      #{gmtModified,jdbcType=TIMESTAMP}, #{memo,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysCity">
+    insert into t_sys_city
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="cityCode != null">
+        city_code,
+      </if>
+      <if test="cityName != null">
+        city_name,
+      </if>
+      <if test="shortName != null">
+        short_name,
+      </if>
+      <if test="provinceCode != null">
+        province_code,
+      </if>
+      <if test="lng != null">
+        lng,
+      </if>
+      <if test="lat != null">
+        lat,
+      </if>
+      <if test="sort != null">
+        sort,
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create,
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified,
+      </if>
+      <if test="memo != null">
+        memo,
+      </if>
+      <if test="dataState != null">
+        data_state,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="cityCode != null">
+        #{cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="cityName != null">
+        #{cityName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="provinceCode != null">
+        #{provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        #{dataState,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysCityExample" resultType="java.lang.Long">
+    select count(*) from t_sys_city
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_city
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.cityCode != null">
+        city_code = #{record.cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cityName != null">
+        city_name = #{record.cityName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shortName != null">
+        short_name = #{record.shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.provinceCode != null">
+        province_code = #{record.provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lng != null">
+        lng = #{record.lng,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lat != null">
+        lat = #{record.lat,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sort != null">
+        sort = #{record.sort,jdbcType=INTEGER},
+      </if>
+      <if test="record.gmtCreate != null">
+        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.gmtModified != null">
+        gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.memo != null">
+        memo = #{record.memo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.dataState != null">
+        data_state = #{record.dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update t_sys_city
+    set id = #{record.id,jdbcType=INTEGER},
+      city_code = #{record.cityCode,jdbcType=VARCHAR},
+      city_name = #{record.cityName,jdbcType=VARCHAR},
+      short_name = #{record.shortName,jdbcType=VARCHAR},
+      province_code = #{record.provinceCode,jdbcType=VARCHAR},
+      lng = #{record.lng,jdbcType=VARCHAR},
+      lat = #{record.lat,jdbcType=VARCHAR},
+      sort = #{record.sort,jdbcType=INTEGER},
+      gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      memo = #{record.memo,jdbcType=VARCHAR},
+      data_state = #{record.dataState,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysCity">
+    update t_sys_city
+    <set>
+      <if test="cityCode != null">
+        city_code = #{cityCode,jdbcType=VARCHAR},
+      </if>
+      <if test="cityName != null">
+        city_name = #{cityName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        short_name = #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="provinceCode != null">
+        province_code = #{provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        lng = #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        lat = #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        sort = #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        memo = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        data_state = #{dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysCity">
+    update t_sys_city
+    set city_code = #{cityCode,jdbcType=VARCHAR},
+      city_name = #{cityName,jdbcType=VARCHAR},
+      short_name = #{shortName,jdbcType=VARCHAR},
+      province_code = #{provinceCode,jdbcType=VARCHAR},
+      lng = #{lng,jdbcType=VARCHAR},
+      lat = #{lat,jdbcType=VARCHAR},
+      sort = #{sort,jdbcType=INTEGER},
+      gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      memo = #{memo,jdbcType=VARCHAR},
+      data_state = #{dataState,jdbcType=INTEGER}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 318 - 0
web/health-jn/src/main/resources/mybatis/auto/SysDepartmentMapper.xml

@@ -0,0 +1,318 @@
+<?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.SysDepartmentMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysDepartment">
+    <result column="id" jdbcType="INTEGER" property="id" />
+    <result column="parent_id" jdbcType="VARCHAR" property="parentId" />
+    <result column="dept_name" jdbcType="VARCHAR" property="deptName" />
+    <result column="leader" jdbcType="VARCHAR" property="leader" />
+    <result column="phone" jdbcType="VARCHAR" property="phone" />
+    <result column="email" jdbcType="VARCHAR" property="email" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+    <result column="order_num" jdbcType="INTEGER" property="orderNum" />
+    <result column="childcount" jdbcType="INTEGER" property="childCount"/>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	parent_id,
+       	  	      	dept_name,
+       	  	      	leader,
+       	  	      	phone,
+       	  	      	email,
+       	  	      	status,
+       	  	    	order_num,
+       	  	    	(select count(1) from t_sys_department where parent_id=a.id) childcount
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysDepartmentExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_department a
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_department a
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from t_sys_department
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysDepartmentExample">
+    delete from t_sys_department
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysDepartment">
+    insert into t_sys_department (
+      	  	       id,
+       	  	       parent_id,
+       	  	       dept_name,
+       	  	       leader,
+       	  	       phone,
+       	  	       email,
+       	  	       status,
+       	  	       order_num
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=INTEGER},
+       	  	      	#{parentId,jdbcType=VARCHAR},
+       	  	      	#{deptName,jdbcType=VARCHAR},
+       	  	      	#{leader,jdbcType=VARCHAR},
+       	  	      	#{phone,jdbcType=VARCHAR},
+       	  	      	#{email,jdbcType=VARCHAR},
+       	  	      	#{status,jdbcType=INTEGER},
+       	  	    	#{orderNum,jdbcType=INTEGER}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysDepartment">
+    insert into t_sys_department
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="parentId != null">
+        parent_id,
+      </if>
+      
+         
+      <if test="deptName != null">
+        dept_name,
+      </if>
+      
+         
+      <if test="leader != null">
+        leader,
+      </if>
+      
+         
+      <if test="phone != null">
+        phone,
+      </if>
+      
+         
+      <if test="email != null">
+        email,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         
+      <if test="orderNum != null">
+        order_num,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+          <if test="parentId != null">
+        #{parentId,jdbcType=VARCHAR},
+      </if>
+          <if test="deptName != null">
+        #{deptName,jdbcType=VARCHAR},
+      </if>
+          <if test="leader != null">
+        #{leader,jdbcType=VARCHAR},
+      </if>
+          <if test="phone != null">
+        #{phone,jdbcType=VARCHAR},
+      </if>
+          <if test="email != null">
+        #{email,jdbcType=VARCHAR},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+          <if test="orderNum != null">
+        #{orderNum,jdbcType=INTEGER},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysDepartmentExample" resultType="java.lang.Long">
+    select count(*) from t_sys_department a
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_department
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+          <if test="record.parentId != null">
+        parent_id = #{record.parentId,jdbcType=VARCHAR},
+      </if>
+          <if test="record.deptName != null">
+        dept_name = #{record.deptName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.leader != null">
+        leader = #{record.leader,jdbcType=VARCHAR},
+      </if>
+          <if test="record.phone != null">
+        phone = #{record.phone,jdbcType=VARCHAR},
+      </if>
+          <if test="record.email != null">
+        email = #{record.email,jdbcType=VARCHAR},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=INTEGER},
+      </if>
+          <if test="record.orderNum != null">
+        order_num = #{record.orderNum,jdbcType=INTEGER},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_department
+    set
+            	     	 id = #{record.id,jdbcType=INTEGER},
+    	         	     	 parent_id = #{record.parentId,jdbcType=VARCHAR},
+    	         	     	 dept_name = #{record.deptName,jdbcType=VARCHAR},
+    	         	     	 leader = #{record.leader,jdbcType=VARCHAR},
+    	         	     	 phone = #{record.phone,jdbcType=VARCHAR},
+    	         	     	 email = #{record.email,jdbcType=VARCHAR},
+    	         	     	 status = #{record.status,jdbcType=INTEGER},
+    	         	     	 order_num = #{record.orderNum,jdbcType=INTEGER}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysDepartment">
+    update t_sys_department
+    <set>
+                          <if test="parentId != null">
+        parent_id = #{parentId,jdbcType=VARCHAR},
+      </if>
+                      <if test="deptName != null">
+        dept_name = #{deptName,jdbcType=VARCHAR},
+      </if>
+                      <if test="leader != null">
+        leader = #{leader,jdbcType=VARCHAR},
+      </if>
+                      <if test="phone != null">
+        phone = #{phone,jdbcType=VARCHAR},
+      </if>
+                      <if test="email != null">
+        email = #{email,jdbcType=VARCHAR},
+      </if>
+                      <if test="status != null">
+        status = #{status,jdbcType=INTEGER},
+      </if>
+                      <if test="orderNum != null">
+        order_num = #{orderNum,jdbcType=INTEGER},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=INTEGER}
+                                                                  
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysDepartment">
+    update t_sys_department
+    set 
+             	        	    	 			parent_id = #{parentId,jdbcType=VARCHAR},
+		     	        	    	 			dept_name = #{deptName,jdbcType=VARCHAR},
+		     	        	    	 			leader = #{leader,jdbcType=VARCHAR},
+		     	        	    	 			phone = #{phone,jdbcType=VARCHAR},
+		     	        	    	 			email = #{email,jdbcType=VARCHAR},
+		     	        	    	 			status = #{status,jdbcType=INTEGER},
+		     	        	    	 			order_num = #{orderNum,jdbcType=INTEGER}
+		     	        where 
+            id = #{id,jdbcType=INTEGER}
+                                                                    
+  </update>
+  
+                                            
+</mapper>

+ 296 - 0
web/health-jn/src/main/resources/mybatis/auto/SysNoticeMapper.xml

@@ -0,0 +1,296 @@
+<?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.SysNoticeMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysNotice">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="title" jdbcType="VARCHAR" property="title" />
+    <result column="content" jdbcType="VARCHAR" property="content" />
+    <result column="type" jdbcType="INTEGER" property="type" />
+    <result column="create_id" jdbcType="VARCHAR" property="createId" />
+    <result column="create_username" jdbcType="VARCHAR" property="createUsername" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	title,
+       	  	      	content,
+       	  	      	type,
+       	  	      	create_id,
+       	  	      	create_username,
+       	  	    	  	create_time
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysNoticeExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_notice
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_notice
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_notice
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysNoticeExample">
+    delete from t_sys_notice
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysNotice">
+    insert into t_sys_notice (
+      	  	       id,
+       	  	       title,
+       	  	       content,
+       	  	       type,
+       	  	       create_id,
+       	  	       create_username,
+       	  	    	  create_time
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{title,jdbcType=VARCHAR},
+       	  	      	#{content,jdbcType=VARCHAR},
+       	  	      	#{type,jdbcType=INTEGER},
+       	  	      	#{createId,jdbcType=VARCHAR},
+       	  	      	#{createUsername,jdbcType=VARCHAR},
+       	  	    	  #{createTime,jdbcType=TIMESTAMP}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysNotice">
+    insert into t_sys_notice
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="title != null">
+        title,
+      </if>
+      
+         
+      <if test="content != null">
+        content,
+      </if>
+      
+         
+      <if test="type != null">
+        type,
+      </if>
+      
+         
+      <if test="createId != null">
+        create_id,
+      </if>
+      
+         
+      <if test="createUsername != null">
+        create_username,
+      </if>
+      
+         
+      <if test="createTime != null">
+        create_time,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="title != null">
+        #{title,jdbcType=VARCHAR},
+      </if>
+          <if test="content != null">
+        #{content,jdbcType=VARCHAR},
+      </if>
+          <if test="type != null">
+        #{type,jdbcType=INTEGER},
+      </if>
+          <if test="createId != null">
+        #{createId,jdbcType=VARCHAR},
+      </if>
+          <if test="createUsername != null">
+        #{createUsername,jdbcType=VARCHAR},
+      </if>
+          <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysNoticeExample" resultType="java.lang.Long">
+    select count(*) from t_sys_notice
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_notice
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.title != null">
+        title = #{record.title,jdbcType=VARCHAR},
+      </if>
+          <if test="record.content != null">
+        content = #{record.content,jdbcType=VARCHAR},
+      </if>
+          <if test="record.type != null">
+        type = #{record.type,jdbcType=INTEGER},
+      </if>
+          <if test="record.createId != null">
+        create_id = #{record.createId,jdbcType=VARCHAR},
+      </if>
+          <if test="record.createUsername != null">
+        create_username = #{record.createUsername,jdbcType=VARCHAR},
+      </if>
+          <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_notice
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 title = #{record.title,jdbcType=VARCHAR},
+    	         	     	 content = #{record.content,jdbcType=VARCHAR},
+    	         	     	 type = #{record.type,jdbcType=INTEGER},
+    	         	     	 create_id = #{record.createId,jdbcType=VARCHAR},
+    	         	     	 create_username = #{record.createUsername,jdbcType=VARCHAR},
+    	         	     	 create_time = #{record.createTime,jdbcType=TIMESTAMP}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysNotice">
+    update t_sys_notice
+    <set>
+                          <if test="title != null">
+        title = #{title,jdbcType=VARCHAR},
+      </if>
+                      <if test="content != null">
+        content = #{content,jdbcType=VARCHAR},
+      </if>
+                      <if test="type != null">
+        type = #{type,jdbcType=INTEGER},
+      </if>
+                      <if test="createId != null">
+        create_id = #{createId,jdbcType=VARCHAR},
+      </if>
+                      <if test="createUsername != null">
+        create_username = #{createUsername,jdbcType=VARCHAR},
+      </if>
+                      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                          
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysNotice">
+    update t_sys_notice
+    set 
+             	        	    	 			title = #{title,jdbcType=VARCHAR},
+		     	        	    	 			content = #{content,jdbcType=VARCHAR},
+		     	        	    	 			type = #{type,jdbcType=INTEGER},
+		     	        	    	 			create_id = #{createId,jdbcType=VARCHAR},
+		     	        	    	 			create_username = #{createUsername,jdbcType=VARCHAR},
+		     	        	    	 			create_time = #{createTime,jdbcType=TIMESTAMP}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                            
+  </update>
+  
+                                       
+</mapper>

+ 236 - 0
web/health-jn/src/main/resources/mybatis/auto/SysNoticeUserMapper.xml

@@ -0,0 +1,236 @@
+<?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.SysNoticeUserMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysNoticeUser">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="notice_id" jdbcType="VARCHAR" property="noticeId" />
+    <result column="user_id" jdbcType="VARCHAR" property="userId" />
+    <result column="state" jdbcType="INTEGER" property="state" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	notice_id,
+       	  	      	user_id,
+       	  	    	  	state
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysNoticeUserExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_notice_user
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_notice_user
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_notice_user
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysNoticeUserExample">
+    delete from t_sys_notice_user
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysNoticeUser">
+    insert into t_sys_notice_user (
+      	  	       id,
+       	  	       notice_id,
+       	  	       user_id,
+       	  	    	  state
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{noticeId,jdbcType=VARCHAR},
+       	  	      	#{userId,jdbcType=VARCHAR},
+       	  	    	  #{state,jdbcType=INTEGER}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysNoticeUser">
+    insert into t_sys_notice_user
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="noticeId != null">
+        notice_id,
+      </if>
+      
+         
+      <if test="userId != null">
+        user_id,
+      </if>
+      
+         
+      <if test="state != null">
+        state,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="noticeId != null">
+        #{noticeId,jdbcType=VARCHAR},
+      </if>
+          <if test="userId != null">
+        #{userId,jdbcType=VARCHAR},
+      </if>
+          <if test="state != null">
+        #{state,jdbcType=INTEGER},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysNoticeUserExample" resultType="java.lang.Long">
+    select count(*) from t_sys_notice_user
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_notice_user
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.noticeId != null">
+        notice_id = #{record.noticeId,jdbcType=VARCHAR},
+      </if>
+          <if test="record.userId != null">
+        user_id = #{record.userId,jdbcType=VARCHAR},
+      </if>
+          <if test="record.state != null">
+        state = #{record.state,jdbcType=INTEGER},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_notice_user
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 notice_id = #{record.noticeId,jdbcType=VARCHAR},
+    	         	     	 user_id = #{record.userId,jdbcType=VARCHAR},
+    	         	     	 state = #{record.state,jdbcType=INTEGER}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysNoticeUser">
+    update t_sys_notice_user
+    <set>
+                          <if test="noticeId != null">
+        notice_id = #{noticeId,jdbcType=VARCHAR},
+      </if>
+                      <if test="userId != null">
+        user_id = #{userId,jdbcType=VARCHAR},
+      </if>
+                      <if test="state != null">
+        state = #{state,jdbcType=INTEGER},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                  
+  </update>
+
+      	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysNoticeUser">
+    update t_sys_notice_user
+    set 
+             	        	    	 			notice_id = #{noticeId,jdbcType=VARCHAR},
+		     	        	    	 			user_id = #{userId,jdbcType=VARCHAR},
+		     	        	    	 			state = #{state,jdbcType=INTEGER}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                    
+  </update>
+  
+                        
+</mapper>

+ 236 - 0
web/health-jn/src/main/resources/mybatis/auto/SysPositionMapper.xml

@@ -0,0 +1,236 @@
+<?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.SysPositionMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysPosition">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="post_name" jdbcType="VARCHAR" property="postName" />
+    <result column="order_num" jdbcType="INTEGER" property="orderNum" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	post_name,
+       	  	      	order_num,
+       	  	    	  	status
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysPositionExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_position
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_position
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_position
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysPositionExample">
+    delete from t_sys_position
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysPosition">
+    insert into t_sys_position (
+      	  	       id,
+       	  	       post_name,
+       	  	       order_num,
+       	  	    	  status
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{postName,jdbcType=VARCHAR},
+       	  	      	#{orderNum,jdbcType=INTEGER},
+       	  	    	  #{status,jdbcType=INTEGER}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysPosition">
+    insert into t_sys_position
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="postName != null">
+        post_name,
+      </if>
+      
+         
+      <if test="orderNum != null">
+        order_num,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="postName != null">
+        #{postName,jdbcType=VARCHAR},
+      </if>
+          <if test="orderNum != null">
+        #{orderNum,jdbcType=INTEGER},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysPositionExample" resultType="java.lang.Long">
+    select count(*) from t_sys_position
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_position
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.postName != null">
+        post_name = #{record.postName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.orderNum != null">
+        order_num = #{record.orderNum,jdbcType=INTEGER},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=INTEGER},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_position
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 post_name = #{record.postName,jdbcType=VARCHAR},
+    	         	     	 order_num = #{record.orderNum,jdbcType=INTEGER},
+    	         	     	 status = #{record.status,jdbcType=INTEGER}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysPosition">
+    update t_sys_position
+    <set>
+                          <if test="postName != null">
+        post_name = #{postName,jdbcType=VARCHAR},
+      </if>
+                      <if test="orderNum != null">
+        order_num = #{orderNum,jdbcType=INTEGER},
+      </if>
+                      <if test="status != null">
+        status = #{status,jdbcType=INTEGER},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                  
+  </update>
+
+      	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysPosition">
+    update t_sys_position
+    set 
+             	        	    	 			post_name = #{postName,jdbcType=VARCHAR},
+		     	        	    	 			order_num = #{orderNum,jdbcType=INTEGER},
+		     	        	    	 			status = #{status,jdbcType=INTEGER}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                    
+  </update>
+  
+                        
+</mapper>

+ 308 - 0
web/health-jn/src/main/resources/mybatis/auto/SysProvinceMapper.xml

@@ -0,0 +1,308 @@
+<?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.SysProvinceMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysProvince">
+    <constructor>
+      <idArg column="id" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="province_code" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="province_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="short_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lng" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="lat" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="sort" javaType="java.lang.Integer" jdbcType="INTEGER" />
+      <arg column="gmt_create" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="gmt_modified" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+      <arg column="memo" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="data_state" javaType="java.lang.Integer" jdbcType="INTEGER" />
+    </constructor>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    id, province_code, province_name, short_name, lng, lat, sort, gmt_create, gmt_modified, 
+    memo, data_state
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysProvinceExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_province
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_province
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from t_sys_province
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysProvinceExample">
+    delete from t_sys_province
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysProvince">
+    insert into t_sys_province (id, province_code, province_name, 
+      short_name, lng, lat, 
+      sort, gmt_create, gmt_modified, 
+      memo, data_state)
+    values (#{id,jdbcType=INTEGER}, #{provinceCode,jdbcType=VARCHAR}, #{provinceName,jdbcType=VARCHAR}, 
+      #{shortName,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR}, 
+      #{sort,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, 
+      #{memo,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysProvince">
+    insert into t_sys_province
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="provinceCode != null">
+        province_code,
+      </if>
+      <if test="provinceName != null">
+        province_name,
+      </if>
+      <if test="shortName != null">
+        short_name,
+      </if>
+      <if test="lng != null">
+        lng,
+      </if>
+      <if test="lat != null">
+        lat,
+      </if>
+      <if test="sort != null">
+        sort,
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create,
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified,
+      </if>
+      <if test="memo != null">
+        memo,
+      </if>
+      <if test="dataState != null">
+        data_state,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+      <if test="provinceCode != null">
+        #{provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="provinceName != null">
+        #{provinceName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        #{dataState,jdbcType=INTEGER},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysProvinceExample" resultType="java.lang.Long">
+    select count(*) from t_sys_province
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_province
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+      <if test="record.provinceCode != null">
+        province_code = #{record.provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="record.provinceName != null">
+        province_name = #{record.provinceName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.shortName != null">
+        short_name = #{record.shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lng != null">
+        lng = #{record.lng,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lat != null">
+        lat = #{record.lat,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sort != null">
+        sort = #{record.sort,jdbcType=INTEGER},
+      </if>
+      <if test="record.gmtCreate != null">
+        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.gmtModified != null">
+        gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.memo != null">
+        memo = #{record.memo,jdbcType=VARCHAR},
+      </if>
+      <if test="record.dataState != null">
+        data_state = #{record.dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update t_sys_province
+    set id = #{record.id,jdbcType=INTEGER},
+      province_code = #{record.provinceCode,jdbcType=VARCHAR},
+      province_name = #{record.provinceName,jdbcType=VARCHAR},
+      short_name = #{record.shortName,jdbcType=VARCHAR},
+      lng = #{record.lng,jdbcType=VARCHAR},
+      lat = #{record.lat,jdbcType=VARCHAR},
+      sort = #{record.sort,jdbcType=INTEGER},
+      gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      memo = #{record.memo,jdbcType=VARCHAR},
+      data_state = #{record.dataState,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysProvince">
+    update t_sys_province
+    <set>
+      <if test="provinceCode != null">
+        province_code = #{provinceCode,jdbcType=VARCHAR},
+      </if>
+      <if test="provinceName != null">
+        province_name = #{provinceName,jdbcType=VARCHAR},
+      </if>
+      <if test="shortName != null">
+        short_name = #{shortName,jdbcType=VARCHAR},
+      </if>
+      <if test="lng != null">
+        lng = #{lng,jdbcType=VARCHAR},
+      </if>
+      <if test="lat != null">
+        lat = #{lat,jdbcType=VARCHAR},
+      </if>
+      <if test="sort != null">
+        sort = #{sort,jdbcType=INTEGER},
+      </if>
+      <if test="gmtCreate != null">
+        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="gmtModified != null">
+        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        memo = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="dataState != null">
+        data_state = #{dataState,jdbcType=INTEGER},
+      </if>
+    </set>
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysProvince">
+    update t_sys_province
+    set province_code = #{provinceCode,jdbcType=VARCHAR},
+      province_name = #{provinceName,jdbcType=VARCHAR},
+      short_name = #{shortName,jdbcType=VARCHAR},
+      lng = #{lng,jdbcType=VARCHAR},
+      lat = #{lat,jdbcType=VARCHAR},
+      sort = #{sort,jdbcType=INTEGER},
+      gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      memo = #{memo,jdbcType=VARCHAR},
+      data_state = #{dataState,jdbcType=INTEGER}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 336 - 0
web/health-jn/src/main/resources/mybatis/auto/SysQuartzJobLogMapper.xml

@@ -0,0 +1,336 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.SysQuartzJobLogMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysQuartzJobLog">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="job_name" jdbcType="VARCHAR" property="jobName" />
+    <result column="job_group" jdbcType="VARCHAR" property="jobGroup" />
+    <result column="invoke_target" jdbcType="VARCHAR" property="invokeTarget" />
+    <result column="job_message" jdbcType="VARCHAR" property="jobMessage" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+    <result column="exception_info" jdbcType="VARCHAR" property="exceptionInfo" />
+    <result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
+    <result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	job_name,
+       	  	      	job_group,
+       	  	      	invoke_target,
+       	  	      	job_message,
+       	  	      	status,
+       	  	      	exception_info,
+       	  	      	start_time,
+       	  	    	  	end_time
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobLogExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_quartz_job_log
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_quartz_job_log
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_quartz_job_log
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobLogExample">
+    delete from t_sys_quartz_job_log
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysQuartzJobLog">
+    insert into t_sys_quartz_job_log (
+      	  	       id,
+       	  	       job_name,
+       	  	       job_group,
+       	  	       invoke_target,
+       	  	       job_message,
+       	  	       status,
+       	  	       exception_info,
+       	  	       start_time,
+       	  	    	  end_time
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{jobName,jdbcType=VARCHAR},
+       	  	      	#{jobGroup,jdbcType=VARCHAR},
+       	  	      	#{invokeTarget,jdbcType=VARCHAR},
+       	  	      	#{jobMessage,jdbcType=VARCHAR},
+       	  	      	#{status,jdbcType=INTEGER},
+       	  	      	#{exceptionInfo,jdbcType=VARCHAR},
+       	  	      	#{startTime,jdbcType=TIMESTAMP},
+       	  	    	  #{endTime,jdbcType=TIMESTAMP}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysQuartzJobLog">
+    insert into t_sys_quartz_job_log
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="jobName != null">
+        job_name,
+      </if>
+      
+         
+      <if test="jobGroup != null">
+        job_group,
+      </if>
+      
+         
+      <if test="invokeTarget != null">
+        invoke_target,
+      </if>
+      
+         
+      <if test="jobMessage != null">
+        job_message,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         
+      <if test="exceptionInfo != null">
+        exception_info,
+      </if>
+      
+         
+      <if test="startTime != null">
+        start_time,
+      </if>
+      
+         
+      <if test="endTime != null">
+        end_time,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="jobName != null">
+        #{jobName,jdbcType=VARCHAR},
+      </if>
+          <if test="jobGroup != null">
+        #{jobGroup,jdbcType=VARCHAR},
+      </if>
+          <if test="invokeTarget != null">
+        #{invokeTarget,jdbcType=VARCHAR},
+      </if>
+          <if test="jobMessage != null">
+        #{jobMessage,jdbcType=VARCHAR},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+          <if test="exceptionInfo != null">
+        #{exceptionInfo,jdbcType=VARCHAR},
+      </if>
+          <if test="startTime != null">
+        #{startTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="endTime != null">
+        #{endTime,jdbcType=TIMESTAMP},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobLogExample" resultType="java.lang.Long">
+    select count(*) from t_sys_quartz_job_log
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_quartz_job_log
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.jobName != null">
+        job_name = #{record.jobName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.jobGroup != null">
+        job_group = #{record.jobGroup,jdbcType=VARCHAR},
+      </if>
+          <if test="record.invokeTarget != null">
+        invoke_target = #{record.invokeTarget,jdbcType=VARCHAR},
+      </if>
+          <if test="record.jobMessage != null">
+        job_message = #{record.jobMessage,jdbcType=VARCHAR},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=INTEGER},
+      </if>
+          <if test="record.exceptionInfo != null">
+        exception_info = #{record.exceptionInfo,jdbcType=VARCHAR},
+      </if>
+          <if test="record.startTime != null">
+        start_time = #{record.startTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.endTime != null">
+        end_time = #{record.endTime,jdbcType=TIMESTAMP},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_quartz_job_log
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 job_name = #{record.jobName,jdbcType=VARCHAR},
+    	         	     	 job_group = #{record.jobGroup,jdbcType=VARCHAR},
+    	         	     	 invoke_target = #{record.invokeTarget,jdbcType=VARCHAR},
+    	         	     	 job_message = #{record.jobMessage,jdbcType=VARCHAR},
+    	         	     	 status = #{record.status,jdbcType=INTEGER},
+    	         	     	 exception_info = #{record.exceptionInfo,jdbcType=VARCHAR},
+    	         	     	 start_time = #{record.startTime,jdbcType=TIMESTAMP},
+    	         	     	 end_time = #{record.endTime,jdbcType=TIMESTAMP}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysQuartzJobLog">
+    update t_sys_quartz_job_log
+    <set>
+                          <if test="jobName != null">
+        job_name = #{jobName,jdbcType=VARCHAR},
+      </if>
+                      <if test="jobGroup != null">
+        job_group = #{jobGroup,jdbcType=VARCHAR},
+      </if>
+                      <if test="invokeTarget != null">
+        invoke_target = #{invokeTarget,jdbcType=VARCHAR},
+      </if>
+                      <if test="jobMessage != null">
+        job_message = #{jobMessage,jdbcType=VARCHAR},
+      </if>
+                      <if test="status != null">
+        status = #{status,jdbcType=INTEGER},
+      </if>
+                      <if test="exceptionInfo != null">
+        exception_info = #{exceptionInfo,jdbcType=VARCHAR},
+      </if>
+                      <if test="startTime != null">
+        start_time = #{startTime,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="endTime != null">
+        end_time = #{endTime,jdbcType=TIMESTAMP},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                          
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysQuartzJobLog">
+    update t_sys_quartz_job_log
+    set 
+             	        	    	 			job_name = #{jobName,jdbcType=VARCHAR},
+		     	        	    	 			job_group = #{jobGroup,jdbcType=VARCHAR},
+		     	        	    	 			invoke_target = #{invokeTarget,jdbcType=VARCHAR},
+		     	        	    	 			job_message = #{jobMessage,jdbcType=VARCHAR},
+		     	        	    	 			status = #{status,jdbcType=INTEGER},
+		     	        	    	 			exception_info = #{exceptionInfo,jdbcType=VARCHAR},
+		     	        	    	 			start_time = #{startTime,jdbcType=TIMESTAMP},
+		     	        	    	 			end_time = #{endTime,jdbcType=TIMESTAMP}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                            
+  </update>
+  
+                                                 
+</mapper>

+ 314 - 0
web/health-jn/src/main/resources/mybatis/auto/SysQuartzJobMapper.xml

@@ -0,0 +1,314 @@
+<?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.SysQuartzJobMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysQuartzJob">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="job_name" jdbcType="VARCHAR" property="jobName" />
+    <result column="job_group" jdbcType="VARCHAR" property="jobGroup" />
+    <result column="invoke_target" jdbcType="VARCHAR" property="invokeTarget" />
+    <result column="cron_expression" jdbcType="VARCHAR" property="cronExpression" />
+    <result column="misfire_policy" jdbcType="VARCHAR" property="misfirePolicy" />
+    <result column="concurrent" jdbcType="VARCHAR" property="concurrent" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	job_name,
+       	  	      	job_group,
+       	  	      	invoke_target,
+       	  	      	cron_expression,
+       	  	      	misfire_policy,
+       	  	      	concurrent,
+       	  	    	  	status
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_quartz_job
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_quartz_job
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_quartz_job
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobExample">
+    delete from t_sys_quartz_job
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysQuartzJob">
+    insert into t_sys_quartz_job (
+      	  	       id,
+       	  	       job_name,
+       	  	       job_group,
+       	  	       invoke_target,
+       	  	       cron_expression,
+       	  	       misfire_policy,
+       	  	       concurrent,
+       	  	    	  status
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{jobName,jdbcType=VARCHAR},
+       	  	      	#{jobGroup,jdbcType=VARCHAR},
+       	  	      	#{invokeTarget,jdbcType=VARCHAR},
+       	  	      	#{cronExpression,jdbcType=VARCHAR},
+       	  	      	#{misfirePolicy,jdbcType=VARCHAR},
+       	  	      	#{concurrent,jdbcType=VARCHAR},
+       	  	    	  #{status,jdbcType=INTEGER}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysQuartzJob">
+    insert into t_sys_quartz_job
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="jobName != null">
+        job_name,
+      </if>
+      
+         
+      <if test="jobGroup != null">
+        job_group,
+      </if>
+      
+         
+      <if test="invokeTarget != null">
+        invoke_target,
+      </if>
+      
+         
+      <if test="cronExpression != null">
+        cron_expression,
+      </if>
+      
+         
+      <if test="misfirePolicy != null">
+        misfire_policy,
+      </if>
+      
+         
+      <if test="concurrent != null">
+        concurrent,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="jobName != null">
+        #{jobName,jdbcType=VARCHAR},
+      </if>
+          <if test="jobGroup != null">
+        #{jobGroup,jdbcType=VARCHAR},
+      </if>
+          <if test="invokeTarget != null">
+        #{invokeTarget,jdbcType=VARCHAR},
+      </if>
+          <if test="cronExpression != null">
+        #{cronExpression,jdbcType=VARCHAR},
+      </if>
+          <if test="misfirePolicy != null">
+        #{misfirePolicy,jdbcType=VARCHAR},
+      </if>
+          <if test="concurrent != null">
+        #{concurrent,jdbcType=VARCHAR},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysQuartzJobExample" resultType="java.lang.Long">
+    select count(*) from t_sys_quartz_job
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_quartz_job
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.jobName != null">
+        job_name = #{record.jobName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.jobGroup != null">
+        job_group = #{record.jobGroup,jdbcType=VARCHAR},
+      </if>
+          <if test="record.invokeTarget != null">
+        invoke_target = #{record.invokeTarget,jdbcType=VARCHAR},
+      </if>
+          <if test="record.cronExpression != null">
+        cron_expression = #{record.cronExpression,jdbcType=VARCHAR},
+      </if>
+          <if test="record.misfirePolicy != null">
+        misfire_policy = #{record.misfirePolicy,jdbcType=VARCHAR},
+      </if>
+          <if test="record.concurrent != null">
+        concurrent = #{record.concurrent,jdbcType=VARCHAR},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=INTEGER},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_quartz_job
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 job_name = #{record.jobName,jdbcType=VARCHAR},
+    	         	     	 job_group = #{record.jobGroup,jdbcType=VARCHAR},
+    	         	     	 invoke_target = #{record.invokeTarget,jdbcType=VARCHAR},
+    	         	     	 cron_expression = #{record.cronExpression,jdbcType=VARCHAR},
+    	         	     	 misfire_policy = #{record.misfirePolicy,jdbcType=VARCHAR},
+    	         	     	 concurrent = #{record.concurrent,jdbcType=VARCHAR},
+    	         	     	 status = #{record.status,jdbcType=INTEGER}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysQuartzJob">
+    update t_sys_quartz_job
+    <set>
+      <if test="jobName != null">
+        job_name = #{jobName,jdbcType=VARCHAR},
+      </if>
+      <if test="jobGroup != null">
+        job_group = #{jobGroup,jdbcType=VARCHAR},
+      </if>
+      <if test="invokeTarget != null">
+        invoke_target = #{invokeTarget,jdbcType=VARCHAR},
+      </if>
+      <if test="cronExpression != null">
+        cron_expression = #{cronExpression,jdbcType=VARCHAR},
+      </if>
+      <if test="misfirePolicy != null">
+        misfire_policy = #{misfirePolicy,jdbcType=VARCHAR},
+      </if>
+      <if test="concurrent != null">
+        concurrent = #{concurrent,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        status = #{status,jdbcType=INTEGER},
+      </if>
+       </set>
+    	where id = #{id,jdbcType=VARCHAR}                                                    
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysQuartzJob">
+    update t_sys_quartz_job
+    set 
+             	        	    	 			job_name = #{jobName,jdbcType=VARCHAR},
+		     	        	    	 			job_group = #{jobGroup,jdbcType=VARCHAR},
+		     	        	    	 			invoke_target = #{invokeTarget,jdbcType=VARCHAR},
+		     	        	    	 			cron_expression = #{cronExpression,jdbcType=VARCHAR},
+		     	        	    	 			misfire_policy = #{misfirePolicy,jdbcType=VARCHAR},
+		     	        	    	 			concurrent = #{concurrent,jdbcType=VARCHAR},
+		     	        	    	 			status = #{status,jdbcType=INTEGER}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                    
+  </update>
+  
+                                            
+</mapper>

+ 396 - 0
web/health-jn/src/main/resources/mybatis/auto/SysStreetMapper.xml

@@ -0,0 +1,396 @@
+<?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.SysStreetMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.SysStreet">
+    <result column="id" jdbcType="INTEGER" property="id" />
+    <result column="street_code" jdbcType="VARCHAR" property="streetCode" />
+    <result column="area_code" jdbcType="VARCHAR" property="areaCode" />
+    <result column="street_name" jdbcType="VARCHAR" property="streetName" />
+    <result column="short_name" jdbcType="VARCHAR" property="shortName" />
+    <result column="lng" jdbcType="VARCHAR" property="lng" />
+    <result column="lat" jdbcType="VARCHAR" property="lat" />
+    <result column="sort" jdbcType="INTEGER" property="sort" />
+    <result column="gmt_create" jdbcType="TIMESTAMP" property="gmtCreate" />
+    <result column="gmt_modified" jdbcType="TIMESTAMP" property="gmtModified" />
+    <result column="memo" jdbcType="VARCHAR" property="memo" />
+    <result column="data_state" jdbcType="INTEGER" property="dataState" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	street_code,
+       	  	      	area_code,
+       	  	      	street_name,
+       	  	      	short_name,
+       	  	      	lng,
+       	  	      	lat,
+       	  	      	sort,
+       	  	      	gmt_create,
+       	  	      	gmt_modified,
+       	  	      	memo,
+       	  	    	  	data_state
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.SysStreetExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_street
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_street
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from t_sys_street
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.SysStreetExample">
+    delete from t_sys_street
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.SysStreet">
+    insert into t_sys_street (
+      	  	       id,
+       	  	       street_code,
+       	  	       area_code,
+       	  	       street_name,
+       	  	       short_name,
+       	  	       lng,
+       	  	       lat,
+       	  	       sort,
+       	  	       gmt_create,
+       	  	       gmt_modified,
+       	  	       memo,
+       	  	    	  data_state
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=INTEGER},
+       	  	      	#{streetCode,jdbcType=VARCHAR},
+       	  	      	#{areaCode,jdbcType=VARCHAR},
+       	  	      	#{streetName,jdbcType=VARCHAR},
+       	  	      	#{shortName,jdbcType=VARCHAR},
+       	  	      	#{lng,jdbcType=VARCHAR},
+       	  	      	#{lat,jdbcType=VARCHAR},
+       	  	      	#{sort,jdbcType=INTEGER},
+       	  	      	#{gmtCreate,jdbcType=TIMESTAMP},
+       	  	      	#{gmtModified,jdbcType=TIMESTAMP},
+       	  	      	#{memo,jdbcType=VARCHAR},
+       	  	    	  #{dataState,jdbcType=INTEGER}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.SysStreet">
+    insert into t_sys_street
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="streetCode != null">
+        street_code,
+      </if>
+      
+         
+      <if test="areaCode != null">
+        area_code,
+      </if>
+      
+         
+      <if test="streetName != null">
+        street_name,
+      </if>
+      
+         
+      <if test="shortName != null">
+        short_name,
+      </if>
+      
+         
+      <if test="lng != null">
+        lng,
+      </if>
+      
+         
+      <if test="lat != null">
+        lat,
+      </if>
+      
+         
+      <if test="sort != null">
+        sort,
+      </if>
+      
+         
+      <if test="gmtCreate != null">
+        gmt_create,
+      </if>
+      
+         
+      <if test="gmtModified != null">
+        gmt_modified,
+      </if>
+      
+         
+      <if test="memo != null">
+        memo,
+      </if>
+      
+         
+      <if test="dataState != null">
+        data_state,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=INTEGER},
+      </if>
+          <if test="streetCode != null">
+        #{streetCode,jdbcType=VARCHAR},
+      </if>
+          <if test="areaCode != null">
+        #{areaCode,jdbcType=VARCHAR},
+      </if>
+          <if test="streetName != null">
+        #{streetName,jdbcType=VARCHAR},
+      </if>
+          <if test="shortName != null">
+        #{shortName,jdbcType=VARCHAR},
+      </if>
+          <if test="lng != null">
+        #{lng,jdbcType=VARCHAR},
+      </if>
+          <if test="lat != null">
+        #{lat,jdbcType=VARCHAR},
+      </if>
+          <if test="sort != null">
+        #{sort,jdbcType=INTEGER},
+      </if>
+          <if test="gmtCreate != null">
+        #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+          <if test="gmtModified != null">
+        #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+          <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+          <if test="dataState != null">
+        #{dataState,jdbcType=INTEGER},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.SysStreetExample" resultType="java.lang.Long">
+    select count(*) from t_sys_street
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_street
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=INTEGER},
+      </if>
+          <if test="record.streetCode != null">
+        street_code = #{record.streetCode,jdbcType=VARCHAR},
+      </if>
+          <if test="record.areaCode != null">
+        area_code = #{record.areaCode,jdbcType=VARCHAR},
+      </if>
+          <if test="record.streetName != null">
+        street_name = #{record.streetName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.shortName != null">
+        short_name = #{record.shortName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.lng != null">
+        lng = #{record.lng,jdbcType=VARCHAR},
+      </if>
+          <if test="record.lat != null">
+        lat = #{record.lat,jdbcType=VARCHAR},
+      </if>
+          <if test="record.sort != null">
+        sort = #{record.sort,jdbcType=INTEGER},
+      </if>
+          <if test="record.gmtCreate != null">
+        gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.gmtModified != null">
+        gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.memo != null">
+        memo = #{record.memo,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dataState != null">
+        data_state = #{record.dataState,jdbcType=INTEGER},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_street
+    set
+            	     	 id = #{record.id,jdbcType=INTEGER},
+    	         	     	 street_code = #{record.streetCode,jdbcType=VARCHAR},
+    	         	     	 area_code = #{record.areaCode,jdbcType=VARCHAR},
+    	         	     	 street_name = #{record.streetName,jdbcType=VARCHAR},
+    	         	     	 short_name = #{record.shortName,jdbcType=VARCHAR},
+    	         	     	 lng = #{record.lng,jdbcType=VARCHAR},
+    	         	     	 lat = #{record.lat,jdbcType=VARCHAR},
+    	         	     	 sort = #{record.sort,jdbcType=INTEGER},
+    	         	     	 gmt_create = #{record.gmtCreate,jdbcType=TIMESTAMP},
+    	         	     	 gmt_modified = #{record.gmtModified,jdbcType=TIMESTAMP},
+    	         	     	 memo = #{record.memo,jdbcType=VARCHAR},
+    	         	     	 data_state = #{record.dataState,jdbcType=INTEGER}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.SysStreet">
+    update t_sys_street
+    <set>
+                          <if test="streetCode != null">
+        street_code = #{streetCode,jdbcType=VARCHAR},
+      </if>
+                      <if test="areaCode != null">
+        area_code = #{areaCode,jdbcType=VARCHAR},
+      </if>
+                      <if test="streetName != null">
+        street_name = #{streetName,jdbcType=VARCHAR},
+      </if>
+                      <if test="shortName != null">
+        short_name = #{shortName,jdbcType=VARCHAR},
+      </if>
+                      <if test="lng != null">
+        lng = #{lng,jdbcType=VARCHAR},
+      </if>
+                      <if test="lat != null">
+        lat = #{lat,jdbcType=VARCHAR},
+      </if>
+                      <if test="sort != null">
+        sort = #{sort,jdbcType=INTEGER},
+      </if>
+                      <if test="gmtCreate != null">
+        gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="gmtModified != null">
+        gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="memo != null">
+        memo = #{memo,jdbcType=VARCHAR},
+      </if>
+                      <if test="dataState != null">
+        data_state = #{dataState,jdbcType=INTEGER},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=INTEGER}
+                                                                                                  
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.SysStreet">
+    update t_sys_street
+    set 
+             	        	    	 			street_code = #{streetCode,jdbcType=VARCHAR},
+		     	        	    	 			area_code = #{areaCode,jdbcType=VARCHAR},
+		     	        	    	 			street_name = #{streetName,jdbcType=VARCHAR},
+		     	        	    	 			short_name = #{shortName,jdbcType=VARCHAR},
+		     	        	    	 			lng = #{lng,jdbcType=VARCHAR},
+		     	        	    	 			lat = #{lat,jdbcType=VARCHAR},
+		     	        	    	 			sort = #{sort,jdbcType=INTEGER},
+		     	        	    	 			gmt_create = #{gmtCreate,jdbcType=TIMESTAMP},
+		     	        	    	 			gmt_modified = #{gmtModified,jdbcType=TIMESTAMP},
+		     	        	    	 			memo = #{memo,jdbcType=VARCHAR},
+		     	        	    	 			data_state = #{dataState,jdbcType=INTEGER}
+		     	        where 
+            id = #{id,jdbcType=INTEGER}
+                                                                                                    
+  </update>
+  
+                                                                
+</mapper>

+ 437 - 0
web/health-jn/src/main/resources/mybatis/auto/TSysDictDataMapper.xml

@@ -0,0 +1,437 @@
+<?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.TSysDictDataMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TSysDictData">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="dict_sort" jdbcType="INTEGER" property="dictSort" />
+    <result column="dict_label" jdbcType="VARCHAR" property="dictLabel" />
+    <result column="dict_value" jdbcType="VARCHAR" property="dictValue" />
+    <result column="dict_type" jdbcType="VARCHAR" property="dictType" />
+    <result column="css_class" jdbcType="VARCHAR" property="cssClass" />
+    <result column="list_class" jdbcType="VARCHAR" property="listClass" />
+    <result column="is_default" jdbcType="CHAR" property="isDefault" />
+    <result column="status" jdbcType="CHAR" property="status" />
+    <result column="create_by" jdbcType="VARCHAR" property="createBy" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="update_by" jdbcType="VARCHAR" property="updateBy" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="remark" jdbcType="VARCHAR" property="remark" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	dict_sort,
+       	  	      	dict_label,
+       	  	      	dict_value,
+       	  	      	dict_type,
+       	  	      	css_class,
+       	  	      	list_class,
+       	  	      	is_default,
+       	  	      	status,
+       	  	      	create_by,
+       	  	      	create_time,
+       	  	      	update_by,
+       	  	      	update_time,
+       	  	    	  	remark
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.TSysDictDataExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_dict_data
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_dict_data
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_dict_data
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TSysDictDataExample">
+    delete from t_sys_dict_data
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TSysDictData">
+    insert into t_sys_dict_data (
+      	  	       id,
+       	  	       dict_sort,
+       	  	       dict_label,
+       	  	       dict_value,
+       	  	       dict_type,
+       	  	       css_class,
+       	  	       list_class,
+       	  	       is_default,
+       	  	       status,
+       	  	       create_by,
+       	  	       create_time,
+       	  	       update_by,
+       	  	       update_time,
+       	  	    	  remark
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{dictSort,jdbcType=INTEGER},
+       	  	      	#{dictLabel,jdbcType=VARCHAR},
+       	  	      	#{dictValue,jdbcType=VARCHAR},
+       	  	      	#{dictType,jdbcType=VARCHAR},
+       	  	      	#{cssClass,jdbcType=VARCHAR},
+       	  	      	#{listClass,jdbcType=VARCHAR},
+       	  	      	#{isDefault,jdbcType=CHAR},
+       	  	      	#{status,jdbcType=CHAR},
+       	  	      	#{createBy,jdbcType=VARCHAR},
+       	  	      	#{createTime,jdbcType=TIMESTAMP},
+       	  	      	#{updateBy,jdbcType=VARCHAR},
+       	  	      	#{updateTime,jdbcType=TIMESTAMP},
+       	  	    	  #{remark,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TSysDictData">
+    insert into t_sys_dict_data
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="dictSort != null">
+        dict_sort,
+      </if>
+      
+         
+      <if test="dictLabel != null">
+        dict_label,
+      </if>
+      
+         
+      <if test="dictValue != null">
+        dict_value,
+      </if>
+      
+         
+      <if test="dictType != null">
+        dict_type,
+      </if>
+      
+         
+      <if test="cssClass != null">
+        css_class,
+      </if>
+      
+         
+      <if test="listClass != null">
+        list_class,
+      </if>
+      
+         
+      <if test="isDefault != null">
+        is_default,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         
+      <if test="createBy != null">
+        create_by,
+      </if>
+      
+         
+      <if test="createTime != null">
+        create_time,
+      </if>
+      
+         
+      <if test="updateBy != null">
+        update_by,
+      </if>
+      
+         
+      <if test="updateTime != null">
+        update_time,
+      </if>
+      
+         
+      <if test="remark != null">
+        remark,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="dictSort != null">
+        #{dictSort,jdbcType=INTEGER},
+      </if>
+          <if test="dictLabel != null">
+        #{dictLabel,jdbcType=VARCHAR},
+      </if>
+          <if test="dictValue != null">
+        #{dictValue,jdbcType=VARCHAR},
+      </if>
+          <if test="dictType != null">
+        #{dictType,jdbcType=VARCHAR},
+      </if>
+          <if test="cssClass != null">
+        #{cssClass,jdbcType=VARCHAR},
+      </if>
+          <if test="listClass != null">
+        #{listClass,jdbcType=VARCHAR},
+      </if>
+          <if test="isDefault != null">
+        #{isDefault,jdbcType=CHAR},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=CHAR},
+      </if>
+          <if test="createBy != null">
+        #{createBy,jdbcType=VARCHAR},
+      </if>
+          <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="updateBy != null">
+        #{updateBy,jdbcType=VARCHAR},
+      </if>
+          <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="remark != null">
+        #{remark,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TSysDictDataExample" resultType="java.lang.Long">
+    select count(*) from t_sys_dict_data
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_dict_data
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dictSort != null">
+        dict_sort = #{record.dictSort,jdbcType=INTEGER},
+      </if>
+          <if test="record.dictLabel != null">
+        dict_label = #{record.dictLabel,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dictValue != null">
+        dict_value = #{record.dictValue,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dictType != null">
+        dict_type = #{record.dictType,jdbcType=VARCHAR},
+      </if>
+          <if test="record.cssClass != null">
+        css_class = #{record.cssClass,jdbcType=VARCHAR},
+      </if>
+          <if test="record.listClass != null">
+        list_class = #{record.listClass,jdbcType=VARCHAR},
+      </if>
+          <if test="record.isDefault != null">
+        is_default = #{record.isDefault,jdbcType=CHAR},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=CHAR},
+      </if>
+          <if test="record.createBy != null">
+        create_by = #{record.createBy,jdbcType=VARCHAR},
+      </if>
+          <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.updateBy != null">
+        update_by = #{record.updateBy,jdbcType=VARCHAR},
+      </if>
+          <if test="record.updateTime != null">
+        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.remark != null">
+        remark = #{record.remark,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_dict_data
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 dict_sort = #{record.dictSort,jdbcType=INTEGER},
+    	         	     	 dict_label = #{record.dictLabel,jdbcType=VARCHAR},
+    	         	     	 dict_value = #{record.dictValue,jdbcType=VARCHAR},
+    	         	     	 dict_type = #{record.dictType,jdbcType=VARCHAR},
+    	         	     	 css_class = #{record.cssClass,jdbcType=VARCHAR},
+    	         	     	 list_class = #{record.listClass,jdbcType=VARCHAR},
+    	         	     	 is_default = #{record.isDefault,jdbcType=CHAR},
+    	         	     	 status = #{record.status,jdbcType=CHAR},
+    	         	     	 create_by = #{record.createBy,jdbcType=VARCHAR},
+    	         	     	 create_time = #{record.createTime,jdbcType=TIMESTAMP},
+    	         	     	 update_by = #{record.updateBy,jdbcType=VARCHAR},
+    	         	     	 update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+    	         	     	 remark = #{record.remark,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TSysDictData">
+    update t_sys_dict_data
+    <set>
+                         
+                      <if test="dictSort != null">
+        dict_sort = #{dictSort,jdbcType=INTEGER},
+      </if>
+                      <if test="dictLabel != null">
+        dict_label = #{dictLabel,jdbcType=VARCHAR},
+      </if>
+                      <if test="dictValue != null">
+        dict_value = #{dictValue,jdbcType=VARCHAR},
+      </if>
+                      <if test="dictType != null">
+        dict_type = #{dictType,jdbcType=VARCHAR},
+      </if>
+                      <if test="cssClass != null">
+        css_class = #{cssClass,jdbcType=VARCHAR},
+      </if>
+                      <if test="listClass != null">
+        list_class = #{listClass,jdbcType=VARCHAR},
+      </if>
+                      <if test="isDefault != null">
+        is_default = #{isDefault,jdbcType=CHAR},
+      </if>
+                      <if test="status != null">
+        status = #{status,jdbcType=CHAR},
+      </if>
+                      <if test="createBy != null">
+        create_by = #{createBy,jdbcType=VARCHAR},
+      </if>
+                      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="updateBy != null">
+        update_by = #{updateBy,jdbcType=VARCHAR},
+      </if>
+                      <if test="updateTime != null">
+        update_time = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="remark != null">
+        remark = #{remark,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                                                                          
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TSysDictData">
+    update t_sys_dict_data
+    set 
+		     	        	    	 			dict_sort = #{dictSort,jdbcType=INTEGER},
+		     	        	    	 			dict_label = #{dictLabel,jdbcType=VARCHAR},
+		     	        	    	 			dict_value = #{dictValue,jdbcType=VARCHAR},
+		     	        	    	 			dict_type = #{dictType,jdbcType=VARCHAR},
+		     	        	    	 			css_class = #{cssClass,jdbcType=VARCHAR},
+		     	        	    	 			list_class = #{listClass,jdbcType=VARCHAR},
+		     	        	    	 			is_default = #{isDefault,jdbcType=CHAR},
+		     	        	    	 			status = #{status,jdbcType=CHAR},
+		     	        	    	 			create_by = #{createBy,jdbcType=VARCHAR},
+		     	        	    	 			create_time = #{createTime,jdbcType=TIMESTAMP},
+		     	        	    	 			update_by = #{updateBy,jdbcType=VARCHAR},
+		     	        	    	 			update_time = #{updateTime,jdbcType=TIMESTAMP},
+		     	        	    	 			remark = #{remark,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                                                                            
+  </update>
+  
+                                                                               
+</mapper>

+ 336 - 0
web/health-jn/src/main/resources/mybatis/auto/TSysDictTypeMapper.xml

@@ -0,0 +1,336 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.gyee.frame.mapper.auto.TSysDictTypeMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TSysDictType">
+    <result column="id" jdbcType="VARCHAR" property="id" />
+    <result column="dict_name" jdbcType="VARCHAR" property="dictName" />
+    <result column="dict_type" jdbcType="VARCHAR" property="dictType" />
+    <result column="status" jdbcType="CHAR" property="status" />
+    <result column="create_by" jdbcType="VARCHAR" property="createBy" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="update_by" jdbcType="VARCHAR" property="updateBy" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="remark" jdbcType="VARCHAR" property="remark" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+	  	  	      	id,
+       	  	      	dict_name,
+       	  	      	dict_type,
+       	  	      	status,
+       	  	      	create_by,
+       	  	      	create_time,
+       	  	      	update_by,
+       	  	      	update_time,
+       	  	    	  	remark
+       	</sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.TSysDictTypeExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_dict_type
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_dict_type
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_dict_type
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TSysDictTypeExample">
+    delete from t_sys_dict_type
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TSysDictType">
+    insert into t_sys_dict_type (
+      	  	       id,
+       	  	       dict_name,
+       	  	       dict_type,
+       	  	       status,
+       	  	       create_by,
+       	  	       create_time,
+       	  	       update_by,
+       	  	       update_time,
+       	  	    	  remark
+       	    )
+    values (
+	  	  	      	#{id,jdbcType=VARCHAR},
+       	  	      	#{dictName,jdbcType=VARCHAR},
+       	  	      	#{dictType,jdbcType=VARCHAR},
+       	  	      	#{status,jdbcType=CHAR},
+       	  	      	#{createBy,jdbcType=VARCHAR},
+       	  	      	#{createTime,jdbcType=TIMESTAMP},
+       	  	      	#{updateBy,jdbcType=VARCHAR},
+       	  	      	#{updateTime,jdbcType=TIMESTAMP},
+       	  	    	  #{remark,jdbcType=VARCHAR}
+       	    )
+  </insert>
+  
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TSysDictType">
+    insert into t_sys_dict_type
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+          
+      <if test="id != null">
+        id,
+      </if>
+      
+         
+      <if test="dictName != null">
+        dict_name,
+      </if>
+      
+         
+      <if test="dictType != null">
+        dict_type,
+      </if>
+      
+         
+      <if test="status != null">
+        status,
+      </if>
+      
+         
+      <if test="createBy != null">
+        create_by,
+      </if>
+      
+         
+      <if test="createTime != null">
+        create_time,
+      </if>
+      
+         
+      <if test="updateBy != null">
+        update_by,
+      </if>
+      
+         
+      <if test="updateTime != null">
+        update_time,
+      </if>
+      
+         
+      <if test="remark != null">
+        remark,
+      </if>
+      
+         </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+          <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+          <if test="dictName != null">
+        #{dictName,jdbcType=VARCHAR},
+      </if>
+          <if test="dictType != null">
+        #{dictType,jdbcType=VARCHAR},
+      </if>
+          <if test="status != null">
+        #{status,jdbcType=CHAR},
+      </if>
+          <if test="createBy != null">
+        #{createBy,jdbcType=VARCHAR},
+      </if>
+          <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="updateBy != null">
+        #{updateBy,jdbcType=VARCHAR},
+      </if>
+          <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="remark != null">
+        #{remark,jdbcType=VARCHAR},
+      </if>
+        </trim>
+  </insert>
+  
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TSysDictTypeExample" resultType="java.lang.Long">
+    select count(*) from t_sys_dict_type
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_dict_type
+    <set>
+          <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dictName != null">
+        dict_name = #{record.dictName,jdbcType=VARCHAR},
+      </if>
+          <if test="record.dictType != null">
+        dict_type = #{record.dictType,jdbcType=VARCHAR},
+      </if>
+          <if test="record.status != null">
+        status = #{record.status,jdbcType=CHAR},
+      </if>
+          <if test="record.createBy != null">
+        create_by = #{record.createBy,jdbcType=VARCHAR},
+      </if>
+          <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.updateBy != null">
+        update_by = #{record.updateBy,jdbcType=VARCHAR},
+      </if>
+          <if test="record.updateTime != null">
+        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+      </if>
+          <if test="record.remark != null">
+        remark = #{record.remark,jdbcType=VARCHAR},
+      </if>
+         
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+  <update id="updateByExample" parameterType="map">
+    update t_sys_dict_type
+    set
+            	     	 id = #{record.id,jdbcType=VARCHAR},
+    	         	     	 dict_name = #{record.dictName,jdbcType=VARCHAR},
+    	         	     	 dict_type = #{record.dictType,jdbcType=VARCHAR},
+    	         	     	 status = #{record.status,jdbcType=CHAR},
+    	         	     	 create_by = #{record.createBy,jdbcType=VARCHAR},
+    	         	     	 create_time = #{record.createTime,jdbcType=TIMESTAMP},
+    	         	     	 update_by = #{record.updateBy,jdbcType=VARCHAR},
+    	         	     	 update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+    	         	     	 remark = #{record.remark,jdbcType=VARCHAR}
+    	         <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  
+  
+      <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TSysDictType">
+    update t_sys_dict_type
+    <set>
+                          <if test="dictName != null">
+        dict_name = #{dictName,jdbcType=VARCHAR},
+      </if>
+                      <if test="dictType != null">
+        dict_type = #{dictType,jdbcType=VARCHAR},
+      </if>
+                      <if test="status != null">
+        status = #{status,jdbcType=CHAR},
+      </if>
+                      <if test="createBy != null">
+        create_by = #{createBy,jdbcType=VARCHAR},
+      </if>
+                      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="updateBy != null">
+        update_by = #{updateBy,jdbcType=VARCHAR},
+      </if>
+                      <if test="updateTime != null">
+        update_time = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+                      <if test="remark != null">
+        remark = #{remark,jdbcType=VARCHAR},
+      </if>
+              </set>
+    where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                          
+  </update>
+
+      	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	   	      	
+
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TSysDictType">
+    update t_sys_dict_type
+    set 
+             	        	    	 			dict_name = #{dictName,jdbcType=VARCHAR},
+		     	        	    	 			dict_type = #{dictType,jdbcType=VARCHAR},
+		     	        	    	 			status = #{status,jdbcType=CHAR},
+		     	        	    	 			create_by = #{createBy,jdbcType=VARCHAR},
+		     	        	    	 			create_time = #{createTime,jdbcType=TIMESTAMP},
+		     	        	    	 			update_by = #{updateBy,jdbcType=VARCHAR},
+		     	        	    	 			update_time = #{updateTime,jdbcType=TIMESTAMP},
+		     	        	    	 			remark = #{remark,jdbcType=VARCHAR}
+		     	        where 
+            id = #{id,jdbcType=VARCHAR}
+                                                                            
+  </update>
+  
+                                                 
+</mapper>

+ 245 - 0
web/health-jn/src/main/resources/mybatis/auto/TSysEmailMapper.xml

@@ -0,0 +1,245 @@
+<?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.TSysEmailMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TSysEmail">
+    <constructor>
+      <idArg column="id" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="receivers_email" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="title" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="content" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="send_user_id" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="send_user_name" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="create_time" javaType="java.util.Date" jdbcType="TIMESTAMP" />
+    </constructor>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    id, receivers_email, title, content, send_user_id, send_user_name, create_time
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.TSysEmailExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_email
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_email
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_email
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TSysEmailExample">
+    delete from t_sys_email
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TSysEmail">
+    insert into t_sys_email (id, receivers_email, title, 
+      content, send_user_id, send_user_name, 
+      create_time)
+    values (#{id,jdbcType=VARCHAR}, #{receiversEmail,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, 
+      #{content,jdbcType=VARCHAR}, #{sendUserId,jdbcType=VARCHAR}, #{sendUserName,jdbcType=VARCHAR}, 
+      #{createTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TSysEmail">
+    insert into t_sys_email
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="receiversEmail != null">
+        receivers_email,
+      </if>
+      <if test="title != null">
+        title,
+      </if>
+      <if test="content != null">
+        content,
+      </if>
+      <if test="sendUserId != null">
+        send_user_id,
+      </if>
+      <if test="sendUserName != null">
+        send_user_name,
+      </if>
+      <if test="createTime != null">
+        create_time,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="receiversEmail != null">
+        #{receiversEmail,jdbcType=VARCHAR},
+      </if>
+      <if test="title != null">
+        #{title,jdbcType=VARCHAR},
+      </if>
+      <if test="content != null">
+        #{content,jdbcType=VARCHAR},
+      </if>
+      <if test="sendUserId != null">
+        #{sendUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="sendUserName != null">
+        #{sendUserName,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TSysEmailExample" resultType="java.lang.Long">
+    select count(*) from t_sys_email
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_email
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.receiversEmail != null">
+        receivers_email = #{record.receiversEmail,jdbcType=VARCHAR},
+      </if>
+      <if test="record.title != null">
+        title = #{record.title,jdbcType=VARCHAR},
+      </if>
+      <if test="record.content != null">
+        content = #{record.content,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sendUserId != null">
+        send_user_id = #{record.sendUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sendUserName != null">
+        send_user_name = #{record.sendUserName,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createTime != null">
+        create_time = #{record.createTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update t_sys_email
+    set id = #{record.id,jdbcType=VARCHAR},
+      receivers_email = #{record.receiversEmail,jdbcType=VARCHAR},
+      title = #{record.title,jdbcType=VARCHAR},
+      content = #{record.content,jdbcType=VARCHAR},
+      send_user_id = #{record.sendUserId,jdbcType=VARCHAR},
+      send_user_name = #{record.sendUserName,jdbcType=VARCHAR},
+      create_time = #{record.createTime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TSysEmail">
+    update t_sys_email
+    <set>
+      <if test="receiversEmail != null">
+        receivers_email = #{receiversEmail,jdbcType=VARCHAR},
+      </if>
+      <if test="title != null">
+        title = #{title,jdbcType=VARCHAR},
+      </if>
+      <if test="content != null">
+        content = #{content,jdbcType=VARCHAR},
+      </if>
+      <if test="sendUserId != null">
+        send_user_id = #{sendUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="sendUserName != null">
+        send_user_name = #{sendUserName,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        create_time = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TSysEmail">
+    update t_sys_email
+    set receivers_email = #{receiversEmail,jdbcType=VARCHAR},
+      title = #{title,jdbcType=VARCHAR},
+      content = #{content,jdbcType=VARCHAR},
+      send_user_id = #{sendUserId,jdbcType=VARCHAR},
+      send_user_name = #{sendUserName,jdbcType=VARCHAR},
+      create_time = #{createTime,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 181 - 0
web/health-jn/src/main/resources/mybatis/auto/TSysRoleUserMapper.xml

@@ -0,0 +1,181 @@
+<?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.TSysRoleUserMapper" >
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TSysRoleUser" >
+    <id column="id" property="id" jdbcType="VARCHAR" />
+    <result column="sys_user_id" property="sysUserId" jdbcType="VARCHAR" />
+    <result column="sys_role_id" property="sysRoleId" jdbcType="VARCHAR" />
+  </resultMap>
+  <sql id="Example_Where_Clause" >
+    <where >
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause" >
+    <where >
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List" >
+    id, sys_user_id, sys_role_id
+  </sql>
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gyee.frame.model.auto.TSysRoleUserExample" >
+    select
+    <if test="distinct" >
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_role_user
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null" >
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_role_user
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from t_sys_role_user
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TSysRoleUserExample" >
+    delete from t_sys_role_user
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TSysRoleUser" >
+    insert into t_sys_role_user (id, sys_user_id, sys_role_id
+      )
+    values (#{id,jdbcType=VARCHAR}, #{sysUserId,jdbcType=VARCHAR}, #{sysRoleId,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TSysRoleUser" >
+    insert into t_sys_role_user
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        id,
+      </if>
+      <if test="sysUserId != null" >
+        sys_user_id,
+      </if>
+      <if test="sysRoleId != null" >
+        sys_role_id,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="sysUserId != null" >
+        #{sysUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="sysRoleId != null" >
+        #{sysRoleId,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TSysRoleUserExample" resultType="java.lang.Integer" >
+    select count(*) from t_sys_role_user
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map" >
+    update t_sys_role_user
+    <set >
+      <if test="record.id != null" >
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sysUserId != null" >
+        sys_user_id = #{record.sysUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sysRoleId != null" >
+        sys_role_id = #{record.sysRoleId,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map" >
+    update t_sys_role_user
+    set id = #{record.id,jdbcType=VARCHAR},
+      sys_user_id = #{record.sysUserId,jdbcType=VARCHAR},
+      sys_role_id = #{record.sysRoleId,jdbcType=VARCHAR}
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TSysRoleUser" >
+    update t_sys_role_user
+    <set >
+      <if test="sysUserId != null" >
+        sys_user_id = #{sysUserId,jdbcType=VARCHAR},
+      </if>
+      <if test="sysRoleId != null" >
+        sys_role_id = #{sysRoleId,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TSysRoleUser" >
+    update t_sys_role_user
+    set sys_user_id = #{sysUserId,jdbcType=VARCHAR},
+      sys_role_id = #{sysRoleId,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 241 - 0
web/health-jn/src/main/resources/mybatis/auto/TaosMapMapper.xml

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

+ 213 - 0
web/health-jn/src/main/resources/mybatis/auto/TsysDatasMapper.xml

@@ -0,0 +1,213 @@
+<?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.TsysDatasMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TsysDatas">
+    <constructor>
+      <idArg column="id" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="file_path" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="file_absolute_path" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="file_suffix" javaType="java.lang.String" jdbcType="VARCHAR" />
+      <arg column="file_type" javaType="java.lang.String" jdbcType="VARCHAR" />
+    </constructor>
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    id, file_path, file_absolute_path, file_suffix, file_type
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.TsysDatasExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_datas
+    <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">
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_datas
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from t_sys_datas
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TsysDatasExample">
+    delete from t_sys_datas
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TsysDatas">
+    insert into t_sys_datas (id, file_path, file_absolute_path, 
+      file_suffix, file_type)
+    values (#{id,jdbcType=VARCHAR}, #{filePath,jdbcType=VARCHAR}, #{fileAbsolutePath,jdbcType=VARCHAR}, 
+      #{fileSuffix,jdbcType=VARCHAR}, #{fileType,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TsysDatas">
+    insert into t_sys_datas
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="filePath != null">
+        file_path,
+      </if>
+      <if test="fileAbsolutePath != null">
+        file_absolute_path,
+      </if>
+      <if test="fileSuffix != null">
+        file_suffix,
+      </if>
+      <if test="fileType != null">
+        file_type,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="filePath != null">
+        #{filePath,jdbcType=VARCHAR},
+      </if>
+      <if test="fileAbsolutePath != null">
+        #{fileAbsolutePath,jdbcType=VARCHAR},
+      </if>
+      <if test="fileSuffix != null">
+        #{fileSuffix,jdbcType=VARCHAR},
+      </if>
+      <if test="fileType != null">
+        #{fileType,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TsysDatasExample" resultType="java.lang.Long">
+    select count(*) from t_sys_datas
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update t_sys_datas
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.filePath != null">
+        file_path = #{record.filePath,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fileAbsolutePath != null">
+        file_absolute_path = #{record.fileAbsolutePath,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fileSuffix != null">
+        file_suffix = #{record.fileSuffix,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fileType != null">
+        file_type = #{record.fileType,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update t_sys_datas
+    set id = #{record.id,jdbcType=VARCHAR},
+      file_path = #{record.filePath,jdbcType=VARCHAR},
+      file_absolute_path = #{record.fileAbsolutePath,jdbcType=VARCHAR},
+      file_suffix = #{record.fileSuffix,jdbcType=VARCHAR},
+      file_type = #{record.fileType,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TsysDatas">
+    update t_sys_datas
+    <set>
+      <if test="filePath != null">
+        file_path = #{filePath,jdbcType=VARCHAR},
+      </if>
+      <if test="fileAbsolutePath != null">
+        file_absolute_path = #{fileAbsolutePath,jdbcType=VARCHAR},
+      </if>
+      <if test="fileSuffix != null">
+        file_suffix = #{fileSuffix,jdbcType=VARCHAR},
+      </if>
+      <if test="fileType != null">
+        file_type = #{fileType,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TsysDatas">
+    update t_sys_datas
+    set file_path = #{filePath,jdbcType=VARCHAR},
+      file_absolute_path = #{fileAbsolutePath,jdbcType=VARCHAR},
+      file_suffix = #{fileSuffix,jdbcType=VARCHAR},
+      file_type = #{fileType,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 181 - 0
web/health-jn/src/main/resources/mybatis/auto/TsysFileDataMapper.xml

@@ -0,0 +1,181 @@
+<?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.TsysFileDataMapper" >
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.TsysFileData" >
+    <id column="id" property="id" jdbcType="VARCHAR" />
+    <result column="data_id" property="dataId" jdbcType="VARCHAR" />
+    <result column="file_id" property="fileId" jdbcType="VARCHAR" />
+  </resultMap>
+  <sql id="Example_Where_Clause" >
+    <where >
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause" >
+    <where >
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List" >
+    id, data_id, file_id
+  </sql>
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gyee.frame.model.auto.TsysFileDataExample" >
+    select
+    <if test="distinct" >
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from t_sys_file_data
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null" >
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    select 
+    <include refid="Base_Column_List" />
+    from t_sys_file_data
+    where id = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    delete from t_sys_file_data
+    where id = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.TsysFileDataExample" >
+    delete from t_sys_file_data
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.TsysFileData" >
+    insert into t_sys_file_data (id, data_id, file_id
+      )
+    values (#{id,jdbcType=VARCHAR}, #{dataId,jdbcType=VARCHAR}, #{fileId,jdbcType=VARCHAR}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.TsysFileData" >
+    insert into t_sys_file_data
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        id,
+      </if>
+      <if test="dataId != null" >
+        data_id,
+      </if>
+      <if test="fileId != null" >
+        file_id,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="dataId != null" >
+        #{dataId,jdbcType=VARCHAR},
+      </if>
+      <if test="fileId != null" >
+        #{fileId,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.TsysFileDataExample" resultType="java.lang.Integer" >
+    select count(*) from t_sys_file_data
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map" >
+    update t_sys_file_data
+    <set >
+      <if test="record.id != null" >
+        id = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.dataId != null" >
+        data_id = #{record.dataId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fileId != null" >
+        file_id = #{record.fileId,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map" >
+    update t_sys_file_data
+    set id = #{record.id,jdbcType=VARCHAR},
+      data_id = #{record.dataId,jdbcType=VARCHAR},
+      file_id = #{record.fileId,jdbcType=VARCHAR}
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.TsysFileData" >
+    update t_sys_file_data
+    <set >
+      <if test="dataId != null" >
+        data_id = #{dataId,jdbcType=VARCHAR},
+      </if>
+      <if test="fileId != null" >
+        file_id = #{fileId,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.TsysFileData" >
+    update t_sys_file_data
+    set data_id = #{dataId,jdbcType=VARCHAR},
+      file_id = #{fileId,jdbcType=VARCHAR}
+    where id = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 0 - 0
web/health-jn/src/main/resources/mybatis/auto/TsysFileMapper.xml


Some files were not shown because too many files changed in this diff