xieshengjie 3 years ago
parent
commit
becaf730ad
100 changed files with 337 additions and 129 deletions
  1. 57 55
      histroy/analysis-histroy-hb/src/main/java/com/gyee/analysis/model/auto/Analysissubprojectwindcannot.java
  2. 66 0
      histroy/analysis-histroy-hb/src/main/resources/application-dev.yml
  3. 66 0
      histroy/analysis-histroy-hb/src/main/resources/application-test.yml
  4. 3 65
      histroy/analysis-histroy-hb/src/main/resources/application.yml
  5. 9 9
      histroy/analysis-histroy-hb/src/test/java/com/gyee/analysis/AnalysisTest.java
  6. BIN
      histroy/analysis-histroy-hb/target/analysis-histroy-hb-1.0-SNAPSHOT.jar
  7. BIN
      histroy/analysis-histroy-hb/target/analysis-histroy-hb-1.0-SNAPSHOT.jar.original
  8. 66 0
      histroy/analysis-histroy-hb/target/classes/application-dev.yml
  9. 66 0
      histroy/analysis-histroy-hb/target/classes/application-test.yml
  10. 4 0
      histroy/analysis-histroy-hb/target/classes/application.yml
  11. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/AnalysisMain.class
  12. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/GeneratorCodeConfig.class
  13. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/MybatisPlusConfig.class
  14. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/R.class
  15. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/ResultCode.class
  16. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/ResultInfo.class
  17. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/Status.class
  18. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/contant/OpeContant.class
  19. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysismainController.class
  20. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubcompanyController.class
  21. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectpvcanController.class
  22. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectpvcannotController.class
  23. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectwindcanController.class
  24. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectwindcannotController.class
  25. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubstationpvController.class
  26. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubstationwindController.class
  27. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Analysissubtablebottom1Controller.class
  28. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubtablebottomController.class
  29. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysiswindtargetController.class
  30. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/InputoroutputspeedtotalController.class
  31. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/MeterpointController.class
  32. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/MeterpointvalueController.class
  33. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/ProjectController.class
  34. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/ProjectplanController.class
  35. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Shutdownevent2Controller.class
  36. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Windpowerinfoday3Controller.class
  37. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerinfodayController.class
  38. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerstationController.class
  39. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerstationtestingpointController.class
  40. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindturbinetestingpointaiController.class
  41. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/init/CacheContext.class
  42. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysismainMapper.class
  43. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubcompanyMapper.class
  44. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectpvcanMapper.class
  45. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectpvcannotMapper.class
  46. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectwindcanMapper.class
  47. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectwindcannotMapper.class
  48. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubstationpvMapper.class
  49. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubstationwindMapper.class
  50. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Analysissubtablebottom1Mapper.class
  51. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubtablebottomMapper.class
  52. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysiswindtargetMapper.class
  53. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/InputoroutputspeedtotalMapper.class
  54. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/MeterpointMapper.class
  55. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/MeterpointvalueMapper.class
  56. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/ProjectMapper.class
  57. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/ProjectplanMapper.class
  58. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Shutdownevent2Mapper.class
  59. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Windpowerinfoday3Mapper.class
  60. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerinfodayMapper.class
  61. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerstationMapper.class
  62. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerstationtestingpointMapper.class
  63. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindturbinetestingpointaiMapper.class
  64. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysismain.class
  65. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubcompany.class
  66. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectpvcan.class
  67. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectpvcannot.class
  68. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectwindcan.class
  69. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectwindcannot.class
  70. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubstationpv.class
  71. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubstationwind.class
  72. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubtablebottom.class
  73. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubtablebottom1.class
  74. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysiswindtarget.class
  75. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Inputoroutputspeedtotal.class
  76. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Meterpoint.class
  77. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Meterpointvalue.class
  78. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Project.class
  79. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Projectplan.class
  80. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Shutdownevent2.class
  81. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerinfoday.class
  82. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerinfoday3.class
  83. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerstation.class
  84. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerstationtestingpoint.class
  85. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windturbinetestingpointai.class
  86. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysismainService.class
  87. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubcompanyService.class
  88. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectpvcanService.class
  89. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectpvcannotService.class
  90. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectwindcanService.class
  91. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectwindcannotService.class
  92. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubstationpvService.class
  93. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubstationwindService.class
  94. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubtablebottom1Service.class
  95. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubtablebottomService.class
  96. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysiswindtargetService.class
  97. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IInputoroutputspeedtotalService.class
  98. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IMeterpointService.class
  99. BIN
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IMeterpointvalueService.class
  100. 0 0
      histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IProjectService.class

+ 57 - 55
histroy/analysis-histroy-hb/src/main/java/com/gyee/analysis/model/auto/Analysissubprojectwindcannot.java

