Browse Source

first commit

xieshengjie 4 years ago
commit
54fef89669
100 changed files with 6662 additions and 0 deletions
  1. 33 0
      .gitignore
  2. 118 0
      .mvn/wrapper/MavenWrapperDownloader.java
  3. BIN
      .mvn/wrapper/maven-wrapper.jar
  4. 2 0
      .mvn/wrapper/maven-wrapper.properties
  5. 438 0
      hs_err_pid17432.log
  6. 400 0
      hs_err_pid18788.log
  7. 310 0
      mvnw
  8. 182 0
      mvnw.cmd
  9. 418 0
      pom.xml
  10. 17 0
      src/main/java/cn/gyee/tamplate/TamplateApplication.java
  11. 144 0
      src/main/java/cn/gyee/tamplate/config/GeneratorCodeConfig.java
  12. 23 0
      src/main/java/cn/gyee/tamplate/config/MybatisPlusConfig.java
  13. 87 0
      src/main/java/cn/gyee/tamplate/config/ResultInfo.java
  14. 37 0
      src/main/java/cn/gyee/tamplate/config/Status.java
  15. 14 0
      src/main/java/cn/gyee/tamplate/contant/OpeContant.java
  16. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysismainController.java
  17. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysispvprojectcanController.java
  18. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysispvprojectcannotController.java
  19. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysispvstationController.java
  20. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectpvcanController.java
  21. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectpvcannotController.java
  22. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectwindcanController.java
  23. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectwindcannotController.java
  24. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubstationpvController.java
  25. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubstationwindController.java
  26. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysissubtablebottomController.java
  27. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysistablebottomController.java
  28. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysiswindprojectcanController.java
  29. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysiswindprojectcannotController.java
  30. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysiswindstationController.java
  31. 20 0
      src/main/java/cn/gyee/tamplate/controller/AnalysiswindtargetController.java
  32. 34 0
      src/main/java/cn/gyee/tamplate/controller/BenchmarkingbetweenController.java
  33. 114 0
      src/main/java/cn/gyee/tamplate/controller/DutyscheduleController.java
  34. 20 0
      src/main/java/cn/gyee/tamplate/controller/InputoroutputspeedtotalController.java
  35. 20 0
      src/main/java/cn/gyee/tamplate/controller/Meterpoint2Controller.java
  36. 20 0
      src/main/java/cn/gyee/tamplate/controller/MeterpointvalueController.java
  37. 20 0
      src/main/java/cn/gyee/tamplate/controller/OperationrecordController.java
  38. 20 0
      src/main/java/cn/gyee/tamplate/controller/ProjectController.java
  39. 20 0
      src/main/java/cn/gyee/tamplate/controller/ProjectplanController.java
  40. 20 0
      src/main/java/cn/gyee/tamplate/controller/Shutdownevent2Controller.java
  41. 20 0
      src/main/java/cn/gyee/tamplate/controller/Windpowerinfoday3Controller.java
  42. 20 0
      src/main/java/cn/gyee/tamplate/controller/WindpowerinfodayController.java
  43. 20 0
      src/main/java/cn/gyee/tamplate/controller/WindpowerstationController.java
  44. 20 0
      src/main/java/cn/gyee/tamplate/controller/Windpowerstationtestingpoint2Controller.java
  45. 35 0
      src/main/java/cn/gyee/tamplate/controller/WindturbineController.java
  46. 20 0
      src/main/java/cn/gyee/tamplate/controller/Windturbinetestingpointai2Controller.java
  47. 95 0
      src/main/java/cn/gyee/tamplate/controller/analysis/AnalysisController.java
  48. 108 0
      src/main/java/cn/gyee/tamplate/controller/analysis/AnalysisNewController.java
  49. 115 0
      src/main/java/cn/gyee/tamplate/controller/operation/OperationController.java
  50. 113 0
      src/main/java/cn/gyee/tamplate/init/CacheContext.java
  51. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysismainMapper.java
  52. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvprojectcanMapper.java
  53. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvprojectcannotMapper.java
  54. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvstationMapper.java
  55. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectpvcanMapper.java
  56. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectpvcannotMapper.java
  57. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectwindcanMapper.java
  58. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectwindcannotMapper.java
  59. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubstationpvMapper.java
  60. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubstationwindMapper.java
  61. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubtablebottomMapper.java
  62. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysistablebottomMapper.java
  63. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindprojectcanMapper.java
  64. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindprojectcannotMapper.java
  65. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindstationMapper.java
  66. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindtargetMapper.java
  67. 23 0
      src/main/java/cn/gyee/tamplate/mapper/auto/BenchmarkingbetweenMapper.java
  68. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/DutyscheduleMapper.java
  69. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/InputoroutputspeedtotalMapper.java
  70. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/Meterpoint2Mapper.java
  71. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/MeterpointvalueMapper.java
  72. 23 0
      src/main/java/cn/gyee/tamplate/mapper/auto/OperationrecordMapper.java
  73. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/ProjectMapper.java
  74. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/ProjectplanMapper.java
  75. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/Shutdownevent2Mapper.java
  76. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/Windpowerinfoday3Mapper.java
  77. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/WindpowerinfodayMapper.java
  78. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/WindpowerstationMapper.java
  79. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/Windpowerstationtestingpoint2Mapper.java
  80. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/WindturbineMapper.java
  81. 16 0
      src/main/java/cn/gyee/tamplate/mapper/auto/Windturbinetestingpointai2Mapper.java
  82. 73 0
      src/main/java/cn/gyee/tamplate/model/DynamicBean.java
  83. 148 0
      src/main/java/cn/gyee/tamplate/model/Electricaltestingpointai.java
  84. 147 0
      src/main/java/cn/gyee/tamplate/model/Electricaltestingpointdi.java
  85. 141 0
      src/main/java/cn/gyee/tamplate/model/Equipmentmodel.java
  86. 106 0
      src/main/java/cn/gyee/tamplate/model/Line.java
  87. 192 0
      src/main/java/cn/gyee/tamplate/model/Meterpoint.java
  88. 118 0
      src/main/java/cn/gyee/tamplate/model/Project.java
  89. 81 0
      src/main/java/cn/gyee/tamplate/model/Stoptype.java
  90. 245 0
      src/main/java/cn/gyee/tamplate/model/Warning2.java
  91. 124 0
      src/main/java/cn/gyee/tamplate/model/WindPowerStationTestingPoint2.java
  92. 180 0
      src/main/java/cn/gyee/tamplate/model/WindTurbineTestingPointAi2.java
  93. 187 0
      src/main/java/cn/gyee/tamplate/model/WindTurbineTestingPointDi2.java
  94. 199 0
      src/main/java/cn/gyee/tamplate/model/Windpowerstation.java
  95. 167 0
      src/main/java/cn/gyee/tamplate/model/Windturbine.java
  96. 42 0
      src/main/java/cn/gyee/tamplate/model/auto/Analysismain.java
  97. 203 0
      src/main/java/cn/gyee/tamplate/model/auto/Analysispvprojectcan.java
  98. 203 0
      src/main/java/cn/gyee/tamplate/model/auto/Analysispvprojectcannot.java
  99. 199 0
      src/main/java/cn/gyee/tamplate/model/auto/Analysispvstation.java
  100. 0 0
      src/main/java/cn/gyee/tamplate/model/auto/Analysissubprojectpvcan.java

+ 33 - 0
.gitignore

@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/

+ 118 - 0
.mvn/wrapper/MavenWrapperDownloader.java

@@ -0,0 +1,118 @@
+/*
+ * Copyright 2007-present the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.net.*;
+import java.io.*;
+import java.nio.channels.*;
+import java.util.Properties;
+
+public class MavenWrapperDownloader {
+
+    private static final String WRAPPER_VERSION = "0.5.6";
+    /**
+     * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
+     */
+    private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
+            + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
+
+    /**
+     * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
+     * use instead of the default one.
+     */
+    private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
+            ".mvn/wrapper/maven-wrapper.properties";
+
+    /**
+     * Path where the maven-wrapper.jar will be saved to.
+     */
+    private static final String MAVEN_WRAPPER_JAR_PATH =
+            ".mvn/wrapper/maven-wrapper.jar";
+
+    /**
+     * Name of the property which should be used to override the default download url for the wrapper.
+     */
+    private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
+
+    public static void main(String args[]) {
+        System.out.println("- Downloader started");
+        File baseDirectory = new File(args[0]);
+        System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
+
+        // If the maven-wrapper.properties exists, read it and check if it contains a custom
+        // wrapperUrl parameter.
+        File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
+        String url = DEFAULT_DOWNLOAD_URL;
+        if (mavenWrapperPropertyFile.exists()) {
+            FileInputStream mavenWrapperPropertyFileInputStream = null;
+            try {
+                mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
+                Properties mavenWrapperProperties = new Properties();
+                mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
+                url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
+            } catch (IOException e) {
+                System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
+            } finally {
+                try {
+                    if (mavenWrapperPropertyFileInputStream != null) {
+                        mavenWrapperPropertyFileInputStream.close();
+                    }
+                } catch (IOException e) {
+                    // Ignore ...
+                }
+            }
+        }
+        System.out.println("- Downloading from: " + url);
+
+        File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
+        if (!outputFile.getParentFile().exists()) {
+            if (!outputFile.getParentFile().mkdirs()) {
+                System.out.println(
+                        "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
+            }
+        }
+        System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
+        try {
+            downloadFileFromURL(url, outputFile);
+            System.out.println("Done");
+            System.exit(0);
+        } catch (Throwable e) {
+            System.out.println("- Error downloading");
+            e.printStackTrace();
+            System.exit(1);
+        }
+    }
+
+    private static void downloadFileFromURL(String urlString, File destination) throws Exception {
+        if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
+            String username = System.getenv("MVNW_USERNAME");
+            char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
+            Authenticator.setDefault(new Authenticator() {
+                @Override
+                protected PasswordAuthentication getPasswordAuthentication() {
+                    return new PasswordAuthentication(username, password);
+                }
+            });
+        }
+        URL website = new URL(urlString);
+        ReadableByteChannel rbc;
+        rbc = Channels.newChannel(website.openStream());
+        FileOutputStream fos = new FileOutputStream(destination);
+        fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
+        fos.close();
+        rbc.close();
+    }
+
+}

BIN
.mvn/wrapper/maven-wrapper.jar


+ 2 - 0
.mvn/wrapper/maven-wrapper.properties

@@ -0,0 +1,2 @@
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
+wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

File diff suppressed because it is too large
+ 438 - 0
hs_err_pid17432.log


File diff suppressed because it is too large
+ 400 - 0
hs_err_pid18788.log


+ 310 - 0
mvnw

@@ -0,0 +1,310 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#    https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Maven Start Up Batch script
+#
+# Required ENV vars:
+# ------------------
+#   JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+#   M2_HOME - location of maven2's installed home dir
+#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
+#     e.g. to debug Maven itself, use
+#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# ----------------------------------------------------------------------------
+
+if [ -z "$MAVEN_SKIP_RC" ] ; then
+
+  if [ -f /etc/mavenrc ] ; then
+    . /etc/mavenrc
+  fi
+
+  if [ -f "$HOME/.mavenrc" ] ; then
+    . "$HOME/.mavenrc"
+  fi
+
+fi
+
+# OS specific support.  $var _must_ be set to either true or false.
+cygwin=false;
+darwin=false;
+mingw=false
+case "`uname`" in
+  CYGWIN*) cygwin=true ;;
+  MINGW*) mingw=true;;
+  Darwin*) darwin=true
+    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
+    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
+    if [ -z "$JAVA_HOME" ]; then
+      if [ -x "/usr/libexec/java_home" ]; then
+        export JAVA_HOME="`/usr/libexec/java_home`"
+      else
+        export JAVA_HOME="/Library/Java/Home"
+      fi
+    fi
+    ;;
+esac
+
+if [ -z "$JAVA_HOME" ] ; then
+  if [ -r /etc/gentoo-release ] ; then
+    JAVA_HOME=`java-config --jre-home`
+  fi
+fi
+
+if [ -z "$M2_HOME" ] ; then
+  ## resolve links - $0 may be a link to maven's home
+  PRG="$0"
+
+  # need this for relative symlinks
+  while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+      PRG="$link"
+    else
+      PRG="`dirname "$PRG"`/$link"
+    fi
+  done
+
+  saveddir=`pwd`
+
+  M2_HOME=`dirname "$PRG"`/..
+
+  # make it fully qualified
+  M2_HOME=`cd "$M2_HOME" && pwd`
+
+  cd "$saveddir"
+  # echo Using m2 at $M2_HOME
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin ; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME=`cygpath --unix "$M2_HOME"`
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CLASSPATH" ] &&
+    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
+fi
+
+# For Mingw, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME="`(cd "$M2_HOME"; pwd)`"
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+  javaExecutable="`which javac`"
+  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
+    # readlink(1) is not available as standard on Solaris 10.
+    readLink=`which readlink`
+    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
+      if $darwin ; then
+        javaHome="`dirname \"$javaExecutable\"`"
+        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
+      else
+        javaExecutable="`readlink -f \"$javaExecutable\"`"
+      fi
+      javaHome="`dirname \"$javaExecutable\"`"
+      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+      JAVA_HOME="$javaHome"
+      export JAVA_HOME
+    fi
+  fi
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  if [ -n "$JAVA_HOME"  ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+      # IBM's JDK on AIX uses strange locations for the executables
+      JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+      JAVACMD="$JAVA_HOME/bin/java"
+    fi
+  else
+    JAVACMD="`which java`"
+  fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+  echo "Error: JAVA_HOME is not defined correctly." >&2
+  echo "  We cannot execute $JAVACMD" >&2
+  exit 1
+fi
+
+if [ -z "$JAVA_HOME" ] ; then
+  echo "Warning: JAVA_HOME environment variable is not set."
+fi
+
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
+
+# traverses directory structure from process work directory to filesystem root
+# first directory with .mvn subdirectory is considered project base directory
+find_maven_basedir() {
+
+  if [ -z "$1" ]
+  then
+    echo "Path not specified to find_maven_basedir"
+    return 1
+  fi
+
+  basedir="$1"
+  wdir="$1"
+  while [ "$wdir" != '/' ] ; do
+    if [ -d "$wdir"/.mvn ] ; then
+      basedir=$wdir
+      break
+    fi
+    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
+    if [ -d "${wdir}" ]; then
+      wdir=`cd "$wdir/.."; pwd`
+    fi
+    # end of workaround
+  done
+  echo "${basedir}"
+}
+
+# concatenates all lines of a file
+concat_lines() {
+  if [ -f "$1" ]; then
+    echo "$(tr -s '\n' ' ' < "$1")"
+  fi
+}
+
+BASE_DIR=`find_maven_basedir "$(pwd)"`
+if [ -z "$BASE_DIR" ]; then
+  exit 1;
+fi
+
+##########################################################################################
+# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+# This allows using the maven wrapper in projects that prohibit checking in binary data.
+##########################################################################################
+if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
+    if [ "$MVNW_VERBOSE" = true ]; then
+      echo "Found .mvn/wrapper/maven-wrapper.jar"
+    fi
+else
+    if [ "$MVNW_VERBOSE" = true ]; then
+      echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
+    fi
+    if [ -n "$MVNW_REPOURL" ]; then
+      jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+    else
+      jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+    fi
+    while IFS="=" read key value; do
+      case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
+      esac
+    done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
+    if [ "$MVNW_VERBOSE" = true ]; then
+      echo "Downloading from: $jarUrl"
+    fi
+    wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
+    if $cygwin; then
+      wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
+    fi
+
+    if command -v wget > /dev/null; then
+        if [ "$MVNW_VERBOSE" = true ]; then
+          echo "Found wget ... using wget"
+        fi
+        if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+            wget "$jarUrl" -O "$wrapperJarPath"
+        else
+            wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath"
+        fi
+    elif command -v curl > /dev/null; then
+        if [ "$MVNW_VERBOSE" = true ]; then
+          echo "Found curl ... using curl"
+        fi
+        if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+            curl -o "$wrapperJarPath" "$jarUrl" -f
+        else
+            curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
+        fi
+
+    else
+        if [ "$MVNW_VERBOSE" = true ]; then
+          echo "Falling back to using Java to download"
+        fi
+        javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
+        # For Cygwin, switch paths to Windows format before running javac
+        if $cygwin; then
+          javaClass=`cygpath --path --windows "$javaClass"`
+        fi
+        if [ -e "$javaClass" ]; then
+            if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+                if [ "$MVNW_VERBOSE" = true ]; then
+                  echo " - Compiling MavenWrapperDownloader.java ..."
+                fi
+                # Compiling the Java class
+                ("$JAVA_HOME/bin/javac" "$javaClass")
+            fi
+            if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
+                # Running the downloader
+                if [ "$MVNW_VERBOSE" = true ]; then
+                  echo " - Running MavenWrapperDownloader.java ..."
+                fi
+                ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
+            fi
+        fi
+    fi
+fi
+##########################################################################################
+# End of extension
+##########################################################################################
+
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
+if [ "$MVNW_VERBOSE" = true ]; then
+  echo $MAVEN_PROJECTBASEDIR
+fi
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  [ -n "$M2_HOME" ] &&
+    M2_HOME=`cygpath --path --windows "$M2_HOME"`
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
+  [ -n "$CLASSPATH" ] &&
+    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
+    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
+fi
+
+# Provide a "standardized" way to retrieve the CLI args that will
+# work with both Windows and non-Windows executions.
+MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
+export MAVEN_CMD_LINE_ARGS
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+exec "$JAVACMD" \
+  $MAVEN_OPTS \
+  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+  "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

+ 182 - 0
mvnw.cmd

@@ -0,0 +1,182 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements.  See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership.  The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License.  You may obtain a copy of the License at
+@REM
+@REM    https://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied.  See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM     e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM set title of command window
+title %0
+@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo.
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+
+FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+    IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
+)
+
+@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
+if exist %WRAPPER_JAR% (
+    if "%MVNW_VERBOSE%" == "true" (
+        echo Found %WRAPPER_JAR%
+    )
+) else (
+    if not "%MVNW_REPOURL%" == "" (
+        SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+    )
+    if "%MVNW_VERBOSE%" == "true" (
+        echo Couldn't find %WRAPPER_JAR%, downloading it ...
+        echo Downloading from: %DOWNLOAD_URL%
+    )
+
+    powershell -Command "&{"^
+		"$webclient = new-object System.Net.WebClient;"^
+		"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
+		"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
+		"}"^
+		"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
+		"}"
+    if "%MVNW_VERBOSE%" == "true" (
+        echo Finished downloading %WRAPPER_JAR%
+    )
+)
+@REM End of extension
+
+@REM Provide a "standardized" way to retrieve the CLI args that will
+@REM work with both Windows and non-Windows executions.
+set MAVEN_CMD_LINE_ARGS=%*
+
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
+
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+
+exit /B %ERROR_CODE%

