Sfoglia il codice sorgente

统建后台管理搭建

xieshengjie 2 anni fa
parent
commit
b22875d25d
100 ha cambiato i file con 3660 aggiunte e 26 eliminazioni
  1. 4 4
      common/pom.xml
  2. 0 2
      histroy/healthmanagement-histroy/src/main/java/com/gyee/healthmanagementhistroy/service/evaluate/EvaluateService.java
  3. 82 0
      web/backmanagerconfig-xktj/pom.xml
  4. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/BackConfigMain.java
  5. 106 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/CacheContext.java
  6. 26 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/CorsConfig.java
  7. 150 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/GeneratorCodeConfig.java
  8. 63 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/MybatisPlusConfig.java
  9. 71 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/R.java
  10. 12 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ResultCode.java
  11. 87 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ResultInfo.java
  12. 42 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/Status.java
  13. 27 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ZTEnum.java
  14. 33 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicCompanyController.java
  15. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicEnergyGroupController.java
  16. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicEquipmentPointController.java
  17. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicLineController.java
  18. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicMeterPointController.java
  19. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicProjectController.java
  20. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicProjectPlanController.java
  21. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicRegionController.java
  22. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindpowerstationController.java
  23. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindsubStationController.java
  24. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindturbineController.java
  25. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWppointController.java
  26. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProEconEquipmentmodelController.java
  27. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProEconManufacturerController.java
  28. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicCompanyMapper.java
  29. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicEnergyGroupMapper.java
  30. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicEquipmentPointMapper.java
  31. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicLineMapper.java
  32. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicMeterPointMapper.java
  33. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicProjectMapper.java
  34. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicProjectPlanMapper.java
  35. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicRegionMapper.java
  36. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindpowerstationMapper.java
  37. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindsubStationMapper.java
  38. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindturbineMapper.java
  39. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWppointMapper.java
  40. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProEconEquipmentmodelMapper.java
  41. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProEconManufacturerMapper.java
  42. 147 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicCompany.java
  43. 137 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicEnergyGroup.java
  44. 117 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicEquipmentPoint.java
  45. 72 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicLine.java
  46. 122 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicMeterPoint.java
  47. 103 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicProject.java
  48. 62 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicProjectPlan.java
  49. 142 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicRegion.java
  50. 137 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindpowerstation.java
  51. 55 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindsubStation.java
  52. 103 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindturbine.java
  53. 112 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWppoint.java
  54. 92 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProEconEquipmentmodel.java
  55. 50 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProEconManufacturer.java
  56. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicCompanyService.java
  57. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicEnergyGroupService.java
  58. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicEquipmentPointService.java
  59. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicLineService.java
  60. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicMeterPointService.java
  61. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicProjectPlanService.java
  62. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicProjectService.java
  63. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicRegionService.java
  64. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindpowerstationService.java
  65. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindsubStationService.java
  66. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindturbineService.java
  67. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWppointService.java
  68. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProEconEquipmentmodelService.java
  69. 16 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProEconManufacturerService.java
  70. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicCompanyServiceImpl.java
  71. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicEnergyGroupServiceImpl.java
  72. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicEquipmentPointServiceImpl.java
  73. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicLineServiceImpl.java
  74. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicMeterPointServiceImpl.java
  75. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicProjectPlanServiceImpl.java
  76. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicProjectServiceImpl.java
  77. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicRegionServiceImpl.java
  78. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindpowerstationServiceImpl.java
  79. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindsubStationServiceImpl.java
  80. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindturbineServiceImpl.java
  81. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWppointServiceImpl.java
  82. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProEconEquipmentmodelServiceImpl.java
  83. 20 0
      web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProEconManufacturerServiceImpl.java
  84. 104 0
      web/backmanagerconfig-xktj/src/main/resources/application-jn.yml
  85. 104 0
      web/backmanagerconfig-xktj/src/main/resources/application-test.yml
  86. 4 0
      web/backmanagerconfig-xktj/src/main/resources/application.yml
  87. 4 0
      web/datacenter-hb/pom.xml
  88. 8 0
      web/monitor-web/pom.xml
  89. 11 11
      web/monitor-web/src/main/java/com/gyee/monitor/config/GeneratorCodeConfig.java
  90. 20 0
      web/monitor-web/src/main/java/com/gyee/monitor/controller/auto/CompanysController.java
  91. 20 0
      web/monitor-web/src/main/java/com/gyee/monitor/controller/auto/RegionController.java
  92. 21 9
      web/monitor-web/src/main/java/com/gyee/monitor/init/CacheContext.java
  93. 16 0
      web/monitor-web/src/main/java/com/gyee/monitor/mapper/auto/CompanysMapper.java
  94. 16 0
      web/monitor-web/src/main/java/com/gyee/monitor/mapper/auto/RegionMapper.java
  95. 62 0
      web/monitor-web/src/main/java/com/gyee/monitor/model/auto/Companys.java
  96. 60 0
      web/monitor-web/src/main/java/com/gyee/monitor/model/auto/Region.java
  97. 16 0
      web/monitor-web/src/main/java/com/gyee/monitor/service/auto/ICompanysService.java
  98. 16 0
      web/monitor-web/src/main/java/com/gyee/monitor/service/auto/IRegionService.java
  99. 20 0
      web/monitor-web/src/main/java/com/gyee/monitor/service/auto/impl/CompanysServiceImpl.java
  100. 0 0
      web/monitor-web/src/main/java/com/gyee/monitor/service/auto/impl/RegionServiceImpl.java

+ 4 - 4
common/pom.xml

@@ -12,11 +12,11 @@
     <artifactId>common</artifactId>
 
     <dependencies>
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-redis</artifactId>
+<!--        <dependency>-->
+<!--            <groupId>org.springframework.boot</groupId>-->
+<!--            <artifactId>spring-boot-starter-data-redis</artifactId>-->
 
-        </dependency>
+<!--        </dependency>-->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>

+ 0 - 2
histroy/healthmanagement-histroy/src/main/java/com/gyee/healthmanagementhistroy/service/evaluate/EvaluateService.java

@@ -8,8 +8,6 @@ import com.gyee.healthmanagementhistroy.model.auto.Operationevaluation;
 import com.gyee.healthmanagementhistroy.service.auto.IBenchmarkService;
 import com.gyee.healthmanagementhistroy.service.auto.IMaintenanceevaluationService;
 import com.gyee.healthmanagementhistroy.service.auto.IOperationevaluationService;
-import io.lettuce.core.GeoArgs;
-import org.apache.commons.logging.LogFactory;
 import org.springframework.stereotype.Service;
 
 import javax.annotation.Resource;

+ 82 - 0
web/backmanagerconfig-xktj/pom.xml

@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <artifactId>web</artifactId>
+        <groupId>com.gyee</groupId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+
+    <artifactId>backmanagerconfig-xktj</artifactId>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>com.gyee</groupId>
+            <artifactId>common</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.7</version>
+            <scope>compile</scope>
+        </dependency>
+        <!--nacos 依赖-->
+<!--        <dependency>-->
+<!--            <groupId>com.alibaba.cloud</groupId>-->
+<!--            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
+<!--        </dependency>-->
+        <dependency>
+            <groupId>org.postgresql</groupId>
+            <artifactId>postgresql</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>cn.hutool</groupId>
+            <artifactId>hutool-all</artifactId>
+            <version>5.1.1</version>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.4.2</version>
+                <configuration>
+                    <skipTests>true</skipTests>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/BackConfigMain.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig;
+
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+//@EnableDiscoveryClient
+@MapperScan("com.gyee.backconfig.mapper")
+public class BackConfigMain {
+
+    public static void main(String[] args) {
+        SpringApplication.run(BackConfigMain.class,args);
+    }
+}

+ 106 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/CacheContext.java