@@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
 import com.baomidou.mybatisplus.annotation.TableId;
 import java.time.LocalDateTime;
+import java.util.Date;
+
 import com.baomidou.mybatisplus.annotation.TableField;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
@@ -25,10 +27,10 @@ public class Analysissubprojectwindcannot extends Model {
     private static final long serialVersionUID = 1L;
 
     @TableId("ID")
-    private BigDecimal id;
+    private Long id;
 
     @TableField("TID")
-    private BigDecimal tid;
+    private Long tid;
 
     @TableField("PROJECTID")
     private String projectid;
@@ -37,169 +39,169 @@ public class Analysissubprojectwindcannot extends Model {
     private String wpid;
 
     @TableField("RECORDDATE")
-    private LocalDateTime recorddate;
+    private Date recorddate;
 
     @TableField("FDLSCADA")
-    private BigDecimal fdlscada;
+    private Double fdlscada;
 
     @TableField("FDL")
-    private BigDecimal fdl;
+    private Double fdl;
 
     @TableField("SWDL")
-    private BigDecimal swdl;
+    private Double swdl;
 
     @TableField("GWDL")
-    private BigDecimal gwdl;
+    private Double gwdl;
 
     @TableField("ZHCYDL")
-    private BigDecimal zhcydl;
+    private Double zhcydl;
 
     @TableField("ZHCYDLSCADA")
-    private BigDecimal zhcydlscada;
+    private Double zhcydlscada;
 
     @TableField("ZHCYDLL")
-    private BigDecimal zhcydll;
+    private Double zhcydll;
 
     @TableField("ZHCYDLLSCADA")
-    private BigDecimal zhcydllscada;
+    private Double zhcydllscada;
 
     @TableField("CYDL")
-    private BigDecimal cydl;
+    private Double cydl;
 
     @TableField("CYDLL")
-    private BigDecimal cydll;
+    private Double cydll;
 
     @TableField("LYXS")
-    private BigDecimal lyxs;
+    private Double lyxs;
 
     @TableField("LYXSSCADA")
-    private BigDecimal lyxsscada;
+    private Double lyxsscada;
 
     @TableField("ZJRL")
-    private BigDecimal zjrl;
+    private Double zjrl;
 
     @TableField("CNSLDWDL")
-    private BigDecimal cnsldwdl;
+    private Double cnsldwdl;
 
     @TableField("CNSLJXDL")
-    private BigDecimal cnsljxdl;
+    private Double cnsljxdl;
 
     @TableField("CWSLDWDL")
-    private BigDecimal cwsldwdl;
+    private Double cwsldwdl;
 
     @TableField("CWSLJXDL")
-    private BigDecimal cwsljxdl;
+    private Double cwsljxdl;
 
     @TableField("ZRZHDL")
-    private BigDecimal zrzhdl;
+    private Double zrzhdl;
 
     @TableField("XDDL")
-    private BigDecimal xddl;
+    private Double xddl;
 
     @TableField("FJGZDL")
-    private BigDecimal fjgzdl;
+    private Double fjgzdl;
 
     @TableField("SYZGZDL")
-    private BigDecimal syzgzdl;
+    private Double syzgzdl;
 
     @TableField("JDXLGZDL")
-    private BigDecimal jdxlgzdl;
+    private Double jdxlgzdl;
 
     @TableField("FJJXDL")
-    private BigDecimal fjjxdl;
+    private Double fjjxdl;
 
     @TableField("SYZJXDL")
-    private BigDecimal syzjxdl;
+    private Double syzjxdl;
 
     @TableField("JDXLJX")
-    private BigDecimal jdxljx;
+    private Double jdxljx;
 
     @TableField("CNSLDWSJ")
-    private BigDecimal cnsldwsj;
+    private Double cnsldwsj;
 
     @TableField("CNSLJXSJ")
-    private BigDecimal cnsljxsj;
+    private Double cnsljxsj;
 
     @TableField("CWSLDWSJ")
-    private BigDecimal cwsldwsj;
+    private Double cwsldwsj;
 
     @TableField("CWSLJXSJ")
-    private BigDecimal cwsljxsj;
+    private Double cwsljxsj;
 
     @TableField("ZRZHSJ")
-    private BigDecimal zrzhsj;
+    private Double zrzhsj;
 
     @TableField("XDSJ")
-    private BigDecimal xdsj;
+    private Double xdsj;
 
     @TableField("FJGZSJ")
-    private BigDecimal fjgzsj;
+    private Double fjgzsj;
 
     @TableField("SYZGZSJ")
-    private BigDecimal syzgzsj;
+    private Double syzgzsj;
 
     @TableField("JDXLGZSJ")
-    private BigDecimal jdxlgzsj;
+    private Double jdxlgzsj;
 
     @TableField("FJJXSJ")
-    private BigDecimal fjjxsj;
+    private Double fjjxsj;
 
     @TableField("SYZJXSJ")
-    private BigDecimal syzjxsj;
+    private Double syzjxsj;
 
     @TableField("JDXLJXSJ")
-    private BigDecimal jdxljxsj;
+    private Double jdxljxsj;
 
     @TableField("GZCS")
-    private BigDecimal gzcs;
+    private Double gzcs;
 
     @TableField("QFL")
-    private BigDecimal qfl;
+    private Double qfl;
 
     @TableField("QPJFX")
-    private BigDecimal qpjfx;
+    private Double qpjfx;
 
     @TableField("TQ")
     private String tq;
 
     @TableField("LLFDL")
-    private BigDecimal llfdl;
+    private Double llfdl;
 
     @TableField("LLFDLSCADA")
-    private BigDecimal llfdlscada;
+    private Double llfdlscada;
 
     @TableField("DNAQTS")
-    private BigDecimal dnaqts;
+    private Double dnaqts;
 
     @TableField("LJAQTS")
-    private BigDecimal ljaqts;
+    private Double ljaqts;
 
     @TableField("QW")
-    private BigDecimal qw;
+    private Double qw;
 
     @TableField("ZDCL")
-    private BigDecimal zdcl;
+    private Double zdcl;
 
     @TableField("ZXCL")
-    private BigDecimal zxcl;
+    private Double zxcl;
 
     @TableField("FX")
     private String fx;
 
     @TableField("YJHFDL")
-    private BigDecimal yjhfdl;
+    private Double yjhfdl;
 
     @TableField("PJQRFS")
-    private BigDecimal pjqrfs;
+    private Double pjqrfs;
 
     @TableField("EDPJFS")
-    private BigDecimal edpjfs;
+    private Double edpjfs;
 
     @TableField("YPJKQMD")
-    private BigDecimal ypjkqmd;
+    private Double ypjkqmd;
 
     @TableField("XNSSDL")
-    private BigDecimal xnssdl;
+    private Double xnssdl;
 
 
 }

+ 66 - 0
histroy/analysis-histroy-hb/src/main/resources/application-dev.yml

@@ -0,0 +1,66 @@
+server:
+  port: 8092
+  servlet:
+    context-path: /
+
+
+spring:
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: oracle.jdbc.OracleDriver
+    #外网
+    #    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+logging:
+  level:
+    root: info
+    com.example: debug
+

+ 66 - 0
histroy/analysis-histroy-hb/src/main/resources/application-test.yml

@@ -0,0 +1,66 @@
+server:
+  port: 8092
+  servlet:
+    context-path: /
+
+
+spring:
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: oracle.jdbc.OracleDriver
+    #外网
+    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+#    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+logging:
+  level:
+    root: info
+    com.example: debug
+

+ 3 - 65
histroy/analysis-histroy-hb/src/main/resources/application.yml

@@ -1,66 +1,4 @@
-server:
-  port: 8092
-  servlet:
-    context-path: /
-
-
 spring:
-  main:
-    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
-
-  autoconfigure:
-    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
-  datasource:
-    type: com.alibaba.druid.pool.DruidDataSource
-    driver-class-name: oracle.jdbc.OracleDriver
-    #外网
-#    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
-    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
-    username: gdprod
-    password: gd123
-    oracle-schema=:
-    #    type: com.alibaba.druid.pool.DruidDataSource
-    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
-    #    username: root
-    #    password: root
-    #    driver-class-name: com.mysql.jdbc.Driver
-    druid:
-      max-active: 20
-      initial-size: 1
-      min-idle: 3
-      max-wait: 60000
-      time-between-eviction-runs-millis: 60000
-      min-evictable-idle-time-millis: 300000
-      test-while-idle: true
-      test-on-borrow: false
-      test-on-return: false
-  servlet:
-    multipart:
-      # 开启 multipart 上传功能
-      enabled: true
-      # 文件写入磁盘的阈值
-      file-size-threshold: 2KB
-      # 最大文件大小
-      max-file-size: 200MB
-      # 最大请求大小
-      max-request-size: 215MB
-
-mybatis-plus:
-  configuration:
-    map-underscore-to-camel-case: true
-    auto-mapping-behavior: full
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-  mapper-locations: classpath*:mapper/**/*Mapper.xml
-  global-config:
-    # 逻辑删除配置
-    db-config:
-      id-type: auto
-      # 删除前
-      logic-not-delete-value: 1
-      # 删除后
-      logic-delete-value: 0
-logging:
-  level:
-    root: info
-    com.example: debug
-
+  profiles:
+    active: dev
+#    active: test

+ 9 - 9
histroy/analysis-histroy-hb/src/test/java/com/gyee/analysis/AnalysisTest.java

@@ -29,16 +29,16 @@ public class AnalysisTest {
     public void test1(){
         String yesterday = DateUtils.getYesterdayStr("yyyy-MM-dd");
         try {
-//            //保存主表
-//            analysisNewService.savaAnalysismain(yesterday, yesterday);
-//            //风电表底
-//            analysisNewService.saveAnalysisTableBottom(yesterday, yesterday);
-//            //风电工程
-//            analysisNewService.saveWindProject(yesterday, yesterday);
-//            //风电场站
-//            analysisNewService.saveWindStation(yesterday, yesterday);
+            //保存主表
+            analysisNewService.savaAnalysismain(yesterday, yesterday);
+            //风电表底
+            analysisNewService.saveAnalysisTableBottom(yesterday, yesterday);
+            //风电工程
+            analysisNewService.saveWindProject(yesterday, yesterday);
+            //风电场站
+            analysisNewService.saveWindStation(yesterday, yesterday);
             //公司
-            analysisNewService.saveCompany(yesterday, yesterday);
+//            analysisNewService.saveCompany(yesterday, yesterday);
         } catch (Exception e) {
             e.printStackTrace();
         }

BIN
histroy/analysis-histroy-hb/target/analysis-histroy-hb-1.0-SNAPSHOT.jar


BIN
histroy/analysis-histroy-hb/target/analysis-histroy-hb-1.0-SNAPSHOT.jar.original


+ 66 - 0
histroy/analysis-histroy-hb/target/classes/application-dev.yml

@@ -0,0 +1,66 @@
+server:
+  port: 8092
+  servlet:
+    context-path: /
+
+
+spring:
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: oracle.jdbc.OracleDriver
+    #外网
+    #    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+logging:
+  level:
+    root: info
+    com.example: debug
+

+ 66 - 0
histroy/analysis-histroy-hb/target/classes/application-test.yml

@@ -0,0 +1,66 @@
+server:
+  port: 8092
+  servlet:
+    context-path: /
+
+
+spring:
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: oracle.jdbc.OracleDriver
+    #外网
+    url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
+#    url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+logging:
+  level:
+    root: info
+    com.example: debug
+

+ 4 - 0
histroy/analysis-histroy-hb/target/classes/application.yml

@@ -0,0 +1,4 @@
+spring:
+  profiles:
+    active: dev
+#    active: test

BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/AnalysisMain.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/GeneratorCodeConfig.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/MybatisPlusConfig.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/R.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/ResultCode.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/ResultInfo.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/config/Status.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/contant/OpeContant.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysismainController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubcompanyController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectpvcanController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectpvcannotController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectwindcanController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubprojectwindcannotController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubstationpvController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubstationwindController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Analysissubtablebottom1Controller.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysissubtablebottomController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/AnalysiswindtargetController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/InputoroutputspeedtotalController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/MeterpointController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/MeterpointvalueController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/ProjectController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/ProjectplanController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Shutdownevent2Controller.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/Windpowerinfoday3Controller.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerinfodayController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerstationController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindpowerstationtestingpointController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/controller/WindturbinetestingpointaiController.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/init/CacheContext.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysismainMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubcompanyMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectpvcanMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectpvcannotMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectwindcanMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubprojectwindcannotMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubstationpvMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubstationwindMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Analysissubtablebottom1Mapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysissubtablebottomMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/AnalysiswindtargetMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/InputoroutputspeedtotalMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/MeterpointMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/MeterpointvalueMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/ProjectMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/ProjectplanMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Shutdownevent2Mapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/Windpowerinfoday3Mapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerinfodayMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerstationMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindpowerstationtestingpointMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/mapper/auto/WindturbinetestingpointaiMapper.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysismain.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubcompany.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectpvcan.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectpvcannot.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectwindcan.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubprojectwindcannot.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubstationpv.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubstationwind.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubtablebottom.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysissubtablebottom1.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Analysiswindtarget.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Inputoroutputspeedtotal.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Meterpoint.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Meterpointvalue.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Project.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Projectplan.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Shutdownevent2.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerinfoday.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerinfoday3.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerstation.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windpowerstationtestingpoint.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/model/auto/Windturbinetestingpointai.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysismainService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubcompanyService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectpvcanService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectpvcannotService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectwindcanService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubprojectwindcannotService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubstationpvService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubstationwindService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubtablebottom1Service.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysissubtablebottomService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IAnalysiswindtargetService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IInputoroutputspeedtotalService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IMeterpointService.class


BIN
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IMeterpointvalueService.class


+ 0 - 0
histroy/analysis-histroy-hb/target/classes/com/gyee/analysis/service/IProjectService.class


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