+ 418 - 0
pom.xml

@@ -0,0 +1,418 @@
+<?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">
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>com.example</groupId>
+    <artifactId>springboot_v2</artifactId>
+    <version>3.4</version>
+    <packaging>jar</packaging>
+    <name>springboot_v2</name>
+    <description>springbootv2系统</description>
+
+    <parent>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-parent</artifactId>
+        <version>2.3.7.RELEASE</version>
+        <relativePath/> <!-- 从存储库查找父级 -->
+    </parent>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <java.version>1.8</java.version>
+        <commons.fileupload.version>1.3.3</commons.fileupload.version>
+        <commons.io.version>2.5</commons.io.version>
+    </properties>
+
+    <!-- https://mvnrepository.com/ 查找jar网站 -->
+    <dependencies>
+        <!-- SpringBoot Web容器 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <!-- SpringBoot集成mybatis框架 -->
+        <!--<dependency>-->
+        <!--<groupId>org.mybatis.spring.boot</groupId>-->
+        <!--<artifactId>mybatis-spring-boot-starter</artifactId>-->
+        <!--<version>1.3.2</version>-->
+        <!--</dependency>-->
+
+
+
+        <!-- By Wang jiawen 从本地类库引入阿里巴巴 fastjson 版本1.27 系统级别 路径根目录lib文件夹下  云地址 https://mvnrepository.com/artifact/com.alibaba/fastjson  -->
+        <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>1.2.17</version>
+        </dependency>
+
+
+
+        <!--By Wang jiawen lombok 从云引入 目的提供get set方法-->
+        <dependency>
+            <groupId>org.projectlombok</groupId>
+            <artifactId>lombok</artifactId>
+            <version>1.18.12</version>
+        </dependency>
+
+
+        <!-- SpringBoot 测试 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-test</artifactId>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>cglib</groupId>
+            <artifactId>cglib</artifactId>
+            <version>2.2.2</version>
+        </dependency>
+
+        <!--GSON -->
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+        </dependency>
+        <!-- pageHelper -->
+        <!--        <dependency>-->
+        <!--            <groupId>com.github.pagehelper</groupId>-->
+        <!--            <artifactId>pagehelper-spring-boot-starter</artifactId>-->
+        <!--            <version>1.2.5</version>-->
+        <!--        </dependency>-->
+        <!-- mysql驱动7.0-->
+        <dependency>
+            <groupId>mysql</groupId>
+            <artifactId>mysql-connector-java</artifactId>
+        </dependency>
+        <!--                <dependency>-->
+        <!--                    <groupId>com.oracle</groupId>-->
+        <!--                    <artifactId>ojdbc6</artifactId>-->
+        <!--                    <version>11.2.0.3</version>-->
+        <!--                    <scope>runtime</scope>-->
+        <!--                </dependency>-->
+        <!--        <dependency>-->
+        <!--            <groupId>oracle</groupId>-->
+        <!--            <artifactId>oracle</artifactId>-->
+        <!--            <version>11.2.0.3</version>-->
+        <!--            <scope>system</scope>-->
+        <!--            <systemPath>${project.basedir}/src/main/resources/lib/ojdbc6.jar</systemPath>-->
+        <!--        </dependency>-->
+        <dependency>
+            <groupId>com.oracle</groupId>
+            <artifactId>ojdbc6</artifactId>
+            <version>11.2.0.3</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-jdbc</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-websocket</artifactId>
+        </dependency>
+
+        <!-- mysql驱动8.0
+         <dependency>
+             <groupId>mysql</groupId>
+             <artifactId>mysql-connector-java</artifactId>
+            <version>8.0.11</version>
+         </dependency>
+         -->
+        <!--druid 数据源监控-->
+        <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid-spring-boot-starter</artifactId>
+            <version>1.1.10</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-aop</artifactId>
+        </dependency>
+
+
+
+
+        <!--常用工具类 -->
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+            <version>2.4</version>
+        </dependency>
+
+
+
+
+
+
+        <!-- 热部署 -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-devtools</artifactId>
+            <optional>true</optional>
+        </dependency>
+
+
+
+        <!-- websocket -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-websocket</artifactId>
+        </dependency>
+        <!-- 配置文件读取 -->
+        <dependency>
+            <groupId>commons-configuration</groupId>
+            <artifactId>commons-configuration</artifactId>
+            <version>1.10</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-configuration-processor</artifactId>
+            <optional>true</optional>
+        </dependency>
+
+
+
+        <!--百度UEditor依赖的jar包 -->
+        <!--		<dependency>
+                    <groupId>org.json</groupId>
+                    <artifactId>json</artifactId>
+                    <version>20180813</version>
+                </dependency>-->
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+            <version>1.9</version>
+        </dependency>
+        <dependency>
+            <groupId>ueditor</groupId>
+            <artifactId>1.1.2</artifactId>
+            <version>1.8</version>
+            <scope>system</scope>
+            <systemPath>${project.basedir}/src/main/resources/lib/ueditor-1.1.2.jar</systemPath>
+        </dependency>
+        <!--quartz依赖-->
+        <dependency>
+            <groupId>org.quartz-scheduler</groupId>
+            <artifactId>quartz</artifactId>
+        </dependency>
+
+        <!-- 七牛云 -->
+        <dependency>
+            <groupId>com.qiniu</groupId>
+            <artifactId>qiniu-java-sdk</artifactId>
+            <version>[7.2.0, 7.2.99]</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-configuration-processor</artifactId>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-redis</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>redis.clients</groupId>
+            <artifactId>jedis</artifactId>
+            <version>2.9.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-boot-starter</artifactId>
+            <version>3.2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>com.baomidou</groupId>
+            <artifactId>mybatis-plus-generator</artifactId>
+            <version>3.3.2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.freemarker</groupId>
+            <artifactId>freemarker</artifactId>
+            <version>2.3.28</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi</artifactId>
+            <version>3.9</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>3.9</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml-schemas</artifactId>
+            <version>3.9</version>
+        </dependency>
+        <!-- 添加swagger2 -->
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-swagger2</artifactId>
+            <version>2.7.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>com.microsoft.sqlserver</groupId>
+            <artifactId>sqljdbc4</artifactId>
+            <version>4.0</version>
+        </dependency>
+        <!-- web Services -->
+        <!--        <dependency>-->
+        <!--            <groupId>org.jetbrains</groupId>-->
+        <!--            <artifactId>annotations</artifactId>-->
+        <!--            <version>3.4</version>-->
+        <!--            <scope>compile</scope>-->
+        <!--        </dependency>-->
+
+
+        <!--        <dependency>-->
+        <!--            <groupId>cxf</groupId>-->
+        <!--            <artifactId>cxf</artifactId>-->
+        <!--            <version>3.1.12</version>-->
+        <!--            <scope>system</scope>-->
+        <!--            <systemPath>${project.basedir}/src/main/resources/lib/cxf-jaxws.jar</systemPath>-->
+        <!--        </dependency>-->
+
+        <!--        <dependency>-->
+        <!--            <groupId>cxf</groupId>-->
+        <!--            <artifactId>cxf</artifactId>-->
+        <!--            <version>3.1.12</version>-->
+        <!--            <scope>system</scope>-->
+        <!--            <systemPath>${project.basedir}/src/main/resources/lib/cxt-http.jar</systemPath>-->
+        <!--        </dependency>-->
+    </dependencies>
+
+
+    <!--<build>
+        &lt;!&ndash; 打包不带版本号 &ndash;&gt;
+        &lt;!&ndash; <finalName>springboot_v2</finalName> &ndash;&gt;
+        <plugins>
+            &lt;!&ndash; JUnit 配置 &ndash;&gt;
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                 <artifactId>maven-surefire-plugin</artifactId>
+                 &lt;!&ndash;忽略测试启动类 &ndash;&gt;
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+            &lt;!&ndash; generator 配置&ndash;&gt;
+            <plugin>
+                <groupId>org.mybatis.generator</groupId>
+                <artifactId>mybatis-generator-maven-plugin</artifactId>
+                <version>1.3.7</version>
+                <configuration>
+                    &lt;!&ndash;允许移动生成的文件 &ndash;&gt;
+                    <verbose>false</verbose>
+                    &lt;!&ndash;允许覆盖生成的文件 &ndash;&gt;
+                    <overwrite>false</overwrite>
+                    &lt;!&ndash;配置文件的路径 &ndash;&gt;
+                    <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
+                </configuration>
+                <dependencies>
+                    <dependency>
+                        <groupId>mysql</groupId>
+                        <artifactId>mysql-connector-java</artifactId>
+                        <version>${mysql.version}</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            &lt;!&ndash; jar运行配置 &ndash;&gt;
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+    </build>-->
+
+    <build>
+        <plugins>
+
+            <!-- 使用maven-jar-plugin和maven-dependency-plugin插件打包 -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>3.0.2</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>lib/</classpathPrefix>
+                            <mainClass>cn.gyee.tamplate.TamplateApplication</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>3.0.2</version>
+                <executions>
+                    <execution>
+                        <id>copy-dependencies</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <configuration>
+                    <fork>true</fork>
+                    <!--增加jvm参数-->
+                    <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
+                </configuration>
+            </plugin>
+
+        </plugins>
+    </build>
+
+    <!-- 阿里云maven仓库 -->
+    <repositories>
+        <repository>
+            <id>public</id>
+            <name>aliyun nexus</name>
+            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>public</id>
+            <name>aliyun nexus</name>
+            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </pluginRepository>
+    </pluginRepositories>
+
+
+</project>

+ 17 - 0
src/main/java/cn/gyee/tamplate/TamplateApplication.java

@@ -0,0 +1,17 @@
+package cn.gyee.tamplate;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
+
+@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class })
+@MapperScan("cn.gyee.tamplate.mapper")
+public class TamplateApplication {
+
+    public static void main(String[] args) {
+        SpringApplication.run(TamplateApplication.class, args);
+    }
+
+}

+ 144 - 0
src/main/java/cn/gyee/tamplate/config/GeneratorCodeConfig.java

@@ -0,0 +1,144 @@
+package cn.gyee.tamplate.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) {
+        // 代码生成器
+        AutoGenerator mpg = new AutoGenerator();
+
+        // 全局配置
+        GlobalConfig gc = new GlobalConfig();
+        String projectPath = System.getProperty("user.dir");
+        gc.setOutputDir(projectPath + "/src/main/java");
+        gc.setAuthor("谢生杰");
+        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("nxfdprod");
+        dsc.setPassword("gdnxfd123");
+        dsc.setUrl("jdbc:oracle:thin:@192.168.1.105:1521:gdnxfd");
+
+        mpg.setDataSource(dsc);
+
+
+
+        // 包配置
+        PackageConfig pc = new PackageConfig();
+//        pc.setModuleName(scanner("模块名"));
+        pc.setParent("cn.gyee.tamplate");
+        pc.setEntity("model.auto");
+        pc.setMapper("mapper.auto");
+        pc.setService("service");
+        pc.setServiceImpl("service.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();
+    }
+}

+ 23 - 0
src/main/java/cn/gyee/tamplate/config/MybatisPlusConfig.java