@@ -0,0 +1,106 @@
+//package com.gyee.backconfig.config;
+//
+//
+//
+//import com.gyee.common.model.auto.Windturbine;
+//import com.gyee.common.service.IWindturbineService;
+//import org.springframework.beans.factory.annotation.Autowired;
+//import org.springframework.boot.CommandLineRunner;
+//import org.springframework.stereotype.Component;
+//
+//import javax.annotation.Resource;
+//import java.util.ArrayList;
+//import java.util.HashMap;
+//import java.util.List;
+//import java.util.Map;
+//
+//
+///**
+// * @ClassName : CacheContext
+// * @Author : wang
+// * @Date: 2022/9/26 9:35
+// * @Description : 缓存
+// */
+//@Component
+//public class CacheContext implements CommandLineRunner {
+//
+//
+//
+//
+//
+//    @Autowired
+//    private IRegionService regionService;//区域
+//
+//    @Resource
+//    private ICompanysService companysService;//公司
+//
+//    @Resource
+//    private IProjectService projectService;//期次
+//
+//    @Resource
+//    private ILineService lineService;//线路
+//
+//    @Resource
+//    private IWindpowerstationService windpowerstationService;//场站
+//
+//    @Autowired
+//    private IWindturbineService windturbineService;//风机
+//
+//
+//    public static   Map<String, Region> regionmap = new HashMap<>();
+//    public static List<Region> regions = new ArrayList<>();
+//
+//
+//    public static   Map<String, Line> linemap = new HashMap<>();
+//    public static List<Line> lines = new ArrayList<>();
+//
+//
+//    public static   Map<String, Windturbine> windturbinemap = new HashMap<>();
+//    public static List<Windturbine> windturbines = new ArrayList<>();
+//
+//    public static Map<String, Project> promap = new HashMap<>();
+//    public static List<Project> prols = new ArrayList<>();
+//    public static Map<String,Windpowerstation> wpmap = new HashMap<>();
+//    public static List<Windpowerstation> wpls = new ArrayList<>();
+//    public static Map<String, Companys> cpmap = new HashMap<>();
+//    public static List<Companys> cpls = new ArrayList<>();
+//
+//
+//    @Override
+//    public void run(String... args) throws Exception {
+//
+//        cpls = companysService.list();
+//        cpls.stream().forEach(Companys -> {
+//            cpmap.put(Companys.getId(),Companys);
+//        });
+//
+//        wpls = windpowerstationService.list();
+//        wpls.stream().forEach(windpowerstation -> {
+//            wpmap.put(windpowerstation.getId(),windpowerstation);
+//        });
+//
+//        prols = projectService.list();
+//        prols.stream().forEach(Project -> {
+//            promap.put(Project.getWindpowerstationid(),Project);
+//        });
+//
+//
+//        //区域
+//        regions = regionService.list();
+//        regions.stream().forEach(region -> {
+//            regionmap.put(region.getId(), region);
+//        });
+//
+//        //线路
+//        lines = lineService.list();
+//        lines.stream().forEach(line -> {
+//            linemap.put(line.getId(), line);
+//        });
+//
+//        //风机
+//        windturbines =  windturbineService.list();
+//        windturbines.stream().forEach(windturbine -> {
+//            windturbinemap.put(windturbine.getId(), windturbine);
+//        });
+//    }
+//}

+ 26 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/CorsConfig.java

@@ -0,0 +1,26 @@
+package com.gyee.backconfig.config;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.CorsRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
+
+/**
+ * @ClassName : CorsConfig
+ * @Author : xieshengjie
+ * @Date: 2021/6/28 20:00
+ * @Description :
+ */
+@Configuration
+public class CorsConfig implements WebMvcConfigurer {
+
+    static final String[] ORIGINS = new String[]{"GET", "POST", "PUT", "DELETE"};  //请求方式
+
+    @Override
+    public void addCorsMappings(CorsRegistry registry) {
+        registry.addMapping("/**") //所有的当前站点的请求地址,都支持跨域访问
+                .allowedOrigins("*")// 所有的外部域都可跨域访问,这里注意2.4.0以后是allowedOriginPatterns,以前是allowedOrigins
+                .allowCredentials(true)  //是否支持跨域用户凭证
+                .allowedMethods(ORIGINS) //当前站点支持的跨域请求类型是什么
+                .maxAge(3600);  //超是时长,单位为秒。
+    }
+}

+ 150 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/GeneratorCodeConfig.java

@@ -0,0 +1,150 @@
+package com.gyee.backconfig.config;
+
+
+import com.baomidou.mybatisplus.core.exceptions.MybatisPlusException;
+import com.baomidou.mybatisplus.core.toolkit.StringUtils;
+import com.baomidou.mybatisplus.generator.AutoGenerator;
+import com.baomidou.mybatisplus.generator.config.*;
+import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
+import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
+
+import java.util.Scanner;
+
+/**
+ *@ClassName GeneratorCodeConfig
+ *@Description 自动生成mybatisplus的相关代码
+ *@Author 谢生杰
+ *@Date 2020/9/25 18:26
+ *@Version 1.0
+ **/
+public class GeneratorCodeConfig {
+    public static String scanner(String tip) {
+        Scanner scanner = new Scanner(System.in);
+        StringBuilder help = new StringBuilder();
+        help.append("请输入" + tip + ":");
+        System.out.println(help.toString());
+        if (scanner.hasNext()) {
+            String ipt = scanner.next();
+            if (StringUtils.isNotEmpty(ipt)) {
+                return ipt;
+            }
+        }
+        throw new MybatisPlusException("请输入正确的" + tip + "!");
+    }
+
+    public static void main(String[] args) {
+        System.out.println("jjjjjjjjjj");
+        // 代码生成器
+        AutoGenerator mpg = new AutoGenerator();
+
+        // 全局配置
+        GlobalConfig gc = new GlobalConfig();
+        String projectPath = System.getProperty("user.dir");
+        gc.setOutputDir(projectPath + "/src/main/java");
+        gc.setAuthor("wang");
+        gc.setOpen(false);
+        //实体属性 Swagger2 注解
+        gc.setSwagger2(false);
+        mpg.setGlobalConfig(gc);
+
+        // 数据源配置
+        DataSourceConfig dsc = new DataSourceConfig();
+        /*dsc.setUrl("jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true");
+        dsc.setDriverName("com.mysql.jdbc.Driver");
+        dsc.setUsername("root");
+        dsc.setPassword("root");
+        mpg.setDataSource(dsc);*/
+//        dsc.setDriverName("oracle.jdbc.driver.OracleDriver"); 注意大写
+//        dsc.setUsername("gdprod");
+//        dsc.setPassword("gd123");
+//        dsc.setUrl("jdbc:oracle:thin:@10.81.3.151:1521:gdsj");
+
+        dsc.setDriverName("org.postgresql.Driver");
+        dsc.setUsername("gdprod");
+        dsc.setPassword("gd123");
+        dsc.setUrl("jdbc:postgresql://120.46.148.180:5432/wisdom");
+
+        mpg.setDataSource(dsc);
+
+
+
+        // 包配置
+        PackageConfig pc = new PackageConfig();
+//        pc.setModuleName(scanner("模块名"));
+        pc.setParent("com.gyee.backconfig");
+        pc.setEntity("model.auto");
+        pc.setMapper("mapper.auto");
+        pc.setService("service.auto");
+        pc.setServiceImpl("service.auto.impl");
+        mpg.setPackageInfo(pc);
+
+        // 自定义配置
+//        InjectionConfig cfg = new InjectionConfig() {
+//            @Override
+//            public void initMap() {
+//                // to do nothing
+//            }
+//        };
+
+        // 如果模板引擎是 freemarker
+//        String templatePath = "/templates/mapper.xml.ftl";
+        // 如果模板引擎是 velocity
+        // String templatePath = "/templates/mapper.xml.vm";
+
+        // 自定义输出配置
+//        List<FileOutConfig> focList = new ArrayList<>();
+        // 自定义配置会被优先输出
+//        focList.add(new FileOutConfig(templatePath) {
+//            @Override
+//            public String outputFile(TableInfo tableInfo) {
+//                // 自定义输出文件名 , 如果你 Entity 设置了前后缀、此处注意 xml 的名称会跟着发生变化!!
+//                return projectPath + "/src/main/resources/mapper/" + pc.getModuleName()
+//                        + "/" + tableInfo.getEntityName() + "Mapper" + StringPool.DOT_XML;
+//            }
+//        });
+        /*
+        cfg.setFileCreate(new IFileCreate() {
+            @Override
+            public boolean isCreate(ConfigBuilder configBuilder, FileType fileType, String filePath) {
+                // 判断自定义文件夹是否需要创建
+                checkDir("调用默认方法创建的目录");
+                return false;
+            }
+        });
+        */
+//        cfg.setFileOutConfigList(focList);
+//        mpg.setCfg(cfg);
+
+        // 配置模板
+        TemplateConfig templateConfig = new TemplateConfig();
+
+        // 配置自定义输出模板
+        //指定自定义模板路径,注意不要带上.ftl/.vm, 会根据使用的模板引擎自动识别
+        // templateConfig.setEntity("templates/entity2.java");
+        // templateConfig.setService();
+        // templateConfig.setController();
+
+        templateConfig.setXml(null);
+        mpg.setTemplate(templateConfig);
+
+        // 策略配置
+        StrategyConfig strategy = new StrategyConfig();
+        strategy.setNaming(NamingStrategy.underline_to_camel);
+        strategy.setColumnNaming(NamingStrategy.underline_to_camel);
+        strategy.setSuperEntityClass("com.baomidou.mybatisplus.extension.activerecord.Model");
+        strategy.setEntityLombokModel(true);
+        strategy.setRestControllerStyle(true);
+
+        strategy.setEntityLombokModel(true);
+        // 公共父类
+//        strategy.setSuperControllerClass("com.baomidou.ant.common.BaseController");
+        // 写于父类中的公共字段
+//        strategy.setSuperEntityColumns("id");
+        strategy.setInclude(scanner("表名,多个英文逗号分割").split(","));
+        strategy.setControllerMappingHyphenStyle(true);
+        strategy.setTablePrefix(pc.getModuleName() + "_");
+        mpg.setStrategy(strategy);
+        mpg.setTemplateEngine(new FreemarkerTemplateEngine());
+        mpg.execute();
+    }
+}

