Browse Source

健康管理新版功能模块初始化

shilin 2 years ago
parent
commit
2843f2aea0
100 changed files with 1750 additions and 460 deletions
  1. 37 2
      realtime/healthmodel-server/pom.xml
  2. 19 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/config/V2Config.java
  3. 87 81
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/init/CacheContext.java
  4. 1 2
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlarmsnapMapper.java
  5. 1 2
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/Alertrule2Mapper.java
  6. 1 1
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulefailureMapper.java
  7. 10 13
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/model/auto/Healthcurrency.java
  8. 0 23
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulefailuresubMapper.java
  9. 19 17
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/model/auto/Partbjcountsub.java
  10. 0 16
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulesubMapper.java
  11. 0 25
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/CurvefittingmainMapper.java
  12. 0 28
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/CurvefittingsubMapper.java
  13. 0 17
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/EquipmentmodelMapper.java
  14. 0 16
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthcurrencyMapper.java
  15. 0 26
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthsystemMapper.java
  16. 0 25
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthsystemsubMapper.java
  17. 0 17
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/LineMapper.java
  18. 0 34
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/LosspowerrateMapper.java
  19. 0 16
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/MismapMapper.java
  20. 0 40
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartbjcountMapper.java
  21. 0 28
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartbjcountsubMapper.java
  22. 0 31
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartstatisticsmainMapper.java
  23. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicCompanyMapper.java
  24. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEnergyGroupMapper.java
  25. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEquipmentMapper.java
  26. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEquipmentPointMapper.java
  27. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicLineMapper.java
  28. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicMeterPointMapper.java
  29. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicModelPowerMapper.java
  30. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicModelPowerRdMapper.java
  31. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicPowerstationMapper.java
  32. 20 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicPowerstationPointMapper.java
  33. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicProjectMapper.java
  34. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicProjectPlanMapper.java
  35. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicRealtimeDbconfigMapper.java
  36. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicRegionMapper.java
  37. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicSquareMapper.java
  38. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicStatusPointMapper.java
  39. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicSubStationMapper.java
  40. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicWeatherStationMapper.java
  41. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicWindturbinePowerMapper.java
  42. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEcoWindspecificInfoDayMapper.java
  43. 30 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconActivePowerDataMapper.java
  44. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBenchmarkMapper.java
  45. 24 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBenchmarkingBetweenMapper.java
  46. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBrownoutsEvent2Mapper.java
  47. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBrownoutsEventMapper.java
  48. 20 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittMonthMainMapper.java
  49. 20 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittMonthSubMapper.java
  50. 19 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittYearMainMapper.java
  51. 19 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittYearSubMapper.java
  52. 29 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittingMainMapper.java
  53. 33 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittingSubMapper.java
  54. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconDutyScheduleMapper.java
  55. 63 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEarlyWarningMainMapper.java
  56. 28 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEarlyWarningSubMapper.java
  57. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconElectricaltestPointMapper.java
  58. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentDayDetailedMapper.java
  59. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentDayInfoMapper.java
  60. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfo15minuteMapper.java
  61. 24 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay1Mapper.java
  62. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay2Mapper.java
  63. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay3Mapper.java
  64. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay4Mapper.java
  65. 45 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay5Mapper.java
  66. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay6Mapper.java
  67. 24 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDayTopMapper.java
  68. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentmodelMapper.java
  69. 53 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFailureStatisticMainMapper.java
  70. 27 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFailureStatisticsSubMapper.java
  71. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFaultLiminatedefectsMapper.java
  72. 21 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconHealthSystemMapper.java
  73. 25 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconHealthSystemSubMapper.java
  74. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInOrOutSpeedTotal2Mapper.java
  75. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInOrOutSpeedTotalMapper.java
  76. 17 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInputOrOutputSpeedMapper.java
  77. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInterruptionItemMapper.java
  78. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInterruptionMapper.java
  79. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLimitPowerRecordsMapper.java
  80. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLineElectricalMapper.java
  81. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLogicalUnitMapper.java
  82. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMainBrownouts2Mapper.java
  83. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMainBrownoutsMapper.java
  84. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconManufacturerMapper.java
  85. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMeterPointValueMapper.java
  86. 28 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartPowerstatticMainMapper.java
  87. 35 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartStatisticsMainMapper.java
  88. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartStatisticsSubMapper.java
  89. 28 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartTemperatureMainMapper.java
  90. 28 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartTemperatureSubMapper.java
  91. 40 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartWarnCountMapper.java
  92. 32 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartWarnCountSubMapper.java
  93. 27 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartpowerStatticsSubMapper.java
  94. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPointCodeMapper.java
  95. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay1Mapper.java
  96. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay2Mapper.java
  97. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay3Mapper.java
  98. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay4Mapper.java
  99. 16 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay5Mapper.java
  100. 0 0
      realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay6Mapper.java

+ 37 - 2
realtime/healthmodel-server/pom.xml

@@ -9,12 +9,20 @@
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
-    <artifactId>healthmodel-server</artifactId>
+    <artifactId>healthmodel-server-cph</artifactId>
+
+
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-        <java.version>1.8</java.version>
+        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
+        <maven.test.skip>true</maven.test.skip>
         <commons.io.version>2.5</commons.io.version>
+        <groovy.version>3.0.8</groovy.version>
+        <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
+        <pgsql.version>42.2.5</pgsql.version>
     </properties>
     <dependencies>
 
@@ -110,12 +118,39 @@
             </exclusions>
 
         </dependency>
+
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+            <version>${pgsql.version}</version>
+        </dependency>
+        <!-- ********************** plugin ********************** -->
+        <!-- groovy-all -->
+        <dependency>
+            <groupId>org.codehaus.groovy</groupId>
+            <artifactId>groovy</artifactId>
+            <version>${groovy.version}</version>
+        </dependency>
+
+        <!-- xxl-job-core -->
+        <dependency>
+            <groupId>com.xuxueli</groupId>
+            <artifactId>xxl-job-core</artifactId>
+            <version>2.3.1-SNAPSHOT</version>
+            <scope>system</scope>
+            <systemPath>${basedir}/lib/xxl-job-core-2.3.1-SNAPSHOT.jar</systemPath>
+        </dependency>
     </dependencies>
     <build>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <version>2.3.7.RELEASE</version>
+                <configuration>
+                    <!--maven编译时将本地引用的jar包一起打包-->
+                    <includeSystemScope>true</includeSystemScope>
+                </configuration>
                 <executions>
                     <execution>
                         <goals>

+ 19 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/config/V2Config.java

@@ -17,7 +17,26 @@ public class V2Config
     private  static String realtimedataBase;
     /**数据适配器网址 **/
     private static String baseurl;
+    /**测点初始码**/
+    private  static  String initialcode;
+    /**健康管理数据适配器网址 **/
+    private static String healthurl;
 