@@ -0,0 +1,23 @@
+package cn.gyee.tamplate.config;
+
+import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+/**
+ *@ClassName MybatisPlusConfig
+ *@Description 配置分页插件
+ *@Author 谢生杰
+ *@Date 2020/9/25 18:24
+ *@Version 1.0
+ **/
+@Configuration
+public class MybatisPlusConfig {
+    /**
+     * 分页插件
+     */
+    @Bean
+    public PaginationInterceptor paginationInterceptor() {
+        return new PaginationInterceptor();
+    }
+}

+ 87 - 0
src/main/java/cn/gyee/tamplate/config/ResultInfo.java

@@ -0,0 +1,87 @@
+package cn.gyee.tamplate.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;
+    }
+}

+ 37 - 0
src/main/java/cn/gyee/tamplate/config/Status.java

@@ -0,0 +1,37 @@
+package cn.gyee.tamplate.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;
+    }
+}

+ 14 - 0
src/main/java/cn/gyee/tamplate/contant/OpeContant.java

@@ -0,0 +1,14 @@
+package cn.gyee.tamplate.contant;
+
+/**
+ * @ClassName : OpeContant
+ * @Author : xieshengjie
+ * @Date: 2021/1/18 19:50
+ * @Description : 操作常量
+ */
+public class OpeContant {
+
+    public static String opePoints = "CI0668,CI0669,CI0670";
+
+    public static String benchPoints = "RSDJZSDL,RSSTZSDL,RXNZSDL,RSQXZSDL,RGZZSDL,RSZZSDL,RJXZSDL,RLZZSDL,RQFZSDL,RXDZSDL,RWZZSDL,RTZZSDL";
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysismainController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysismain")
+public class AnalysismainController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysispvprojectcanController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysispvprojectcan")
+public class AnalysispvprojectcanController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysispvprojectcannotController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysispvprojectcannot")
+public class AnalysispvprojectcannotController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysispvstationController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysispvstation")
+public class AnalysispvstationController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectpvcanController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubprojectpvcan")
+public class AnalysissubprojectpvcanController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectpvcannotController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubprojectpvcannot")
+public class AnalysissubprojectpvcannotController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectwindcanController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubprojectwindcan")
+public class AnalysissubprojectwindcanController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubprojectwindcannotController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubprojectwindcannot")
+public class AnalysissubprojectwindcannotController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubstationpvController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubstationpv")
+public class AnalysissubstationpvController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubstationwindController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubstationwind")
+public class AnalysissubstationwindController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysissubtablebottomController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@RestController
+@RequestMapping("//analysissubtablebottom")
+public class AnalysissubtablebottomController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysistablebottomController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysistablebottom")
+public class AnalysistablebottomController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysiswindprojectcanController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysiswindprojectcan")
+public class AnalysiswindprojectcanController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysiswindprojectcannotController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysiswindprojectcannot")
+public class AnalysiswindprojectcannotController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysiswindstationController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//analysiswindstation")
+public class AnalysiswindstationController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/AnalysiswindtargetController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-09
+ */
+@RestController
+@RequestMapping("//analysiswindtarget")
+public class AnalysiswindtargetController {
+
+}

+ 34 - 0
src/main/java/cn/gyee/tamplate/controller/BenchmarkingbetweenController.java

@@ -0,0 +1,34 @@
+package cn.gyee.tamplate.controller;
+
+
+import cn.gyee.tamplate.model.auto.Benchmarkingbetween;
+import cn.gyee.tamplate.model.operation.Operation;
+import cn.gyee.tamplate.service.benchmark.BenchmarkService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-02-25
+ */
+@RestController
+@RequestMapping("//benchmarkingbetween")
+public class BenchmarkingbetweenController {
+    @Resource
+    private BenchmarkService benchmarkService;
+    @GetMapping("/list")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Benchmarkingbetween> list(@RequestParam(value = "beginDate",required = true)String beginDate,
+                                          @RequestParam(value = "endDate",required = true)String endDate){
+        List<Benchmarkingbetween> resultList =  benchmarkService.findbenchlist(beginDate,endDate);
+
+        return resultList;
+    }
+}

+ 114 - 0
src/main/java/cn/gyee/tamplate/controller/DutyscheduleController.java

@@ -0,0 +1,114 @@
+package cn.gyee.tamplate.controller;
+
+
+import cn.gyee.tamplate.model.auto.Benchmarkingbetween;
+import cn.gyee.tamplate.model.auto.Dutyschedule;
+import cn.gyee.tamplate.model.vo.DutyVo;
+import cn.gyee.tamplate.service.IDutyscheduleService;
+import cn.gyee.tamplate.util.DateUtils;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.sql.Wrapper;
+import java.util.*;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+@RestController
+@RequestMapping("//dutyschedule")
+public class DutyscheduleController {
+    @Resource
+    private IDutyscheduleService dutyscheduleService;
+
+    @GetMapping("/save")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void save(@RequestParam(value = "dutyname",required = true)String dutyname,
+                                          @RequestParam(value = "frequency",required = true)String frequency,
+                                          @RequestParam(value = "date",required = true)String date){
+        String begin = null;
+        String end = null;
+        if (frequency.equals("上午")){
+            begin = "8:00";
+            end = "13:59";
+        }else if (frequency.equals("下午")){
+            begin = "14:00";
+            end = "19:59";
+        }else{
+            begin = "0:00,20:00";
+            end = "7:59,23:59";
+        }
+        Date theday = DateUtils.parseDate(date);
+        Dutyschedule dutyschedule = new Dutyschedule();
+        dutyschedule.setBegin(begin);
+        dutyschedule.setEnd(end);
+        dutyschedule.setCreatedate(theday);
+        dutyschedule.setName(dutyname);
+        dutyscheduleService.save(dutyschedule);
+
+    }
+
+    @GetMapping("/duty")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<DutyVo> list(@RequestParam(value = "beginDate",required = true)String beginDate,
+                             @RequestParam(value = "endDate",required = true)String endDate){
+        List<DutyVo> resultList = new ArrayList<>();
+        Date begin=DateUtils.parseDate(beginDate);
+        Date end = DateUtils.parseDate(endDate);
+        QueryWrapper<Dutyschedule> wrapper = new QueryWrapper();
+        //wrapper.select("max(id) id,name,max(begin) begin,max(end) end,max(createdate) createdate");
+        wrapper.le("createdate",end).ge("createdate",begin);
+        List<Dutyschedule> dutyschedulesList=dutyscheduleService.list(wrapper);
+        dutyschedulesList.stream().forEach(i -> {
+            DutyVo vo = new DutyVo();
+            vo.setName(i.getName());
+            vo.setDate(DateUtils.toDate(i.getCreatedate()));
+            if (i.getBegin().equals("8:00")){
+                vo.setBc("上午");
+            }else if(i.getBegin().equals("14:00")){
+                vo.setBc("下午");
+            }else{
+                vo.setBc("晚上");
+            }
+            resultList.add(vo);
+        });
+        return resultList;
+    }
+
+    @GetMapping("/add")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void add(@RequestParam(value = "name",required = true)String name,
+                    @RequestParam(value = "bc",required = true)String bc,
+                    @RequestParam(value = "date",required = true)String date){
+
+
+        Dutyschedule duty = new Dutyschedule();
+        duty.setName(name);
+        duty.setCreatedate(DateUtils.parseDate(date));
+        String begin = null;
+        String end = null;
+        if (bc.equals("上午")){
+            begin = "8:00";
+            end = "13:59";
+        }else if (bc.equals("下午")){
+            begin = "14:00";
+            end = "19:59";
+        }else{
+            begin = "0:00,20:00";
+            end = "7:59,23:59";
+        }
+        duty.setBegin(begin);
+        duty.setEnd(end);
+        //dutyscheduleService.saveOrUpdate()
+        dutyscheduleService.save(duty);
+    }
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/InputoroutputspeedtotalController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//inputoroutputspeedtotal")
+public class InputoroutputspeedtotalController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/Meterpoint2Controller.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//meterpoint2")
+public class Meterpoint2Controller {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/MeterpointvalueController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//meterpointvalue")
+public class MeterpointvalueController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/OperationrecordController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-21
+ */
+@RestController
+@RequestMapping("//operationrecord")
+public class OperationrecordController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/ProjectController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//project")
+public class ProjectController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/ProjectplanController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-17
+ */
+@RestController
+@RequestMapping("//projectplan")
+public class ProjectplanController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/Shutdownevent2Controller.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//shutdownevent2")
+public class Shutdownevent2Controller {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/Windpowerinfoday3Controller.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//windpowerinfoday3")
+public class Windpowerinfoday3Controller {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/WindpowerinfodayController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@RestController
+@RequestMapping("//windpowerinfoday")
+public class WindpowerinfodayController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/WindpowerstationController.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-06
+ */
+@RestController
+@RequestMapping("//windpowerstation")
+public class WindpowerstationController {
+
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/Windpowerstationtestingpoint2Controller.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-02-26
+ */
+@RestController
+@RequestMapping("//windpowerstationtestingpoint2")
+public class Windpowerstationtestingpoint2Controller {
+
+}

+ 35 - 0
src/main/java/cn/gyee/tamplate/controller/WindturbineController.java

@@ -0,0 +1,35 @@
+package cn.gyee.tamplate.controller;
+
+
+import cn.gyee.tamplate.model.auto.Windturbine;
+import cn.gyee.tamplate.service.IWindturbineService;
+import oracle.jdbc.proxy.annotation.GetProxy;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+@RestController
+@RequestMapping("//windturbine")
+public class WindturbineController {
+    @Autowired
+    private IWindturbineService windturbineService;
+
+    @GetMapping("/wts")
+    @ResponseBody
+    public List<Windturbine> getWtls(){
+        return windturbineService.list();
+    }
+}

+ 20 - 0
src/main/java/cn/gyee/tamplate/controller/Windturbinetestingpointai2Controller.java

@@ -0,0 +1,20 @@
+package cn.gyee.tamplate.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+@RestController
+@RequestMapping("//windturbinetestingpointai2")
+public class Windturbinetestingpointai2Controller {
+
+}

+ 95 - 0
src/main/java/cn/gyee/tamplate/controller/analysis/AnalysisController.java

@@ -0,0 +1,95 @@
+package cn.gyee.tamplate.controller.analysis;
+
+import cn.gyee.tamplate.model.operation.Operation;
+import cn.gyee.tamplate.model.vo.AnalsisUpdateVo;
+import cn.gyee.tamplate.model.vo.AnalysisMainVo;
+import cn.gyee.tamplate.model.vo.BdzVo;
+import cn.gyee.tamplate.service.analysis.AnalysisService;
+import cn.gyee.tamplate.util.common.StringUtils;
+import io.swagger.models.auth.In;
+import oracle.jdbc.proxy.annotation.Post;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.util.List;
+
+/**
+ * @ClassName : AnalysisController
+ * @Author : xieshengjie
+ * @Date: 2021/3/8 12:11
+ * @Description : 统计分析controller
+ */
+@RestController
+@RequestMapping("//analysis")
+public class AnalysisController {
+    @Resource
+    private AnalysisService analysisService;
+
+    /**
+     * 首页list
+     * @param beginDate
+     * @param endDate
+     * @return
+     */
+    @GetMapping("/list")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<AnalysisMainVo> list(
+                                    @RequestParam(value = "beginDate",required = true)String beginDate,
+                                    @RequestParam(value = "endDate",required = true)String endDate){
+        List<AnalysisMainVo> resultList = analysisService.analysismainlist(beginDate,endDate);
+        return resultList;
+    }
+
+    /**
+     * 表底查询
+     * @param theday
+     * @param wpid
+     * @return
+     * @throws Exception
+     */
+    @GetMapping("/bczlist")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Object>  bczlist(
+            @RequestParam(value = "theday",required = true)String theday,
+            @RequestParam(value = "wpid",required = true)String wpid) throws Exception {
+        List<Object> bdzlist = analysisService.bdzlist(theday, wpid);
+        return bdzlist;
+    }
+
+    /**
+     * 表底值修改
+     * @param bdzVo
+     */
+    @PostMapping("/bczupdate")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void   bczupdate(@RequestBody List<BdzVo> bdzVo) {
+        if (StringUtils.isNotEmpty(bdzVo))
+            analysisService.updateBdz(bdzVo);
+    }
+
+
+    @GetMapping("/tjfxlist")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Object>  tjfxlist(
+            @RequestParam(value = "theday",required = true)String theday,
+            @RequestParam(value = "wpid",required = true)String wpid,
+            @RequestParam(value = "identity",required = true) Integer identity) {
+        List<Object> tjfxlist = analysisService.tjfxlist(theday, wpid, identity);
+        return tjfxlist;
+    }
+
+
+    /**
+     * 统计分析修改
+     * @param vos
+     */
+    @PostMapping("/tjfxupdate")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void   tjfxupdate(@RequestBody List<AnalsisUpdateVo> vos) {
+        if (StringUtils.isNotEmpty(vos))
+            analysisService.updateTjfx(vos);
+    }
+}

+ 108 - 0
src/main/java/cn/gyee/tamplate/controller/analysis/AnalysisNewController.java

@@ -0,0 +1,108 @@
+package cn.gyee.tamplate.controller.analysis;
+
+import cn.gyee.tamplate.model.vo.AnalysisMainVo;
+import cn.gyee.tamplate.service.analysis.AnalysisNewService;
+import cn.gyee.tamplate.util.common.StringUtils;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.beans.IntrospectionException;
+import java.lang.reflect.InvocationTargetException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @ClassName : AnalysisNewController
+ * @Author : xieshengjie
+ * @Date: 2021/3/17 21:13
+ * @Description : 统计分析controller
+ */
+@RestController
+@RequestMapping("//analysisplus")
+public class AnalysisNewController {
+    @Resource
+    private AnalysisNewService analysisNewService;
+
+    /**
+     * 首页list
+     * @param beginDate
+     * @param endDate
+     * @return
+     */
+    @GetMapping("/list")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<AnalysisMainVo> list(
+            @RequestParam(value = "beginDate",required = true)String beginDate,
+            @RequestParam(value = "endDate",required = true)String endDate){
+        List<AnalysisMainVo> resultList = analysisNewService.analysismainlist(beginDate,endDate);
+        return resultList;
+    }
+
+    /**
+     * 首页确认
+     * @param vo
+     */
+    @PostMapping("/commit")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void commit(@RequestBody AnalysisMainVo vo){
+        analysisNewService.commit(vo);
+    }
+
+
+    /**
+     * 表底查询
+     * @param theday
+     * @param wpid
+     * @return
+     */
+    @GetMapping("/bdzlist")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Object> bdzlist(
+            @RequestParam(value = "theday",required = true)String theday,
+            @RequestParam(value = "wpid",required = true)String wpid) throws IllegalAccessException, IntrospectionException, InvocationTargetException {
+        List<Object> bdzlist =analysisNewService.bdzlist(theday,wpid);
+        return bdzlist;
+    }
+
+    /**
+     * 统计分析查询
+     * @param theday
+     * @param wpid
+     * @param identity
+     * @return
+     */
+    @GetMapping("/tjfxlist")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Object>  tjfxlist(
+            @RequestParam(value = "theday",required = true)String theday,
+            @RequestParam(value = "wpid",required = true)String wpid,
+            @RequestParam(value = "identity",required = true) Integer identity) {
+        List<Object> tjfxlist = analysisNewService.tjfxlist(theday, wpid, identity);
+        return tjfxlist;
+    }
+
+    /**
+     * 表底值修改
+     * @param bdzVo
+     */
+    @PostMapping("/bdzupdate")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void   bdzupdate(@RequestBody Map<String,Object> bdzVo) {
+        if (StringUtils.isNotEmpty(bdzVo))
+            analysisNewService.updateBdz(bdzVo);
+    }
+
+    /**
+     * 统计分析修改
+     * @param tjfxVo
+     */
+    @PostMapping("/tjfxupdate")
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public void   tjfxupdate(@RequestBody List<Map<String,Object>> tjfxVo) {
+        if (StringUtils.isNotEmpty(tjfxVo))
+            analysisNewService.updateTjfx(tjfxVo);
+    }
+}

+ 115 - 0
src/main/java/cn/gyee/tamplate/controller/operation/OperationController.java

@@ -0,0 +1,115 @@
+package cn.gyee.tamplate.controller.operation;
+
+import cn.gyee.tamplate.model.auto.Operationrecord;
+import cn.gyee.tamplate.model.operation.Operation;
+import cn.gyee.tamplate.model.vo.OpeVo;
+import cn.gyee.tamplate.service.operation.OperationService;
+import cn.gyee.tamplate.util.common.StringUtils;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import javax.servlet.http.HttpServletRequest;
+import java.text.ParseException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.stream.Collectors;
+
+/**
+ * @ClassName : OperationController
+ * @Author : xieshengjie
+ * @Date: 2021/1/18 16:02
+ * @Description : 操作controller
+ */
+@RestController
+@RequestMapping("//operation")
+public class OperationController {
+    @Resource
+    private OperationService operationService;
+
+
+
+
+    @GetMapping("/listplus")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Operation> listplus(@RequestParam(value = "beginDate",required = true)String beginDate,
+                                @RequestParam(value = "endDate",required = true)String endDate){
+        List<Operation> resultList =  operationService.findOperecords(beginDate,endDate);
+
+        return resultList;
+    }
+
+    @GetMapping("/drillplus")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Operationrecord>  drillplus(@RequestParam(value = "beginDate",required = true)String beginDate,
+                              @RequestParam(value = "endDate",required = true)String endDate,
+                              @RequestParam(value = "dutyname",required = true)String dutyname,
+                              @RequestParam(value = "direct",required = true)String direct){
+        List<Operationrecord> collect = operationService.drillOperecords(beginDate, endDate, dutyname, direct);
+        return collect;
+
+
+    }
+    @GetMapping("/list")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<Operation> list(@RequestParam(value = "beginDate",required = true)String beginDate,
+                                @RequestParam(value = "endDate",required = true)String endDate){
+        Map<String,List<OpeVo>> opeMap = null;
+        List<Operation> resultList = new ArrayList<>();
+        try {
+            opeMap  =  operationService.opeMap(beginDate,endDate);
+            if (StringUtils.isNotEmpty(opeMap)){
+                Set<String> dutynames = opeMap.keySet();
+                for (String dutyname : dutynames) {
+                    Operation ope = new Operation();
+                    ope.setNameOfDuty(dutyname);
+                    List<OpeVo> opeVos = opeMap.get(dutyname);
+                    ope.setStartCount(opeVos.stream().filter(vo -> vo.getValue()==1.0).collect(Collectors.toList()).size());
+                    ope.setStopCount(opeVos.stream().filter(vo -> vo.getValue()==2.0).collect(Collectors.toList()).size());
+                    ope.setResetCount(opeVos.stream().filter(vo -> vo.getValue()==3.0).collect(Collectors.toList()).size());
+                    ope.setMaintainCount(opeVos.stream().filter(vo -> vo.getValue()==4.0).collect(Collectors.toList()).size());
+                    ope.setUnmaintainCount(opeVos.stream().filter(vo -> vo.getValue()==5.0).collect(Collectors.toList()).size());
+                    ope.setGpmaintainCount(opeVos.stream().filter(vo -> vo.getValue()==6.0).collect(Collectors.toList()).size());
+                    ope.setGpfaultCount(opeVos.stream().filter(vo -> vo.getValue()==7.0).collect(Collectors.toList()).size());
+                    ope.setGponsiteinvolvementMaintainCount(opeVos.stream().filter(vo -> vo.getValue()==8.0).collect(Collectors.toList()).size());
+                    ope.setGponsiteinvolvementFaultCount(opeVos.stream().filter(vo -> vo.getValue()==9.0).collect(Collectors.toList()).size());
+                    ope.setGpoffsiteaffectedgridCount(opeVos.stream().filter(vo -> vo.getValue()==100).collect(Collectors.toList()).size());
+                    ope.setGpweatherOutsideCount(opeVos.stream().filter(vo -> vo.getValue()==11.0).collect(Collectors.toList()).size());
+                    ope.setUngpCount(opeVos.stream().filter(vo -> vo.getValue()==12.0).collect(Collectors.toList()).size());
+                    resultList.add(ope);
+                }
+
+            }
+        } catch (ParseException e) {
+            e.printStackTrace();
+        }
+        return resultList;
+
+
+    }
+
+
+    @GetMapping("/drill")
+    @ResponseBody
+    @CrossOrigin(origins = "*", maxAge = 3600)
+    public List<OpeVo>  drill(@RequestParam(value = "beginDate",required = true)String beginDate,
+                                @RequestParam(value = "endDate",required = true)String endDate,
+                                 @RequestParam(value = "dutyname",required = true)String dutyname,
+                                 @RequestParam(value = "direct",required = true)String direct){
+        Map<String,List<OpeVo>> opeMap = null;
+        List<OpeVo> collect = null;
+        try {
+            opeMap  =  operationService.opeMap(beginDate,endDate);
+            collect = opeMap.get(dutyname).stream().filter(vo -> vo.getValue() == Double.parseDouble(direct)).collect(Collectors.toList());
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+        return collect;
+
+
+    }
+}

+ 113 - 0
src/main/java/cn/gyee/tamplate/init/CacheContext.java

@@ -0,0 +1,113 @@
+package cn.gyee.tamplate.init;
+
+import cn.gyee.tamplate.model.WindPowerStationTestingPoint2;
+import cn.gyee.tamplate.model.auto.*;
+import cn.gyee.tamplate.service.*;
+import cn.gyee.tamplate.util.common.StringUtils;
+import lombok.val;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.boot.CommandLineRunner;
+import org.springframework.stereotype.Component;
+
+import javax.annotation.Resource;
+import java.util.*;
+import java.util.stream.Collectors;
+
+/**
+ * @ClassName : CacheContext
+ * @Author : xieshengjie
+ * @Date: 2021/1/18 14:48
+ * @Description : 初始化资源
+ */
+@Component
+public class CacheContext implements CommandLineRunner {
+    private Logger logger= LoggerFactory.getLogger(CacheContext.class);
+    @Resource
+    private IWindturbinetestingpointai2Service windturbinetestingpointai2Service;
+    @Resource
+    private IWindpowerstationtestingpoint2Service windpowerstationtestingpoint2Service;
+    @Resource
+    private IProjectService projectService;
+    @Resource
+    private IWindpowerstationService windpowerstationService;
+    @Resource
+    private IMeterpoint2Service meterpoint2Service;
+    @Resource
+    private IAnalysiswindtargetService analysiswindtargetService;
+
+    public static Map<String, Map<String, Windturbinetestingpointai2>> wtpointMap = new HashMap<>();
+
+    public static Map<String,List<Windturbinetestingpointai2>> wtpmap = new HashMap<>();
+
+    public static Map<String,Map<String, Windpowerstationtestingpoint2>> wppointmap =new HashMap<>();
+
+    public static List<Project> projects = new ArrayList<>();
+
+    public static List<Windpowerstation> stations = new ArrayList<>();
+
+    public static Map<String,Windpowerstation> wpmaps = new HashMap<>();
+
+    public static Map<String,String> wpmap = new HashMap<>();
+
+    public static Map<String,Meterpoint2> meterMap = new HashMap<>();
+
+    public static Map<String,List<Meterpoint2>> wpmeterMap = new HashMap<>();
+
+    public static List<Analysiswindtarget> targetlist = new ArrayList<>();
+
+    public static Map<String,Project> projectMap = new HashMap<>();
+
+    @Override
+    public void run(String... args) throws Exception {
+
+        targetlist = analysiswindtargetService.list();
+
+        for (Meterpoint2 meterpoint2 : meterpoint2Service.list()) {
+            meterMap.put(meterpoint2.getId(),meterpoint2);
+            if (wpmeterMap.containsKey(meterpoint2.getWindpowerstationid())){
+                wpmeterMap.get(meterpoint2.getWindpowerstationid()).add(meterpoint2);
+            }else{
+                List<Meterpoint2> list = new ArrayList<>();
+                list.add(meterpoint2);
+                wpmeterMap.put(meterpoint2.getWindpowerstationid(),list);
+            }
+        }
+
+        projects = projectService.list().stream().sorted(Comparator.comparing(Project::getOrdernum)).collect(Collectors.toList());
+        for (Project project : projects) {
+            projectMap.put(project.getId(),project);
+        }
+        stations = windpowerstationService.list();
+        for (Windpowerstation station : stations) {
+            wpmap.put(station.getId(),station.getName());
+            wpmaps.put(station.getId(),station);
+        }
+
+        List<Windturbinetestingpointai2> wtplist = windturbinetestingpointai2Service.list();
+        for (Windturbinetestingpointai2 pointai : wtplist) {
+            if (wtpointMap.containsKey(pointai.getWindturbineid())){
+                wtpointMap.get(pointai.getWindturbineid()).put(pointai.getUniformcode(),pointai);
+            }else{
+                Map<String, Windturbinetestingpointai2> map = new HashMap<>();
+                map.put(pointai.getUniformcode(),pointai);
+                wtpointMap.put(pointai.getWindturbineid(),map);
+            }
+        }
+
+        //----------------------------------------------------------------------------------------------------
+        List<Windpowerstationtestingpoint2> wplist = windpowerstationtestingpoint2Service.list();
+        for (Windpowerstationtestingpoint2 windpowerstationtestingpoint2 : wplist) {
+            if (wppointmap.containsKey(windpowerstationtestingpoint2.getWindpowerstationid())){
+                wppointmap.get(windpowerstationtestingpoint2.getWindpowerstationid()).put(windpowerstationtestingpoint2.getUniformcode(),windpowerstationtestingpoint2);
+            }else{
+                Map<String,Windpowerstationtestingpoint2> map = new HashMap<>();
+                map.put(windpowerstationtestingpoint2.getUniformcode(),windpowerstationtestingpoint2);
+                wppointmap.put(windpowerstationtestingpoint2.getWindpowerstationid(),map);
+            }
+        }
+
+
+
+    }
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysismainMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysismain;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysismainMapper extends BaseMapper<Analysismain> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvprojectcanMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysispvprojectcan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysispvprojectcanMapper extends BaseMapper<Analysispvprojectcan> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvprojectcannotMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysispvprojectcannot;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysispvprojectcannotMapper extends BaseMapper<Analysispvprojectcannot> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysispvstationMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysispvstation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysispvstationMapper extends BaseMapper<Analysispvstation> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectpvcanMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubprojectpvcan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubprojectpvcanMapper extends BaseMapper<Analysissubprojectpvcan> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectpvcannotMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubprojectpvcannot;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubprojectpvcannotMapper extends BaseMapper<Analysissubprojectpvcannot> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectwindcanMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubprojectwindcan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubprojectwindcanMapper extends BaseMapper<Analysissubprojectwindcan> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubprojectwindcannotMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubprojectwindcannot;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubprojectwindcannotMapper extends BaseMapper<Analysissubprojectwindcannot> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubstationpvMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubstationpv;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubstationpvMapper extends BaseMapper<Analysissubstationpv> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubstationwindMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubstationwind;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-18
+ */
+public interface AnalysissubstationwindMapper extends BaseMapper<Analysissubstationwind> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysissubtablebottomMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysissubtablebottom;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+public interface AnalysissubtablebottomMapper extends BaseMapper<Analysissubtablebottom> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysistablebottomMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysistablebottom;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysistablebottomMapper extends BaseMapper<Analysistablebottom> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindprojectcanMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysiswindprojectcan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysiswindprojectcanMapper extends BaseMapper<Analysiswindprojectcan> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindprojectcannotMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysiswindprojectcannot;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysiswindprojectcannotMapper extends BaseMapper<Analysiswindprojectcannot> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindstationMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysiswindstation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface AnalysiswindstationMapper extends BaseMapper<Analysiswindstation> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/AnalysiswindtargetMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Analysiswindtarget;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-09
+ */
+public interface AnalysiswindtargetMapper extends BaseMapper<Analysiswindtarget> {
+
+}

+ 23 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/BenchmarkingbetweenMapper.java

@@ -0,0 +1,23 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Benchmarkingbetween;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-02-25
+ */
+public interface BenchmarkingbetweenMapper extends BaseMapper<Benchmarkingbetween> {
+    @Select("select dutyname,sum(theoreticalgeneratity) theoreticalgeneratity,sum(generatity) generatity,sum(faultloss) faultloss,sum(mainloss) mainloss,sum(performanceloss) performanceloss,sum(rationingloss) rationingloss,sum(involvesloss) involvesloss from benchmarkingbetween where theday>=#{begin} and theday <=#{end} group by dutyname ")
+    public List<Benchmarkingbetween> findByBeginAndEnd(@Param(value = "begin")Date begin, @Param(value = "end")Date end);
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/DutyscheduleMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Dutyschedule;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+public interface DutyscheduleMapper extends BaseMapper<Dutyschedule> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/InputoroutputspeedtotalMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Inputoroutputspeedtotal;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface InputoroutputspeedtotalMapper extends BaseMapper<Inputoroutputspeedtotal> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/Meterpoint2Mapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Meterpoint2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface Meterpoint2Mapper extends BaseMapper<Meterpoint2> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/MeterpointvalueMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Meterpointvalue;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface MeterpointvalueMapper extends BaseMapper<Meterpointvalue> {
+
+}

+ 23 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/OperationrecordMapper.java

@@ -0,0 +1,23 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Operationrecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
+import org.springframework.stereotype.Service;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-21
+ */
+public interface OperationrecordMapper extends BaseMapper<Operationrecord> {
+    @Select("select * from operationrecord where time>=#{begin} and time <=#{end} ")
+    public List<Operationrecord> listByBeginAndEnd(@Param(value = "begin") Date begin, @Param(value = "end")Date end);
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/ProjectMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Project;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface ProjectMapper extends BaseMapper<Project> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/ProjectplanMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Projectplan;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-17
+ */
+public interface ProjectplanMapper extends BaseMapper<Projectplan> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/Shutdownevent2Mapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Shutdownevent2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface Shutdownevent2Mapper extends BaseMapper<Shutdownevent2> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/Windpowerinfoday3Mapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windpowerinfoday3;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface Windpowerinfoday3Mapper extends BaseMapper<Windpowerinfoday3> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/WindpowerinfodayMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windpowerinfoday;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+public interface WindpowerinfodayMapper extends BaseMapper<Windpowerinfoday> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/WindpowerstationMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windpowerstation;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-06
+ */
+public interface WindpowerstationMapper extends BaseMapper<Windpowerstation> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/Windpowerstationtestingpoint2Mapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windpowerstationtestingpoint2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-02-26
+ */
+public interface Windpowerstationtestingpoint2Mapper extends BaseMapper<Windpowerstationtestingpoint2> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/WindturbineMapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windturbine;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+public interface WindturbineMapper extends BaseMapper<Windturbine> {
+
+}

+ 16 - 0
src/main/java/cn/gyee/tamplate/mapper/auto/Windturbinetestingpointai2Mapper.java

@@ -0,0 +1,16 @@
+package cn.gyee.tamplate.mapper.auto;
+
+import cn.gyee.tamplate.model.auto.Windturbinetestingpointai2;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * <p>
+ *  Mapper 接口
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-01-18
+ */
+public interface Windturbinetestingpointai2Mapper extends BaseMapper<Windturbinetestingpointai2> {
+
+}

+ 73 - 0
src/main/java/cn/gyee/tamplate/model/DynamicBean.java

@@ -0,0 +1,73 @@
+package cn.gyee.tamplate.model;
+
+import net.sf.cglib.beans.BeanGenerator;
+import net.sf.cglib.beans.BeanMap;
+
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Set;
+
+/**
+ * @ClassName : DynamicBean
+ * @Author : xieshengjie
+ * @Date: 2021/3/8 17:25
+ * @Description : 动态生成基础类
+ */
+public class DynamicBean {
+    private Object object = null; //动态生成的类
+    private BeanMap beanMap = null; //存放属性名称以及属性的类型
+
+    public DynamicBean() {
+        super();
+    }
+
+    public DynamicBean(Map propertyMap) {
+        this.object = generateBean(propertyMap);
+        this.beanMap = BeanMap.create(this.object);
+    }
+
+    /**
+     * @param propertyMap
+     * @return
+     */
+    private Object generateBean(Map propertyMap) {
+        BeanGenerator generator = new BeanGenerator();
+        Set keySet = propertyMap.keySet();
+        for (Iterator i = keySet.iterator(); i.hasNext(); ) {
+            String key = (String) i.next();
+            generator.addProperty(key, (Class) propertyMap.get(key));
+        }
+        return generator.create();
+    }
+
+    /**
+     * 给bean属性赋值
+     *
+     * @param property 属性名
+     * @param value    值
+     */
+    public void setValue(Object property, Object value) {
+        beanMap.put(property, value);
+    }
+
+    /**
+     * 通过属性名得到属性值
+     *
+     * @param property 属性名
+     * @return 值
+     */
+    public Object getValue(String property) {
+        return beanMap.get(property);
+    }
+
+    /**
+     * 得到该实体bean对象
+     *
+     * @return
+     */
+    public Object getObject() {
+        return this.object;
+    }
+
+
+}

+ 148 - 0
src/main/java/cn/gyee/tamplate/model/Electricaltestingpointai.java

@@ -0,0 +1,148 @@
+package cn.gyee.tamplate.model;
+
+
+
+public class Electricaltestingpointai implements java.io.Serializable {
+
+	/** 
+     * 
+     * @since JDK 1.6 
+     */  
+    private static final long serialVersionUID = 1L;
+	// Constructors
+
+	/** default constructor */
+	public Electricaltestingpointai() {
+	}
+
+	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 Double maxval;
+	private Double minval;
+	private Double reasonablemaxval;
+	private Double reasonableminval;
+	private String electricalid;
+	private String uniformcode;
+	private String shortid;
+	private String longid;
+	private String windpowerstationid;
+	private String realtimeid;
+
+	public String getId() {
+    	return id;
+    }
+	public void setId(String id) {
+    	this.id = id;
+    }
+	public String getCode() {
+    	return code;
+    }
+	public void setCode(String code) {
+    	this.code = code;
+    }
+	public String getName() {
+    	return name;
+    }
+	public void setName(String name) {
+    	this.name = name;
+    }
+	public String getModel() {
+    	return model;
+    }
+	public void setModel(String model) {
+    	this.model = model;
+    }
+	public String getValueunit() {
+    	return valueunit;
+    }
+	public void setValueunit(String valueunit) {
+    	this.valueunit = valueunit;
+    }
+	public String getEnglishname() {
+    	return englishname;
+    }
+	public void setEnglishname(String englishname) {
+    	this.englishname = englishname;
+    }
+	public String getTypeid() {
+    	return typeid;
+    }
+	public void setTypeid(String typeid) {
+    	this.typeid = typeid;
+    }
+	public String getModelid() {
+    	return modelid;
+    }
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+	public Double getMaxval() {
+    	return maxval;
+    }
+	public void setMaxval(Double maxval) {
+    	this.maxval = maxval;
+    }
+	public Double getMinval() {
+    	return minval;
+    }
+	public void setMinval(Double minval) {
+    	this.minval = minval;
+    }
+	public Double getReasonablemaxval() {
+    	return reasonablemaxval;
+    }
+	public void setReasonablemaxval(Double reasonablemaxval) {
+    	this.reasonablemaxval = reasonablemaxval;
+    }
+	public Double getReasonableminval() {
+    	return reasonableminval;
+    }
+	public void setReasonableminval(Double reasonableminval) {
+    	this.reasonableminval = reasonableminval;
+    }
+	public String getElectricalid() {
+    	return electricalid;
+    }
+	public void setElectricalid(String electricalid) {
+    	this.electricalid = electricalid;
+    }
+	public String getUniformcode() {
+    	return uniformcode;
+    }
+	public void setUniformcode(String uniformcode) {
+    	this.uniformcode = uniformcode;
+    }
+	public String getShortid() {
+    	return shortid;
+    }
+	public void setShortid(String shortid) {
+    	this.shortid = shortid;
+    }
+	public String getLongid() {
+    	return longid;
+    }
+	public void setLongid(String longid) {
+    	this.longid = longid;
+    }
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+	public String getRealtimeid() {
+    	return realtimeid;
+    }
+	public void setRealtimeid(String realtimeid) {
+    	this.realtimeid = realtimeid;
+    }
+	
+	
+
+}

+ 147 - 0
src/main/java/cn/gyee/tamplate/model/Electricaltestingpointdi.java

@@ -0,0 +1,147 @@
+package cn.gyee.tamplate.model;
+
+
+public class Electricaltestingpointdi implements java.io.Serializable {
+
+	/** 
+     * 
+     * @since JDK 1.6 
+     */  
+    private static final long serialVersionUID = 1L;
+	// Constructors
+
+	/** default constructor */
+	public Electricaltestingpointdi() {
+	}
+
+	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 Double maxval;
+	private Double minval;
+	private Double reasonablemaxval;
+	private Double reasonableminval;
+	private String electricalid;
+	private String uniformcode;
+	private String shortid;
+	private String longid;
+	private String windpowerstationid;
+	private String realtimeid;
+
+	public String getId() {
+    	return id;
+    }
+	public void setId(String id) {
+    	this.id = id;
+    }
+	public String getCode() {
+    	return code;
+    }
+	public void setCode(String code) {
+    	this.code = code;
+    }
+	public String getName() {
+    	return name;
+    }
+	public void setName(String name) {
+    	this.name = name;
+    }
+	public String getModel() {
+    	return model;
+    }
+	public void setModel(String model) {
+    	this.model = model;
+    }
+	public String getValueunit() {
+    	return valueunit;
+    }
+	public void setValueunit(String valueunit) {
+    	this.valueunit = valueunit;
+    }
+	public String getEnglishname() {
+    	return englishname;
+    }
+	public void setEnglishname(String englishname) {
+    	this.englishname = englishname;
+    }
+	public String getTypeid() {
+    	return typeid;
+    }
+	public void setTypeid(String typeid) {
+    	this.typeid = typeid;
+    }
+	public String getModelid() {
+    	return modelid;
+    }
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+	public Double getMaxval() {
+    	return maxval;
+    }
+	public void setMaxval(Double maxval) {
+    	this.maxval = maxval;
+    }
+	public Double getMinval() {
+    	return minval;
+    }
+	public void setMinval(Double minval) {
+    	this.minval = minval;
+    }
+	public Double getReasonablemaxval() {
+    	return reasonablemaxval;
+    }
+	public void setReasonablemaxval(Double reasonablemaxval) {
+    	this.reasonablemaxval = reasonablemaxval;
+    }
+	public Double getReasonableminval() {
+    	return reasonableminval;
+    }
+	public void setReasonableminval(Double reasonableminval) {
+    	this.reasonableminval = reasonableminval;
+    }
+	public String getElectricalid() {
+    	return electricalid;
+    }
+	public void setElectricalid(String electricalid) {
+    	this.electricalid = electricalid;
+    }
+	public String getUniformcode() {
+    	return uniformcode;
+    }
+	public void setUniformcode(String uniformcode) {
+    	this.uniformcode = uniformcode;
+    }
+	public String getShortid() {
+    	return shortid;
+    }
+	public void setShortid(String shortid) {
+    	this.shortid = shortid;
+    }
+	public String getLongid() {
+    	return longid;
+    }
+	public void setLongid(String longid) {
+    	this.longid = longid;
+    }
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+	public String getRealtimeid() {
+    	return realtimeid;
+    }
+	public void setRealtimeid(String realtimeid) {
+    	this.realtimeid = realtimeid;
+    }
+	
+	
+
+}

+ 141 - 0
src/main/java/cn/gyee/tamplate/model/Equipmentmodel.java

@@ -0,0 +1,141 @@
+package cn.gyee.tamplate.model;
+// default package
+
+
+
+public class Equipmentmodel implements java.io.Serializable {
+
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = 1L;
+	// Fields
+
+	private String id;
+	private String code;
+	private String name;
+	private String description;
+	private Double powerproduction;
+	private Double cutinwindspeed;
+	private Double ratedwindspeed;
+	private String cutoutwindspeed;
+	private String windturbinemanufacturerid;
+	private String photo;
+	private String unit;
+	private Double sweptarea;
+	private Integer equipmentcategory;
+
+	// Constructors
+
+	/** default constructor */
+	public Equipmentmodel() {
+	}
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getCode() {
+    	return code;
+    }
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	public String getDescription() {
+    	return description;
+    }
+
+	public void setDescription(String description) {
+    	this.description = description;
+    }
+
+	public Double getPowerproduction() {
+    	return powerproduction;
+    }
+
+	public void setPowerproduction(Double powerproduction) {
+    	this.powerproduction = powerproduction;
+    }
+
+	public Double getCutinwindspeed() {
+    	return cutinwindspeed;
+    }
+
+	public void setCutinwindspeed(Double cutinwindspeed) {
+    	this.cutinwindspeed = cutinwindspeed;
+    }
+
+	public Double getRatedwindspeed() {
+    	return ratedwindspeed;
+    }
+
+	public void setRatedwindspeed(Double ratedwindspeed) {
+    	this.ratedwindspeed = ratedwindspeed;
+    }
+
+	public String getCutoutwindspeed() {
+    	return cutoutwindspeed;
+    }
+
+	public void setCutoutwindspeed(String cutoutwindspeed) {
+    	this.cutoutwindspeed = cutoutwindspeed;
+    }
+
+	public String getWindturbinemanufacturerid() {
+    	return windturbinemanufacturerid;
+    }
+
+	public void setWindturbinemanufacturerid(String windturbinemanufacturerid) {
+    	this.windturbinemanufacturerid = windturbinemanufacturerid;
+    }
+
+	public String getPhoto() {
+    	return photo;
+    }
+
+	public void setPhoto(String photo) {
+    	this.photo = photo;
+    }
+
+	public String getUnit() {
+    	return unit;
+    }
+
+	public void setUnit(String unit) {
+    	this.unit = unit;
+    }
+
+	public Double getSweptarea() {
+    	return sweptarea;
+    }
+
+	public void setSweptarea(Double sweptarea) {
+    	this.sweptarea = sweptarea;
+    }
+
+	public Integer getEquipmentcategory() {
+    	return equipmentcategory;
+    }
+
+	public void setEquipmentcategory(Integer equipmentcategory) {
+    	this.equipmentcategory = equipmentcategory;
+    }
+
+
+}

+ 106 - 0
src/main/java/cn/gyee/tamplate/model/Line.java

@@ -0,0 +1,106 @@
+package cn.gyee.tamplate.model;
+// default package
+
+
+
+public class Line implements java.io.Serializable {
+
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = 1L;
+	// Fields
+
+	private String id;
+	private String code;
+	private String name;
+	private String aname;
+	private String projectid;
+	private Integer ordernum;
+	private Double capacity;
+	private String capacityunit;
+	private Integer quantity;
+
+	// Constructors
+
+	/** default constructor */
+	public Line() {
+	}
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getCode() {
+    	return code;
+    }
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	public String getAname() {
+    	return aname;
+    }
+
+	public void setAname(String aname) {
+    	this.aname = aname;
+    }
+
+	public String getProjectid() {
+    	return projectid;
+    }
+
+	public void setProjectid(String projectid) {
+    	this.projectid = projectid;
+    }
+
+	public Integer getOrdernum() {
+    	return ordernum;
+    }
+
+	public void setOrdernum(Integer ordernum) {
+    	this.ordernum = ordernum;
+    }
+
+	public Double getCapacity() {
+    	return capacity;
+    }
+
+	public void setCapacity(Double capacity) {
+    	this.capacity = capacity;
+    }
+
+	public String getCapacityunit() {
+    	return capacityunit;
+    }
+
+	public void setCapacityunit(String capacityunit) {
+    	this.capacityunit = capacityunit;
+    }
+
+	public Integer getQuantity() {
+    	return quantity;
+    }
+
+	public void setQuantity(Integer quantity) {
+    	this.quantity = quantity;
+    }
+
+	
+
+}

+ 192 - 0
src/main/java/cn/gyee/tamplate/model/Meterpoint.java

@@ -0,0 +1,192 @@
+package cn.gyee.tamplate.model;
+
+
+
+
+public class Meterpoint implements java.io.Serializable {
+
+
+    private static final long serialVersionUID = 1L;
+
+	// Fields
+
+	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 Double magnification;
+	private String shortid;
+	private String longid;
+	private String realtimeid;
+	private Double initialvalue;
+	private Double xs;
+	private Double magnificationxs;
+
+	// Constructors
+
+	/** default constructor */
+	public Meterpoint() {
+	}
+
+	public String getId() {
+		return id;
+	}
+
+	public void setId(String id) {
+		this.id = id;
+	}
+
+	public String getCode() {
+		return code;
+	}
+
+	public void setCode(String code) {
+		this.code = code;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getDescription() {
+		return description;
+	}
+
+	public void setDescription(String description) {
+		this.description = description;
+	}
+
+	public String getWindpowerstationid() {
+		return windpowerstationid;
+	}
+
+	public void setWindpowerstationid(String windpowerstationid) {
+		this.windpowerstationid = windpowerstationid;
+	}
+
+	public String getProjectid() {
+		return projectid;
+	}
+
+	public void setProjectid(String projectid) {
+		this.projectid = projectid;
+	}
+
+	public String getLineid() {
+		return lineid;
+	}
+
+	public void setLineid(String lineid) {
+		this.lineid = lineid;
+	}
+
+	public String getMetertype() {
+		return metertype;
+	}
+
+	public void setMetertype(String metertype) {
+		this.metertype = metertype;
+	}
+
+	public String getMetercode() {
+		return metercode;
+	}
+
+	public void setMetercode(String metercode) {
+		this.metercode = metercode;
+	}
+
+	public String getMetersort() {
+		return metersort;
+	}
+
+	public void setMetersort(String metersort) {
+		this.metersort = metersort;
+	}
+
+	public String getDisplaytype() {
+		return displaytype;
+	}
+
+	public void setDisplaytype(String displaytype) {
+		this.displaytype = displaytype;
+	}
+
+	public String getUniformcode() {
+		return uniformcode;
+	}
+
+	public void setUniformcode(String uniformcode) {
+		this.uniformcode = uniformcode;
+	}
+
+	public Double getMagnification() {
+		return magnification;
+	}
+
+	public void setMagnification(Double magnification) {
+		this.magnification = magnification;
+	}
+
+	public String getShortid() {
+		return shortid;
+	}
+
+	public void setShortid(String shortid) {
+		this.shortid = shortid;
+	}
+
+	public String getLongid() {
+		return longid;
+	}
+
+	public void setLongid(String longid) {
+		this.longid = longid;
+	}
+
+	public String getRealtimeid() {
+		return realtimeid;
+	}
+
+	public void setRealtimeid(String realtimeid) {
+		this.realtimeid = realtimeid;
+	}
+
+	public Double getInitialvalue() {
+		return initialvalue;
+	}
+
+	public void setInitialvalue(Double initialvalue) {
+		this.initialvalue = initialvalue;
+	}
+
+	public Double getXs() {
+		return xs;
+	}
+
+	public void setXs(Double xs) {
+		this.xs = xs;
+	}
+
+	public Double getMagnificationxs() {
+		return magnificationxs;
+	}
+
+	public void setMagnificationxs(Double magnificationxs) {
+		this.magnificationxs = magnificationxs;
+	}
+
+
+}

+ 118 - 0
src/main/java/cn/gyee/tamplate/model/Project.java

@@ -0,0 +1,118 @@
+package cn.gyee.tamplate.model;
+// default package
+
+//default package
+
+import java.util.Date;
+
+
+public class Project implements java.io.Serializable {
+
+
+    
+    
+	  private static final long serialVersionUID = 1L;
+		// Fields
+
+		private String id;
+		private String code;
+		private String name;
+		private String aname;
+		private String windpowerstationid;
+		private Double capacity;
+		private String capacityunit;
+		private Integer quantity;
+		private String model;
+		private Date commissiondate;
+		private String masterphone;
+		private String shiftforeman;
+		private String shiftforemanphone;
+		private Integer ordernum;
+		public String getId() {
+        	return id;
+        }
+		public void setId(String id) {
+        	this.id = id;
+        }
+		public String getCode() {
+        	return code;
+        }
+		public void setCode(String code) {
+        	this.code = code;
+        }
+		public String getName() {
+        	return name;
+        }
+		public void setName(String name) {
+        	this.name = name;
+        }
+		public String getAname() {
+        	return aname;
+        }
+		public void setAname(String aname) {
+        	this.aname = aname;
+        }
+		public String getWindpowerstationid() {
+        	return windpowerstationid;
+        }
+		public void setWindpowerstationid(String windpowerstationid) {
+        	this.windpowerstationid = windpowerstationid;
+        }
+		public Double getCapacity() {
+        	return capacity;
+        }
+		public void setCapacity(Double capacity) {
+        	this.capacity = capacity;
+        }
+		public String getCapacityunit() {
+        	return capacityunit;
+        }
+		public void setCapacityunit(String capacityunit) {
+        	this.capacityunit = capacityunit;
+        }
+		public Integer getQuantity() {
+        	return quantity;
+        }
+		public void setQuantity(Integer quantity) {
+        	this.quantity = quantity;
+        }
+		public String getModel() {
+        	return model;
+        }
+		public void setModel(String model) {
+        	this.model = model;
+        }
+		public Date getCommissiondate() {
+        	return commissiondate;
+        }
+		public void setCommissiondate(Date commissiondate) {
+        	this.commissiondate = commissiondate;
+        }
+		public String getMasterphone() {
+        	return masterphone;
+        }
+		public void setMasterphone(String masterphone) {
+        	this.masterphone = masterphone;
+        }
+		public String getShiftforeman() {
+        	return shiftforeman;
+        }
+		public void setShiftforeman(String shiftforeman) {
+        	this.shiftforeman = shiftforeman;
+        }
+		public String getShiftforemanphone() {
+        	return shiftforemanphone;
+        }
+		public void setShiftforemanphone(String shiftforemanphone) {
+        	this.shiftforemanphone = shiftforemanphone;
+        }
+		public Integer getOrdernum() {
+        	return ordernum;
+        }
+		public void setOrdernum(Integer ordernum) {
+        	this.ordernum = ordernum;
+        }
+	
+	
+
+}

+ 81 - 0
src/main/java/cn/gyee/tamplate/model/Stoptype.java

@@ -0,0 +1,81 @@
+package cn.gyee.tamplate.model;
+// default package
+
+
+
+public class Stoptype implements java.io.Serializable {
+
+	// Fields
+
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = -1072296108775365100L;
+	private String id;
+	private String name;
+	private Boolean isPlan;
+	private String  nwys;
+	private String  parentid;
+	private Boolean isFlod;
+	
+	// Constructors
+
+	/** default constructor */
+	public Stoptype() {
+	}
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	
+	public Boolean getIsPlan() {
+    	return isPlan;
+    }
+
+	public void setIsPlan(Boolean isPlan) {
+    	this.isPlan = isPlan;
+    }
+
+	public String getNwys() {
+    	return nwys;
+    }
+
+	public void setNwys(String nwys) {
+    	this.nwys = nwys;
+    }
+
+	public String getParentid() {
+    	return parentid;
+    }
+
+	public void setParentid(String parentid) {
+    	this.parentid = parentid;
+    }
+
+	public Boolean getIsFlod() {
+    	return isFlod;
+    }
+
+	public void setIsFlod(Boolean isFlod) {
+    	this.isFlod = isFlod;
+    }
+
+	
+	
+
+}

+ 245 - 0
src/main/java/cn/gyee/tamplate/model/Warning2.java

@@ -0,0 +1,245 @@
+
+package cn.gyee.tamplate.model;
+
+
+public class Warning2  implements java.io.Serializable{
+	
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = 1L;
+	private String id;
+	private String parentid;
+	private String levelid;
+	private String warningclassifyid;
+	private String modelid;
+	private String manufacturercode;
+	private String englishtext;
+	private String chinesetext;
+	private Integer isleaf;
+	private Integer sequencenumber;
+	private String characteristic;
+	private String codename;
+	private Integer ednavalue;
+	private Integer display;
+	
+	private Double standardtime; //报警消缺规定时间
+	
+	private Integer isreset;
+	private String warningtypeid;
+//	
+//	private Boolean voiceprompt; //是否声音提醒
+//	
+//	private Boolean lightprompt; //是否变色提醒
+//	
+//	private Boolean shield; //是否屏蔽
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getParentid() {
+    	return parentid;
+    }
+
+	public void setParentid(String parentid) {
+    	this.parentid = parentid;
+    }
+
+	public String getLevelid() {
+    	return levelid;
+    }
+
+	public void setLevelid(String levelid) {
+    	this.levelid = levelid;
+    }
+
+	public String getWarningclassifyid() {
+    	return warningclassifyid;
+    }
+
+	public void setWarningclassifyid(String warningclassifyid) {
+    	this.warningclassifyid = warningclassifyid;
+    }
+
+	public String getModelid() {
+    	return modelid;
+    }
+
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+
+	public String getManufacturercode() {
+    	return manufacturercode;
+    }
+
+	public void setManufacturercode(String manufacturercode) {
+    	this.manufacturercode = manufacturercode;
+    }
+
+	public String getEnglishtext() {
+    	return englishtext;
+    }
+
+	public void setEnglishtext(String englishtext) {
+    	this.englishtext = englishtext;
+    }
+
+	public String getChinesetext() {
+    	return chinesetext;
+    }
+
+	public void setChinesetext(String chinesetext) {
+    	this.chinesetext = chinesetext;
+    }
+
+	public Integer getIsleaf() {
+    	return isleaf;
+    }
+
+	public void setIsleaf(Integer isleaf) {
+    	this.isleaf = isleaf;
+    }
+
+	public Integer getSequencenumber() {
+    	return sequencenumber;
+    }
+
+	public void setSequencenumber(Integer sequencenumber) {
+    	this.sequencenumber = sequencenumber;
+    }
+
+	public String getCharacteristic() {
+    	return characteristic;
+    }
+
+	public void setCharacteristic(String characteristic) {
+    	this.characteristic = characteristic;
+    }
+
+	public String getCodename() {
+    	return codename;
+    }
+
+	public void setCodename(String codename) {
+    	this.codename = codename;
+    }
+
+	public Integer getEdnavalue() {
+    	return ednavalue;
+    }
+
+	public void setEdnavalue(Integer ednavalue) {
+    	this.ednavalue = ednavalue;
+    }
+
+	public Integer getDisplay() {
+    	return display;
+    }
+
+	public void setDisplay(Integer display) {
+    	this.display = display;
+    }
+
+	public Double getStandardtime() {
+		return standardtime;
+	}
+
+	public void setStandardtime(Double standardtime) {
+		this.standardtime = standardtime;
+	}
+
+	public Integer getIsreset() {
+    	return isreset;
+    }
+
+	public void setIsreset(Integer isreset) {
+    	this.isreset = isreset;
+    }
+	
+	public String getWarningtypeid() {
+		return warningtypeid;
+	}
+
+	public void setWarningtypeid(String warningtypeid) {
+		this.warningtypeid = warningtypeid;
+	}
+
+	@Override
+	public String toString() {
+		return "Warning [characteristic=" + characteristic + ", chinesetext="
+				+ chinesetext + ", codename=" + codename + ", display="
+				+ display + ", ednavalue=" + ednavalue + ", englishtext="
+				+ englishtext + ", id=" + id + ", isleaf=" + isleaf
+				+ ", isreset=" + isreset + ", levelid=" + levelid
+				+ ", manufacturercode=" + manufacturercode + ", modelid="
+				+ modelid + ", parentid=" + parentid + ", sequencenumber="
+				+ sequencenumber + ", standardtime=" + standardtime
+				+ ", warningclassifyid=" + warningclassifyid + "]";
+	}
+	public Warning2() {
+		super();
+	}
+	public Warning2(String id, String parentid, String levelid,
+			String warningclassifyid, String modelid, String manufacturercode,
+			String englishtext, String chinesetext, Integer isleaf,
+			Integer sequencenumber, String characteristic, String codename,
+			Integer ednavalue, Integer display, Double standardtime,
+			Integer isreset) {
+		super();
+		this.id = id;
+		this.parentid = parentid;
+		this.levelid = levelid;
+		this.warningclassifyid = warningclassifyid;
+		this.modelid = modelid;
+		this.manufacturercode = manufacturercode;
+		this.englishtext = englishtext;
+		this.chinesetext = chinesetext;
+		this.isleaf = isleaf;
+		this.sequencenumber = sequencenumber;
+		this.characteristic = characteristic;
+		this.codename = codename;
+		this.ednavalue = ednavalue;
+		this.display = display;
+		this.standardtime = standardtime;
+		this.isreset = isreset;
+	}
+
+	
+
+//	public Boolean getVoiceprompt() {
+//    	return voiceprompt;
+//    }
+//
+//	public void setVoiceprompt(Boolean voiceprompt) {
+//    	this.voiceprompt = voiceprompt;
+//    }
+//
+//	public Boolean getLightprompt() {
+//    	return lightprompt;
+//    }
+//
+//	public void setLightprompt(Boolean lightprompt) {
+//    	this.lightprompt = lightprompt;
+//    }
+//
+//	public Boolean getShield() {
+//    	return shield;
+//    }
+//
+//	public void setShield(Boolean shield) {
+//    	this.shield = shield;
+//    }
+	
+	
+
+	
+	
+}

+ 124 - 0
src/main/java/cn/gyee/tamplate/model/WindPowerStationTestingPoint2.java

@@ -0,0 +1,124 @@
+package cn.gyee.tamplate.model;
+
+
+public class WindPowerStationTestingPoint2 implements java.io.Serializable {
+
+	private static final long serialVersionUID = 1L;
+	
+	private String code;
+	private String typeid;
+	private String name;
+	private String model;
+	private String valueunit;
+	private String englishname;
+	private String modelid;
+	private Double maxval;
+	private Double minval;
+	private Double reasonablemaxval;
+	private Double reasonableminval;
+	private String uniformcode;
+	private String shortid;
+	private String longid;
+	private String windpowerstationid;
+	private String realtimeid;
+	public String getCode() {
+    	return code;
+    }
+	public void setCode(String code) {
+    	this.code = code;
+    }
+	public String getTypeid() {
+    	return typeid;
+    }
+	public void setTypeid(String typeid) {
+    	this.typeid = typeid;
+    }
+	public String getName() {
+    	return name;
+    }
+	public void setName(String name) {
+    	this.name = name;
+    }
+	public String getModel() {
+    	return model;
+    }
+	public void setModel(String model) {
+    	this.model = model;
+    }
+	public String getValueunit() {
+    	return valueunit;
+    }
+	public void setValueunit(String valueunit) {
+    	this.valueunit = valueunit;
+    }
+	public String getEnglishname() {
+    	return englishname;
+    }
+	public void setEnglishname(String englishname) {
+    	this.englishname = englishname;
+    }
+	public String getModelid() {
+    	return modelid;
+    }
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+	public Double getMaxval() {
+    	return maxval;
+    }
+	public void setMaxval(Double maxval) {
+    	this.maxval = maxval;
+    }
+	public Double getMinval() {
+    	return minval;
+    }
+	public void setMinval(Double minval) {
+    	this.minval = minval;
+    }
+	public Double getReasonablemaxval() {
+    	return reasonablemaxval;
+    }
+	public void setReasonablemaxval(Double reasonablemaxval) {
+    	this.reasonablemaxval = reasonablemaxval;
+    }
+	public Double getReasonableminval() {
+    	return reasonableminval;
+    }
+	public void setReasonableminval(Double reasonableminval) {
+    	this.reasonableminval = reasonableminval;
+    }
+	public String getUniformcode() {
+    	return uniformcode;
+    }
+	public void setUniformcode(String uniformcode) {
+    	this.uniformcode = uniformcode;
+    }
+	public String getShortid() {
+    	return shortid;
+    }
+	public void setShortid(String shortid) {
+    	this.shortid = shortid;
+    }
+	public String getLongid() {
+    	return longid;
+    }
+	public void setLongid(String longid) {
+    	this.longid = longid;
+    }
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+	public String getRealtimeid() {
+    	return realtimeid;
+    }
+	public void setRealtimeid(String realtimeid) {
+    	this.realtimeid = realtimeid;
+    }
+
+
+	
+
+}

+ 180 - 0
src/main/java/cn/gyee/tamplate/model/WindTurbineTestingPointAi2.java

@@ -0,0 +1,180 @@
+package cn.gyee.tamplate.model;
+
+
+public class WindTurbineTestingPointAi2 implements java.io.Serializable {
+
+	private static final long serialVersionUID = -7413709575956310328L;
+	// Fields
+
+	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 Double maxval;
+	private Double minval;
+	private Double reasonablemaxval;
+	private Double reasonableminval;
+	private String windturbineid;
+	private String uniformcode;
+	private String shortid;
+	private String longid;
+	private String windpowerstationid;
+	private String realtimeid;
+
+	// Constructors
+
+	/** default constructor */
+	public WindTurbineTestingPointAi2() {
+	}
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getCode() {
+    	return code;
+    }
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	public String getModel() {
+    	return model;
+    }
+
+	public void setModel(String model) {
+    	this.model = model;
+    }
+
+	public String getValueunit() {
+    	return valueunit;
+    }
+
+	public void setValueunit(String valueunit) {
+    	this.valueunit = valueunit;
+    }
+
+	public String getEnglishname() {
+    	return englishname;
+    }
+
+	public void setEnglishname(String englishname) {
+    	this.englishname = englishname;
+    }
+
+	public String getTypeid() {
+    	return typeid;
+    }
+
+	public void setTypeid(String typeid) {
+    	this.typeid = typeid;
+    }
+
+	public String getModelid() {
+    	return modelid;
+    }
+
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+
+	public Double getMaxval() {
+    	return maxval;
+    }
+
+	public void setMaxval(Double maxval) {
+    	this.maxval = maxval;
+    }
+
+	public Double getMinval() {
+    	return minval;
+    }
+
+	public void setMinval(Double minval) {
+    	this.minval = minval;
+    }
+
+	public Double getReasonablemaxval() {
+    	return reasonablemaxval;
+    }
+
+	public void setReasonablemaxval(Double reasonablemaxval) {
+    	this.reasonablemaxval = reasonablemaxval;
+    }
+
+	public Double getReasonableminval() {
+    	return reasonableminval;
+    }
+
+	public void setReasonableminval(Double reasonableminval) {
+    	this.reasonableminval = reasonableminval;
+    }
+
+	public String getWindturbineid() {
+    	return windturbineid;
+    }
+
+	public void setWindturbineid(String windturbineid) {
+    	this.windturbineid = windturbineid;
+    }
+
+	public String getUniformcode() {
+    	return uniformcode;
+    }
+
+	public void setUniformcode(String uniformcode) {
+    	this.uniformcode = uniformcode;
+    }
+
+	public String getShortid() {
+    	return shortid;
+    }
+
+	public void setShortid(String shortid) {
+    	this.shortid = shortid;
+    }
+
+	public String getLongid() {
+    	return longid;
+    }
+
+	public void setLongid(String longid) {
+    	this.longid = longid;
+    }
+
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+
+	public String getRealtimeid() {
+    	return realtimeid;
+    }
+
+	public void setRealtimeid(String realtimeid) {
+    	this.realtimeid = realtimeid;
+    }
+
+	
+
+}

+ 187 - 0
src/main/java/cn/gyee/tamplate/model/WindTurbineTestingPointDi2.java

@@ -0,0 +1,187 @@
+package cn.gyee.tamplate.model;
+// default package
+
+
+
+public class WindTurbineTestingPointDi2 implements java.io.Serializable {
+
+	/** 
+    * @Fields serialVersionUID : TODO
+    */ 
+    
+    
+    private static final long serialVersionUID = 1L;
+	// Fields
+
+	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 Double maxval;
+	private Double minval;
+	private Double reasonablemaxval;
+	private Double reasonableminval;
+	private String windturbineid;
+	private String uniformcode;
+	private String shortid;
+	private String longid;
+	private String windpowerstationid;
+	private String realtimeid;
+
+	// Constructors
+
+	/** default constructor */
+	public WindTurbineTestingPointDi2() {
+	}
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getCode() {
+    	return code;
+    }
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	public String getModel() {
+    	return model;
+    }
+
+	public void setModel(String model) {
+    	this.model = model;
+    }
+
+	public String getValueunit() {
+    	return valueunit;
+    }
+
+	public void setValueunit(String valueunit) {
+    	this.valueunit = valueunit;
+    }
+
+	public String getEnglishname() {
+    	return englishname;
+    }
+
+	public void setEnglishname(String englishname) {
+    	this.englishname = englishname;
+    }
+
+	public String getTypeid() {
+    	return typeid;
+    }
+
+	public void setTypeid(String typeid) {
+    	this.typeid = typeid;
+    }
+
+	public String getModelid() {
+    	return modelid;
+    }
+
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+
+	public Double getMaxval() {
+    	return maxval;
+    }
+
+	public void setMaxval(Double maxval) {
+    	this.maxval = maxval;
+    }
+
+	public Double getMinval() {
+    	return minval;
+    }
+
+	public void setMinval(Double minval) {
+    	this.minval = minval;
+    }
+
+	public Double getReasonablemaxval() {
+    	return reasonablemaxval;
+    }
+
+	public void setReasonablemaxval(Double reasonablemaxval) {
+    	this.reasonablemaxval = reasonablemaxval;
+    }
+
+	public Double getReasonableminval() {
+    	return reasonableminval;
+    }
+
+	public void setReasonableminval(Double reasonableminval) {
+    	this.reasonableminval = reasonableminval;
+    }
+
+	public String getWindturbineid() {
+    	return windturbineid;
+    }
+
+	public void setWindturbineid(String windturbineid) {
+    	this.windturbineid = windturbineid;
+    }
+
+	public String getUniformcode() {
+    	return uniformcode;
+    }
+
+	public void setUniformcode(String uniformcode) {
+    	this.uniformcode = uniformcode;
+    }
+
+	public String getShortid() {
+    	return shortid;
+    }
+
+	public void setShortid(String shortid) {
+    	this.shortid = shortid;
+    }
+
+	public String getLongid() {
+    	return longid;
+    }
+
+	public void setLongid(String longid) {
+    	this.longid = longid;
+    }
+
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+
+	public String getRealtimeid() {
+    	return realtimeid;
+    }
+
+	public void setRealtimeid(String realtimeid) {
+    	this.realtimeid = realtimeid;
+    }
+
+	
+
+}

+ 199 - 0
src/main/java/cn/gyee/tamplate/model/Windpowerstation.java

@@ -0,0 +1,199 @@
+package cn.gyee.tamplate.model;
+
+
+/**
+ * Windpowerstation entity. @author MyEclipse Persistence Tools
+ */
+
+public class Windpowerstation implements java.io.Serializable {
+
+	// Fields
+	private static final long serialVersionUID = 1L;
+	private String id;
+	private String code;
+	private String name;
+	private String address;
+	private String telephone;
+	private Double capacity;
+	private String capacityunit;
+	private Integer quantity;
+	private String aname;
+	private Double longitude;
+	private Double latitude;
+	private String photo;
+	private String companyid;
+	private String systemmanufact;
+	private String headfarm;
+	private String headfarmphone;
+	private String model;
+	private Integer ordernum;
+	private Double altitude;
+	
+	
+	
+	public Double getAltitude() {
+		return altitude;
+	}
+
+	public void setAltitude(Double altitude) {
+		this.altitude = altitude;
+	}
+
+	private Double density;
+
+	public String getId() {
+    	return id;
+    }
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+	public String getCode() {
+    	return code;
+    }
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+	public String getName() {
+    	return name;
+    }
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+	public String getAddress() {
+    	return address;
+    }
+
+	public void setAddress(String address) {
+    	this.address = address;
+    }
+
+	public String getTelephone() {
+    	return telephone;
+    }
+
+	public void setTelephone(String telephone) {
+    	this.telephone = telephone;
+    }
+
+	public Double getCapacity() {
+    	return capacity;
+    }
+
+	public void setCapacity(Double capacity) {
+    	this.capacity = capacity;
+    }
+
+	public String getCapacityunit() {
+    	return capacityunit;
+    }
+
+	public void setCapacityunit(String capacityunit) {
+    	this.capacityunit = capacityunit;
+    }
+
+	public Integer getQuantity() {
+    	return quantity;
+    }
+
+	public void setQuantity(Integer quantity) {
+    	this.quantity = quantity;
+    }
+
+	public String getAname() {
+    	return aname;
+    }
+
+	public void setAname(String aname) {
+    	this.aname = aname;
+    }
+
+	public Double getLongitude() {
+    	return longitude;
+    }
+
+	public void setLongitude(Double longitude) {
+    	this.longitude = longitude;
+    }
+
+	public Double getLatitude() {
+    	return latitude;
+    }
+
+	public void setLatitude(Double latitude) {
+    	this.latitude = latitude;
+    }
+
+	public String getPhoto() {
+    	return photo;
+    }
+
+	public void setPhoto(String photo) {
+    	this.photo = photo;
+    }
+
+	public String getCompanyid() {
+    	return companyid;
+    }
+
+	public void setCompanyid(String companyid) {
+    	this.companyid = companyid;
+    }
+
+	public String getSystemmanufact() {
+    	return systemmanufact;
+    }
+
+	public void setSystemmanufact(String systemmanufact) {
+    	this.systemmanufact = systemmanufact;
+    }
+
+	public String getHeadfarm() {
+    	return headfarm;
+    }
+
+	public void setHeadfarm(String headfarm) {
+    	this.headfarm = headfarm;
+    }
+
+	public String getHeadfarmphone() {
+    	return headfarmphone;
+    }
+
+	public void setHeadfarmphone(String headfarmphone) {
+    	this.headfarmphone = headfarmphone;
+    }
+
+	public String getModel() {
+    	return model;
+    }
+
+	public void setModel(String model) {
+    	this.model = model;
+    }
+
+	public Integer getOrdernum() {
+    	return ordernum;
+    }
+
+	public void setOrdernum(Integer ordernum) {
+    	this.ordernum = ordernum;
+    }
+
+	public Double getDensity() {
+    	return density;
+    }
+
+	public void setDensity(Double density) {
+    	this.density = density;
+    }
+	
+	
+	// Constructors
+
+}

+ 167 - 0
src/main/java/cn/gyee/tamplate/model/Windturbine.java

@@ -0,0 +1,167 @@
+package cn.gyee.tamplate.model;
+
+import java.util.Date;
+
+/**
+ * Windturbine entity. @author MyEclipse Persistence Tools
+ */
+
+public class Windturbine implements java.io.Serializable {
+
+	// Fields
+	private static final long serialVersionUID = 1L;
+	private String id;
+	private String code;
+	private String windpowerstationid;
+	private Double longitude;
+	private Double latitude;
+	private String modelid;
+	private String status;
+	private String projectid;
+	private String lineid;
+	private Date firstintegratedtime;
+	private String photo;
+	private String name;
+	private String standardid;
+
+
+	// Constructors
+
+	/** default constructor */
+	public Windturbine() {
+	}
+
+
+	public String getId() {
+    	return id;
+    }
+
+
+	public void setId(String id) {
+    	this.id = id;
+    }
+
+
+	public String getCode() {
+    	return code;
+    }
+
+
+	public void setCode(String code) {
+    	this.code = code;
+    }
+
+
+	public String getWindpowerstationid() {
+    	return windpowerstationid;
+    }
+
+
+	public void setWindpowerstationid(String windpowerstationid) {
+    	this.windpowerstationid = windpowerstationid;
+    }
+
+
+	public Double getLongitude() {
+    	return longitude;
+    }
+
+
+	public void setLongitude(Double longitude) {
+    	this.longitude = longitude;
+    }
+
+
+	public Double getLatitude() {
+    	return latitude;
+    }
+
+
+	public void setLatitude(Double latitude) {
+    	this.latitude = latitude;
+    }
+
+
+	public String getModelid() {
+    	return modelid;
+    }
+
+
+	public void setModelid(String modelid) {
+    	this.modelid = modelid;
+    }
+
+
+	public String getStatus() {
+    	return status;
+    }
+
+
+	public void setStatus(String status) {
+    	this.status = status;
+    }
+
+
+	public String getProjectid() {
+    	return projectid;
+    }
+
+
+	public void setProjectid(String projectid) {
+    	this.projectid = projectid;
+    }
+
+
+	public String getLineid() {
+    	return lineid;
+    }
+
+
+	public void setLineid(String lineid) {
+    	this.lineid = lineid;
+    }
+
+
+	public Date getFirstintegratedtime() {
+    	return firstintegratedtime;
+    }
+
+
+	public void setFirstintegratedtime(Date firstintegratedtime) {
+    	this.firstintegratedtime = firstintegratedtime;
+    }
+
+
+	public String getPhoto() {
+    	return photo;
+    }
+
+
+	public void setPhoto(String photo) {
+    	this.photo = photo;
+    }
+
+
+	public String getName() {
+    	return name;
+    }
+
+
+	public void setName(String name) {
+    	this.name = name;
+    }
+
+
+	public String getStandardid() {
+    	return standardid;
+    }
+
+
+	public void setStandardid(String standardid) {
+    	this.standardid = standardid;
+    }
+
+	
+	
+
+}

+ 42 - 0
src/main/java/cn/gyee/tamplate/model/auto/Analysismain.java

@@ -0,0 +1,42 @@
+package cn.gyee.tamplate.model.auto;
+
+import java.math.BigDecimal;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-16
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@TableName("ANALYSISMAIN")
+public class Analysismain extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("ID")
+    private Long id;
+
+    @TableField("WPID")
+    private String wpid;
+
+    @TableField("RECORDDATE")
+    private Date recorddate;
+
+    @TableField("ISCOMMIT")
+    private Integer iscommit;
+
+
+}

+ 203 - 0
src/main/java/cn/gyee/tamplate/model/auto/Analysispvprojectcan.java

@@ -0,0 +1,203 @@
+package cn.gyee.tamplate.model.auto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@TableName("ANALYSISPVPROJECTCAN")
+public class Analysispvprojectcan extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("ID")
+    private Long id;
+
+    @TableField("TID")
+    private Double tid;
+
+    @TableField("PROJECTID")
+    private String projectid;
+
+    @TableField("WINDPOWERSTATIONID")
+    private String windpowerstationid;
+
+    @TableField("THEDAY")
+    private Date theday;
+
+    @TableField("DAYNHXDSSDL")
+    private Double daynhxdssdl;
+
+    @TableField("GENERATINGCAPACITY")
+    private Double generatingcapacity;
+
+    @TableField("GWBUYGENERATINGCAPACITY")
+    private Double gwbuygeneratingcapacity;
+
+    @TableField("NWBUYGENERATINGCAPACITY")
+    private Double nwbuygeneratingcapacity;
+
+    @TableField("GRIDGENERATINGCAPACITY")
+    private Double gridgeneratingcapacity;
+
+    @TableField("DAYNHGZSSDL")
+    private Double daynhgzssdl;
+
+    @TableField("DAYNHWHSSDL")
+    private Double daynhwhssdl;
+
+    @TableField("EQUIPWHSSDL")
+    private Double equipwhssdl;
+
+    @TableField("GENERATINGCAPACITYSCADA")
+    private Double generatingcapacityscada;
+
+    @TableField("MINOUTPUT")
+    private Double minoutput;
+
+    @TableField("CAPACITY")
+    private Double capacity;
+
+    @TableField("MAXLIGHT")
+    private Double maxlight;
+
+    @TableField("INSTALLEDUNITS")
+    private Double installedunits;
+
+    @TableField("EQUIPFAULTSTOPTIME")
+    private Double equipfaultstoptime;
+
+    @TableField("EQUIPMAINTIME")
+    private Double equipmaintime;
+
+    @TableField("AVEPOWER")
+    private Double avepower;
+
+    @TableField("STATIONOFGENERATING")
+    private Double stationofgenerating;
+
+    @TableField("BUYGENERATING")
+    private Double buygenerating;
+
+    @TableField("MULTIPLEGENERATING")
+    private Double multiplegenerating;
+
+    @TableField("LOSSGENERATING")
+    private Double lossgenerating;
+
+    @TableField("EQUIVALENT")
+    private Double equivalent;
+
+    @TableField("MAINLOSSRATE")
+    private Double mainlossrate;
+
+    @TableField("FAULTLOSSRATE")
+    private Double faultlossrate;
+
+    @TableField("EQUIPAVAILABILITY")
+    private Double equipavailability;
+
+    @TableField("MULTIPLERATE")
+    private Double multiplerate;
+
+    @TableField("MULTIPLEGENERATINGSCADA")
+    private Double multiplegeneratingscada;
+
+    @TableField("STATIONOFRATE")
+    private Double stationofrate;
+
+    @TableField("EQUIPUTILHOUR")
+    private Double equiputilhour;
+
+    @TableField("FAULTLOSS")
+    private Double faultloss;
+
+    @TableField("MAINLOSS")
+    private Double mainloss;
+
+    @TableField("ACCIDENTCOUNT")
+    private Double accidentcount;
+
+    @TableField("ACCIDENTSITUATION")
+    private String accidentsituation;
+
+    @TableField("SYZFAULTLOSS")
+    private Double syzfaultloss;
+
+    @TableField("RAINANDSNOW")
+    private Double rainandsnow;
+
+    @TableField("EQUIPFAULTLOSS")
+    private Double equipfaultloss;
+
+    @TableField("STATIONINMAINLOSS")
+    private Double stationinmainloss;
+
+    @TableField("STATIONINFAULTLOSS")
+    private Double stationinfaultloss;
+
+    @TableField("STATIONOUTFAULTLOSS")
+    private Double stationoutfaultloss;
+
+    @TableField("STATIONINSTOPTIME")
+    private Double stationinstoptime;
+
+    @TableField("EQUIPMAINSTOPTIME")
+    private Double equipmainstoptime;
+
+    @TableField("STATIONINMAINSTOPTIME")
+    private Double stationinmainstoptime;
+
+    @TableField("STAITONOUTSTOPTIME")
+    private Double staitonoutstoptime;
+
+    @TableField("TOTALRADIATION")
+    private Double totalradiation;
+
+    @TableField("SUNSHINEHOURS")
+    private Double sunshinehours;
+
+    @TableField("SUNNYDAY")
+    private Double sunnyday;
+
+    @TableField("SUNNYOVERCAST")
+    private Double sunnyovercast;
+
+    @TableField("DAYNHCFDL")
+    private Double daynhcfdl;
+
+    @TableField("DAYNHXDSJ")
+    private Double daynhxdsj;
+
+    @TableField("GRIDMAINSSDL")
+    private Double gridmainssdl;
+
+    @TableField("GRIDFAULTSSDL")
+    private Double gridfaultssdl;
+
+    @TableField("AQTS")
+    private Double aqts;
+
+    @TableField("CALENDARHOURS")
+    private Double calendarhours;
+
+    @TableField("PLANGENERATING")
+    private Double plangenerating;
+
+
+}

+ 203 - 0
src/main/java/cn/gyee/tamplate/model/auto/Analysispvprojectcannot.java

@@ -0,0 +1,203 @@
+package cn.gyee.tamplate.model.auto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.time.LocalDateTime;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@TableName("ANALYSISPVPROJECTCANNOT")
+public class Analysispvprojectcannot extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("ID")
+    private Long id;
+
+    @TableField("TID")
+    private Double tid;
+
+    @TableField("PROJECTID")
+    private String projectid;
+
+    @TableField("WINDPOWERSTATIONID")
+    private String windpowerstationid;
+
+    @TableField("THEDAY")
+    private Date theday;
+
+    @TableField("DAYNHXDSSDL")
+    private Double daynhxdssdl;
+
+    @TableField("GENERATINGCAPACITY")
+    private Double generatingcapacity;
+
+    @TableField("GWBUYGENERATINGCAPACITY")
+    private Double gwbuygeneratingcapacity;
+
+    @TableField("NWBUYGENERATINGCAPACITY")
+    private Double nwbuygeneratingcapacity;
+
+    @TableField("GRIDGENERATINGCAPACITY")
+    private Double gridgeneratingcapacity;
+
+    @TableField("DAYNHGZSSDL")
+    private Double daynhgzssdl;
+
+    @TableField("DAYNHWHSSDL")
+    private Double daynhwhssdl;
+
+    @TableField("EQUIPWHSSDL")
+    private Double equipwhssdl;
+
+    @TableField("GENERATINGCAPACITYSCADA")
+    private Double generatingcapacityscada;
+
+    @TableField("MINOUTPUT")
+    private Double minoutput;
+
+    @TableField("CAPACITY")
+    private Double capacity;
+
+    @TableField("MAXLIGHT")
+    private Double maxlight;
+
+    @TableField("INSTALLEDUNITS")
+    private Double installedunits;
+
+    @TableField("EQUIPFAULTSTOPTIME")
+    private Double equipfaultstoptime;
+
+    @TableField("EQUIPMAINTIME")
+    private Double equipmaintime;
+
+    @TableField("AVEPOWER")
+    private Double avepower;
+
+    @TableField("STATIONOFGENERATING")
+    private Double stationofgenerating;
+
+    @TableField("BUYGENERATING")
+    private Double buygenerating;
+
+    @TableField("MULTIPLEGENERATING")
+    private Double multiplegenerating;
+
+    @TableField("LOSSGENERATING")
+    private Double lossgenerating;
+
+    @TableField("EQUIVALENT")
+    private Double equivalent;
+
+    @TableField("MAINLOSSRATE")
+    private Double mainlossrate;
+
+    @TableField("FAULTLOSSRATE")
+    private Double faultlossrate;
+
+    @TableField("EQUIPAVAILABILITY")
+    private Double equipavailability;
+
+    @TableField("MULTIPLERATE")
+    private Double multiplerate;
+
+    @TableField("MULTIPLEGENERATINGSCADA")
+    private Double multiplegeneratingscada;
+
+    @TableField("STATIONOFRATE")
+    private Double stationofrate;
+
+    @TableField("EQUIPUTILHOUR")
+    private Double equiputilhour;
+
+    @TableField("FAULTLOSS")
+    private Double faultloss;
+
+    @TableField("MAINLOSS")
+    private Double mainloss;
+
+    @TableField("ACCIDENTCOUNT")
+    private Double accidentcount;
+
+    @TableField("ACCIDENTSITUATION")
+    private String accidentsituation;
+
+    @TableField("SYZFAULTLOSS")
+    private Double syzfaultloss;
+
+    @TableField("RAINANDSNOW")
+    private Double rainandsnow;
+
+    @TableField("EQUIPFAULTLOSS")
+    private Double equipfaultloss;
+
+    @TableField("STATIONINMAINLOSS")
+    private Double stationinmainloss;
+
+    @TableField("STATIONINFAULTLOSS")
+    private Double stationinfaultloss;
+
+    @TableField("STATIONOUTFAULTLOSS")
+    private Double stationoutfaultloss;
+
+    @TableField("STATIONINSTOPTIME")
+    private Double stationinstoptime;
+
+    @TableField("EQUIPMAINSTOPTIME")
+    private Double equipmainstoptime;
+
+    @TableField("STATIONINMAINSTOPTIME")
+    private Double stationinmainstoptime;
+
+    @TableField("STAITONOUTSTOPTIME")
+    private Double staitonoutstoptime;
+
+    @TableField("TOTALRADIATION")
+    private Double totalradiation;
+
+    @TableField("SUNSHINEHOURS")
+    private Double sunshinehours;
+
+    @TableField("SUNNYDAY")
+    private Double sunnyday;
+
+    @TableField("SUNNYOVERCAST")
+    private Double sunnyovercast;
+
+    @TableField("DAYNHCFDL")
+    private Double daynhcfdl;
+
+    @TableField("DAYNHXDSJ")
+    private Double daynhxdsj;
+
+    @TableField("GRIDMAINSSDL")
+    private Double gridmainssdl;
+
+    @TableField("GRIDFAULTSSDL")
+    private Double gridfaultssdl;
+
+    @TableField("AQTS")
+    private Double aqts;
+
+    @TableField("CALENDARHOURS")
+    private Double calendarhours;
+
+    @TableField("PLANGENERATING")
+    private Double plangenerating;
+
+
+}

+ 199 - 0
src/main/java/cn/gyee/tamplate/model/auto/Analysispvstation.java

@@ -0,0 +1,199 @@
+package cn.gyee.tamplate.model.auto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.baomidou.mybatisplus.annotation.TableId;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author 谢生杰
+ * @since 2021-03-05
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@TableName("ANALYSISPVSTATION")
+public class Analysispvstation extends Model {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("ID")
+    private Long id;
+
+    @TableField("WINDPOWERSTATIONID")
+    private String windpowerstationid;
+
+    @TableField("THEDAY")
+    private Date theday;
+
+    @TableField("DAYNHXDSSDL")
+    private Double daynhxdssdl;
+
+    @TableField("GENERATINGCAPACITY")
+    private Double generatingcapacity;
+
+    @TableField("GWBUYGENERATINGCAPACITY")
+    private Double gwbuygeneratingcapacity;
+
+    @TableField("NWBUYGENERATINGCAPACITY")
+    private Double nwbuygeneratingcapacity;
+
+    @TableField("GRIDGENERATINGCAPACITY")
+    private Double gridgeneratingcapacity;
+
+    @TableField("DAYNHGZSSDL")
+    private Double daynhgzssdl;
+
+    @TableField("DAYNHWHSSDL")
+    private Double daynhwhssdl;
+
+    @TableField("EQUIPWHSSDL")
+    private Double equipwhssdl;
+
+    @TableField("GENERATINGCAPACITYSCADA")
+    private Double generatingcapacityscada;
+
+    @TableField("MINOUTPUT")
+    private Double minoutput;
+
+    @TableField("CAPACITY")
+    private Double capacity;
+
+    @TableField("MAXLIGHT")
+    private Double maxlight;
+
+    @TableField("INSTALLEDUNITS")
+    private Double installedunits;
+
+    @TableField("EQUIPFAULTSTOPTIME")
+    private Double equipfaultstoptime;
+
+    @TableField("EQUIPMAINTIME")
+    private Double equipmaintime;
+
+    @TableField("AVEPOWER")
+    private Double avepower;
+
+    @TableField("STATIONOFGENERATING")
+    private Double stationofgenerating;
+
+    @TableField("BUYGENERATING")
+    private Double buygenerating;
+
+    @TableField("MULTIPLEGENERATING")
+    private Double multiplegenerating;
+
+    @TableField("LOSSGENERATING")
+    private Double lossgenerating;
+
+    @TableField("EQUIVALENT")
+    private Double equivalent;
+
+    @TableField("MAINLOSSRATE")
+    private Double mainlossrate;
+
+    @TableField("FAULTLOSSRATE")
+    private Double faultlossrate;
+
+    @TableField("EQUIPAVAILABILITY")
+    private Double equipavailability;
+
+    @TableField("MULTIPLERATE")
+    private Double multiplerate;
+
+    @TableField("MULTIPLEGENERATINGSCADA")
+    private Double multiplegeneratingscada;
+
+    @TableField("STATIONOFRATE")
+    private Double stationofrate;
+
+    @TableField("EQUIPUTILHOUR")
+    private Double equiputilhour;
+
+    @TableField("FAULTLOSS")
+    private Double faultloss;
+
+    @TableField("MAINLOSS")
+    private Double mainloss;
+
+    @TableField("ACCIDENTCOUNT")
+    private Double accidentcount;
+
+    @TableField("ACCIDENTSITUATION")
+    private String accidentsituation;
+
+    @TableField("SYZFAULTLOSS")
+    private Double syzfaultloss;
+
+    @TableField("RAINANDSNOW")
+    private Double rainandsnow;
+
+    @TableField("EQUIPFAULTLOSS")
+    private Double equipfaultloss;
+
+    @TableField("STATIONINMAINLOSS")
+    private Double stationinmainloss;
+
+    @TableField("STATIONINFAULTLOSS")
+    private Double stationinfaultloss;
+
+    @TableField("STATIONOUTFAULTLOSS")
+    private Double stationoutfaultloss;
+
+    @TableField("STATIONINSTOPTIME")
+    private Double stationinstoptime;
+
+    @TableField("EQUIPMAINSTOPTIME")
+    private Double equipmainstoptime;
+
+    @TableField("STATIONINMAINSTOPTIME")
+    private Double stationinmainstoptime;
+
+    @TableField("STAITONOUTSTOPTIME")
+    private Double staitonoutstoptime;
+
+    @TableField("TOTALRADIATION")
+    private Double totalradiation;
+
+    @TableField("SUNSHINEHOURS")
+    private Double sunshinehours;
+
+    @TableField("SUNNYDAY")
+    private Double sunnyday;
+
+    @TableField("SUNNYOVERCAST")
+    private Double sunnyovercast;
+
+    @TableField("DAYNHCFDL")
+    private Double daynhcfdl;
+
+    @TableField("DAYNHXDSJ")
+    private Double daynhxdsj;
+
+    @TableField("GRIDMAINSSDL")
+    private Double gridmainssdl;
+
+    @TableField("GRIDFAULTSSDL")
+    private Double gridfaultssdl;
+
+    @TableField("AQTS")
+    private Double aqts;
+
+    @TableField("CALENDARHOURS")
+    private Double calendarhours;
+
+    @TableField("PLANGENERATING")
+    private Double plangenerating;
+
+    @TableField("ISCOMMIT")
+    private Integer iscommit;
+
+
+}

+ 0 - 0
src/main/java/cn/gyee/tamplate/model/auto/Analysissubprojectpvcan.java


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