+ 63 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/MybatisPlusConfig.java

@@ -0,0 +1,63 @@
+package com.gyee.backconfig.config;
+
+
+import cn.hutool.core.date.DatePattern;
+import cn.hutool.core.date.DateUtil;
+import cn.hutool.core.util.IdUtil;
+import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;
+import com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor;
+import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+import java.util.Date;
+
+/**
+ *@ClassName MybatisPlusConfig
+ *@Description 配置分页插件
+ *@Author 谢生杰
+ *@Date 2020/9/25 18:24
+ *@Version 1.0
+ **/
+@Configuration
+public class MybatisPlusConfig {
+    /**
+     * 分页插件
+     */
+    @Bean
+    public PaginationInterceptor paginationInterceptor() {
+        return new PaginationInterceptor();
+    }
+
+    /**
+     * @description:
+     * @author: xiruipeng 
+     * @date: 2022/9/16 15:08
+     * @param: []
+     * @return: com.baomidou.mybatisplus.extension.plugins.OptimisticLockerInterceptor
+     **/
+    @Bean
+    public OptimisticLockerInterceptor optimisticLockerInterceptor(){
+        return new OptimisticLockerInterceptor();
+    }
+
+
+    /**
+     * 自定义主键生成:生成的 当前时间 + 随机数的格式
+     * @return
+     */
+    @Bean
+    public IdentifierGenerator idGenerator() {
+        return new IdentifierGenerator() {
+            @Override
+            public Number nextId(Object entity) {
+                return null;
+            }
+
+            @Override
+            public String nextUUID(Object entity) {
+                return DateUtil.format(new Date(), DatePattern.PURE_DATETIME_PATTERN)+ IdUtil.simpleUUID();
+            }
+        };
+    }
+}

+ 71 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/R.java

@@ -0,0 +1,71 @@
+package com.gyee.backconfig.config;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * @ClassName : R
+ * @Author : xieshengjie
+ * @Date: 2021/5/16 16:59
+ * @Description : 结果集
+ */
+@Data
+public class R {
+    @ApiModelProperty(value = "是否成功")
+    private Boolean success;
+    @ApiModelProperty(value = "返回码")
+    private Integer code;
+    @ApiModelProperty(value = "返回消息")
+    private String message;
+    @ApiModelProperty(value = "总数量")
+    private Integer count;
+    @ApiModelProperty(value = "返回数据")
+    private Object data = new Object();
+    private R(){}
+    public static R ok(){
+        R r = new R();
+        r.setSuccess(true);
+        r.setCode(ResultCode.SUCCESS);
+        r.setMessage("成功");
+        return r;
+    }
+    public static R ok(Integer count){
+        R r = new R();
+        r.setSuccess(true);
+        r.setCode(ResultCode.SUCCESS);
+        r.setMessage("成功");
+        r.setCount(count);
+        return r;
+    }
+    public static R error(){
+        R r = new R();
+        r.setSuccess(false);
+        r.setCode(ResultCode.ERROR);
+        r.setMessage("失败");
+        return r;
+    }
+    public R success(Boolean success){
+        this.setSuccess(success);
+        return this;
+    }
+    public R message(String message){
+        this.setMessage(message);
+        return this;
+    }
+    public R code(Integer code){
+        this.setCode(code);
+        return this;
+    }
+//    public R data(String key, Object value){
+//        this.data.put(key, value);
+//        return this;
+//    }
+//    public R data(Map<String, Object> map){
+//        this.setData(map);
+//        return this;
+//    }
+    public R data(Object value){
+        this.setData(value);
+        return this;
+    }
+}

+ 12 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ResultCode.java

@@ -0,0 +1,12 @@
+package com.gyee.backconfig.config;
+
+/**
+ * @ClassName : ResultCode
+ * @Author : xieshengjie
+ * @Date: 2021/5/16 17:01
+ * @Description : 结果状态
+ */
+public class ResultCode {
+    public static Integer SUCCESS = 200;
+    public static Integer ERROR = 500;
+}

+ 87 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ResultInfo.java

@@ -0,0 +1,87 @@
+package com.gyee.backconfig.config;
+
+import lombok.Data;
+
+/**
+ *@ClassName ResultInfo
+ *@Description 返回结果类统一封装
+ *@Author 谢生杰
+ *@Date 2020/9/25 18:53
+ *@Version 1.0
+ **/
+@Data
+public class ResultInfo {
+    // 状态码
+    private Integer code;
+    // 消息
+    private String message;
+    // 数据对象
+    private Object result;
+
+    private Integer total;
+
+    /**
+     * 无参构造器
+     */
+    public ResultInfo() {
+        super();
+    }
+
+    public ResultInfo(Status status) {
+        super();
+        this.code = status.code;
+        this.message = status.message;
+    }
+
+    public ResultInfo result(Object result) {
+        this.result = result;
+        return this;
+    }
+
+    public ResultInfo message(String message) {
+        this.message = message;
+        return this;
+    }
+    public ResultInfo total(Integer total) {
+        this.total = total;
+        return this;
+    }
+
+    /**
+     * 只返回状态,状态码,消息
+     *
+     * @param code
+     * @param message
+     */
+    public ResultInfo(Integer code, String message) {
+        super();
+        this.code = code;
+        this.message = message;
+    }
+
+    /**
+     * 只返回状态,状态码,数据对象
+     *
+     * @param code
+     * @param result
+     */
+    public ResultInfo(Integer code, Object result) {
+        super();
+        this.code = code;
+        this.result = result;
+    }
+
+    /**
+     * 返回全部信息即状态,状态码,消息,数据对象
+     *
+     * @param code
+     * @param message
+     * @param result
+     */
+    public ResultInfo(Integer code, String message, Object result) {
+        super();
+        this.code = code;
+        this.message = message;
+        this.result = result;
+    }
+}

+ 42 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/Status.java