+    public static String getHealthurl() {
+        return healthurl;
+    }
+
+    public  void setHealthurl(String healthurl) {
+        V2Config.healthurl = healthurl;
+    }
+
+    public static String getInitialcode() {
+        return initialcode;
+    }
+
+    public  void setInitialcode(String initialcode) {
+        V2Config.initialcode = initialcode;
+    }
 
     public static String getRealtimedataBase() {
         return realtimedataBase;

+ 87 - 81
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/init/CacheContext.java

@@ -28,153 +28,159 @@ public class CacheContext implements CommandLineRunner {
     private static final Logger log = LoggerFactory.getLogger(CacheContext.class);
 
     @Autowired
-    private IWindturbineService windturbineService;
+    private IProBasicEquipmentService proBasicEquipmentService;
     @Autowired
-    private IWindpowerstationService windpowerstationService;
+    private IProBasicPowerstationService proBasicPowerstationService;
     @Autowired
-    private IProjectService projectService;
+    private IProBasicProjectService proBasicProjectService;
     @Autowired
-    private ILineService lineService;
+    private IProBasicLineService proBasicLineService;
     @Autowired
-    private IEquipmentmodelService equipmentmodelService;
+    private IProEconEquipmentmodelService proEconEquipmentmodelService;
     @Autowired
-    private IWindturbinetestingpointaiService windturbineTestingAiService;
+    private IProBasicEquipmentPointService  proBasicEquipmentPointService;
     @Autowired
-    private IWindpowerstationtestingpointService windpowerstationtestingpointService;
-    @Resource
-    private IWindturbineSqlService windturbineSqlService;
+    private IProBasicPowerstationPointService  proBasicPowerstationPointService;
+
     @Resource
     private IAlertrule2Service alertrule2Service;
-    @Resource
-    private IMismapService mismapService;
-    public static Map<String, Windturbine> wtmap = new HashMap<String, Windturbine>(); // 风电机MAP
 
+    public static Map<String, ProBasicEquipment> wtmap = new HashMap<String, ProBasicEquipment>(); // 风电机MAP
 
-    public static Map<String, Windpowerstation> wpmap = new HashMap<>();
 
-    public static List<Windpowerstation> wpls = new ArrayList<Windpowerstation>(); // 风电场LIST集合
+    public static Map<String, ProBasicPowerstation> wpmap = new HashMap<>();
 
-    public static List<Windturbine> wtls = new ArrayList<Windturbine>(); // 风电机LIST集合
+    public static List<ProBasicPowerstation> wpls = new ArrayList<ProBasicPowerstation>(); // 风电场LIST集合
 
-    public static List<Alertrule2> alarmrulels = new ArrayList<>();
-    public static Map<String, Map<String, Windturbinetestingpointai>> wtpAimap = new HashMap<>();// 风电机测点AI表
+    public static List<ProBasicEquipment> wtls = new ArrayList<ProBasicEquipment>(); // 风电机LIST集合
 
-    public static Map<String,Map<String, Windpowerstationtestingpoint>> wppointmap =new HashMap<>();
+    public static Map<String, Map<String, ProBasicEquipmentPoint>> wtpAimap = new HashMap<>();// 风电机测点AI表
 
-    public static List<Project> projects = new ArrayList<>();
-    public static Map<String, List<Windturbine>> wtlinemap = new HashMap<String, List<Windturbine>>(); // 风电机线路MAP风电机LIST集合
-    public static List<Line> lines = new ArrayList<>();
+    public static Map<String,Map<String, ProBasicPowerstationPoint>> wppointmap =new HashMap<>();
 
-    public static Map<String, List<Windturbine>> wtsmap = new HashMap<String, List<Windturbine>>(); // 风电场MAP风电机LIST集合
-    public static List<Project> pjls = new ArrayList<>();
+    public static List<ProBasicProject> projects = new ArrayList<>();
 
-    public static Map<String, Project> pjmap = new HashMap<String, Project>(); // 项目MAP
-    public static Map<String, Line> lnmap = new HashMap<String, Line>(); // 线路MAP
-    public static List<Equipmentmodel> mlls = new ArrayList<Equipmentmodel>();// 风电机模型LIST集合
-    public static Map<String, Equipmentmodel> mlmap = new HashMap<String, Equipmentmodel>();// 风电机模型
+    public static List<ProBasicLine> lines = new ArrayList<>();
 
-    public static Map<String, String> mismap = new HashMap<String, String>(); // 映射生产系统风机信息
+    public static Map<String, List<ProBasicEquipment>> wtsmap = new HashMap<String, List<ProBasicEquipment>>(); // 风电场MAP风电机LIST集合
+    public static Map<String, ProBasicProject> pjmap = new HashMap<String, ProBasicProject>(); // 项目MAP
+    public static Map<String, ProBasicLine> lnmap = new HashMap<String, ProBasicLine>(); // 线路MAP
+    public static List<ProEconEquipmentmodel> mlls = new ArrayList<ProEconEquipmentmodel>();// 风电机模型LIST集合
+    public static Map<String, ProEconEquipmentmodel> mlmap = new HashMap<String, ProEconEquipmentmodel>();// 风电机模型
+    public static Map<String, List<ProBasicEquipment>> wtlinemap = new HashMap<String, List<ProBasicEquipment>>(); // 
+    public static List<Alertrule2> alarmrulels = new ArrayList<>();
     @Override
     public void run(String... args) throws Exception {
 
         log.info("-------------------------------缓存开始--------------------------------------");
-
-
+      //  hpmap=healthpointsService.findAllMap();
+        wpls = proBasicPowerstationService.list();
         alarmrulels=alertrule2Service.list();
-        List<Mismap> misls=mismapService.list();
+//
+//        wpls.stream().filter(i->i.getId().endsWith("FDC")).forEach(i->{
+//            wpmap.put(i.getId(),i);
+//        });
+//
+//        projects = proBasicProjectService.list();
+//
+//        lines = proBasicLineService.list();
+//
+//        wtls = proBasicEquipmentService.list();
+//
+//        mlls = proEconEquipmentmodelService.list();
+//        if (!mlls.isEmpty()) {
+//            for (ProEconEquipmentmodel model : mlls) {
+//                mlmap.put(model.getId(), model);
+//            }
+//        }
 
-        if (!misls.isEmpty()) {
-            for (Mismap st : misls) {
-                mismap.put(st.getSiskey(), st.getMiskey());
-            }
-        }
 
-        List<Windpowerstation> wptempls = windpowerstationService.list();
-        wptempls.stream().filter(i->i.getCompanyid().equals("1")).forEach(i->{
+        List<ProBasicPowerstation> wptempls = proBasicPowerstationService.list();
+
+        //和风只部署芳山风电场
+ //       wptempls.stream().filter(i->i.getId().equals("FS_FDC")).forEach(i->{
+        wptempls.stream().forEach(i->{
             wpls.add(i);
             wpmap.put(i.getId(),i);
         });
 
-        List<Project> pjtempls  = projectService.list();
+        List<ProBasicProject> pjtempls  = proBasicProjectService.list();
 
         if (!pjtempls.isEmpty()) {
-            pjtempls.stream().filter(i->wpmap.containsKey(i.getWindpowerstationid())).forEach(i->{
-                pjls.add(i);
+            pjtempls.stream().filter(i->wpmap.containsKey(i.getWindpowerstationId())).forEach(i->{
+                projects.add(i);
                 pjmap.put(i.getId(),i);
             });
         }
-        List<Line> templines = lineService.list();
+        List<ProBasicLine> templines = proBasicLineService.list();
         if (!templines.isEmpty()) {
-            templines.stream().filter(i->pjmap.containsKey(i.getProjectid())).forEach(i->{
+            templines.stream().filter(i->pjmap.containsKey(i.getProjectId())).forEach(i->{
                 lines.add(i);
                 lnmap.put(i.getId(),i);
             });
         }
-        List<Windturbine> wttempls =windturbineService.list();
+        List<ProBasicEquipment> wttempls =proBasicEquipmentService.list();
         if (!wttempls.isEmpty()) {
-            wttempls.stream().filter(i->wpmap.containsKey(i.getWindpowerstationid())).forEach(i->{
+            wttempls.stream().filter(i->wpmap.containsKey(i.getWindpowerstationId())).forEach(i->{
                 wtls.add(i);
             });
         }
-        mlls = equipmentmodelService.list();
+        mlls = proEconEquipmentmodelService.list();
         if (!mlls.isEmpty()) {
-            for (Equipmentmodel model : mlls) {
+            for (ProEconEquipmentmodel model : mlls) {
                 mlmap.put(model.getId(), model);
             }
         }
 
 
-
         if (!wtls.isEmpty()) {
-            List<Windturbine> list = null;
-            for (Windturbine wt : wtls) {
+            List<ProBasicEquipment> list = null;
+            for (ProBasicEquipment wt : wtls) {
                 wtmap.put(wt.getId(), wt);
-                if (wtsmap.containsKey(wt.getWindpowerstationid())) {
-                    list = wtsmap.get(wt.getWindpowerstationid());
+                if (wtsmap.containsKey(wt.getWindpowerstationId())) {
+                    list = wtsmap.get(wt.getWindpowerstationId());
                     list.add(wt);
                 } else {
-                    list = new ArrayList<Windturbine>();
+                    list = new ArrayList<ProBasicEquipment>();
                     list.add(wt);
-                    wtsmap.put(wt.getWindpowerstationid(), list);
+                    wtsmap.put(wt.getWindpowerstationId(), list);
                 }
 
-                if (wtlinemap.containsKey(wt.getLineid())) {
-                    List<Windturbine> wts = wtlinemap.get(wt.getLineid());
+                if (wtlinemap.containsKey(wt.getLineId())) {
+                    List<ProBasicEquipment> wts = wtlinemap.get(wt.getLineId());
                     wts.add(wt);
                 } else {
-                    List<Windturbine> wts = new ArrayList<Windturbine>();
+                    List<ProBasicEquipment> wts = new ArrayList<ProBasicEquipment>();
                     wts.add(wt);
-                    wtlinemap.put(wt.getLineid(), wts);
+                    wtlinemap.put(wt.getLineId(), wts);
                 }
             }
         }
-
-
-        List<Windturbinetestingpointai> WindturbinetestingpointaiList = windturbineTestingAiService.list();
-        Map<String, Windturbinetestingpointai> map = null;
+        List<ProBasicEquipmentPoint> WindturbinetestingpointaiList = proBasicEquipmentPointService.list();
+        Map<String, ProBasicEquipmentPoint> map = null;
 
         if(WindturbinetestingpointaiList != null && !WindturbinetestingpointaiList.isEmpty()){
-            for(Windturbinetestingpointai mp : WindturbinetestingpointaiList){
-                if(wtpAimap.containsKey(mp.getWindturbineid())){
-                    map = wtpAimap.get(mp.getWindturbineid());
-                    map.put(mp.getUniformcode(), mp);
+            for(ProBasicEquipmentPoint mp : WindturbinetestingpointaiList){
+                if(wtpAimap.containsKey(mp.getWindturbineId())){
+                    map = wtpAimap.get(mp.getWindturbineId());
+                    map.put(mp.getUniformCode(), mp);
                 }else{
-                    map = new HashMap<String, Windturbinetestingpointai>();
-                    map.put(mp.getUniformcode(), mp);
-                    wtpAimap.put(mp.getWindturbineid(), map);
+                    map = new HashMap<>();
+                    map.put(mp.getUniformCode(), mp);
+                    wtpAimap.put(mp.getWindturbineId(), map);
                 }
             }
         }
 
 
-        List<Windpowerstationtestingpoint> wplist = windpowerstationtestingpointService.list();
-        for (Windpowerstationtestingpoint Windpowerstationtestingpoint : wplist) {
-            if (wppointmap.containsKey(Windpowerstationtestingpoint.getWindpowerstationid())){
-                wppointmap.get(Windpowerstationtestingpoint.getWindpowerstationid()).put(Windpowerstationtestingpoint.getUniformcode(),Windpowerstationtestingpoint);
+        List<ProBasicPowerstationPoint> wplist = proBasicPowerstationPointService.list();
+        for (ProBasicPowerstationPoint ProBasicPowerstationPoint : wplist) {
+            if (wppointmap.containsKey(ProBasicPowerstationPoint.getWindpowerstationId())){
+                wppointmap.get(ProBasicPowerstationPoint.getWindpowerstationId()).put(ProBasicPowerstationPoint.getUniformCode(),ProBasicPowerstationPoint);
             }else{
-                Map<String,Windpowerstationtestingpoint> wpmap = new HashMap<>();
-                wpmap.put(Windpowerstationtestingpoint.getUniformcode(),Windpowerstationtestingpoint);
-                wppointmap.put(Windpowerstationtestingpoint.getWindpowerstationid(),wpmap);
+                Map<String,ProBasicPowerstationPoint> wpmap = new HashMap<>();
+                wpmap.put(ProBasicPowerstationPoint.getUniformCode(),ProBasicPowerstationPoint);
+                wppointmap.put(ProBasicPowerstationPoint.getWindpowerstationId(),wpmap);
             }
         }
 
@@ -201,13 +207,13 @@ public class CacheContext implements CommandLineRunner {
 //
 //            if(windturbinetestingpointList != null && !windturbinetestingpointList.isEmpty()){
 //                for(Windturbinetestingpoint mp : windturbinetestingpointList){
-//                    if(wtpAimap.containsKey(mp.getWindturbineid())){
-//                        map = wtpAimap.get(mp.getWindturbineid());
-//                        map.put(mp.getUniformcode(), mp);
+//                    if(wtpAimap.containsKey(mp.getWindturbineId())){
+//                        map = wtpAimap.get(mp.getWindturbineId());
+//                        map.put(mp.getUniformCode(), mp);
 //                    }else{
 //                        map = new HashMap<String, Windturbinetestingpoint>();
-//                        map.put(mp.getUniformcode(), mp);
-//                        wtpAimap.put(mp.getWindturbineid(), map);
+//                        map.put(mp.getUniformCode(), mp);
+//                        wtpAimap.put(mp.getWindturbineId(), map);
 //                    }
 //                }
 //            }

+ 1 - 2
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlarmsnapMapper.java

@@ -1,8 +1,7 @@
 package com.gyee.healthmodel.mapper.auto;
 
-import com.gyee.healthmodel.model.auto.Alarmsnap;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Windturbinebjcount;
+import com.gyee.healthmodel.model.auto.Alarmsnap;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
 

+ 1 - 2
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/Alertrule2Mapper.java

@@ -1,8 +1,7 @@
 package com.gyee.healthmodel.mapper.auto;
 
-import com.gyee.healthmodel.model.auto.Alarmsnap;
-import com.gyee.healthmodel.model.auto.Alertrule2;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.Alertrule2;
 import org.apache.ibatis.annotations.Param;
 import org.apache.ibatis.annotations.Select;
 

+ 1 - 1
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulefailureMapper.java

@@ -1,7 +1,7 @@
 package com.gyee.healthmodel.mapper.auto;
 
-import com.gyee.healthmodel.model.auto.Alertrulefailure;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.Alertrulefailure;
 
 /**
  * <p>

+ 10 - 13
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/model/auto/Healthcurrency.java

@@ -1,9 +1,9 @@
-package com.gyee.healthmodel.model.auto;
+package com.gyee.healthmodel.mapper.auto;
 
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableField;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
@@ -13,29 +13,26 @@ import lombok.EqualsAndHashCode;
  * </p>
  *
  * @author 石林
- * @since 2022-01-20
+ * @since 2022-01-21
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName("HEALTHCURRENCY")
-public class Healthcurrency extends Model {
+@TableName("ALERTRULEFAILURESUB")
+public class Alertrulefailuresub extends Model {
 
     private static final long serialVersionUID = 1L;
 
     @TableId("ID")
     private String id;
 
-    @TableField("HCODE")
-    private String hcode;
+    @TableField("TID")
+    private String tid;
 
     @TableField("NAME")
     private String name;
 
-    @TableField("TARGETNAME")
-    private String targetname;
-
-    @TableField("TARGETTYPE")
-    private String targettype;
+    @TableField("ALTYPE")
+    private String altype;
 
 
 }

+ 0 - 23
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulefailuresubMapper.java

@@ -1,23 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Alertrulefailuresub;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface AlertrulefailuresubMapper extends BaseMapper<Alertrulefailuresub> {
-
-    @Select(" select altype from alertrulefailuresub where tid=#{tid}  ")
-    public List<String> getPartByAlertruleid(@Param(value = "tid") String tid);
-
-}

+ 19 - 17
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/model/auto/Partbjcountsub.java

@@ -1,44 +1,46 @@
-package com.gyee.healthmodel.model.auto;
-
-import java.math.BigDecimal;
-import java.util.Date;
+package com.gyee.healthmodel.mapper.auto;
 
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableField;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import java.math.BigDecimal;
+
 /**
  * <p>
  * 
  * </p>
  *
  * @author 石林
- * @since 2022-01-21
+ * @since 2022-01-20
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName("PARTBJCOUNTSUB")
-public class Partbjcountsub extends Model {
+@TableName("ALERTRULESUB")
+public class Alertrulesub extends Model {
 
     private static final long serialVersionUID = 1L;
 
     @TableId("ID")
     private String id;
 
-    @TableField("WTID")
-    private String wtid;
+    @TableField("RID")
+    private String rid;
+
+    @TableField("FREQUENCY")
+    private BigDecimal frequency;
 
-    @TableField("COUNT")
-    private Integer count;
+    @TableField("TIMEINTERVAL")
+    private BigDecimal timeinterval;
 
-    @TableField("REFERENCE")
-    private Double reference;
+    @TableField("TIMERANGE")
+    private String timerange;
 
-    @TableField("RID")
-    private String rid;
+    @TableField("TIMENUM")
+    private BigDecimal timenum;
 
 
 }

+ 0 - 16
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/AlertrulesubMapper.java

@@ -1,16 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Alertrulesub;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface AlertrulesubMapper extends BaseMapper<Alertrulesub> {
-
-}

+ 0 - 25
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/CurvefittingmainMapper.java

@@ -1,25 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Curvefittingmain;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Windturbineinfoday3;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface CurvefittingmainMapper extends BaseMapper<Curvefittingmain> {
-
-    @Select(" select * from Curvefittingmain t where recorddate>=#{beginDate} and recorddate<=#{endDate}  order by recorddate desc   ")
-    public List<Curvefittingmain> getCurvefittingByDate(@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
-
-}

+ 0 - 28
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/CurvefittingsubMapper.java

@@ -1,28 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Curvefittingmain;
-import com.gyee.healthmodel.model.auto.Curvefittingsub;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface CurvefittingsubMapper extends BaseMapper<Curvefittingsub> {
-
-    @Select(" select * from Curvefittingsub t where recorddate>=#{beginDate} and recorddate<=#{endDate}   and speed>=5   and speed<=10  order BY recorddate,speed  ")
-    public List<Curvefittingsub> getCurvefittingByDate(@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
-
-    @Select(" select * from Curvefittingsub t where windturbineid=#{wtId} and recorddate<=#{recorddate}   and speed>=#{min}   and speed<=#{max}  order BY recorddate,speed  ")
-    public List<Curvefittingsub> getCurvefittingByParams( @Param(value = "recorddate")Date recorddate,@Param(value = "wtId") String wtId,@Param(value = "min")Double min,@Param(value = "max")Double max);
-
-}

+ 0 - 17
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/EquipmentmodelMapper.java

@@ -1,17 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Equipmentmodel;
-
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-11
- */
-public interface EquipmentmodelMapper extends BaseMapper<Equipmentmodel> {
-
-}

+ 0 - 16
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthcurrencyMapper.java

@@ -1,16 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Healthcurrency;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface HealthcurrencyMapper extends BaseMapper<Healthcurrency> {
-
-}

+ 0 - 26
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthsystemMapper.java

@@ -1,26 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Healthsystem;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Windturbineinfoday3;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface HealthsystemMapper extends BaseMapper<Healthsystem> {
-
-
-    @Select(" select * from HealthSystem t where gstatus=1  order BY id  ")
-    public List<Healthsystem> queryHealthSystem();
-
-}

+ 0 - 25
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/HealthsystemsubMapper.java

@@ -1,25 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Healthsystem;
-import com.gyee.healthmodel.model.auto.Healthsystemsub;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-20
- */
-public interface HealthsystemsubMapper extends BaseMapper<Healthsystemsub> {
-
-
-    @Select(" select * from HealthSystemSub t where hid=#{hid}  order BY id   ")
-    public List<Healthsystemsub> queryHealthSystemSub(@Param(value = "hid") String hid);
-}

+ 0 - 17
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/LineMapper.java

@@ -1,17 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Line;
-
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 谢生杰
- * @since 2021-06-21
- */
-public interface LineMapper extends BaseMapper<Line> {
-
-}

+ 0 - 34
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/LosspowerrateMapper.java

@@ -1,34 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Losspowerrate;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.vo.EventVo;
-import org.apache.ibatis.annotations.Delete;
-import org.apache.ibatis.annotations.Insert;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-12
- */
-public interface LosspowerrateMapper extends BaseMapper<Losspowerrate> {
-
-    @Delete(" delete from Losspowerrate where time=#{time} ")
-    public int deleteLosspowerrate(@Param(value = "time") String time);
-
-
-    @Insert("  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}) ")
-    public int insertLosspowerrate(Losspowerrate losspowerrate);
-
-    @Select("  select time,wtid,realpower,losspower,rate,wpid from Losspowerrate t where  time=#{time}  order by wtid ")
-    public List<Losspowerrate> getLosspowerrateByMonth(@Param(value = "time")String time);
-
-}

+ 0 - 16
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/MismapMapper.java

@@ -1,16 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.gyee.healthmodel.model.auto.Mismap;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-02-09
- */
-public interface MismapMapper extends BaseMapper<Mismap> {
-
-}

+ 0 - 40
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartbjcountMapper.java

@@ -1,40 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Partbjcount;
-import org.apache.ibatis.annotations.Delete;
-import org.apache.ibatis.annotations.Insert;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface PartbjcountMapper extends BaseMapper<Partbjcount> {
-
-
-    @Delete(" delete from Partbjcount ")
-    public int deletePartbjcountAll();
-
-
-    @Insert(" insert into partbjcount(id,lnid,alertruleid,part,recodedate) values(#{id,jdbcType=VARCHAR},#{lnid,jdbcType=VARCHAR},#{alertruleid,jdbcType=VARCHAR},#{part,jdbcType=VARCHAR},#{recodedate}) ")
-    public int insertPartbjcount(Partbjcount Partbjcount);
-
-
-    @Delete(" delete from Partbjcount where recodedate=#{recodedate} ")
-    public int deletePartbjcount(@Param(value = "recodedate") Date recodedate);
-
-
-    @Select(" select * from Partbjcount t where recodedate=#{recodedate}    ")
-    public List<Partbjcount> getPartbjcount(@Param(value = "recodedate") Date recodedate);
-
-
-}

+ 0 - 28
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartbjcountsubMapper.java

@@ -1,28 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.gyee.healthmodel.model.auto.Partbjcountsub;
-import org.apache.ibatis.annotations.Delete;
-import org.apache.ibatis.annotations.Insert;
-import org.apache.ibatis.annotations.Param;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-21
- */
-public interface PartbjcountsubMapper extends BaseMapper<Partbjcountsub> {
-
-    @Delete(" delete from Partbjcountsub ")
-    public int deletePartbjcountsub();
-
-
-    @Insert(" insert into Partbjcountsub(id,wtid,count,reference,rid) values( #{id,jdbcType=VARCHAR},#{wtid,jdbcType=VARCHAR},#{count,jdbcType=INTEGER},#{reference,jdbcType=DOUBLE},#{rid,jdbcType=VARCHAR} ) ")
-    public int insertPartbjcountsub(Partbjcountsub partbjcountsub);
-
-    @Delete(" delete from Partbjcountsub where rid=#{rid} ")
-    public int deletePartbjcount(@Param(value = "rid") String rid);
-}

+ 0 - 31
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/PartstatisticsmainMapper.java

@@ -1,31 +0,0 @@
-package com.gyee.healthmodel.mapper.auto;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-
-import com.gyee.healthmodel.model.auto.Partstatisticsmain;
-import com.gyee.healthmodel.model.auto.Windturbineinfoday3;
-import org.apache.ibatis.annotations.Delete;
-import org.apache.ibatis.annotations.Insert;
-import org.apache.ibatis.annotations.Param;
-import org.apache.ibatis.annotations.Select;
-
-import java.util.Date;
-import java.util.List;
-
-/**
- * <p>
- *  Mapper 接口
- * </p>
- *
- * @author 石林
- * @since 2022-01-10
- */
-public interface PartstatisticsmainMapper extends BaseMapper<Partstatisticsmain> {
-
-
-
-    @Select(" select * from Partstatisticsmain t where recodedate=#{recodedate}    order by recodedate desc   ")
-    public List<Partstatisticsmain> findPartstatisticsmain(@Param(value = "recodedate") Date recodedate);
-
-
-}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicCompanyMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicCompany;
+
+/**
+ * <p>
+ * 省公司表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicCompanyMapper extends BaseMapper<ProBasicCompany> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEnergyGroupMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicEnergyGroup;
+
+/**
+ * <p>
+ * 集团 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicEnergyGroupMapper extends BaseMapper<ProBasicEnergyGroup> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEquipmentMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicEquipment;
+
+/**
+ * <p>
+ * 风机&光伏 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicEquipmentMapper extends BaseMapper<ProBasicEquipment> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicEquipmentPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicEquipmentPoint;
+
+/**
+ * <p>
+ * 设备测点 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicEquipmentPointMapper extends BaseMapper<ProBasicEquipmentPoint> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicLineMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicLine;
+
+/**
+ * <p>
+ * 集电线路 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicLineMapper extends BaseMapper<ProBasicLine> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicMeterPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicMeterPoint;
+
+/**
+ * <p>
+ * 电计量点表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicMeterPointMapper extends BaseMapper<ProBasicMeterPoint> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicModelPowerMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicModelPower;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicModelPowerMapper extends BaseMapper<ProBasicModelPower> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicModelPowerRdMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicModelPowerRd;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-06
+ */
+public interface ProBasicModelPowerRdMapper extends BaseMapper<ProBasicModelPowerRd> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicPowerstationMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicPowerstation;
+
+/**
+ * <p>
+ * 场站表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-12
+ */
+public interface ProBasicPowerstationMapper extends BaseMapper<ProBasicPowerstation> {
+
+}

+ 20 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicPowerstationPointMapper.java

@@ -0,0 +1,20 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicPowerstationPoint;
+
+/**
+ * <p>
+ * 场站测点,期次测点,线路测点,三级公司测点,区域测点
+
+
+
++方阵测点 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicPowerstationPointMapper extends BaseMapper<ProBasicPowerstationPoint> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicProjectMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicProject;
+
+/**
+ * <p>
+ * 工程表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicProjectMapper extends BaseMapper<ProBasicProject> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicProjectPlanMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicProjectPlan;
+
+/**
+ * <p>
+ * 工程计划表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProBasicProjectPlanMapper extends BaseMapper<ProBasicProjectPlan> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicRealtimeDbconfigMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicRealtimeDbconfig;
+
+/**
+ * <p>
+ * 实时数据库配置表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProBasicRealtimeDbconfigMapper extends BaseMapper<ProBasicRealtimeDbconfig> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicRegionMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicRegion;
+
+/**
+ * <p>
+ * 区域 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicRegionMapper extends BaseMapper<ProBasicRegion> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicSquareMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicSquare;
+
+/**
+ * <p>
+ * 方阵 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicSquareMapper extends BaseMapper<ProBasicSquare> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicStatusPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicStatusPoint;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-17
+ */
+public interface ProBasicStatusPointMapper extends BaseMapper<ProBasicStatusPoint> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicSubStationMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicSubStation;
+
+/**
+ * <p>
+ * 调度场站名称 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProBasicSubStationMapper extends BaseMapper<ProBasicSubStation> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicWeatherStationMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicWeatherStation;
+
+/**
+ * <p>
+ * 气象站名称 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2023-04-04
+ */
+public interface ProBasicWeatherStationMapper extends BaseMapper<ProBasicWeatherStation> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProBasicWindturbinePowerMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProBasicWindturbinePower;
+
+/**
+ * <p>
+ * 风机功率曲线 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProBasicWindturbinePowerMapper extends BaseMapper<ProBasicWindturbinePower> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEcoWindspecificInfoDayMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEcoWindspecificInfoDay;
+
+/**
+ * <p>
+ * 日专题分析 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEcoWindspecificInfoDayMapper extends BaseMapper<ProEcoWindspecificInfoDay> {
+
+}

+ 30 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconActivePowerDataMapper.java

@@ -0,0 +1,30 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconActivePowerData;
+import com.gyee.healthmodel.model.vo.FitClassVo;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 动态功率数据 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-27
+ */
+public interface ProEconActivePowerDataMapper extends BaseMapper<ProEconActivePowerData> {
+
+    @Select(" SELECT windpowerstation_id windpowerstationId,windturbine_id windturbineId, " +
+            "model_id modelId,speed,avg(power) power " +
+            "FROM Pro_Econ_Active_Power_Data " +
+            "  where  windpowerstation_id=#{windpowerstationId} and record_date>=#{beginDate}  and record_date<=#{endDate} " +
+            "       group by windpowerstation_id,windturbine_id,model_id,speed order by speed ")
+    public List<FitClassVo> getFitList(@Param(value = "windpowerstationId")String windpowerstationId, @Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
+
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBenchmarkMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconBenchmark;
+
+/**
+ * <p>
+ * 对标管理 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconBenchmarkMapper extends BaseMapper<ProEconBenchmark> {
+
+}

+ 24 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBenchmarkingBetweenMapper.java

@@ -0,0 +1,24 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconBenchmarkingBetween;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2023-02-03
+ */
+public interface ProEconBenchmarkingBetweenMapper extends BaseMapper<ProEconBenchmarkingBetween> {
+
+    @Select("select duty_name dutyName,sum(theoretical_generatity) theoreticalGeneratity,sum(generatity) generatity,sum(fault_loss) faultLoss,sum(main_loss) mainLoss,sum(performance_loss) performanceLoss,sum(rationing_loss) rationingLoss,sum(involves_loss) involvesLoss from pro_econ_benchmarking_between where theday>=#{begin} and theday <=#{end} group by duty_name ")
+    public List<ProEconBenchmarkingBetween> findByBeginAndEnd(@Param(value = "begin") Date begin, @Param(value = "end")Date end);
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBrownoutsEvent2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconBrownoutsEvent2;
+
+/**
+ * <p>
+ * 与停机事件关联(限电停机时),数据库中无关联,程序控制 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-25
+ */
+public interface ProEconBrownoutsEvent2Mapper extends BaseMapper<ProEconBrownoutsEvent2> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconBrownoutsEventMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconBrownoutsEvent;
+
+/**
+ * <p>
+ * 与停机事件关联(限电停机时),数据库中无关联,程序控制 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconBrownoutsEventMapper extends BaseMapper<ProEconBrownoutsEvent> {
+
+}

+ 20 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittMonthMainMapper.java

@@ -0,0 +1,20 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittMonthMain;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * <p>
+ * 风电机月拟合曲线主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconCurveFittMonthMainMapper extends BaseMapper<ProEconCurveFittMonthMain> {
+
+    @Delete(" delete from pro_econ_curve_fitt_month_main where year=#{year} and month=#{month}")
+    public int deleteProEconCurveFittMonthSubByMonth(@Param(value = "year") String year, @Param(value = "month") String month);
+}

+ 20 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittMonthSubMapper.java

@@ -0,0 +1,20 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittMonthSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * <p>
+ * 风电机月拟合曲线子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconCurveFittMonthSubMapper extends BaseMapper<ProEconCurveFittMonthSub> {
+
+    @Delete(" delete from pro_econ_curve_fitt_month_sub where year=#{year} and month=#{month}")
+    public int deleteProEconCurveFittMonthSubByMonth(@Param(value = "year") String year, @Param(value = "month") String month);
+}

+ 19 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittYearMainMapper.java

@@ -0,0 +1,19 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittYearMain;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * <p>
+ * 风电机年拟合曲线主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-07
+ */
+public interface ProEconCurveFittYearMainMapper extends BaseMapper<ProEconCurveFittYearMain> {
+    @Delete(" delete from pro_econ_curve_fitt_year_main where year=#{year}")
+    public int deleteProEconCurveFittYearMainByYear(@Param(value = "year") String year);
+}

+ 19 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittYearSubMapper.java

@@ -0,0 +1,19 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittYearSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * <p>
+ * 风电机年拟合曲线子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-07
+ */
+public interface ProEconCurveFittYearSubMapper extends BaseMapper<ProEconCurveFittYearSub> {
+    @Delete(" delete from pro_econ_curve_fitt_year_sub where year=#{year}")
+    public int deleteProEconCurveFittYearSubByYear(@Param(value = "year") String year);
+}

+ 29 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittingMainMapper.java

@@ -0,0 +1,29 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittingMain;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 风电机拟合曲线主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconCurveFittingMainMapper extends BaseMapper<ProEconCurveFittingMain> {
+
+    @Delete(" delete from pro_econ_curve_fitting_main where record_date=#{record_date} ")
+    public int deleteProEconCurveFittingMainByDay(@Param(value = "record_date") Date record_date);
+
+
+    @Select(" select * from pro_econ_curve_fitting_main t where record_date>=#{beginDate} and record_date<=#{endDate}  order by record_date desc   ")
+    public List<ProEconCurveFittingMain> getCurvefittingByDate(@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
+
+}

+ 33 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconCurveFittingSubMapper.java

@@ -0,0 +1,33 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconCurveFittingSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 风电机拟合曲线子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconCurveFittingSubMapper extends BaseMapper<ProEconCurveFittingSub> {
+
+
+    @Delete(" delete from pro_econ_curve_fitting_sub where record_date=#{record_date} ")
+    public int deleteProEconCurveFittingSubByDay(@Param(value = "record_date") Date record_date);
+
+
+    @Select(" select * from pro_econ_curve_fitting_sub t where record_date>=#{beginDate} and record_date<=#{endDate}   and speed>=5   and speed<=10  order BY record_date,speed  ")
+    public List<ProEconCurveFittingSub> getCurvefittingByDate(@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
+
+    @Select(" select * from pro_econ_curve_fitting_sub t where windturbineid=#{wtId} and record_date<=#{record_date}   and speed>=#{min}   and speed<=#{max}  order BY record_date,speed  ")
+    public List<ProEconCurveFittingSub> getCurvefittingByParams( @Param(value = "record_date")Date record_date,@Param(value = "wtId") String wtId,@Param(value = "min")Double min,@Param(value = "max")Double max);
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconDutyScheduleMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconDutySchedule;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2023-02-03
+ */
+public interface ProEconDutyScheduleMapper extends BaseMapper<ProEconDutySchedule> {
+
+}

File diff suppressed because it is too large
+ 63 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEarlyWarningMainMapper.java


+ 28 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEarlyWarningSubMapper.java

@@ -0,0 +1,28 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEarlyWarningSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 预警统计子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconEarlyWarningSubMapper extends BaseMapper<ProEconEarlyWarningSub> {
+
+
+    @Delete(" delete from pro_econ_early_warning_sub where record_date=#{recorddate} ")
+    public int deleteEarlywarningsub(@Param(value = "record_date") Date recorddate);
+
+
+    @Insert("  INSERT INTO pro_econ_early_warning_sub(id,tid,record_date,wp_id,wp_name,wt_id,wt_name,name,event_id) VALUES(#{id,jdbcType=VARCHAR},#{tid,jdbcType=VARCHAR},#{record_date},#{wp_id,jdbcType=VARCHAR},#{wp_name,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR},#{wt_name,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR},#{event_id,jdbcType=VARCHAR})  ")
+    public int insertEarlywarningsub(ProEconEarlyWarningSub earlywarningsub);
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconElectricaltestPointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconElectricaltestPoint;
+
+/**
+ * <p>
+ * 电气测点 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconElectricaltestPointMapper extends BaseMapper<ProEconElectricaltestPoint> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentDayDetailedMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentDayDetailed;
+
+/**
+ * <p>
+ * 设备日明细 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconEquipmentDayDetailedMapper extends BaseMapper<ProEconEquipmentDayDetailed> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentDayInfoMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentDayInfo;
+
+/**
+ * <p>
+ * 风机绩效榜 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconEquipmentDayInfoMapper extends BaseMapper<ProEconEquipmentDayInfo> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfo15minuteMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfo15minute;
+
+/**
+ * <p>
+ * 电设备15分钟信息表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-04
+ */
+public interface ProEconEquipmentInfo15minuteMapper extends BaseMapper<ProEconEquipmentInfo15minute> {
+
+}

+ 24 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay1Mapper.java

@@ -0,0 +1,24 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay1;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 五损电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay1Mapper extends BaseMapper<ProEconEquipmentInfoDay1> {
+
+    @Select(" select * from pro_econ_equipment_info_day1 t where record_date>=#{beginDate} and record_date<=#{endDate}  order by record_date desc   ")
+    public List<ProEconEquipmentInfoDay1> getEconEquipmentInfoDay1(@Param(value = "beginDate") Date beginDate, @Param(value = "endDate")Date endDate);
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay2;
+
+/**
+ * <p>
+ * 五损时间 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-02
+ */
+public interface ProEconEquipmentInfoDay2Mapper extends BaseMapper<ProEconEquipmentInfoDay2> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay3Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay3;
+
+/**
+ * <p>
+ * 五损次数 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-02
+ */
+public interface ProEconEquipmentInfoDay3Mapper extends BaseMapper<ProEconEquipmentInfoDay3> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay4Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay4;
+
+/**
+ * <p>
+ * 五损曲线偏差率切入性能 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-07
+ */
+public interface ProEconEquipmentInfoDay4Mapper extends BaseMapper<ProEconEquipmentInfoDay4> {
+
+}

+ 45 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay5Mapper.java

@@ -0,0 +1,45 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay5;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 三率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay5Mapper extends BaseMapper<ProEconEquipmentInfoDay5> {
+
+
+    @Select(" select windpowerstation_id," +
+            "sum(TIMERATE20) TIMERATE20," +
+            "sum(TIMERATE16) TIMERATE16," +
+            "sum(TIMERATE17) TIMERATE17," +
+            "sum(TIMERATE18) TIMERATE18," +
+            "sum(TIMERATE19) TIMERATE19 " +
+            "from pro_econ_equipment_info_day5 where " +
+            "record_date>= #{beginDate} and record_date<= #{endDate}" +
+            " group by windpowerstation_id ")
+    List<ProEconEquipmentInfoDay5>  selectResetTimelyRateList(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate);
+
+
+
+    @Select(" select windpowerstation_id," +
+            " sum(TIMERATE13) TIMERATE13,sum(TIMERATE1) TIMERATE1,sum(TIMERATE2) TIMERATE2,sum(TIMERATE3) TIMERATE3,sum(TIMERATE4) TIMERATE4," +
+            " sum(TIMERATE14) TIMERATE14,sum(TIMERATE5) TIMERATE5,sum(TIMERATE6) TIMERATE6,sum(TIMERATE7) TIMERATE7,sum(TIMERATE8)  TIMERATE8," +
+            " sum(TIMERATE15) TIMERATE15,sum(TIMERATE9) TIMERATE9,sum(TIMERATE10) TIMERATE10,sum(TIMERATE11) TIMERATE11,sum(TIMERATE12) TIMERATE12" +
+            " from pro_econ_equipment_info_day5  where" +
+            " record_date>= #{beginDate} and record_date<= #{endDate}" +
+            " group by windpowerstation_id")
+    List<ProEconEquipmentInfoDay5> selectStateConversionRateList(@Param("beginDate") Date beginDate, @Param("endDate") Date endDate);
+}
+
+

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDay6Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDay6;
+
+/**
+ * <p>
+ * 离散率转换效率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconEquipmentInfoDay6Mapper extends BaseMapper<ProEconEquipmentInfoDay6> {
+
+}

+ 24 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentInfoDayTopMapper.java

@@ -0,0 +1,24 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentInfoDayTop;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 风机日信息表排行 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-09
+ */
+public interface ProEconEquipmentInfoDayTopMapper extends BaseMapper<ProEconEquipmentInfoDayTop> {
+
+
+    @Select(" select * from pro_econ_equipment_info_day_top t where types=1 and record_date=#{record_date}   ")
+    public List<ProEconEquipmentInfoDayTop> findXnfx(@Param(value = "record_date") Date record_date);
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconEquipmentmodelMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconEquipmentmodel;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconEquipmentmodelMapper extends BaseMapper<ProEconEquipmentmodel> {
+
+}

File diff suppressed because it is too large
+ 53 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFailureStatisticMainMapper.java


+ 27 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFailureStatisticsSubMapper.java

@@ -0,0 +1,27 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconFailureStatisticsSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 故障统计子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconFailureStatisticsSubMapper extends BaseMapper<ProEconFailureStatisticsSub> {
+
+    @Delete(" delete from pro_econ_failure_statistics_sub where record_date=#{recorddate} ")
+    public int deleteFailurestatisticssub(@Param(value = "recorddate") Date recorddate);
+
+
+    @Insert(" INSERT INTO pro_econ_failure_statistics_sub(id,tid,record_date,wp_id,wp_name,wt_id,wt_name,name,event_id) VALUES(#{id,jdbcType=VARCHAR},#{tid,jdbcType=VARCHAR},#{record_date},#{wp_id,jdbcType=VARCHAR},#{wp_name,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR},#{wt_name,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR},#{event_id,jdbcType=VARCHAR}) ")
+    public int insertFailurestatisticssub(ProEconFailureStatisticsSub failurestatisticssub);
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconFaultLiminatedefectsMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconFaultLiminatedefects;
+
+/**
+ * <p>
+ * 故障消缺及时率 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconFaultLiminatedefectsMapper extends BaseMapper<ProEconFaultLiminatedefects> {
+
+}

+ 21 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconHealthSystemMapper.java

@@ -0,0 +1,21 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconHealthSystem;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 健康模型主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconHealthSystemMapper extends BaseMapper<ProEconHealthSystem> {
+
+    @Select(" select * from pro_econ_health_system t where gstatus=1  order BY id  ")
+    public List<ProEconHealthSystem> queryHealthSystem();
+}

+ 25 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconHealthSystemSubMapper.java

@@ -0,0 +1,25 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconHealthSystemSub;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 健康模型子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconHealthSystemSubMapper extends BaseMapper<ProEconHealthSystemSub> {
+
+    @Select(" select * from pro_econ_health_system_sub t where hid=#{hid}  order BY id   ")
+    public List<ProEconHealthSystemSub> queryHealthSystemSub(@Param(value = "hid") String hid);
+
+    @Select(" select * from pro_econ_health_system_sub t  order BY id   ")
+    public List<ProEconHealthSystemSub> queryHealthSystemSubAll();
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInOrOutSpeedTotal2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconInOrOutSpeedTotal2;
+
+/**
+ * <p>
+ * 切入切出风速整合2 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconInOrOutSpeedTotal2Mapper extends BaseMapper<ProEconInOrOutSpeedTotal2> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInOrOutSpeedTotalMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconInOrOutSpeedTotal;
+
+/**
+ * <p>
+ * 切入切出风速整合 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconInOrOutSpeedTotalMapper extends BaseMapper<ProEconInOrOutSpeedTotal> {
+
+}

+ 17 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInputOrOutputSpeedMapper.java

@@ -0,0 +1,17 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconInputOrOutputSpeed;
+
+/**
+ * <p>
+ * 1、切入是1
+2、切出是0 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconInputOrOutputSpeedMapper extends BaseMapper<ProEconInputOrOutputSpeed> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInterruptionItemMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconInterruptionItem;
+
+/**
+ * <p>
+ * 记录通讯中断表中的记录的分解过程。 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-27
+ */
+public interface ProEconInterruptionItemMapper extends BaseMapper<ProEconInterruptionItem> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconInterruptionMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconInterruption;
+
+/**
+ * <p>
+ * 根据风电机状态判断通讯中断并记录。 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-27
+ */
+public interface ProEconInterruptionMapper extends BaseMapper<ProEconInterruption> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLimitPowerRecordsMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconLimitPowerRecords;
+
+/**
+ * <p>
+ * 性能损失记录 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconLimitPowerRecordsMapper extends BaseMapper<ProEconLimitPowerRecords> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLineElectricalMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconLineElectrical;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-24
+ */
+public interface ProEconLineElectricalMapper extends BaseMapper<ProEconLineElectrical> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconLogicalUnitMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconLogicalUnit;
+
+/**
+ * <p>
+ * 逻辑部件 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconLogicalUnitMapper extends BaseMapper<ProEconLogicalUnit> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMainBrownouts2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconMainBrownouts2;
+
+/**
+ * <p>
+ * 限电事件主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-25
+ */
+public interface ProEconMainBrownouts2Mapper extends BaseMapper<ProEconMainBrownouts2> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMainBrownoutsMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconMainBrownouts;
+
+/**
+ * <p>
+ * 限电事件主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-25
+ */
+public interface ProEconMainBrownoutsMapper extends BaseMapper<ProEconMainBrownouts> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconManufacturerMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconManufacturer;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-31
+ */
+public interface ProEconManufacturerMapper extends BaseMapper<ProEconManufacturer> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconMeterPointValueMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconMeterPointValue;
+
+/**
+ * <p>
+ * 电计量点值表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-10-21
+ */
+public interface ProEconMeterPointValueMapper extends BaseMapper<ProEconMeterPointValue> {
+
+}

+ 28 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartPowerstatticMainMapper.java

@@ -0,0 +1,28 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartPowerstatticMain;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 部件功率健康统计主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconPartPowerstatticMainMapper extends BaseMapper<ProEconPartPowerstatticMain> {
+
+
+    @Delete(" delete from pro_econ_part_powerstattic_main where record_date=#{recorddate} ")
+    public int deletePartpowerstatticsmain(@Param(value = "recorddate") Date recorddate);
+
+
+    @Insert("  INSERT INTO pro_econ_part_powerstattic_main(id,record_date,wp_id,wp_name,wt_id,wt_name,model) VALUES(#{id,jdbcType=VARCHAR},#{record_date},#{wp_id,jdbcType=VARCHAR},#{wp_name,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR},#{wt_name,jdbcType=VARCHAR},#{model,jdbcType=VARCHAR}) ")
+    public int insertPartpowerstatticsmain(ProEconPartPowerstatticMain partpowerstatticsmain);
+}

File diff suppressed because it is too large
+ 35 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartStatisticsMainMapper.java


+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartStatisticsSubMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartStatisticsSub;
+
+/**
+ * <p>
+ * 部件健康统计子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconPartStatisticsSubMapper extends BaseMapper<ProEconPartStatisticsSub> {
+
+}

+ 28 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartTemperatureMainMapper.java

@@ -0,0 +1,28 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartTemperatureMain;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 部件温度统计 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconPartTemperatureMainMapper extends BaseMapper<ProEconPartTemperatureMain> {
+
+
+    @Delete(" delete from pro_econ_part_temperature_main where record_date=#{recorddate} ")
+    public int deleteParttemperaturemain(@Param(value = "recorddate") Date recorddate);
+
+
+    @Insert(" INSERT INTO pro_econ_part_temperature_main(id,record_date,wp_id,wp_name,wt_id,wt_name,trange,tsnumber) VALUES(#{id,jdbcType=VARCHAR},#{record_date},#{wp_id,jdbcType=VARCHAR},#{wp_name,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR},#{wt_name,jdbcType=VARCHAR},#{trange,jdbcType=VARCHAR},#{tsnumber,jdbcType=INTEGER}) ")
+    public int insertParttemperaturemain(ProEconPartTemperatureMain parttemperaturemain);
+}

+ 28 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartTemperatureSubMapper.java

@@ -0,0 +1,28 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartTemperatureSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 部件温度统计子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconPartTemperatureSubMapper extends BaseMapper<ProEconPartTemperatureSub> {
+
+
+    @Delete(" delete from pro_econ_part_temperature_sub where record_date=#{recorddate} ")
+    public int deleteParttemperaturesub(@Param(value = "recorddate") Date recorddate);
+
+
+    @Insert(" INSERT INTO pro_econ_part_temperature_sub(id,record_date,wp_id,wp_name,wt_id,wt_name,trange,tsnumber,pointname,partname) VALUES(#{id,jdbcType=VARCHAR},#{record_date},#{wp_id,jdbcType=VARCHAR},#{wp_name,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR},#{wt_name,jdbcType=VARCHAR},#{trange,jdbcType=VARCHAR},#{tsnumber,jdbcType=INTEGER},#{pointname,jdbcType=VARCHAR},#{partname,jdbcType=VARCHAR}) ")
+    public int insertParttemperaturesub(ProEconPartTemperatureSub parttemperaturesub);
+}

+ 40 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartWarnCountMapper.java

@@ -0,0 +1,40 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartWarnCount;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ * 部件报警主表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-27
+ */
+public interface ProEconPartWarnCountMapper extends BaseMapper<ProEconPartWarnCount> {
+
+    @Delete(" delete from pro_econ_part_warn_count ")
+    public int deletePartbjcountAll();
+
+
+    @Insert(" insert into pro_econ_part_warn_count(id,ln_id,record_date,alertrule_id,total,average_quantity,part)" +
+            " values(#{id,jdbcType=VARCHAR},#{ln_id,jdbcType=VARCHAR},#{record_date},#{alertrule_id,jdbcType=VARCHAR}," +
+            ",#{total,jdbcType=Integer},,#{average_quantity,jdbcType=Double},#{part,jdbcType=VARCHAR}) ")
+    public int insertPartbjcount(ProEconPartWarnCount ProEconPartWarnCount);
+
+
+    @Delete(" delete from pro_econ_part_warn_count where record_date=#{record_date} ")
+    public int deletePartbjcount(@Param(value = "record_date") Date record_date);
+
+
+    @Select(" select * from pro_econ_part_warn_count t where record_date=#{record_date}    ")
+    public List<ProEconPartWarnCount> getPartbjcount(@Param(value = "record_date") Date record_date);
+
+}

+ 32 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartWarnCountSubMapper.java

@@ -0,0 +1,32 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartWarnCountSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * <p>
+ * 部件报警子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-27
+ */
+public interface ProEconPartWarnCountSubMapper extends BaseMapper<ProEconPartWarnCountSub> {
+
+
+    @Delete(" delete from pro_econ_part_warn_count_sub ")
+    public int deletePartbjcountsub();
+
+
+    @Insert(" insert into pro_econ_part_warn_count_sub(id,pid,wt_id,record_date,alertrule_id,count,average_quantity,part) " +
+            "values( #{id,jdbcType=VARCHAR},#{pid,jdbcType=VARCHAR},#{wt_id,jdbcType=VARCHAR}," +
+            "#{record_date},#{alertrule_id,jdbcType=VARCHAR}," +
+            "#{total,jdbcType=INTEGER},#{average_quantity,jdbcType=DOUBLE},#{part,jdbcType=VARCHAR} ) ")
+    public int insertPartbjcountsub(ProEconPartWarnCountSub partbjcountsub);
+
+    @Delete(" delete from pro_econ_part_warn_count_sub where pid=#{pid} ")
+    public int deletePartbjcount(@Param(value = "pid") String pid);
+}

+ 27 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPartpowerStatticsSubMapper.java

@@ -0,0 +1,27 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPartpowerStatticsSub;
+import org.apache.ibatis.annotations.Delete;
+import org.apache.ibatis.annotations.Insert;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * <p>
+ * 部件功率健康统计子表 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2023-04-24
+ */
+public interface ProEconPartpowerStatticsSubMapper extends BaseMapper<ProEconPartpowerStatticsSub> {
+
+    @Delete(" delete from pro_econ_partpower_stattics_sub where record_date=#{recorddate} ")
+    public int deletePartpowerstatticssub(@Param(value = "recorddate") Date recorddate);
+
+
+    @Insert("  INSERT INTO pro_econ_partpower_stattics_sub(id,tid,record_date,partid,name,datavalue,power,earlywarningvalue,criticalvalue) VALUES(#{id,jdbcType=VARCHAR},#{tid,jdbcType=VARCHAR},#{record_date},#{partid,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR},#{datavalue,jdbcType=DECIMAL},#{power,jdbcType=VARCHAR},#{earlywarningvalue,jdbcType=DECIMAL},#{criticalvalue,jdbcType=DECIMAL})")
+    public int insertPartpowerstatticssub(ProEconPartpowerStatticsSub partpowerstatticssub);
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPointCodeMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPointCode;
+
+/**
+ * <p>
+ * 指标查询表 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-11-23
+ */
+public interface ProEconPointCodeMapper extends BaseMapper<ProEconPointCode> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay1Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPowerstationInfoDay1;
+
+/**
+ * <p>
+ * 场站五损电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay1Mapper extends BaseMapper<ProEconPowerstationInfoDay1> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay2Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPowerstationInfoDay2;
+
+/**
+ * <p>
+ * 场站五损时间 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-02
+ */
+public interface ProEconPowerstationInfoDay2Mapper extends BaseMapper<ProEconPowerstationInfoDay2> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay3Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPowerstationInfoDay3;
+
+/**
+ * <p>
+ * 场站五损次数 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-02
+ */
+public interface ProEconPowerstationInfoDay3Mapper extends BaseMapper<ProEconPowerstationInfoDay3> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay4Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPowerstationInfoDay4;
+
+/**
+ * <p>
+ * 场站三率mtbf Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay4Mapper extends BaseMapper<ProEconPowerstationInfoDay4> {
+
+}

+ 16 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay5Mapper.java

@@ -0,0 +1,16 @@
+package com.gyee.healthmodel.mapper.auto;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gyee.healthmodel.model.auto.ProEconPowerstationInfoDay5;
+
+/**
+ * <p>
+ * 电表发电量 Mapper 接口
+ * </p>
+ *
+ * @author shilin
+ * @since 2022-11-01
+ */
+public interface ProEconPowerstationInfoDay5Mapper extends BaseMapper<ProEconPowerstationInfoDay5> {
+
+}

+ 0 - 0
realtime/healthmodel-server/src/main/java/com/gyee/healthmodel/mapper/auto/ProEconPowerstationInfoDay6Mapper.java


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