@@ -0,0 +1,42 @@
+package com.gyee.backconfig.config;
+/**
+ *@ClassName Status
+ *@Description 枚举类对象
+ *@Author 谢生杰
+ *@Date 2020/9/25 18:54
+ *@Version 1.0
+ **/
+public enum Status {
+    // 公共
+    SUCCESS(2000, "成功"),
+    UNKNOWN_ERROR(9998,"未知异常"),
+    SYSTEM_ERROR(9999, "系统异常"),
+
+
+    INSUFFICIENT_PERMISSION(4003, "权限不足"),
+
+    WARN(9000, "失败"),
+    REQUEST_PARAMETER_ERROR(1002, "请求参数错误"),
+
+
+
+    // 登录
+    LOGIN_EXPIRE(2001, "未登录或者登录失效"),
+    LOGIN_CODE_ERROR(2002, "登录验证码错误"),
+    LOGIN_ERROR(2003, "用户名不存在或密码错误"),
+    LOGIN_USER_STATUS_ERROR(2004, "用户状态不正确"),
+    LOGOUT_ERROR(2005, "退出失败,token不存在"),
+    LOGIN_USER_NOT_EXIST(2006, "该用户不存在"),
+    LOGIN_USER_EXIST(2007, "该用户已存在");
+
+
+
+
+    public int code;
+    public String message;
+
+    Status(int code, String message) {
+        this.code = code;
+        this.message = message;
+    }
+}

+ 27 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/config/ZTEnum.java

@@ -0,0 +1,27 @@
+package com.gyee.backconfig.config;
+
+import com.baomidou.mybatisplus.annotation.EnumValue;
+import com.fasterxml.jackson.annotation.JsonValue;
+import lombok.Getter;
+
+/**
+ * @author 50560
+ * @create 2022-09-16 15:39
+ */
+@Getter
+public enum ZTEnum {
+
+    //遥信
+    K(1, "开"),
+    G(0,"关");
+
+    @EnumValue
+    public Integer code;
+    @JsonValue
+    public String message;
+
+    ZTEnum(int code, String message) {
+        this.code = code;
+        this.message = message;
+    }
+}

+ 33 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicCompanyController.java

@@ -0,0 +1,33 @@
+package com.gyee.backconfig.controller;
+
+
+import com.gyee.backconfig.model.auto.ProBasicCompany;
+import com.gyee.backconfig.service.auto.IProBasicCompanyService;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * <p>
+ * 省公司表 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+public class ProBasicCompanyController {
+    @Resource
+    private IProBasicCompanyService proBasicCompanyService;
+
+    @GetMapping(value = "/companys")
+    public List<ProBasicCompany> list(){
+        List<ProBasicCompany> list = proBasicCompanyService.list();
+        return list;
+    }
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicEnergyGroupController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 集团 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-energy-group")
+public class ProBasicEnergyGroupController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicEquipmentPointController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 设备测点 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-equipment-point")
+public class ProBasicEquipmentPointController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicLineController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 集电线路 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-line")
+public class ProBasicLineController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicMeterPointController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 电计量点表 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-meter-point")
+public class ProBasicMeterPointController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicProjectController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 工程表 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-project")
+public class ProBasicProjectController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicProjectPlanController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 工程计划表 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-project-plan")
+public class ProBasicProjectPlanController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicRegionController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 区域 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-region")
+public class ProBasicRegionController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindpowerstationController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站表 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-windpowerstation")
+public class ProBasicWindpowerstationController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindsubStationController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 变电所 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-windsub-station")
+public class ProBasicWindsubStationController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWindturbineController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 风机 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-windturbine")
+public class ProBasicWindturbineController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProBasicWppointController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 场站测点 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-basic-wppoint")
+public class ProBasicWppointController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProEconEquipmentmodelController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 设备型号 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-econ-equipmentmodel")
+public class ProEconEquipmentmodelController {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/controller/ProEconManufacturerController.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 设备厂商 前端控制器
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@RestController
+@RequestMapping("//pro-econ-manufacturer")
+public class ProEconManufacturerController {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicCompanyMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicEnergyGroupMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicEquipmentPointMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicLineMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicMeterPointMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicProjectMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicProjectPlanMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicRegionMapper.java

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

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindpowerstationMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindpowerstation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站表 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProBasicWindpowerstationMapper extends BaseMapper<ProBasicWindpowerstation> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindsubStationMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindsubStation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 变电所 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProBasicWindsubStationMapper extends BaseMapper<ProBasicWindsubStation> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWindturbineMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindturbine;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 风机 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProBasicWindturbineMapper extends BaseMapper<ProBasicWindturbine> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProBasicWppointMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWppoint;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 场站测点 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProBasicWppointMapper extends BaseMapper<ProBasicWppoint> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProEconEquipmentmodelMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProEconEquipmentmodel;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 设备型号 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProEconEquipmentmodelMapper extends BaseMapper<ProEconEquipmentmodel> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/mapper/auto/ProEconManufacturerMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.mapper.auto;
+
+import com.gyee.backconfig.model.auto.ProEconManufacturer;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 设备厂商 Mapper 接口
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface ProEconManufacturerMapper extends BaseMapper<ProEconManufacturer> {
+
+}

+ 147 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicCompany.java

@@ -0,0 +1,147 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 省公司表
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicCompany extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 风电装机容量
+     */
+    private BigDecimal windCapacity;
+
+    /**
+     * 风电容量单位
+     */
+    private String windCapacityUnit;
+
+    /**
+     * 风电装机数量
+     */
+    private Integer windQuantity;
+
+    /**
+     * 光伏装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 光伏容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 光伏装机数量集中
+     */
+    private Integer quantityJz;
+
+    /**
+     * 光伏装机数量组串
+     */
+    private Integer quantityZc;
+
+    /**
+     * 接入风电装机容量
+     */
+    private BigDecimal jrwindCapacity;
+
+    /**
+     * 接入风电容量单位
+     */
+    private String jrwindCapacityUnit;
+
+    /**
+     * 接入风电装机数量
+     */
+    private Integer jrwindQuantity;
+
+    /**
+     * 接入光伏装机容量
+     */
+    private BigDecimal jrCapacity;
+
+    /**
+     * 接入光伏容量单位
+     */
+    private String jrCapacityUnit;
+
+    /**
+     * 接入光伏装机数量集中
+     */
+    private Integer jrquantityJz;
+
+    /**
+     * 接入光伏装机数量组串
+     */
+    private Integer jrquantityZc;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 风电场站数量
+     */
+    private Integer windNumber;
+
+    /**
+     * 光伏场站数量
+     */
+    private Integer number;
+
+    /**
+     * 接入风电场站数量
+     */
+    private Integer jrWindNumber;
+
+    /**
+     * 接入光伏场站数量
+     */
+    private Integer jrNumber;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 集团编号
+     */
+    private String groupId;
+
+
+}

+ 137 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicEnergyGroup.java

@@ -0,0 +1,137 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 集团
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicEnergyGroup extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 风电装机容量
+     */
+    private BigDecimal windCapacity;
+
+    /**
+     * 风电容量单位
+     */
+    private String windCapacityUnit;
+
+    /**
+     * 风电装机数量
+     */
+    private Integer windQuantity;
+
+    /**
+     * 光伏装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 光伏容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 光伏装机数量集中
+     */
+    private Integer quantityJz;
+
+    /**
+     * 光伏装机数量组串
+     */
+    private Integer quantityZc;
+
+    /**
+     * 接入风电装机容量
+     */
+    private BigDecimal jrwindCapacity;
+
+    /**
+     * 接入风电容量单位
+     */
+    private String jrwindCapacityUnit;
+
+    /**
+     * 接入风电装机数量
+     */
+    private Integer jrwindQuantity;
+
+    /**
+     * 接入光伏装机容量
+     */
+    private BigDecimal jrCapacity;
+
+    /**
+     * 接入光伏容量单位
+     */
+    private String jrCapacityUnit;
+
+    /**
+     * 接入光伏装机数量集中
+     */
+    private Integer jrquantityJz;
+
+    /**
+     * 接入光伏装机数量组串
+     */
+    private Integer jrquantityZc;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 风电场站数量
+     */
+    private Integer windNumber;
+
+    /**
+     * 光伏场站数量
+     */
+    private Integer number;
+
+    /**
+     * 接入风电场站数量
+     */
+    private Integer jrWindNumber;
+
+    /**
+     * 接入光伏场站数量
+     */
+    private Integer jrNumber;
+
+
+}

+ 117 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicEquipmentPoint.java

@@ -0,0 +1,117 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 设备测点
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicEquipmentPoint extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 型号
+     */
+    private String model;
+
+    /**
+     * 单位
+     */
+    private String valueUnit;
+
+    /**
+     * 英文名称
+     */
+    private String englishName;
+
+    /**
+     * 类型编号
+     */
+    private String typeId;
+
+    /**
+     * 所属型号
+     */
+    private String modelId;
+
+    /**
+     * 最大值
+     */
+    private BigDecimal maxval;
+
+    /**
+     * 最小值
+     */
+    private BigDecimal minval;
+
+    /**
+     * 合理最大值
+     */
+    private BigDecimal reasonableMaxval;
+
+    /**
+     * 合理最小值
+     */
+    private BigDecimal reasonableMinval;
+
+    /**
+     * 风机编号
+     */
+    private String windturbineId;
+
+    /**
+     * 统一编码
+     */
+    private String uniformCode;
+
+    /**
+     * 短ID
+     */
+    private String shortId;
+
+    /**
+     * 长ID
+     */
+    private String longId;
+
+    /**
+     * 场站编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 实时配置编号
+     */
+    private String realtimeId;
+
+
+}

+ 72 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicLine.java

@@ -0,0 +1,72 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 集电线路
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicLine extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 工程编号
+     */
+    private String projectId;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 装机数量
+     */
+    private Integer quantity;
+
+
+}

+ 122 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicMeterPoint.java

@@ -0,0 +1,122 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 电计量点表
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicMeterPoint extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 描述
+     */
+    private String description;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 工程编号
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 电表类型
+     */
+    private String meterType;
+
+    /**
+     * 电表编码
+     */
+    private String meterCode;
+
+    /**
+     * 电表主备
+     */
+    private String meterSort;
+
+    /**
+     * 显示类型
+     */
+    private String displayType;
+
+    /**
+     * 统一编码
+     */
+    private String uniformCode;
+
+    /**
+     * 倍率
+     */
+    private BigDecimal magnification;
+
+    /**
+     * 短ID
+     */
+    private String shortId;
+
+    /**
+     * 长ID
+     */
+    private String longId;
+
+    /**
+     * 实时配置编号
+     */
+    private String realtimeId;
+
+    /**
+     * 线损倍率
+     */
+    private BigDecimal magnificationxs;
+
+    /**
+     * 系数
+     */
+    private BigDecimal xs;
+
+    /**
+     * 初始值
+     */
+    private BigDecimal initialValue;
+
+
+}

+ 103 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicProject.java

@@ -0,0 +1,103 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 工程表
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicProject extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 装机数量
+     */
+    private Integer quantity;
+
+    /**
+     * 机型
+     */
+    private String model;
+
+    /**
+     * 投产日期
+     */
+    private LocalDate commissionDate;
+
+    /**
+     * 主控电话
+     */
+    private String masterPhone;
+
+    /**
+     * 值长
+     */
+    private String shiftforeMan;
+
+    /**
+     * 值长电话
+     */
+    private String shiftforeManPhone;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 变电所ID
+     */
+    private String windsubStationId;
+
+
+}

+ 62 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicProjectPlan.java

@@ -0,0 +1,62 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 工程计划表
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicProjectPlan extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 工程编号
+     */
+    private String projectId;
+
+    /**
+     * 计划发电量
+     */
+    private String generatingCapacity;
+
+    /**
+     * 计划停运小时
+     */
+    private BigDecimal outageHours;
+
+    /**
+     * 年
+     */
+    private String year;
+
+    /**
+     * 月
+     */
+    private String month;
+
+    /**
+     * 场站编号(冗余)
+     */
+    private String windpowerstationId;
+
+
+}

+ 142 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicRegion.java

@@ -0,0 +1,142 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 区域
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicRegion extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 风电装机容量
+     */
+    private BigDecimal windCapacity;
+
+    /**
+     * 风电容量单位
+     */
+    private String windCapacityUnit;
+
+    /**
+     * 风电装机数量
+     */
+    private Integer windQuantity;
+
+    /**
+     * 光伏装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 光伏容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 光伏装机数量集中
+     */
+    private Integer quantityJz;
+
+    /**
+     * 光伏装机数量组串
+     */
+    private Integer quantityZc;
+
+    /**
+     * 接入风电装机容量
+     */
+    private BigDecimal jrwindCapacity;
+
+    /**
+     * 接入风电容量单位
+     */
+    private String jrwindCapacityUnit;
+
+    /**
+     * 接入风电装机数量
+     */
+    private Integer jrwindQuantity;
+
+    /**
+     * 接入光伏装机容量
+     */
+    private BigDecimal jrCapacity;
+
+    /**
+     * 接入光伏容量单位
+     */
+    private String jrCapacityUnit;
+
+    /**
+     * 接入光伏装机数量集中
+     */
+    private Integer jrquantityJz;
+
+    /**
+     * 接入光伏装机数量组串
+     */
+    private Integer jrquantityZc;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 风电场站数量
+     */
+    private Integer windNumber;
+
+    /**
+     * 光伏场站数量
+     */
+    private Integer number;
+
+    /**
+     * 接入风电场站数量
+     */
+    private Integer jrWindNumber;
+
+    /**
+     * 接入光伏场站数量
+     */
+    private Integer jrNumber;
+
+    /**
+     * 集团编号
+     */
+    private String groupId;
+
+
+}

+ 137 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindpowerstation.java

@@ -0,0 +1,137 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站表
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicWindpowerstation extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 地址
+     */
+    private String address;
+
+    /**
+     * 电话
+     */
+    private String telephone;
+
+    /**
+     * 装机容量
+     */
+    private BigDecimal capacity;
+
+    /**
+     * 容量单位
+     */
+    private String capacityUnit;
+
+    /**
+     * 装机数量
+     */
+    private Integer quantity;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 地球经度
+     */
+    private BigDecimal longitude;
+
+    /**
+     * 地球纬度
+     */
+    private BigDecimal latitude;
+
+    /**
+     * 图片
+     */
+    private String photo;
+
+    /**
+     * 系统厂家
+     */
+    private String systemManufact;
+
+    /**
+     * 场长
+     */
+    private String headfarm;
+
+    /**
+     * 场长电话
+     */
+    private String headfarmPhone;
+
+    /**
+     * 机型
+     */
+    private String model;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+    /**
+     * 海拔高度
+     */
+    private BigDecimal height;
+
+    /**
+     * 场站类型
+     */
+    private String windType;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 集团编号
+     */
+    private String groupId;
+
+
+}

+ 55 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindsubStation.java

@@ -0,0 +1,55 @@
+package com.gyee.backconfig.model.auto;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 变电所
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicWindsubStation extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 别名
+     */
+    private String aname;
+
+    /**
+     * 风场编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 顺序
+     */
+    private Integer orderNum;
+
+
+}

+ 103 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWindturbine.java

@@ -0,0 +1,103 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.time.LocalDate;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 风机
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicWindturbine extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 场站编号(冗余)
+     */
+    private String windpowerstationId;
+
+    /**
+     * 地球经度
+     */
+    private BigDecimal longitude;
+
+    /**
+     * 地球纬度
+     */
+    private BigDecimal latitude;
+
+    /**
+     * 型号编号
+     */
+    private String modelId;
+
+    /**
+     * 状态
+     */
+    private String status;
+
+    /**
+     * 工程编号(冗余)
+     */
+    private String projectId;
+
+    /**
+     * 线路编号
+     */
+    private String lineId;
+
+    /**
+     * 首次并网时间
+     */
+    private LocalDate firstIntegratedTime;
+
+    /**
+     * 图片
+     */
+    private String photo;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 是否是标杆设备
+     */
+    private Integer isStandard;
+
+    /**
+     * 区域编号
+     */
+    private String regionId;
+
+    /**
+     * 公司编号
+     */
+    private String companyId;
+
+
+}

+ 112 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProBasicWppoint.java

@@ -0,0 +1,112 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 场站测点
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProBasicWppoint extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 型号
+     */
+    private String model;
+
+    /**
+     * 单位
+     */
+    private String valueUnit;
+
+    /**
+     * 英文名称
+     */
+    private String englishName;
+
+    /**
+     * 类型编号
+     */
+    private String typeId;
+
+    /**
+     * 所属型号
+     */
+    private String modelId;
+
+    /**
+     * 最大值
+     */
+    private BigDecimal maxval;
+
+    /**
+     * 最小值
+     */
+    private BigDecimal minval;
+
+    /**
+     * 合理最大值
+     */
+    private BigDecimal reasonableMaxval;
+
+    /**
+     * 合理最小值
+     */
+    private BigDecimal reasonableMinval;
+
+    /**
+     * 统一编码
+     */
+    private String uniformCode;
+
+    /**
+     * 短ID
+     */
+    private String shortId;
+
+    /**
+     * 长ID
+     */
+    private String longId;
+
+    /**
+     * 场站编号
+     */
+    private String windpowerstationId;
+
+    /**
+     * 实时配置编号
+     */
+    private String realtimeId;
+
+
+}

+ 92 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProEconEquipmentmodel.java

@@ -0,0 +1,92 @@
+package com.gyee.backconfig.model.auto;
+
+import java.math.BigDecimal;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 设备型号
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconEquipmentmodel extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 编码
+     */
+    private String code;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 描述
+     */
+    private String description;
+
+    /**
+     * 容量
+     */
+    private BigDecimal powerProduction;
+
+    /**
+     * 厂商编号
+     */
+    private String windturbineManufacturerId;
+
+    /**
+     * 图片
+     */
+    private String photo;
+
+    /**
+     * 传输总发电量单位
+     */
+    private String unit;
+
+    /**
+     * 切入风速
+     */
+    private BigDecimal cutinwindSpeed;
+
+    /**
+     * 额定风速
+     */
+    private BigDecimal ratedwindSpeed;
+
+    /**
+     * 切出风速
+     */
+    private String cutoutwindSpeed;
+
+    /**
+     * 叶片切入面积
+     */
+    private BigDecimal sweptArea;
+
+    /**
+     * 设备类别
+     */
+    private Integer equipmentCategory;
+
+
+}

+ 50 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/model/auto/ProEconManufacturer.java

@@ -0,0 +1,50 @@
+package com.gyee.backconfig.model.auto;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 设备厂商
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class ProEconManufacturer extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "ID", type = IdType.INPUT)
+    private String id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 国家地区
+     */
+    private String country;
+
+    /**
+     * 地址
+     */
+    private String address;
+
+    /**
+     * 电话
+     */
+    private String telephone;
+
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicCompanyService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicCompany;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 省公司表 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicCompanyService extends IService<ProBasicCompany> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicEnergyGroupService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicEnergyGroup;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 集团 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicEnergyGroupService extends IService<ProBasicEnergyGroup> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicEquipmentPointService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicEquipmentPoint;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 设备测点 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicEquipmentPointService extends IService<ProBasicEquipmentPoint> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicLineService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicLine;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 集电线路 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicLineService extends IService<ProBasicLine> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicMeterPointService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicMeterPoint;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 电计量点表 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicMeterPointService extends IService<ProBasicMeterPoint> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicProjectPlanService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicProjectPlan;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 工程计划表 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicProjectPlanService extends IService<ProBasicProjectPlan> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicProjectService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicProject;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 工程表 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicProjectService extends IService<ProBasicProject> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicRegionService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicRegion;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 区域 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicRegionService extends IService<ProBasicRegion> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindpowerstationService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindpowerstation;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 场站表 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicWindpowerstationService extends IService<ProBasicWindpowerstation> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindsubStationService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindsubStation;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 变电所 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicWindsubStationService extends IService<ProBasicWindsubStation> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWindturbineService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWindturbine;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 风机 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicWindturbineService extends IService<ProBasicWindturbine> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProBasicWppointService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProBasicWppoint;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 场站测点 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProBasicWppointService extends IService<ProBasicWppoint> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProEconEquipmentmodelService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProEconEquipmentmodel;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 设备型号 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProEconEquipmentmodelService extends IService<ProEconEquipmentmodel> {
+
+}

+ 16 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/IProEconManufacturerService.java

@@ -0,0 +1,16 @@
+package com.gyee.backconfig.service.auto;
+
+import com.gyee.backconfig.model.auto.ProEconManufacturer;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 设备厂商 服务类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+public interface IProEconManufacturerService extends IService<ProEconManufacturer> {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicCompanyServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicCompany;
+import com.gyee.backconfig.mapper.auto.ProBasicCompanyMapper;
+import com.gyee.backconfig.service.auto.IProBasicCompanyService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 省公司表 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicCompanyServiceImpl extends ServiceImpl<ProBasicCompanyMapper, ProBasicCompany> implements IProBasicCompanyService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicEnergyGroupServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicEnergyGroup;
+import com.gyee.backconfig.mapper.auto.ProBasicEnergyGroupMapper;
+import com.gyee.backconfig.service.auto.IProBasicEnergyGroupService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 集团 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicEnergyGroupServiceImpl extends ServiceImpl<ProBasicEnergyGroupMapper, ProBasicEnergyGroup> implements IProBasicEnergyGroupService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicEquipmentPointServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicEquipmentPoint;
+import com.gyee.backconfig.mapper.auto.ProBasicEquipmentPointMapper;
+import com.gyee.backconfig.service.auto.IProBasicEquipmentPointService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 设备测点 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicEquipmentPointServiceImpl extends ServiceImpl<ProBasicEquipmentPointMapper, ProBasicEquipmentPoint> implements IProBasicEquipmentPointService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicLineServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicLine;
+import com.gyee.backconfig.mapper.auto.ProBasicLineMapper;
+import com.gyee.backconfig.service.auto.IProBasicLineService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 集电线路 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicLineServiceImpl extends ServiceImpl<ProBasicLineMapper, ProBasicLine> implements IProBasicLineService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicMeterPointServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicMeterPoint;
+import com.gyee.backconfig.mapper.auto.ProBasicMeterPointMapper;
+import com.gyee.backconfig.service.auto.IProBasicMeterPointService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 电计量点表 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicMeterPointServiceImpl extends ServiceImpl<ProBasicMeterPointMapper, ProBasicMeterPoint> implements IProBasicMeterPointService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicProjectPlanServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicProjectPlan;
+import com.gyee.backconfig.mapper.auto.ProBasicProjectPlanMapper;
+import com.gyee.backconfig.service.auto.IProBasicProjectPlanService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 工程计划表 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicProjectPlanServiceImpl extends ServiceImpl<ProBasicProjectPlanMapper, ProBasicProjectPlan> implements IProBasicProjectPlanService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicProjectServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicProject;
+import com.gyee.backconfig.mapper.auto.ProBasicProjectMapper;
+import com.gyee.backconfig.service.auto.IProBasicProjectService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 工程表 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicProjectServiceImpl extends ServiceImpl<ProBasicProjectMapper, ProBasicProject> implements IProBasicProjectService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicRegionServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicRegion;
+import com.gyee.backconfig.mapper.auto.ProBasicRegionMapper;
+import com.gyee.backconfig.service.auto.IProBasicRegionService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 区域 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicRegionServiceImpl extends ServiceImpl<ProBasicRegionMapper, ProBasicRegion> implements IProBasicRegionService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindpowerstationServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicWindpowerstation;
+import com.gyee.backconfig.mapper.auto.ProBasicWindpowerstationMapper;
+import com.gyee.backconfig.service.auto.IProBasicWindpowerstationService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 场站表 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicWindpowerstationServiceImpl extends ServiceImpl<ProBasicWindpowerstationMapper, ProBasicWindpowerstation> implements IProBasicWindpowerstationService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindsubStationServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicWindsubStation;
+import com.gyee.backconfig.mapper.auto.ProBasicWindsubStationMapper;
+import com.gyee.backconfig.service.auto.IProBasicWindsubStationService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 变电所 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicWindsubStationServiceImpl extends ServiceImpl<ProBasicWindsubStationMapper, ProBasicWindsubStation> implements IProBasicWindsubStationService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWindturbineServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicWindturbine;
+import com.gyee.backconfig.mapper.auto.ProBasicWindturbineMapper;
+import com.gyee.backconfig.service.auto.IProBasicWindturbineService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 风机 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicWindturbineServiceImpl extends ServiceImpl<ProBasicWindturbineMapper, ProBasicWindturbine> implements IProBasicWindturbineService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicWppointServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProBasicWppoint;
+import com.gyee.backconfig.mapper.auto.ProBasicWppointMapper;
+import com.gyee.backconfig.service.auto.IProBasicWppointService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 场站测点 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProBasicWppointServiceImpl extends ServiceImpl<ProBasicWppointMapper, ProBasicWppoint> implements IProBasicWppointService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProEconEquipmentmodelServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProEconEquipmentmodel;
+import com.gyee.backconfig.mapper.auto.ProEconEquipmentmodelMapper;
+import com.gyee.backconfig.service.auto.IProEconEquipmentmodelService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 设备型号 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProEconEquipmentmodelServiceImpl extends ServiceImpl<ProEconEquipmentmodelMapper, ProEconEquipmentmodel> implements IProEconEquipmentmodelService {
+
+}

+ 20 - 0
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProEconManufacturerServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.backconfig.service.auto.impl;
+
+import com.gyee.backconfig.model.auto.ProEconManufacturer;
+import com.gyee.backconfig.mapper.auto.ProEconManufacturerMapper;
+import com.gyee.backconfig.service.auto.IProEconManufacturerService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 设备厂商 服务实现类
+ * </p>
+ *
+ * @author wang
+ * @since 2022-10-15
+ */
+@Service
+public class ProEconManufacturerServiceImpl extends ServiceImpl<ProEconManufacturerMapper, ProEconManufacturer> implements IProEconManufacturerService {
+
+}

+ 104 - 0
web/backmanagerconfig-xktj/src/main/resources/application-jn.yml

@@ -0,0 +1,104 @@
+server:
+  port: 7020
+  servlet:
+    context-path: /
+
+spring:
+  application:
+    name: back-config
+  main:
+    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+  cloud:
+    nacos:
+      discovery:
+        server-addr: 10.81.3.155:8848
+        #指定yaml格式的配置
+        file-extension: yaml
+        cluster-name: master
+      username: nacos
+      password: nacos
+  #redis集群
+  redis:
+    host: 10.81.3.155
+    port: 6379
+    timeout: 100000
+    #    集群环境打开下面注释,单机不需要打开
+    #    cluster:
+    #      集群信息
+    #      nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
+    #      #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
+    #      maxRedirects: 3
+    password:
+    application:
+      name: test
+    jedis:
+      pool:
+        max-active: 8
+        min-idle: 0
+        max-idle: 8
+        max-wait: -1
+    database: 0
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: org.postgresql.Driver
+    url: jdbc:postgresql://10.81.3.151:5432/wisdom
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      #id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+      #table-prefix: t_
+      id-type: assign_uuid
+  #配置类型别名对应的包
+  type-aliases-package: com.gyee.backconfig.model.auto
+  #用于扫描通用枚举包
+  type-enums-package: com.gyee.backconfig.config
+logging:
+  level:
+    root: info
+    com.example: debug
+
+
+
+

+ 104 - 0
web/backmanagerconfig-xktj/src/main/resources/application-test.yml

@@ -0,0 +1,104 @@
+server:
+  port: 7020
+  servlet:
+    context-path: /
+
+spring:
+  application:
+    name: back-config
+#  main:
+#    allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
+#  cloud:
+#    nacos:
+#      discovery:
+#        server-addr: 10.81.3.155:8848
+#        #指定yaml格式的配置
+#        file-extension: yaml
+#        cluster-name: master
+#      username: nacos
+#      password: nacos
+#  #redis集群
+#  redis:
+#    host: 10.81.3.155
+#    port: 6379
+#    timeout: 100000
+#    #    集群环境打开下面注释,单机不需要打开
+#    #    cluster:
+#    #      集群信息
+#    #      nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
+#    #      #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
+#    #      maxRedirects: 3
+#    password:
+#    application:
+#      name: test
+#    jedis:
+#      pool:
+#        max-active: 8
+#        min-idle: 0
+#        max-idle: 8
+#        max-wait: -1
+#    database: 0
+  autoconfigure:
+    exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    driver-class-name: org.postgresql.Driver
+    url: jdbc:postgresql://120.46.148.180:5432/wisdom
+    username: gdprod
+    password: gd123
+    oracle-schema=:
+    #    type: com.alibaba.druid.pool.DruidDataSource
+    #    url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
+    #    username: root
+    #    password: root
+    #    driver-class-name: com.mysql.jdbc.Driver
+    druid:
+      max-active: 20
+      initial-size: 1
+      min-idle: 3
+      max-wait: 60000
+      time-between-eviction-runs-millis: 60000
+      min-evictable-idle-time-millis: 300000
+      test-while-idle: true
+      test-on-borrow: false
+      test-on-return: false
+  servlet:
+    multipart:
+      # 开启 multipart 上传功能
+      enabled: true
+      # 文件写入磁盘的阈值
+      file-size-threshold: 2KB
+      # 最大文件大小
+      max-file-size: 200MB
+      # 最大请求大小
+      max-request-size: 215MB
+
+mybatis-plus:
+  configuration:
+    map-underscore-to-camel-case: true
+    auto-mapping-behavior: full
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler
+  mapper-locations: classpath*:mapper/**/*Mapper.xml
+  global-config:
+    # 逻辑删除配置
+    db-config:
+      #id-type: auto
+      # 删除前
+      logic-not-delete-value: 1
+      # 删除后
+      logic-delete-value: 0
+      #table-prefix: t_
+      id-type: assign_uuid
+  #配置类型别名对应的包
+  type-aliases-package: com.gyee.backconfig.model.auto
+  #用于扫描通用枚举包
+  type-enums-package: com.gyee.backconfig.config
+logging:
+  level:
+    root: info
+    com.example: debug
+
+
+
+

+ 4 - 0
web/backmanagerconfig-xktj/src/main/resources/application.yml

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

+ 4 - 0
web/datacenter-hb/pom.xml

@@ -77,6 +77,10 @@
             <groupId>com.alibaba.cloud</groupId>
             <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.data</groupId>
+            <artifactId>spring-data-redis</artifactId>
+        </dependency>
 
 
     </dependencies>

+ 8 - 0
web/monitor-web/pom.xml

@@ -69,6 +69,14 @@
             <groupId>org.postgresql</groupId>
             <artifactId>postgresql</artifactId>
         </dependency>
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.data</groupId>
+            <artifactId>spring-data-redis</artifactId>
+        </dependency>
     </dependencies>
     <build>
         <plugins>

+ 11 - 11
web/monitor-web/src/main/java/com/gyee/monitor/config/GeneratorCodeConfig.java

@@ -49,19 +49,19 @@ public class GeneratorCodeConfig {
         // 数据源配置
         DataSourceConfig dsc = new DataSourceConfig();
 
-//        dsc.setUrl("jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true");
-//        dsc.setDriverName("com.mysql.jdbc.Driver");
-//        dsc.setUsername("root");
-//        dsc.setPassword("root");
-//        mpg.setDataSource(dsc);
-
-        dsc.setDriverName("oracle.jdbc.driver.OracleDriver");
-        dsc.setUsername("gdprod");
-        dsc.setPassword("gd123");
-//        dsc.setUrl("jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd");
-        dsc.setUrl("jdbc:oracle:thin:@10.83.68.165:1521:gdsj");
+        dsc.setUrl("jdbc:mysql://127.0.0.1:3306/test?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true");
+        dsc.setDriverName("com.mysql.jdbc.Driver");
+        dsc.setUsername("root");
+        dsc.setPassword("root");
         mpg.setDataSource(dsc);
 
+//        dsc.setDriverName("oracle.jdbc.driver.OracleDriver");
+//        dsc.setUsername("gdprod");
+//        dsc.setPassword("gd123");
+////        dsc.setUrl("jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd");
+//        dsc.setUrl("jdbc:oracle:thin:@10.83.68.165:1521:gdsj");
+//        mpg.setDataSource(dsc);
+
 //        dsc.setDriverName("com.cloudera.impala.jdbc41.Driver");
 //        dsc.setUrl("jdbc:impala://192.168.1.67:21050/gyee_test");
 //        mpg.setDataSource(dsc);

+ 20 - 0
web/monitor-web/src/main/java/com/gyee/monitor/controller/auto/CompanysController.java

@@ -0,0 +1,20 @@
+package com.gyee.monitor.controller.auto;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+@RestController
+@RequestMapping("//companys")
+public class CompanysController {
+
+}

+ 20 - 0
web/monitor-web/src/main/java/com/gyee/monitor/controller/auto/RegionController.java

@@ -0,0 +1,20 @@
+package com.gyee.monitor.controller.auto;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+@RestController
+@RequestMapping("//region")
+public class RegionController {
+
+}

+ 21 - 9
web/monitor-web/src/main/java/com/gyee/monitor/init/CacheContext.java

@@ -3,6 +3,8 @@ package com.gyee.monitor.init;
 import com.alibaba.fastjson.JSONObject;
 import com.alibaba.fastjson.TypeReference;
 import com.gyee.monitor.model.auto.*;
+import com.gyee.monitor.service.auto.ICompanysService;
+import com.gyee.monitor.service.auto.IRegionService;
 import com.gyee.monitor.service.auto.IWindpowerstationService;
 import com.gyee.monitor.service.auto.IWindturbineService;
 import com.gyee.monitor.util.redis.RedisService;
@@ -12,10 +14,7 @@ import org.springframework.boot.CommandLineRunner;
 import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
 import java.util.stream.Collectors;
 
 /**
@@ -34,11 +33,15 @@ public class CacheContext implements CommandLineRunner {
     private IWindpowerstationService windpowerstationService;
     @Resource
     private IWindturbineService windturbineService;
-
+    @Resource
+    private ICompanysService companysService;
+    @Resource
+    private IRegionService regionService;
     public static Map<String, Map<String, Windturbinetestingpointnew>> wtPointmap = new HashMap<>();// 风电机测点AI表
     public static Map<String, Map<String, Windpowerstationpointnew>> wpPointmap = new HashMap<>();//场站测点
     public static List<Windpowerstation> wpls = new ArrayList<>(); // 风电场LIST集合
     public static List<Windturbine> wtls = new ArrayList<Windturbine>(); // 风电机LIST集合
+
     @Override
     public void run(String... args) throws Exception {
         log.info("-------------------------------缓存开始--------------------------------------");
@@ -46,13 +49,22 @@ public class CacheContext implements CommandLineRunner {
 
         wtls = windturbineService.list().stream().collect(Collectors.toList());
 
-        String wpString = redisService.get("PRODUCT-WP");
-        wpPointmap = JSONObject.parseObject(wpString, new TypeReference<Map<String, Map<String, Windpowerstationpointnew>>>() {
+
+
+        wpls.stream().forEach(wp->{
+            String wpString = redisService.get(wp.getId());
+            Map<String, Windpowerstationpointnew> stringMapMap = JSONObject.parseObject(wpString, new TypeReference<Map<String, Windpowerstationpointnew>>() {
+            });
+            wpPointmap.put(wp.getId(),stringMapMap);
         });
 
-        String wtString = redisService.get("PRODUCT-WT");
-        wtPointmap = JSONObject.parseObject(wtString, new TypeReference<Map<String, Map<String, Windturbinetestingpointnew>>>() {
+        wtls.forEach(wt->{
+            String wtString = redisService.get(wt.getId());
+            Map<String, Windturbinetestingpointnew> stringWindturbinetestingpointnewMap = JSONObject.parseObject(wtString, new TypeReference<Map<String, Windturbinetestingpointnew>>() {
+            });
+            wtPointmap.put(wt.getId(),stringWindturbinetestingpointnewMap);
         });
+
         log.info("-------------------------------缓存结束--------------------------------------");
     }
 }

+ 16 - 0
web/monitor-web/src/main/java/com/gyee/monitor/mapper/auto/CompanysMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.monitor.mapper.auto;
+
+import com.gyee.monitor.model.auto.Companys;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+public interface CompanysMapper extends BaseMapper<Companys> {
+
+}

+ 16 - 0
web/monitor-web/src/main/java/com/gyee/monitor/mapper/auto/RegionMapper.java

@@ -0,0 +1,16 @@
+package com.gyee.monitor.mapper.auto;
+
+import com.gyee.monitor.model.auto.Region;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+public interface RegionMapper extends BaseMapper<Region> {
+
+}

+ 62 - 0
web/monitor-web/src/main/java/com/gyee/monitor/model/auto/Companys.java

@@ -0,0 +1,62 @@
+package com.gyee.monitor.model.auto;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class Companys extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    private String id;
+
+    private String name;
+
+    private String aname;
+
+    private Double windcapacity;
+
+    private String windcapacityunit;
+
+    private Integer windquantity;
+
+    private Double capacity;
+
+    private String capacityunit;
+
+    private Integer quantityjz;
+
+    private Integer quantityzc;
+
+    private Double jrwindcapacity;
+
+    private String jrwindcapacityunit;
+
+    private Integer jrwindquantity;
+
+    private Double jrcapacity;
+
+    private String jrcapacityunit;
+
+    private Integer jrquantityjz;
+
+    private Integer jrquantityzc;
+
+    private Integer ordernum;
+    private Integer windnumber;
+    private Integer number;
+    private Integer jrwindnumber;
+    private Integer jrnumber;
+
+
+}

+ 60 - 0
web/monitor-web/src/main/java/com/gyee/monitor/model/auto/Region.java

@@ -0,0 +1,60 @@
+package com.gyee.monitor.model.auto;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class Region extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    private String id;
+
+    private String companyid;
+
+    private String name;
+
+    private String aname;
+
+    private Double windcapacity;
+
+    private String windcapacityunit;
+
+    private Integer windquantity;
+
+    private Double capacity;
+
+    private String capacityunit;
+
+    private Integer quantityjz;
+
+    private Integer quantityzc;
+
+    private Double jrwindcapacity;
+
+    private String jrwindcapacityunit;
+
+    private Integer jrwindquantity;
+
+    private Double jrcapacity;
+
+    private String jrcapacityunit;
+
+    private Integer jrquantityjz;
+
+    private Integer jrquantityzc;
+
+    private Integer ordernum;
+
+
+}

+ 16 - 0
web/monitor-web/src/main/java/com/gyee/monitor/service/auto/ICompanysService.java

@@ -0,0 +1,16 @@
+package com.gyee.monitor.service.auto;
+
+import com.gyee.monitor.model.auto.Companys;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ *  服务类
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+public interface ICompanysService extends IService<Companys> {
+
+}

+ 16 - 0
web/monitor-web/src/main/java/com/gyee/monitor/service/auto/IRegionService.java

@@ -0,0 +1,16 @@
+package com.gyee.monitor.service.auto;
+
+import com.gyee.monitor.model.auto.Region;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ *  服务类
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+public interface IRegionService extends IService<Region> {
+
+}

+ 20 - 0
web/monitor-web/src/main/java/com/gyee/monitor/service/auto/impl/CompanysServiceImpl.java

@@ -0,0 +1,20 @@
+package com.gyee.monitor.service.auto.impl;
+
+import com.gyee.monitor.model.auto.Companys;
+import com.gyee.monitor.mapper.auto.CompanysMapper;
+import com.gyee.monitor.service.auto.ICompanysService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ *  服务实现类
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2022-10-13
+ */
+@Service
+public class CompanysServiceImpl extends ServiceImpl<CompanysMapper, Companys> implements ICompanysService {
+
+}

+ 0 - 0
web/monitor-web/src/main/java/com/gyee/monitor/service/auto/impl/RegionServiceImpl.java


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