springboot_mybatis框架 南宁地铁检修FBS项目
New file |
| | |
| | | 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/ |
New file |
| | |
| | | /* |
| | | * 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(); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | 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 |
New file |
| | |
| | | 2020-10-21 09:33:44.125 INFO 7388 --- [main] Application : Starting Application on DESKTOP-LJAJU9E with PID 7388 (C:\Users\admin\Desktop\st\nanningfbs\target\classes started by admin in C:\Users\admin\Desktop\st\nanningfbs) |
| | | 2020-10-21 09:33:44.128 INFO 7388 --- [main] Application : No active profile set, falling back to default profiles: default |
| | | 2020-10-21 09:33:44.877 INFO 7388 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http) |
| | | 2020-10-21 09:33:44.883 INFO 7388 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] |
| | | 2020-10-21 09:33:44.884 INFO 7388 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38] |
| | | 2020-10-21 09:33:44.945 INFO 7388 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext |
| | | 2020-10-21 09:33:44.945 INFO 7388 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 761 ms |
| | | 2020-10-21 09:33:45.234 INFO 7388 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' |
| | | 2020-10-21 09:33:45.398 WARN 7388 --- [main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false) |
| | | 2020-10-21 09:33:45.447 INFO 7388 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path '' |
| | | 2020-10-21 09:33:45.456 INFO 7388 --- [main] Application : Started Application in 1.631 seconds (JVM running for 2.457) |
| | | 2020-10-21 09:34:14.128 INFO 7388 --- [http-nio-80-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2020-10-21 09:34:14.129 INFO 7388 --- [http-nio-80-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' |
| | | 2020-10-21 09:34:14.135 INFO 7388 --- [http-nio-80-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 6 ms |
| | | 2020-10-21 09:39:48.275 INFO 4692 --- [main] Application : Starting Application on DESKTOP-LJAJU9E with PID 4692 (C:\Users\admin\Desktop\st\nanningfbs\target\classes started by admin in C:\Users\admin\Desktop\st\nanningfbs) |
| | | 2020-10-21 09:39:48.277 INFO 4692 --- [main] Application : No active profile set, falling back to default profiles: default |
| | | 2020-10-21 09:39:49.044 INFO 4692 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http) |
| | | 2020-10-21 09:39:49.051 INFO 4692 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] |
| | | 2020-10-21 09:39:49.052 INFO 4692 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38] |
| | | 2020-10-21 09:39:49.112 INFO 4692 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext |
| | | 2020-10-21 09:39:49.112 INFO 4692 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 787 ms |
| | | 2020-10-21 09:39:49.383 INFO 4692 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' |
| | | 2020-10-21 09:39:49.539 WARN 4692 --- [main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false) |
| | | 2020-10-21 09:39:49.588 INFO 4692 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path '' |
| | | 2020-10-21 09:39:49.597 INFO 4692 --- [main] Application : Started Application in 1.61 seconds (JVM running for 2.34) |
| | | 2020-10-21 09:44:26.365 INFO 9592 --- [main] Application : Starting Application on DESKTOP-LJAJU9E with PID 9592 (C:\Users\admin\Desktop\st\nanningfbs\target\classes started by admin in C:\Users\admin\Desktop\st\nanningfbs) |
| | | 2020-10-21 09:44:26.367 INFO 9592 --- [main] Application : No active profile set, falling back to default profiles: default |
| | | 2020-10-21 09:44:27.273 INFO 9592 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http) |
| | | 2020-10-21 09:44:27.282 INFO 9592 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] |
| | | 2020-10-21 09:44:27.282 INFO 9592 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38] |
| | | 2020-10-21 09:44:27.363 INFO 9592 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext |
| | | 2020-10-21 09:44:27.364 INFO 9592 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 951 ms |
| | | 2020-10-21 09:44:27.696 INFO 9592 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' |
| | | 2020-10-21 09:44:27.877 WARN 9592 --- [main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false) |
| | | 2020-10-21 09:44:27.934 INFO 9592 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path '' |
| | | 2020-10-21 09:44:27.945 INFO 9592 --- [main] Application : Started Application in 1.858 seconds (JVM running for 2.571) |
| | | 2020-10-21 09:45:02.710 INFO 9592 --- [http-nio-80-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' |
| | | 2020-10-21 09:45:02.710 INFO 9592 --- [http-nio-80-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' |
| | | 2020-10-21 09:45:02.717 INFO 9592 --- [http-nio-80-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 6 ms |
| | | 2020-10-21 09:45:02.755 INFO 9592 --- [http-nio-80-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... |
| | | 2020-10-21 09:45:02.886 INFO 9592 --- [http-nio-80-exec-1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. |
| | | 2020-10-21 09:48:38.817 INFO 17384 --- [main] Application : Starting Application on DESKTOP-LJAJU9E with PID 17384 (C:\Users\admin\Desktop\st\nanningfbs\target\classes started by admin in C:\Users\admin\Desktop\st\nanningfbs) |
| | | 2020-10-21 09:48:38.820 INFO 17384 --- [main] Application : No active profile set, falling back to default profiles: default |
| | | 2020-10-21 09:48:39.587 INFO 17384 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 80 (http) |
| | | 2020-10-21 09:48:39.593 INFO 17384 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] |
| | | 2020-10-21 09:48:39.593 INFO 17384 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.38] |
| | | 2020-10-21 09:48:39.655 INFO 17384 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext |
| | | 2020-10-21 09:48:39.655 INFO 17384 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 779 ms |
| | | 2020-10-21 09:48:39.930 INFO 17384 --- [main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' |
| | | 2020-10-21 09:48:40.093 WARN 17384 --- [main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false) |
| | | 2020-10-21 09:48:40.147 INFO 17384 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 80 (http) with context path '' |
| | | 2020-10-21 09:48:40.156 INFO 17384 --- [main] Application : Started Application in 1.618 seconds (JVM running for 2.34) |
New file |
| | |
| | | #!/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 "$@" |
New file |
| | |
| | | @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% |
New file |
| | |
| | | <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <parent> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-parent</artifactId> |
| | | <version>2.0.4.RELEASE</version> |
| | | <relativePath/> <!-- lookup parent from repository --> |
| | | </parent> |
| | | <groupId>com.yckj</groupId> |
| | | <artifactId>nanningfbs</artifactId> |
| | | <version>0.0.1-SNAPSHOT</version> |
| | | <packaging>jar</packaging> |
| | | <name>nanningfbs</name> |
| | | <description>Demo project for Spring Boot</description> |
| | | |
| | | |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-test</artifactId> |
| | | <scope>test</scope> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-freemarker</artifactId> |
| | | </dependency> |
| | | |
| | | <!--mybatis--> |
| | | <dependency> |
| | | <groupId>org.mybatis.spring.boot</groupId> |
| | | <artifactId>mybatis-spring-boot-starter</artifactId> |
| | | <version>1.3.2</version> |
| | | </dependency> |
| | | <!-- <dependency>--> |
| | | <!-- <groupId>org.mybatis</groupId>--> |
| | | <!-- <artifactId>mybatis</artifactId>--> |
| | | <!-- <version>3.5.5</version>--> |
| | | <!-- </dependency>--> |
| | | <dependency> |
| | | <groupId>com.github.pagehelper</groupId> |
| | | <artifactId>pagehelper-spring-boot-starter</artifactId> |
| | | <version>1.2.5</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>mysql</groupId> |
| | | <artifactId>mysql-connector-java</artifactId> |
| | | <version>5.1.40</version> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>org.apache.commons</groupId> |
| | | <artifactId>commons-lang3</artifactId> |
| | | <version>3.4</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.apache.logging.log4j</groupId> |
| | | <artifactId>log4j-api</artifactId> |
| | | <version>2.13.3</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.projectlombok</groupId> |
| | | <artifactId>lombok</artifactId> |
| | | <version>1.18.12</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot</artifactId> |
| | | <version>2.0.2.RELEASE</version> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | <build> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |
| | | </project> |
New file |
| | |
| | | package com.yckj; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.web.servlet.ServletComponentScan; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | @SpringBootApplication |
| | | @ServletComponentScan |
| | | public class Application { |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(Application.class, args); |
| | | } |
| | | @RestController |
| | | public class indexService { |
| | | @RequestMapping("/") |
| | | public String index() { |
| | | // TODO: 2020/10/22 |
| | | // http://localhost:8089/ |
| | | // http://192.168.10.151:8089/ |
| | | return "hello, init complate"; |
| | | } |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.bean; |
| | | |
| | | public class CodeMsg { |
| | | |
| | | private int code; |
| | | /** |
| | | * 自定义错误消息 |
| | | */ |
| | | // public static String msg; |
| | | private String msg; |
| | | public static CodeMsg SUCCESS = new CodeMsg(0, "success"); |
| | | public static CodeMsg ERROR = new CodeMsg(1, "error"); |
| | | |
| | | private CodeMsg(int code, String msg) { |
| | | this.code = code; |
| | | this.msg = msg; |
| | | } |
| | | |
| | | public int getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public String getMsg() { |
| | | return msg; |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.bean; |
| | | |
| | | public class Result<T> { |
| | | |
| | | private int code; |
| | | private String msg; |
| | | private T data; |
| | | |
| | | /** |
| | | * 成功时候的调用 |
| | | */ |
| | | public static <T> Result<T> success(T data) { |
| | | return new Result<T>(data); |
| | | } |
| | | |
| | | /** |
| | | * 失败时候的调用 |
| | | */ |
| | | public static <T> Result<T> error(CodeMsg cm) { |
| | | return new Result<T>(cm); |
| | | } |
| | | |
| | | /** |
| | | * 成功时只设置消息 |
| | | */ |
| | | private Result(T data) { |
| | | this.code = 0; |
| | | this.msg = "success"; |
| | | this.data = data; |
| | | } |
| | | |
| | | /** |
| | | * 将返回消息CodeMsg封装到本类中 |
| | | */ |
| | | private Result(CodeMsg cm) { |
| | | if (cm == null) { |
| | | return; |
| | | } |
| | | this.code = cm.getCode(); |
| | | this.msg = cm.getMsg(); |
| | | } |
| | | |
| | | public int getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public String getMsg() { |
| | | return msg; |
| | | } |
| | | |
| | | public T getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setMessage(String msg) { |
| | | this.msg = msg; |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.bean; |
| | | |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * tb_battdata_rt |
| | | * @author |
| | | */ |
| | | |
| | | @Repository |
| | | public class TbBattdataRt implements Serializable { |
| | | private Long num; |
| | | |
| | | private Integer battgroupid; |
| | | |
| | | private Date recordtime; |
| | | |
| | | private Double groupcurrent; |
| | | |
| | | private Integer battstate; |
| | | |
| | | private Double monvol1; |
| | | |
| | | private Double monvol2; |
| | | |
| | | private Double monvol3; |
| | | |
| | | private Double monvol4; |
| | | |
| | | private Double monvol5; |
| | | |
| | | private Double monvol6; |
| | | |
| | | private Double monvol7; |
| | | |
| | | private Double monvol8; |
| | | |
| | | private Double monvol9; |
| | | |
| | | private Double monvol10; |
| | | |
| | | private Double monvol11; |
| | | |
| | | private Double monvol12; |
| | | |
| | | private Double monvol13; |
| | | |
| | | private Double monvol14; |
| | | |
| | | private Double monvol15; |
| | | |
| | | private Double monvol16; |
| | | |
| | | private Double monvol17; |
| | | |
| | | private Double monvol18; |
| | | |
| | | private Double monvol19; |
| | | |
| | | private Double monvol20; |
| | | |
| | | private Double monvol21; |
| | | |
| | | private Double monvol22; |
| | | |
| | | private Double monvol23; |
| | | |
| | | private Double monvol24; |
| | | |
| | | private Double monvol25; |
| | | |
| | | private Double monvol26; |
| | | |
| | | private Double monvol27; |
| | | |
| | | private Double monvol28; |
| | | |
| | | private Double monvol29; |
| | | |
| | | private Double monvol30; |
| | | |
| | | private Double monvol31; |
| | | |
| | | private Double monvol32; |
| | | |
| | | private Double monvol33; |
| | | |
| | | private Double monvol34; |
| | | |
| | | private Double monvol35; |
| | | |
| | | private Double monvol36; |
| | | |
| | | private Double monvol37; |
| | | |
| | | private Double monvol38; |
| | | |
| | | private Double monvol39; |
| | | |
| | | private Double monvol40; |
| | | |
| | | private Double monvol41; |
| | | |
| | | private Double monvol42; |
| | | |
| | | private Double monvol43; |
| | | |
| | | private Double monvol44; |
| | | |
| | | private Double monvol45; |
| | | |
| | | private Double monvol46; |
| | | |
| | | private Double monvol47; |
| | | |
| | | private Double monvol48; |
| | | |
| | | private Double monvol49; |
| | | |
| | | private Double monvol50; |
| | | |
| | | private Double monvol51; |
| | | |
| | | private Double monvol52; |
| | | |
| | | private Double monvol53; |
| | | |
| | | private Double monvol54; |
| | | |
| | | private Double monvol55; |
| | | |
| | | private Double monvol56; |
| | | |
| | | private Double monvol57; |
| | | |
| | | private Double monvol58; |
| | | |
| | | private Double monvol59; |
| | | |
| | | private Double monvol60; |
| | | |
| | | private Double monvol61; |
| | | |
| | | private Double monvol62; |
| | | |
| | | private Double monvol63; |
| | | |
| | | private Double monvol64; |
| | | |
| | | private Double monvol65; |
| | | |
| | | private Double monvol66; |
| | | |
| | | private Double monvol67; |
| | | |
| | | private Double monvol68; |
| | | |
| | | private Double monvol69; |
| | | |
| | | private Double monvol70; |
| | | |
| | | private Double monvol71; |
| | | |
| | | private Double monvol72; |
| | | |
| | | private Double monvol73; |
| | | |
| | | private Double monvol74; |
| | | |
| | | private Double monvol75; |
| | | |
| | | private Double monvol76; |
| | | |
| | | private Double monvol77; |
| | | |
| | | private Double monvol78; |
| | | |
| | | private Double monvol79; |
| | | |
| | | private Double monvol80; |
| | | |
| | | private Double monvol81; |
| | | |
| | | private Double monvol82; |
| | | |
| | | private Double monvol83; |
| | | |
| | | private Double monvol84; |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Long getNum() { |
| | | return num; |
| | | } |
| | | |
| | | public void setNum(Long num) { |
| | | this.num = num; |
| | | } |
| | | |
| | | public Integer getBattgroupid() { |
| | | return battgroupid; |
| | | } |
| | | |
| | | public void setBattgroupid(Integer battgroupid) { |
| | | this.battgroupid = battgroupid; |
| | | } |
| | | |
| | | public Date getRecordtime() { |
| | | return recordtime; |
| | | } |
| | | |
| | | public void setRecordtime(Date recordtime) { |
| | | this.recordtime = recordtime; |
| | | } |
| | | |
| | | public Double getGroupcurrent() { |
| | | return groupcurrent; |
| | | } |
| | | |
| | | public void setGroupcurrent(Double groupcurrent) { |
| | | this.groupcurrent = groupcurrent; |
| | | } |
| | | |
| | | public Integer getBattstate() { |
| | | return battstate; |
| | | } |
| | | |
| | | public void setBattstate(Integer battstate) { |
| | | this.battstate = battstate; |
| | | } |
| | | |
| | | public Double getMonvol1() { |
| | | return monvol1; |
| | | } |
| | | |
| | | public void setMonvol1(Double monvol1) { |
| | | this.monvol1 = monvol1; |
| | | } |
| | | |
| | | public Double getMonvol2() { |
| | | return monvol2; |
| | | } |
| | | |
| | | public void setMonvol2(Double monvol2) { |
| | | this.monvol2 = monvol2; |
| | | } |
| | | |
| | | public Double getMonvol3() { |
| | | return monvol3; |
| | | } |
| | | |
| | | public void setMonvol3(Double monvol3) { |
| | | this.monvol3 = monvol3; |
| | | } |
| | | |
| | | public Double getMonvol4() { |
| | | return monvol4; |
| | | } |
| | | |
| | | public void setMonvol4(Double monvol4) { |
| | | this.monvol4 = monvol4; |
| | | } |
| | | |
| | | public Double getMonvol5() { |
| | | return monvol5; |
| | | } |
| | | |
| | | public void setMonvol5(Double monvol5) { |
| | | this.monvol5 = monvol5; |
| | | } |
| | | |
| | | public Double getMonvol6() { |
| | | return monvol6; |
| | | } |
| | | |
| | | public void setMonvol6(Double monvol6) { |
| | | this.monvol6 = monvol6; |
| | | } |
| | | |
| | | public Double getMonvol7() { |
| | | return monvol7; |
| | | } |
| | | |
| | | public void setMonvol7(Double monvol7) { |
| | | this.monvol7 = monvol7; |
| | | } |
| | | |
| | | public Double getMonvol8() { |
| | | return monvol8; |
| | | } |
| | | |
| | | public void setMonvol8(Double monvol8) { |
| | | this.monvol8 = monvol8; |
| | | } |
| | | |
| | | public Double getMonvol9() { |
| | | return monvol9; |
| | | } |
| | | |
| | | public void setMonvol9(Double monvol9) { |
| | | this.monvol9 = monvol9; |
| | | } |
| | | |
| | | public Double getMonvol10() { |
| | | return monvol10; |
| | | } |
| | | |
| | | public void setMonvol10(Double monvol10) { |
| | | this.monvol10 = monvol10; |
| | | } |
| | | |
| | | public Double getMonvol11() { |
| | | return monvol11; |
| | | } |
| | | |
| | | public void setMonvol11(Double monvol11) { |
| | | this.monvol11 = monvol11; |
| | | } |
| | | |
| | | public Double getMonvol12() { |
| | | return monvol12; |
| | | } |
| | | |
| | | public void setMonvol12(Double monvol12) { |
| | | this.monvol12 = monvol12; |
| | | } |
| | | |
| | | public Double getMonvol13() { |
| | | return monvol13; |
| | | } |
| | | |
| | | public void setMonvol13(Double monvol13) { |
| | | this.monvol13 = monvol13; |
| | | } |
| | | |
| | | public Double getMonvol14() { |
| | | return monvol14; |
| | | } |
| | | |
| | | public void setMonvol14(Double monvol14) { |
| | | this.monvol14 = monvol14; |
| | | } |
| | | |
| | | public Double getMonvol15() { |
| | | return monvol15; |
| | | } |
| | | |
| | | public void setMonvol15(Double monvol15) { |
| | | this.monvol15 = monvol15; |
| | | } |
| | | |
| | | public Double getMonvol16() { |
| | | return monvol16; |
| | | } |
| | | |
| | | public void setMonvol16(Double monvol16) { |
| | | this.monvol16 = monvol16; |
| | | } |
| | | |
| | | public Double getMonvol17() { |
| | | return monvol17; |
| | | } |
| | | |
| | | public void setMonvol17(Double monvol17) { |
| | | this.monvol17 = monvol17; |
| | | } |
| | | |
| | | public Double getMonvol18() { |
| | | return monvol18; |
| | | } |
| | | |
| | | public void setMonvol18(Double monvol18) { |
| | | this.monvol18 = monvol18; |
| | | } |
| | | |
| | | public Double getMonvol19() { |
| | | return monvol19; |
| | | } |
| | | |
| | | public void setMonvol19(Double monvol19) { |
| | | this.monvol19 = monvol19; |
| | | } |
| | | |
| | | public Double getMonvol20() { |
| | | return monvol20; |
| | | } |
| | | |
| | | public void setMonvol20(Double monvol20) { |
| | | this.monvol20 = monvol20; |
| | | } |
| | | |
| | | public Double getMonvol21() { |
| | | return monvol21; |
| | | } |
| | | |
| | | public void setMonvol21(Double monvol21) { |
| | | this.monvol21 = monvol21; |
| | | } |
| | | |
| | | public Double getMonvol22() { |
| | | return monvol22; |
| | | } |
| | | |
| | | public void setMonvol22(Double monvol22) { |
| | | this.monvol22 = monvol22; |
| | | } |
| | | |
| | | public Double getMonvol23() { |
| | | return monvol23; |
| | | } |
| | | |
| | | public void setMonvol23(Double monvol23) { |
| | | this.monvol23 = monvol23; |
| | | } |
| | | |
| | | public Double getMonvol24() { |
| | | return monvol24; |
| | | } |
| | | |
| | | public void setMonvol24(Double monvol24) { |
| | | this.monvol24 = monvol24; |
| | | } |
| | | |
| | | public Double getMonvol25() { |
| | | return monvol25; |
| | | } |
| | | |
| | | public void setMonvol25(Double monvol25) { |
| | | this.monvol25 = monvol25; |
| | | } |
| | | |
| | | public Double getMonvol26() { |
| | | return monvol26; |
| | | } |
| | | |
| | | public void setMonvol26(Double monvol26) { |
| | | this.monvol26 = monvol26; |
| | | } |
| | | |
| | | public Double getMonvol27() { |
| | | return monvol27; |
| | | } |
| | | |
| | | public void setMonvol27(Double monvol27) { |
| | | this.monvol27 = monvol27; |
| | | } |
| | | |
| | | public Double getMonvol28() { |
| | | return monvol28; |
| | | } |
| | | |
| | | public void setMonvol28(Double monvol28) { |
| | | this.monvol28 = monvol28; |
| | | } |
| | | |
| | | public Double getMonvol29() { |
| | | return monvol29; |
| | | } |
| | | |
| | | public void setMonvol29(Double monvol29) { |
| | | this.monvol29 = monvol29; |
| | | } |
| | | |
| | | public Double getMonvol30() { |
| | | return monvol30; |
| | | } |
| | | |
| | | public void setMonvol30(Double monvol30) { |
| | | this.monvol30 = monvol30; |
| | | } |
| | | |
| | | public Double getMonvol31() { |
| | | return monvol31; |
| | | } |
| | | |
| | | public void setMonvol31(Double monvol31) { |
| | | this.monvol31 = monvol31; |
| | | } |
| | | |
| | | public Double getMonvol32() { |
| | | return monvol32; |
| | | } |
| | | |
| | | public void setMonvol32(Double monvol32) { |
| | | this.monvol32 = monvol32; |
| | | } |
| | | |
| | | public Double getMonvol33() { |
| | | return monvol33; |
| | | } |
| | | |
| | | public void setMonvol33(Double monvol33) { |
| | | this.monvol33 = monvol33; |
| | | } |
| | | |
| | | public Double getMonvol34() { |
| | | return monvol34; |
| | | } |
| | | |
| | | public void setMonvol34(Double monvol34) { |
| | | this.monvol34 = monvol34; |
| | | } |
| | | |
| | | public Double getMonvol35() { |
| | | return monvol35; |
| | | } |
| | | |
| | | public void setMonvol35(Double monvol35) { |
| | | this.monvol35 = monvol35; |
| | | } |
| | | |
| | | public Double getMonvol36() { |
| | | return monvol36; |
| | | } |
| | | |
| | | public void setMonvol36(Double monvol36) { |
| | | this.monvol36 = monvol36; |
| | | } |
| | | |
| | | public Double getMonvol37() { |
| | | return monvol37; |
| | | } |
| | | |
| | | public void setMonvol37(Double monvol37) { |
| | | this.monvol37 = monvol37; |
| | | } |
| | | |
| | | public Double getMonvol38() { |
| | | return monvol38; |
| | | } |
| | | |
| | | public void setMonvol38(Double monvol38) { |
| | | this.monvol38 = monvol38; |
| | | } |
| | | |
| | | public Double getMonvol39() { |
| | | return monvol39; |
| | | } |
| | | |
| | | public void setMonvol39(Double monvol39) { |
| | | this.monvol39 = monvol39; |
| | | } |
| | | |
| | | public Double getMonvol40() { |
| | | return monvol40; |
| | | } |
| | | |
| | | public void setMonvol40(Double monvol40) { |
| | | this.monvol40 = monvol40; |
| | | } |
| | | |
| | | public Double getMonvol41() { |
| | | return monvol41; |
| | | } |
| | | |
| | | public void setMonvol41(Double monvol41) { |
| | | this.monvol41 = monvol41; |
| | | } |
| | | |
| | | public Double getMonvol42() { |
| | | return monvol42; |
| | | } |
| | | |
| | | public void setMonvol42(Double monvol42) { |
| | | this.monvol42 = monvol42; |
| | | } |
| | | |
| | | public Double getMonvol43() { |
| | | return monvol43; |
| | | } |
| | | |
| | | public void setMonvol43(Double monvol43) { |
| | | this.monvol43 = monvol43; |
| | | } |
| | | |
| | | public Double getMonvol44() { |
| | | return monvol44; |
| | | } |
| | | |
| | | public void setMonvol44(Double monvol44) { |
| | | this.monvol44 = monvol44; |
| | | } |
| | | |
| | | public Double getMonvol45() { |
| | | return monvol45; |
| | | } |
| | | |
| | | public void setMonvol45(Double monvol45) { |
| | | this.monvol45 = monvol45; |
| | | } |
| | | |
| | | public Double getMonvol46() { |
| | | return monvol46; |
| | | } |
| | | |
| | | public void setMonvol46(Double monvol46) { |
| | | this.monvol46 = monvol46; |
| | | } |
| | | |
| | | public Double getMonvol47() { |
| | | return monvol47; |
| | | } |
| | | |
| | | public void setMonvol47(Double monvol47) { |
| | | this.monvol47 = monvol47; |
| | | } |
| | | |
| | | public Double getMonvol48() { |
| | | return monvol48; |
| | | } |
| | | |
| | | public void setMonvol48(Double monvol48) { |
| | | this.monvol48 = monvol48; |
| | | } |
| | | |
| | | public Double getMonvol49() { |
| | | return monvol49; |
| | | } |
| | | |
| | | public void setMonvol49(Double monvol49) { |
| | | this.monvol49 = monvol49; |
| | | } |
| | | |
| | | public Double getMonvol50() { |
| | | return monvol50; |
| | | } |
| | | |
| | | public void setMonvol50(Double monvol50) { |
| | | this.monvol50 = monvol50; |
| | | } |
| | | |
| | | public Double getMonvol51() { |
| | | return monvol51; |
| | | } |
| | | |
| | | public void setMonvol51(Double monvol51) { |
| | | this.monvol51 = monvol51; |
| | | } |
| | | |
| | | public Double getMonvol52() { |
| | | return monvol52; |
| | | } |
| | | |
| | | public void setMonvol52(Double monvol52) { |
| | | this.monvol52 = monvol52; |
| | | } |
| | | |
| | | public Double getMonvol53() { |
| | | return monvol53; |
| | | } |
| | | |
| | | public void setMonvol53(Double monvol53) { |
| | | this.monvol53 = monvol53; |
| | | } |
| | | |
| | | public Double getMonvol54() { |
| | | return monvol54; |
| | | } |
| | | |
| | | public void setMonvol54(Double monvol54) { |
| | | this.monvol54 = monvol54; |
| | | } |
| | | |
| | | public Double getMonvol55() { |
| | | return monvol55; |
| | | } |
| | | |
| | | public void setMonvol55(Double monvol55) { |
| | | this.monvol55 = monvol55; |
| | | } |
| | | |
| | | public Double getMonvol56() { |
| | | return monvol56; |
| | | } |
| | | |
| | | public void setMonvol56(Double monvol56) { |
| | | this.monvol56 = monvol56; |
| | | } |
| | | |
| | | public Double getMonvol57() { |
| | | return monvol57; |
| | | } |
| | | |
| | | public void setMonvol57(Double monvol57) { |
| | | this.monvol57 = monvol57; |
| | | } |
| | | |
| | | public Double getMonvol58() { |
| | | return monvol58; |
| | | } |
| | | |
| | | public void setMonvol58(Double monvol58) { |
| | | this.monvol58 = monvol58; |
| | | } |
| | | |
| | | public Double getMonvol59() { |
| | | return monvol59; |
| | | } |
| | | |
| | | public void setMonvol59(Double monvol59) { |
| | | this.monvol59 = monvol59; |
| | | } |
| | | |
| | | public Double getMonvol60() { |
| | | return monvol60; |
| | | } |
| | | |
| | | public void setMonvol60(Double monvol60) { |
| | | this.monvol60 = monvol60; |
| | | } |
| | | |
| | | public Double getMonvol61() { |
| | | return monvol61; |
| | | } |
| | | |
| | | public void setMonvol61(Double monvol61) { |
| | | this.monvol61 = monvol61; |
| | | } |
| | | |
| | | public Double getMonvol62() { |
| | | return monvol62; |
| | | } |
| | | |
| | | public void setMonvol62(Double monvol62) { |
| | | this.monvol62 = monvol62; |
| | | } |
| | | |
| | | public Double getMonvol63() { |
| | | return monvol63; |
| | | } |
| | | |
| | | public void setMonvol63(Double monvol63) { |
| | | this.monvol63 = monvol63; |
| | | } |
| | | |
| | | public Double getMonvol64() { |
| | | return monvol64; |
| | | } |
| | | |
| | | public void setMonvol64(Double monvol64) { |
| | | this.monvol64 = monvol64; |
| | | } |
| | | |
| | | public Double getMonvol65() { |
| | | return monvol65; |
| | | } |
| | | |
| | | public void setMonvol65(Double monvol65) { |
| | | this.monvol65 = monvol65; |
| | | } |
| | | |
| | | public Double getMonvol66() { |
| | | return monvol66; |
| | | } |
| | | |
| | | public void setMonvol66(Double monvol66) { |
| | | this.monvol66 = monvol66; |
| | | } |
| | | |
| | | public Double getMonvol67() { |
| | | return monvol67; |
| | | } |
| | | |
| | | public void setMonvol67(Double monvol67) { |
| | | this.monvol67 = monvol67; |
| | | } |
| | | |
| | | public Double getMonvol68() { |
| | | return monvol68; |
| | | } |
| | | |
| | | public void setMonvol68(Double monvol68) { |
| | | this.monvol68 = monvol68; |
| | | } |
| | | |
| | | public Double getMonvol69() { |
| | | return monvol69; |
| | | } |
| | | |
| | | public void setMonvol69(Double monvol69) { |
| | | this.monvol69 = monvol69; |
| | | } |
| | | |
| | | public Double getMonvol70() { |
| | | return monvol70; |
| | | } |
| | | |
| | | public void setMonvol70(Double monvol70) { |
| | | this.monvol70 = monvol70; |
| | | } |
| | | |
| | | public Double getMonvol71() { |
| | | return monvol71; |
| | | } |
| | | |
| | | public void setMonvol71(Double monvol71) { |
| | | this.monvol71 = monvol71; |
| | | } |
| | | |
| | | public Double getMonvol72() { |
| | | return monvol72; |
| | | } |
| | | |
| | | public void setMonvol72(Double monvol72) { |
| | | this.monvol72 = monvol72; |
| | | } |
| | | |
| | | public Double getMonvol73() { |
| | | return monvol73; |
| | | } |
| | | |
| | | public void setMonvol73(Double monvol73) { |
| | | this.monvol73 = monvol73; |
| | | } |
| | | |
| | | public Double getMonvol74() { |
| | | return monvol74; |
| | | } |
| | | |
| | | public void setMonvol74(Double monvol74) { |
| | | this.monvol74 = monvol74; |
| | | } |
| | | |
| | | public Double getMonvol75() { |
| | | return monvol75; |
| | | } |
| | | |
| | | public void setMonvol75(Double monvol75) { |
| | | this.monvol75 = monvol75; |
| | | } |
| | | |
| | | public Double getMonvol76() { |
| | | return monvol76; |
| | | } |
| | | |
| | | public void setMonvol76(Double monvol76) { |
| | | this.monvol76 = monvol76; |
| | | } |
| | | |
| | | public Double getMonvol77() { |
| | | return monvol77; |
| | | } |
| | | |
| | | public void setMonvol77(Double monvol77) { |
| | | this.monvol77 = monvol77; |
| | | } |
| | | |
| | | public Double getMonvol78() { |
| | | return monvol78; |
| | | } |
| | | |
| | | public void setMonvol78(Double monvol78) { |
| | | this.monvol78 = monvol78; |
| | | } |
| | | |
| | | public Double getMonvol79() { |
| | | return monvol79; |
| | | } |
| | | |
| | | public void setMonvol79(Double monvol79) { |
| | | this.monvol79 = monvol79; |
| | | } |
| | | |
| | | public Double getMonvol80() { |
| | | return monvol80; |
| | | } |
| | | |
| | | public void setMonvol80(Double monvol80) { |
| | | this.monvol80 = monvol80; |
| | | } |
| | | |
| | | public Double getMonvol81() { |
| | | return monvol81; |
| | | } |
| | | |
| | | public void setMonvol81(Double monvol81) { |
| | | this.monvol81 = monvol81; |
| | | } |
| | | |
| | | public Double getMonvol82() { |
| | | return monvol82; |
| | | } |
| | | |
| | | public void setMonvol82(Double monvol82) { |
| | | this.monvol82 = monvol82; |
| | | } |
| | | |
| | | public Double getMonvol83() { |
| | | return monvol83; |
| | | } |
| | | |
| | | public void setMonvol83(Double monvol83) { |
| | | this.monvol83 = monvol83; |
| | | } |
| | | |
| | | public Double getMonvol84() { |
| | | return monvol84; |
| | | } |
| | | |
| | | public void setMonvol84(Double monvol84) { |
| | | this.monvol84 = monvol84; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object that) { |
| | | if (this == that) { |
| | | return true; |
| | | } |
| | | if (that == null) { |
| | | return false; |
| | | } |
| | | if (getClass() != that.getClass()) { |
| | | return false; |
| | | } |
| | | TbBattdataRt other = (TbBattdataRt) that; |
| | | return (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum())) |
| | | && (this.getBattgroupid() == null ? other.getBattgroupid() == null : this.getBattgroupid().equals(other.getBattgroupid())) |
| | | && (this.getRecordtime() == null ? other.getRecordtime() == null : this.getRecordtime().equals(other.getRecordtime())) |
| | | && (this.getGroupcurrent() == null ? other.getGroupcurrent() == null : this.getGroupcurrent().equals(other.getGroupcurrent())) |
| | | && (this.getBattstate() == null ? other.getBattstate() == null : this.getBattstate().equals(other.getBattstate())) |
| | | && (this.getMonvol1() == null ? other.getMonvol1() == null : this.getMonvol1().equals(other.getMonvol1())) |
| | | && (this.getMonvol2() == null ? other.getMonvol2() == null : this.getMonvol2().equals(other.getMonvol2())) |
| | | && (this.getMonvol3() == null ? other.getMonvol3() == null : this.getMonvol3().equals(other.getMonvol3())) |
| | | && (this.getMonvol4() == null ? other.getMonvol4() == null : this.getMonvol4().equals(other.getMonvol4())) |
| | | && (this.getMonvol5() == null ? other.getMonvol5() == null : this.getMonvol5().equals(other.getMonvol5())) |
| | | && (this.getMonvol6() == null ? other.getMonvol6() == null : this.getMonvol6().equals(other.getMonvol6())) |
| | | && (this.getMonvol7() == null ? other.getMonvol7() == null : this.getMonvol7().equals(other.getMonvol7())) |
| | | && (this.getMonvol8() == null ? other.getMonvol8() == null : this.getMonvol8().equals(other.getMonvol8())) |
| | | && (this.getMonvol9() == null ? other.getMonvol9() == null : this.getMonvol9().equals(other.getMonvol9())) |
| | | && (this.getMonvol10() == null ? other.getMonvol10() == null : this.getMonvol10().equals(other.getMonvol10())) |
| | | && (this.getMonvol11() == null ? other.getMonvol11() == null : this.getMonvol11().equals(other.getMonvol11())) |
| | | && (this.getMonvol12() == null ? other.getMonvol12() == null : this.getMonvol12().equals(other.getMonvol12())) |
| | | && (this.getMonvol13() == null ? other.getMonvol13() == null : this.getMonvol13().equals(other.getMonvol13())) |
| | | && (this.getMonvol14() == null ? other.getMonvol14() == null : this.getMonvol14().equals(other.getMonvol14())) |
| | | && (this.getMonvol15() == null ? other.getMonvol15() == null : this.getMonvol15().equals(other.getMonvol15())) |
| | | && (this.getMonvol16() == null ? other.getMonvol16() == null : this.getMonvol16().equals(other.getMonvol16())) |
| | | && (this.getMonvol17() == null ? other.getMonvol17() == null : this.getMonvol17().equals(other.getMonvol17())) |
| | | && (this.getMonvol18() == null ? other.getMonvol18() == null : this.getMonvol18().equals(other.getMonvol18())) |
| | | && (this.getMonvol19() == null ? other.getMonvol19() == null : this.getMonvol19().equals(other.getMonvol19())) |
| | | && (this.getMonvol20() == null ? other.getMonvol20() == null : this.getMonvol20().equals(other.getMonvol20())) |
| | | && (this.getMonvol21() == null ? other.getMonvol21() == null : this.getMonvol21().equals(other.getMonvol21())) |
| | | && (this.getMonvol22() == null ? other.getMonvol22() == null : this.getMonvol22().equals(other.getMonvol22())) |
| | | && (this.getMonvol23() == null ? other.getMonvol23() == null : this.getMonvol23().equals(other.getMonvol23())) |
| | | && (this.getMonvol24() == null ? other.getMonvol24() == null : this.getMonvol24().equals(other.getMonvol24())) |
| | | && (this.getMonvol25() == null ? other.getMonvol25() == null : this.getMonvol25().equals(other.getMonvol25())) |
| | | && (this.getMonvol26() == null ? other.getMonvol26() == null : this.getMonvol26().equals(other.getMonvol26())) |
| | | && (this.getMonvol27() == null ? other.getMonvol27() == null : this.getMonvol27().equals(other.getMonvol27())) |
| | | && (this.getMonvol28() == null ? other.getMonvol28() == null : this.getMonvol28().equals(other.getMonvol28())) |
| | | && (this.getMonvol29() == null ? other.getMonvol29() == null : this.getMonvol29().equals(other.getMonvol29())) |
| | | && (this.getMonvol30() == null ? other.getMonvol30() == null : this.getMonvol30().equals(other.getMonvol30())) |
| | | && (this.getMonvol31() == null ? other.getMonvol31() == null : this.getMonvol31().equals(other.getMonvol31())) |
| | | && (this.getMonvol32() == null ? other.getMonvol32() == null : this.getMonvol32().equals(other.getMonvol32())) |
| | | && (this.getMonvol33() == null ? other.getMonvol33() == null : this.getMonvol33().equals(other.getMonvol33())) |
| | | && (this.getMonvol34() == null ? other.getMonvol34() == null : this.getMonvol34().equals(other.getMonvol34())) |
| | | && (this.getMonvol35() == null ? other.getMonvol35() == null : this.getMonvol35().equals(other.getMonvol35())) |
| | | && (this.getMonvol36() == null ? other.getMonvol36() == null : this.getMonvol36().equals(other.getMonvol36())) |
| | | && (this.getMonvol37() == null ? other.getMonvol37() == null : this.getMonvol37().equals(other.getMonvol37())) |
| | | && (this.getMonvol38() == null ? other.getMonvol38() == null : this.getMonvol38().equals(other.getMonvol38())) |
| | | && (this.getMonvol39() == null ? other.getMonvol39() == null : this.getMonvol39().equals(other.getMonvol39())) |
| | | && (this.getMonvol40() == null ? other.getMonvol40() == null : this.getMonvol40().equals(other.getMonvol40())) |
| | | && (this.getMonvol41() == null ? other.getMonvol41() == null : this.getMonvol41().equals(other.getMonvol41())) |
| | | && (this.getMonvol42() == null ? other.getMonvol42() == null : this.getMonvol42().equals(other.getMonvol42())) |
| | | && (this.getMonvol43() == null ? other.getMonvol43() == null : this.getMonvol43().equals(other.getMonvol43())) |
| | | && (this.getMonvol44() == null ? other.getMonvol44() == null : this.getMonvol44().equals(other.getMonvol44())) |
| | | && (this.getMonvol45() == null ? other.getMonvol45() == null : this.getMonvol45().equals(other.getMonvol45())) |
| | | && (this.getMonvol46() == null ? other.getMonvol46() == null : this.getMonvol46().equals(other.getMonvol46())) |
| | | && (this.getMonvol47() == null ? other.getMonvol47() == null : this.getMonvol47().equals(other.getMonvol47())) |
| | | && (this.getMonvol48() == null ? other.getMonvol48() == null : this.getMonvol48().equals(other.getMonvol48())) |
| | | && (this.getMonvol49() == null ? other.getMonvol49() == null : this.getMonvol49().equals(other.getMonvol49())) |
| | | && (this.getMonvol50() == null ? other.getMonvol50() == null : this.getMonvol50().equals(other.getMonvol50())) |
| | | && (this.getMonvol51() == null ? other.getMonvol51() == null : this.getMonvol51().equals(other.getMonvol51())) |
| | | && (this.getMonvol52() == null ? other.getMonvol52() == null : this.getMonvol52().equals(other.getMonvol52())) |
| | | && (this.getMonvol53() == null ? other.getMonvol53() == null : this.getMonvol53().equals(other.getMonvol53())) |
| | | && (this.getMonvol54() == null ? other.getMonvol54() == null : this.getMonvol54().equals(other.getMonvol54())) |
| | | && (this.getMonvol55() == null ? other.getMonvol55() == null : this.getMonvol55().equals(other.getMonvol55())) |
| | | && (this.getMonvol56() == null ? other.getMonvol56() == null : this.getMonvol56().equals(other.getMonvol56())) |
| | | && (this.getMonvol57() == null ? other.getMonvol57() == null : this.getMonvol57().equals(other.getMonvol57())) |
| | | && (this.getMonvol58() == null ? other.getMonvol58() == null : this.getMonvol58().equals(other.getMonvol58())) |
| | | && (this.getMonvol59() == null ? other.getMonvol59() == null : this.getMonvol59().equals(other.getMonvol59())) |
| | | && (this.getMonvol60() == null ? other.getMonvol60() == null : this.getMonvol60().equals(other.getMonvol60())) |
| | | && (this.getMonvol61() == null ? other.getMonvol61() == null : this.getMonvol61().equals(other.getMonvol61())) |
| | | && (this.getMonvol62() == null ? other.getMonvol62() == null : this.getMonvol62().equals(other.getMonvol62())) |
| | | && (this.getMonvol63() == null ? other.getMonvol63() == null : this.getMonvol63().equals(other.getMonvol63())) |
| | | && (this.getMonvol64() == null ? other.getMonvol64() == null : this.getMonvol64().equals(other.getMonvol64())) |
| | | && (this.getMonvol65() == null ? other.getMonvol65() == null : this.getMonvol65().equals(other.getMonvol65())) |
| | | && (this.getMonvol66() == null ? other.getMonvol66() == null : this.getMonvol66().equals(other.getMonvol66())) |
| | | && (this.getMonvol67() == null ? other.getMonvol67() == null : this.getMonvol67().equals(other.getMonvol67())) |
| | | && (this.getMonvol68() == null ? other.getMonvol68() == null : this.getMonvol68().equals(other.getMonvol68())) |
| | | && (this.getMonvol69() == null ? other.getMonvol69() == null : this.getMonvol69().equals(other.getMonvol69())) |
| | | && (this.getMonvol70() == null ? other.getMonvol70() == null : this.getMonvol70().equals(other.getMonvol70())) |
| | | && (this.getMonvol71() == null ? other.getMonvol71() == null : this.getMonvol71().equals(other.getMonvol71())) |
| | | && (this.getMonvol72() == null ? other.getMonvol72() == null : this.getMonvol72().equals(other.getMonvol72())) |
| | | && (this.getMonvol73() == null ? other.getMonvol73() == null : this.getMonvol73().equals(other.getMonvol73())) |
| | | && (this.getMonvol74() == null ? other.getMonvol74() == null : this.getMonvol74().equals(other.getMonvol74())) |
| | | && (this.getMonvol75() == null ? other.getMonvol75() == null : this.getMonvol75().equals(other.getMonvol75())) |
| | | && (this.getMonvol76() == null ? other.getMonvol76() == null : this.getMonvol76().equals(other.getMonvol76())) |
| | | && (this.getMonvol77() == null ? other.getMonvol77() == null : this.getMonvol77().equals(other.getMonvol77())) |
| | | && (this.getMonvol78() == null ? other.getMonvol78() == null : this.getMonvol78().equals(other.getMonvol78())) |
| | | && (this.getMonvol79() == null ? other.getMonvol79() == null : this.getMonvol79().equals(other.getMonvol79())) |
| | | && (this.getMonvol80() == null ? other.getMonvol80() == null : this.getMonvol80().equals(other.getMonvol80())) |
| | | && (this.getMonvol81() == null ? other.getMonvol81() == null : this.getMonvol81().equals(other.getMonvol81())) |
| | | && (this.getMonvol82() == null ? other.getMonvol82() == null : this.getMonvol82().equals(other.getMonvol82())) |
| | | && (this.getMonvol83() == null ? other.getMonvol83() == null : this.getMonvol83().equals(other.getMonvol83())) |
| | | && (this.getMonvol84() == null ? other.getMonvol84() == null : this.getMonvol84().equals(other.getMonvol84())); |
| | | } |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | final int prime = 31; |
| | | int result = 1; |
| | | result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode()); |
| | | result = prime * result + ((getBattgroupid() == null) ? 0 : getBattgroupid().hashCode()); |
| | | result = prime * result + ((getRecordtime() == null) ? 0 : getRecordtime().hashCode()); |
| | | result = prime * result + ((getGroupcurrent() == null) ? 0 : getGroupcurrent().hashCode()); |
| | | result = prime * result + ((getBattstate() == null) ? 0 : getBattstate().hashCode()); |
| | | result = prime * result + ((getMonvol1() == null) ? 0 : getMonvol1().hashCode()); |
| | | result = prime * result + ((getMonvol2() == null) ? 0 : getMonvol2().hashCode()); |
| | | result = prime * result + ((getMonvol3() == null) ? 0 : getMonvol3().hashCode()); |
| | | result = prime * result + ((getMonvol4() == null) ? 0 : getMonvol4().hashCode()); |
| | | result = prime * result + ((getMonvol5() == null) ? 0 : getMonvol5().hashCode()); |
| | | result = prime * result + ((getMonvol6() == null) ? 0 : getMonvol6().hashCode()); |
| | | result = prime * result + ((getMonvol7() == null) ? 0 : getMonvol7().hashCode()); |
| | | result = prime * result + ((getMonvol8() == null) ? 0 : getMonvol8().hashCode()); |
| | | result = prime * result + ((getMonvol9() == null) ? 0 : getMonvol9().hashCode()); |
| | | result = prime * result + ((getMonvol10() == null) ? 0 : getMonvol10().hashCode()); |
| | | result = prime * result + ((getMonvol11() == null) ? 0 : getMonvol11().hashCode()); |
| | | result = prime * result + ((getMonvol12() == null) ? 0 : getMonvol12().hashCode()); |
| | | result = prime * result + ((getMonvol13() == null) ? 0 : getMonvol13().hashCode()); |
| | | result = prime * result + ((getMonvol14() == null) ? 0 : getMonvol14().hashCode()); |
| | | result = prime * result + ((getMonvol15() == null) ? 0 : getMonvol15().hashCode()); |
| | | result = prime * result + ((getMonvol16() == null) ? 0 : getMonvol16().hashCode()); |
| | | result = prime * result + ((getMonvol17() == null) ? 0 : getMonvol17().hashCode()); |
| | | result = prime * result + ((getMonvol18() == null) ? 0 : getMonvol18().hashCode()); |
| | | result = prime * result + ((getMonvol19() == null) ? 0 : getMonvol19().hashCode()); |
| | | result = prime * result + ((getMonvol20() == null) ? 0 : getMonvol20().hashCode()); |
| | | result = prime * result + ((getMonvol21() == null) ? 0 : getMonvol21().hashCode()); |
| | | result = prime * result + ((getMonvol22() == null) ? 0 : getMonvol22().hashCode()); |
| | | result = prime * result + ((getMonvol23() == null) ? 0 : getMonvol23().hashCode()); |
| | | result = prime * result + ((getMonvol24() == null) ? 0 : getMonvol24().hashCode()); |
| | | result = prime * result + ((getMonvol25() == null) ? 0 : getMonvol25().hashCode()); |
| | | result = prime * result + ((getMonvol26() == null) ? 0 : getMonvol26().hashCode()); |
| | | result = prime * result + ((getMonvol27() == null) ? 0 : getMonvol27().hashCode()); |
| | | result = prime * result + ((getMonvol28() == null) ? 0 : getMonvol28().hashCode()); |
| | | result = prime * result + ((getMonvol29() == null) ? 0 : getMonvol29().hashCode()); |
| | | result = prime * result + ((getMonvol30() == null) ? 0 : getMonvol30().hashCode()); |
| | | result = prime * result + ((getMonvol31() == null) ? 0 : getMonvol31().hashCode()); |
| | | result = prime * result + ((getMonvol32() == null) ? 0 : getMonvol32().hashCode()); |
| | | result = prime * result + ((getMonvol33() == null) ? 0 : getMonvol33().hashCode()); |
| | | result = prime * result + ((getMonvol34() == null) ? 0 : getMonvol34().hashCode()); |
| | | result = prime * result + ((getMonvol35() == null) ? 0 : getMonvol35().hashCode()); |
| | | result = prime * result + ((getMonvol36() == null) ? 0 : getMonvol36().hashCode()); |
| | | result = prime * result + ((getMonvol37() == null) ? 0 : getMonvol37().hashCode()); |
| | | result = prime * result + ((getMonvol38() == null) ? 0 : getMonvol38().hashCode()); |
| | | result = prime * result + ((getMonvol39() == null) ? 0 : getMonvol39().hashCode()); |
| | | result = prime * result + ((getMonvol40() == null) ? 0 : getMonvol40().hashCode()); |
| | | result = prime * result + ((getMonvol41() == null) ? 0 : getMonvol41().hashCode()); |
| | | result = prime * result + ((getMonvol42() == null) ? 0 : getMonvol42().hashCode()); |
| | | result = prime * result + ((getMonvol43() == null) ? 0 : getMonvol43().hashCode()); |
| | | result = prime * result + ((getMonvol44() == null) ? 0 : getMonvol44().hashCode()); |
| | | result = prime * result + ((getMonvol45() == null) ? 0 : getMonvol45().hashCode()); |
| | | result = prime * result + ((getMonvol46() == null) ? 0 : getMonvol46().hashCode()); |
| | | result = prime * result + ((getMonvol47() == null) ? 0 : getMonvol47().hashCode()); |
| | | result = prime * result + ((getMonvol48() == null) ? 0 : getMonvol48().hashCode()); |
| | | result = prime * result + ((getMonvol49() == null) ? 0 : getMonvol49().hashCode()); |
| | | result = prime * result + ((getMonvol50() == null) ? 0 : getMonvol50().hashCode()); |
| | | result = prime * result + ((getMonvol51() == null) ? 0 : getMonvol51().hashCode()); |
| | | result = prime * result + ((getMonvol52() == null) ? 0 : getMonvol52().hashCode()); |
| | | result = prime * result + ((getMonvol53() == null) ? 0 : getMonvol53().hashCode()); |
| | | result = prime * result + ((getMonvol54() == null) ? 0 : getMonvol54().hashCode()); |
| | | result = prime * result + ((getMonvol55() == null) ? 0 : getMonvol55().hashCode()); |
| | | result = prime * result + ((getMonvol56() == null) ? 0 : getMonvol56().hashCode()); |
| | | result = prime * result + ((getMonvol57() == null) ? 0 : getMonvol57().hashCode()); |
| | | result = prime * result + ((getMonvol58() == null) ? 0 : getMonvol58().hashCode()); |
| | | result = prime * result + ((getMonvol59() == null) ? 0 : getMonvol59().hashCode()); |
| | | result = prime * result + ((getMonvol60() == null) ? 0 : getMonvol60().hashCode()); |
| | | result = prime * result + ((getMonvol61() == null) ? 0 : getMonvol61().hashCode()); |
| | | result = prime * result + ((getMonvol62() == null) ? 0 : getMonvol62().hashCode()); |
| | | result = prime * result + ((getMonvol63() == null) ? 0 : getMonvol63().hashCode()); |
| | | result = prime * result + ((getMonvol64() == null) ? 0 : getMonvol64().hashCode()); |
| | | result = prime * result + ((getMonvol65() == null) ? 0 : getMonvol65().hashCode()); |
| | | result = prime * result + ((getMonvol66() == null) ? 0 : getMonvol66().hashCode()); |
| | | result = prime * result + ((getMonvol67() == null) ? 0 : getMonvol67().hashCode()); |
| | | result = prime * result + ((getMonvol68() == null) ? 0 : getMonvol68().hashCode()); |
| | | result = prime * result + ((getMonvol69() == null) ? 0 : getMonvol69().hashCode()); |
| | | result = prime * result + ((getMonvol70() == null) ? 0 : getMonvol70().hashCode()); |
| | | result = prime * result + ((getMonvol71() == null) ? 0 : getMonvol71().hashCode()); |
| | | result = prime * result + ((getMonvol72() == null) ? 0 : getMonvol72().hashCode()); |
| | | result = prime * result + ((getMonvol73() == null) ? 0 : getMonvol73().hashCode()); |
| | | result = prime * result + ((getMonvol74() == null) ? 0 : getMonvol74().hashCode()); |
| | | result = prime * result + ((getMonvol75() == null) ? 0 : getMonvol75().hashCode()); |
| | | result = prime * result + ((getMonvol76() == null) ? 0 : getMonvol76().hashCode()); |
| | | result = prime * result + ((getMonvol77() == null) ? 0 : getMonvol77().hashCode()); |
| | | result = prime * result + ((getMonvol78() == null) ? 0 : getMonvol78().hashCode()); |
| | | result = prime * result + ((getMonvol79() == null) ? 0 : getMonvol79().hashCode()); |
| | | result = prime * result + ((getMonvol80() == null) ? 0 : getMonvol80().hashCode()); |
| | | result = prime * result + ((getMonvol81() == null) ? 0 : getMonvol81().hashCode()); |
| | | result = prime * result + ((getMonvol82() == null) ? 0 : getMonvol82().hashCode()); |
| | | result = prime * result + ((getMonvol83() == null) ? 0 : getMonvol83().hashCode()); |
| | | result = prime * result + ((getMonvol84() == null) ? 0 : getMonvol84().hashCode()); |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | StringBuilder sb = new StringBuilder(); |
| | | sb.append(getClass().getSimpleName()); |
| | | sb.append(" ["); |
| | | sb.append("Hash = ").append(hashCode()); |
| | | sb.append(", num=").append(num); |
| | | sb.append(", battgroupid=").append(battgroupid); |
| | | sb.append(", recordtime=").append(recordtime); |
| | | sb.append(", groupcurrent=").append(groupcurrent); |
| | | sb.append(", battstate=").append(battstate); |
| | | sb.append(", monvol1=").append(monvol1); |
| | | sb.append(", monvol2=").append(monvol2); |
| | | sb.append(", monvol3=").append(monvol3); |
| | | sb.append(", monvol4=").append(monvol4); |
| | | sb.append(", monvol5=").append(monvol5); |
| | | sb.append(", monvol6=").append(monvol6); |
| | | sb.append(", monvol7=").append(monvol7); |
| | | sb.append(", monvol8=").append(monvol8); |
| | | sb.append(", monvol9=").append(monvol9); |
| | | sb.append(", monvol10=").append(monvol10); |
| | | sb.append(", monvol11=").append(monvol11); |
| | | sb.append(", monvol12=").append(monvol12); |
| | | sb.append(", monvol13=").append(monvol13); |
| | | sb.append(", monvol14=").append(monvol14); |
| | | sb.append(", monvol15=").append(monvol15); |
| | | sb.append(", monvol16=").append(monvol16); |
| | | sb.append(", monvol17=").append(monvol17); |
| | | sb.append(", monvol18=").append(monvol18); |
| | | sb.append(", monvol19=").append(monvol19); |
| | | sb.append(", monvol20=").append(monvol20); |
| | | sb.append(", monvol21=").append(monvol21); |
| | | sb.append(", monvol22=").append(monvol22); |
| | | sb.append(", monvol23=").append(monvol23); |
| | | sb.append(", monvol24=").append(monvol24); |
| | | sb.append(", monvol25=").append(monvol25); |
| | | sb.append(", monvol26=").append(monvol26); |
| | | sb.append(", monvol27=").append(monvol27); |
| | | sb.append(", monvol28=").append(monvol28); |
| | | sb.append(", monvol29=").append(monvol29); |
| | | sb.append(", monvol30=").append(monvol30); |
| | | sb.append(", monvol31=").append(monvol31); |
| | | sb.append(", monvol32=").append(monvol32); |
| | | sb.append(", monvol33=").append(monvol33); |
| | | sb.append(", monvol34=").append(monvol34); |
| | | sb.append(", monvol35=").append(monvol35); |
| | | sb.append(", monvol36=").append(monvol36); |
| | | sb.append(", monvol37=").append(monvol37); |
| | | sb.append(", monvol38=").append(monvol38); |
| | | sb.append(", monvol39=").append(monvol39); |
| | | sb.append(", monvol40=").append(monvol40); |
| | | sb.append(", monvol41=").append(monvol41); |
| | | sb.append(", monvol42=").append(monvol42); |
| | | sb.append(", monvol43=").append(monvol43); |
| | | sb.append(", monvol44=").append(monvol44); |
| | | sb.append(", monvol45=").append(monvol45); |
| | | sb.append(", monvol46=").append(monvol46); |
| | | sb.append(", monvol47=").append(monvol47); |
| | | sb.append(", monvol48=").append(monvol48); |
| | | sb.append(", monvol49=").append(monvol49); |
| | | sb.append(", monvol50=").append(monvol50); |
| | | sb.append(", monvol51=").append(monvol51); |
| | | sb.append(", monvol52=").append(monvol52); |
| | | sb.append(", monvol53=").append(monvol53); |
| | | sb.append(", monvol54=").append(monvol54); |
| | | sb.append(", monvol55=").append(monvol55); |
| | | sb.append(", monvol56=").append(monvol56); |
| | | sb.append(", monvol57=").append(monvol57); |
| | | sb.append(", monvol58=").append(monvol58); |
| | | sb.append(", monvol59=").append(monvol59); |
| | | sb.append(", monvol60=").append(monvol60); |
| | | sb.append(", monvol61=").append(monvol61); |
| | | sb.append(", monvol62=").append(monvol62); |
| | | sb.append(", monvol63=").append(monvol63); |
| | | sb.append(", monvol64=").append(monvol64); |
| | | sb.append(", monvol65=").append(monvol65); |
| | | sb.append(", monvol66=").append(monvol66); |
| | | sb.append(", monvol67=").append(monvol67); |
| | | sb.append(", monvol68=").append(monvol68); |
| | | sb.append(", monvol69=").append(monvol69); |
| | | sb.append(", monvol70=").append(monvol70); |
| | | sb.append(", monvol71=").append(monvol71); |
| | | sb.append(", monvol72=").append(monvol72); |
| | | sb.append(", monvol73=").append(monvol73); |
| | | sb.append(", monvol74=").append(monvol74); |
| | | sb.append(", monvol75=").append(monvol75); |
| | | sb.append(", monvol76=").append(monvol76); |
| | | sb.append(", monvol77=").append(monvol77); |
| | | sb.append(", monvol78=").append(monvol78); |
| | | sb.append(", monvol79=").append(monvol79); |
| | | sb.append(", monvol80=").append(monvol80); |
| | | sb.append(", monvol81=").append(monvol81); |
| | | sb.append(", monvol82=").append(monvol82); |
| | | sb.append(", monvol83=").append(monvol83); |
| | | sb.append(", monvol84=").append(monvol84); |
| | | sb.append(", serialVersionUID=").append(serialVersionUID); |
| | | sb.append("]"); |
| | | return sb.toString(); |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.bean; |
| | | |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * tb_battdata_rt |
| | | * @author |
| | | */ |
| | | |
| | | @Repository |
| | | public class TbBattsysParam implements Serializable { |
| | | private Long num; |
| | | |
| | | private Integer battgroupid; |
| | | |
| | | private Date recordtime; |
| | | |
| | | private Double groupcurrent; |
| | | |
| | | private Integer battstate; |
| | | |
| | | private Double monvol1; |
| | | |
| | | private Double monvol2; |
| | | |
| | | private Double monvol3; |
| | | |
| | | private Double monvol4; |
| | | |
| | | private Double monvol5; |
| | | |
| | | private Double monvol6; |
| | | |
| | | private Double monvol7; |
| | | |
| | | private Double monvol8; |
| | | |
| | | private Double monvol9; |
| | | |
| | | private Double monvol10; |
| | | |
| | | private Double monvol11; |
| | | |
| | | private Double monvol12; |
| | | |
| | | private Double monvol13; |
| | | |
| | | private Double monvol14; |
| | | |
| | | private Double monvol15; |
| | | |
| | | private Double monvol16; |
| | | |
| | | private Double monvol17; |
| | | |
| | | private Double monvol18; |
| | | |
| | | private Double monvol19; |
| | | |
| | | private Double monvol20; |
| | | |
| | | private Double monvol21; |
| | | |
| | | private Double monvol22; |
| | | |
| | | private Double monvol23; |
| | | |
| | | private Double monvol24; |
| | | |
| | | private Double monvol25; |
| | | |
| | | private Double monvol26; |
| | | |
| | | private Double monvol27; |
| | | |
| | | private Double monvol28; |
| | | |
| | | private Double monvol29; |
| | | |
| | | private Double monvol30; |
| | | |
| | | private Double monvol31; |
| | | |
| | | private Double monvol32; |
| | | |
| | | private Double monvol33; |
| | | |
| | | private Double monvol34; |
| | | |
| | | private Double monvol35; |
| | | |
| | | private Double monvol36; |
| | | |
| | | private Double monvol37; |
| | | |
| | | private Double monvol38; |
| | | |
| | | private Double monvol39; |
| | | |
| | | private Double monvol40; |
| | | |
| | | private Double monvol41; |
| | | |
| | | private Double monvol42; |
| | | |
| | | private Double monvol43; |
| | | |
| | | private Double monvol44; |
| | | |
| | | private Double monvol45; |
| | | |
| | | private Double monvol46; |
| | | |
| | | private Double monvol47; |
| | | |
| | | private Double monvol48; |
| | | |
| | | private Double monvol49; |
| | | |
| | | private Double monvol50; |
| | | |
| | | private Double monvol51; |
| | | |
| | | private Double monvol52; |
| | | |
| | | private Double monvol53; |
| | | |
| | | private Double monvol54; |
| | | |
| | | private Double monvol55; |
| | | |
| | | private Double monvol56; |
| | | |
| | | private Double monvol57; |
| | | |
| | | private Double monvol58; |
| | | |
| | | private Double monvol59; |
| | | |
| | | private Double monvol60; |
| | | |
| | | private Double monvol61; |
| | | |
| | | private Double monvol62; |
| | | |
| | | private Double monvol63; |
| | | |
| | | private Double monvol64; |
| | | |
| | | private Double monvol65; |
| | | |
| | | private Double monvol66; |
| | | |
| | | private Double monvol67; |
| | | |
| | | private Double monvol68; |
| | | |
| | | private Double monvol69; |
| | | |
| | | private Double monvol70; |
| | | |
| | | private Double monvol71; |
| | | |
| | | private Double monvol72; |
| | | |
| | | private Double monvol73; |
| | | |
| | | private Double monvol74; |
| | | |
| | | private Double monvol75; |
| | | |
| | | private Double monvol76; |
| | | |
| | | private Double monvol77; |
| | | |
| | | private Double monvol78; |
| | | |
| | | private Double monvol79; |
| | | |
| | | private Double monvol80; |
| | | |
| | | private Double monvol81; |
| | | |
| | | private Double monvol82; |
| | | |
| | | private Double monvol83; |
| | | |
| | | private Double monvol84; |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public Long getNum() { |
| | | return num; |
| | | } |
| | | |
| | | public void setNum(Long num) { |
| | | this.num = num; |
| | | } |
| | | |
| | | public Integer getBattgroupid() { |
| | | return battgroupid; |
| | | } |
| | | |
| | | public void setBattgroupid(Integer battgroupid) { |
| | | this.battgroupid = battgroupid; |
| | | } |
| | | |
| | | public Date getRecordtime() { |
| | | return recordtime; |
| | | } |
| | | |
| | | public void setRecordtime(Date recordtime) { |
| | | this.recordtime = recordtime; |
| | | } |
| | | |
| | | public Double getGroupcurrent() { |
| | | return groupcurrent; |
| | | } |
| | | |
| | | public void setGroupcurrent(Double groupcurrent) { |
| | | this.groupcurrent = groupcurrent; |
| | | } |
| | | |
| | | public Integer getBattstate() { |
| | | return battstate; |
| | | } |
| | | |
| | | public void setBattstate(Integer battstate) { |
| | | this.battstate = battstate; |
| | | } |
| | | |
| | | public Double getMonvol1() { |
| | | return monvol1; |
| | | } |
| | | |
| | | public void setMonvol1(Double monvol1) { |
| | | this.monvol1 = monvol1; |
| | | } |
| | | |
| | | public Double getMonvol2() { |
| | | return monvol2; |
| | | } |
| | | |
| | | public void setMonvol2(Double monvol2) { |
| | | this.monvol2 = monvol2; |
| | | } |
| | | |
| | | public Double getMonvol3() { |
| | | return monvol3; |
| | | } |
| | | |
| | | public void setMonvol3(Double monvol3) { |
| | | this.monvol3 = monvol3; |
| | | } |
| | | |
| | | public Double getMonvol4() { |
| | | return monvol4; |
| | | } |
| | | |
| | | public void setMonvol4(Double monvol4) { |
| | | this.monvol4 = monvol4; |
| | | } |
| | | |
| | | public Double getMonvol5() { |
| | | return monvol5; |
| | | } |
| | | |
| | | public void setMonvol5(Double monvol5) { |
| | | this.monvol5 = monvol5; |
| | | } |
| | | |
| | | public Double getMonvol6() { |
| | | return monvol6; |
| | | } |
| | | |
| | | public void setMonvol6(Double monvol6) { |
| | | this.monvol6 = monvol6; |
| | | } |
| | | |
| | | public Double getMonvol7() { |
| | | return monvol7; |
| | | } |
| | | |
| | | public void setMonvol7(Double monvol7) { |
| | | this.monvol7 = monvol7; |
| | | } |
| | | |
| | | public Double getMonvol8() { |
| | | return monvol8; |
| | | } |
| | | |
| | | public void setMonvol8(Double monvol8) { |
| | | this.monvol8 = monvol8; |
| | | } |
| | | |
| | | public Double getMonvol9() { |
| | | return monvol9; |
| | | } |
| | | |
| | | public void setMonvol9(Double monvol9) { |
| | | this.monvol9 = monvol9; |
| | | } |
| | | |
| | | public Double getMonvol10() { |
| | | return monvol10; |
| | | } |
| | | |
| | | public void setMonvol10(Double monvol10) { |
| | | this.monvol10 = monvol10; |
| | | } |
| | | |
| | | public Double getMonvol11() { |
| | | return monvol11; |
| | | } |
| | | |
| | | public void setMonvol11(Double monvol11) { |
| | | this.monvol11 = monvol11; |
| | | } |
| | | |
| | | public Double getMonvol12() { |
| | | return monvol12; |
| | | } |
| | | |
| | | public void setMonvol12(Double monvol12) { |
| | | this.monvol12 = monvol12; |
| | | } |
| | | |
| | | public Double getMonvol13() { |
| | | return monvol13; |
| | | } |
| | | |
| | | public void setMonvol13(Double monvol13) { |
| | | this.monvol13 = monvol13; |
| | | } |
| | | |
| | | public Double getMonvol14() { |
| | | return monvol14; |
| | | } |
| | | |
| | | public void setMonvol14(Double monvol14) { |
| | | this.monvol14 = monvol14; |
| | | } |
| | | |
| | | public Double getMonvol15() { |
| | | return monvol15; |
| | | } |
| | | |
| | | public void setMonvol15(Double monvol15) { |
| | | this.monvol15 = monvol15; |
| | | } |
| | | |
| | | public Double getMonvol16() { |
| | | return monvol16; |
| | | } |
| | | |
| | | public void setMonvol16(Double monvol16) { |
| | | this.monvol16 = monvol16; |
| | | } |
| | | |
| | | public Double getMonvol17() { |
| | | return monvol17; |
| | | } |
| | | |
| | | public void setMonvol17(Double monvol17) { |
| | | this.monvol17 = monvol17; |
| | | } |
| | | |
| | | public Double getMonvol18() { |
| | | return monvol18; |
| | | } |
| | | |
| | | public void setMonvol18(Double monvol18) { |
| | | this.monvol18 = monvol18; |
| | | } |
| | | |
| | | public Double getMonvol19() { |
| | | return monvol19; |
| | | } |
| | | |
| | | public void setMonvol19(Double monvol19) { |
| | | this.monvol19 = monvol19; |
| | | } |
| | | |
| | | public Double getMonvol20() { |
| | | return monvol20; |
| | | } |
| | | |
| | | public void setMonvol20(Double monvol20) { |
| | | this.monvol20 = monvol20; |
| | | } |
| | | |
| | | public Double getMonvol21() { |
| | | return monvol21; |
| | | } |
| | | |
| | | public void setMonvol21(Double monvol21) { |
| | | this.monvol21 = monvol21; |
| | | } |
| | | |
| | | public Double getMonvol22() { |
| | | return monvol22; |
| | | } |
| | | |
| | | public void setMonvol22(Double monvol22) { |
| | | this.monvol22 = monvol22; |
| | | } |
| | | |
| | | public Double getMonvol23() { |
| | | return monvol23; |
| | | } |
| | | |
| | | public void setMonvol23(Double monvol23) { |
| | | this.monvol23 = monvol23; |
| | | } |
| | | |
| | | public Double getMonvol24() { |
| | | return monvol24; |
| | | } |
| | | |
| | | public void setMonvol24(Double monvol24) { |
| | | this.monvol24 = monvol24; |
| | | } |
| | | |
| | | public Double getMonvol25() { |
| | | return monvol25; |
| | | } |
| | | |
| | | public void setMonvol25(Double monvol25) { |
| | | this.monvol25 = monvol25; |
| | | } |
| | | |
| | | public Double getMonvol26() { |
| | | return monvol26; |
| | | } |
| | | |
| | | public void setMonvol26(Double monvol26) { |
| | | this.monvol26 = monvol26; |
| | | } |
| | | |
| | | public Double getMonvol27() { |
| | | return monvol27; |
| | | } |
| | | |
| | | public void setMonvol27(Double monvol27) { |
| | | this.monvol27 = monvol27; |
| | | } |
| | | |
| | | public Double getMonvol28() { |
| | | return monvol28; |
| | | } |
| | | |
| | | public void setMonvol28(Double monvol28) { |
| | | this.monvol28 = monvol28; |
| | | } |
| | | |
| | | public Double getMonvol29() { |
| | | return monvol29; |
| | | } |
| | | |
| | | public void setMonvol29(Double monvol29) { |
| | | this.monvol29 = monvol29; |
| | | } |
| | | |
| | | public Double getMonvol30() { |
| | | return monvol30; |
| | | } |
| | | |
| | | public void setMonvol30(Double monvol30) { |
| | | this.monvol30 = monvol30; |
| | | } |
| | | |
| | | public Double getMonvol31() { |
| | | return monvol31; |
| | | } |
| | | |
| | | public void setMonvol31(Double monvol31) { |
| | | this.monvol31 = monvol31; |
| | | } |
| | | |
| | | public Double getMonvol32() { |
| | | return monvol32; |
| | | } |
| | | |
| | | public void setMonvol32(Double monvol32) { |
| | | this.monvol32 = monvol32; |
| | | } |
| | | |
| | | public Double getMonvol33() { |
| | | return monvol33; |
| | | } |
| | | |
| | | public void setMonvol33(Double monvol33) { |
| | | this.monvol33 = monvol33; |
| | | } |
| | | |
| | | public Double getMonvol34() { |
| | | return monvol34; |
| | | } |
| | | |
| | | public void setMonvol34(Double monvol34) { |
| | | this.monvol34 = monvol34; |
| | | } |
| | | |
| | | public Double getMonvol35() { |
| | | return monvol35; |
| | | } |
| | | |
| | | public void setMonvol35(Double monvol35) { |
| | | this.monvol35 = monvol35; |
| | | } |
| | | |
| | | public Double getMonvol36() { |
| | | return monvol36; |
| | | } |
| | | |
| | | public void setMonvol36(Double monvol36) { |
| | | this.monvol36 = monvol36; |
| | | } |
| | | |
| | | public Double getMonvol37() { |
| | | return monvol37; |
| | | } |
| | | |
| | | public void setMonvol37(Double monvol37) { |
| | | this.monvol37 = monvol37; |
| | | } |
| | | |
| | | public Double getMonvol38() { |
| | | return monvol38; |
| | | } |
| | | |
| | | public void setMonvol38(Double monvol38) { |
| | | this.monvol38 = monvol38; |
| | | } |
| | | |
| | | public Double getMonvol39() { |
| | | return monvol39; |
| | | } |
| | | |
| | | public void setMonvol39(Double monvol39) { |
| | | this.monvol39 = monvol39; |
| | | } |
| | | |
| | | public Double getMonvol40() { |
| | | return monvol40; |
| | | } |
| | | |
| | | public void setMonvol40(Double monvol40) { |
| | | this.monvol40 = monvol40; |
| | | } |
| | | |
| | | public Double getMonvol41() { |
| | | return monvol41; |
| | | } |
| | | |
| | | public void setMonvol41(Double monvol41) { |
| | | this.monvol41 = monvol41; |
| | | } |
| | | |
| | | public Double getMonvol42() { |
| | | return monvol42; |
| | | } |
| | | |
| | | public void setMonvol42(Double monvol42) { |
| | | this.monvol42 = monvol42; |
| | | } |
| | | |
| | | public Double getMonvol43() { |
| | | return monvol43; |
| | | } |
| | | |
| | | public void setMonvol43(Double monvol43) { |
| | | this.monvol43 = monvol43; |
| | | } |
| | | |
| | | public Double getMonvol44() { |
| | | return monvol44; |
| | | } |
| | | |
| | | public void setMonvol44(Double monvol44) { |
| | | this.monvol44 = monvol44; |
| | | } |
| | | |
| | | public Double getMonvol45() { |
| | | return monvol45; |
| | | } |
| | | |
| | | public void setMonvol45(Double monvol45) { |
| | | this.monvol45 = monvol45; |
| | | } |
| | | |
| | | public Double getMonvol46() { |
| | | return monvol46; |
| | | } |
| | | |
| | | public void setMonvol46(Double monvol46) { |
| | | this.monvol46 = monvol46; |
| | | } |
| | | |
| | | public Double getMonvol47() { |
| | | return monvol47; |
| | | } |
| | | |
| | | public void setMonvol47(Double monvol47) { |
| | | this.monvol47 = monvol47; |
| | | } |
| | | |
| | | public Double getMonvol48() { |
| | | return monvol48; |
| | | } |
| | | |
| | | public void setMonvol48(Double monvol48) { |
| | | this.monvol48 = monvol48; |
| | | } |
| | | |
| | | public Double getMonvol49() { |
| | | return monvol49; |
| | | } |
| | | |
| | | public void setMonvol49(Double monvol49) { |
| | | this.monvol49 = monvol49; |
| | | } |
| | | |
| | | public Double getMonvol50() { |
| | | return monvol50; |
| | | } |
| | | |
| | | public void setMonvol50(Double monvol50) { |
| | | this.monvol50 = monvol50; |
| | | } |
| | | |
| | | public Double getMonvol51() { |
| | | return monvol51; |
| | | } |
| | | |
| | | public void setMonvol51(Double monvol51) { |
| | | this.monvol51 = monvol51; |
| | | } |
| | | |
| | | public Double getMonvol52() { |
| | | return monvol52; |
| | | } |
| | | |
| | | public void setMonvol52(Double monvol52) { |
| | | this.monvol52 = monvol52; |
| | | } |
| | | |
| | | public Double getMonvol53() { |
| | | return monvol53; |
| | | } |
| | | |
| | | public void setMonvol53(Double monvol53) { |
| | | this.monvol53 = monvol53; |
| | | } |
| | | |
| | | public Double getMonvol54() { |
| | | return monvol54; |
| | | } |
| | | |
| | | public void setMonvol54(Double monvol54) { |
| | | this.monvol54 = monvol54; |
| | | } |
| | | |
| | | public Double getMonvol55() { |
| | | return monvol55; |
| | | } |
| | | |
| | | public void setMonvol55(Double monvol55) { |
| | | this.monvol55 = monvol55; |
| | | } |
| | | |
| | | public Double getMonvol56() { |
| | | return monvol56; |
| | | } |
| | | |
| | | public void setMonvol56(Double monvol56) { |
| | | this.monvol56 = monvol56; |
| | | } |
| | | |
| | | public Double getMonvol57() { |
| | | return monvol57; |
| | | } |
| | | |
| | | public void setMonvol57(Double monvol57) { |
| | | this.monvol57 = monvol57; |
| | | } |
| | | |
| | | public Double getMonvol58() { |
| | | return monvol58; |
| | | } |
| | | |
| | | public void setMonvol58(Double monvol58) { |
| | | this.monvol58 = monvol58; |
| | | } |
| | | |
| | | public Double getMonvol59() { |
| | | return monvol59; |
| | | } |
| | | |
| | | public void setMonvol59(Double monvol59) { |
| | | this.monvol59 = monvol59; |
| | | } |
| | | |
| | | public Double getMonvol60() { |
| | | return monvol60; |
| | | } |
| | | |
| | | public void setMonvol60(Double monvol60) { |
| | | this.monvol60 = monvol60; |
| | | } |
| | | |
| | | public Double getMonvol61() { |
| | | return monvol61; |
| | | } |
| | | |
| | | public void setMonvol61(Double monvol61) { |
| | | this.monvol61 = monvol61; |
| | | } |
| | | |
| | | public Double getMonvol62() { |
| | | return monvol62; |
| | | } |
| | | |
| | | public void setMonvol62(Double monvol62) { |
| | | this.monvol62 = monvol62; |
| | | } |
| | | |
| | | public Double getMonvol63() { |
| | | return monvol63; |
| | | } |
| | | |
| | | public void setMonvol63(Double monvol63) { |
| | | this.monvol63 = monvol63; |
| | | } |
| | | |
| | | public Double getMonvol64() { |
| | | return monvol64; |
| | | } |
| | | |
| | | public void setMonvol64(Double monvol64) { |
| | | this.monvol64 = monvol64; |
| | | } |
| | | |
| | | public Double getMonvol65() { |
| | | return monvol65; |
| | | } |
| | | |
| | | public void setMonvol65(Double monvol65) { |
| | | this.monvol65 = monvol65; |
| | | } |
| | | |
| | | public Double getMonvol66() { |
| | | return monvol66; |
| | | } |
| | | |
| | | public void setMonvol66(Double monvol66) { |
| | | this.monvol66 = monvol66; |
| | | } |
| | | |
| | | public Double getMonvol67() { |
| | | return monvol67; |
| | | } |
| | | |
| | | public void setMonvol67(Double monvol67) { |
| | | this.monvol67 = monvol67; |
| | | } |
| | | |
| | | public Double getMonvol68() { |
| | | return monvol68; |
| | | } |
| | | |
| | | public void setMonvol68(Double monvol68) { |
| | | this.monvol68 = monvol68; |
| | | } |
| | | |
| | | public Double getMonvol69() { |
| | | return monvol69; |
| | | } |
| | | |
| | | public void setMonvol69(Double monvol69) { |
| | | this.monvol69 = monvol69; |
| | | } |
| | | |
| | | public Double getMonvol70() { |
| | | return monvol70; |
| | | } |
| | | |
| | | public void setMonvol70(Double monvol70) { |
| | | this.monvol70 = monvol70; |
| | | } |
| | | |
| | | public Double getMonvol71() { |
| | | return monvol71; |
| | | } |
| | | |
| | | public void setMonvol71(Double monvol71) { |
| | | this.monvol71 = monvol71; |
| | | } |
| | | |
| | | public Double getMonvol72() { |
| | | return monvol72; |
| | | } |
| | | |
| | | public void setMonvol72(Double monvol72) { |
| | | this.monvol72 = monvol72; |
| | | } |
| | | |
| | | public Double getMonvol73() { |
| | | return monvol73; |
| | | } |
| | | |
| | | public void setMonvol73(Double monvol73) { |
| | | this.monvol73 = monvol73; |
| | | } |
| | | |
| | | public Double getMonvol74() { |
| | | return monvol74; |
| | | } |
| | | |
| | | public void setMonvol74(Double monvol74) { |
| | | this.monvol74 = monvol74; |
| | | } |
| | | |
| | | public Double getMonvol75() { |
| | | return monvol75; |
| | | } |
| | | |
| | | public void setMonvol75(Double monvol75) { |
| | | this.monvol75 = monvol75; |
| | | } |
| | | |
| | | public Double getMonvol76() { |
| | | return monvol76; |
| | | } |
| | | |
| | | public void setMonvol76(Double monvol76) { |
| | | this.monvol76 = monvol76; |
| | | } |
| | | |
| | | public Double getMonvol77() { |
| | | return monvol77; |
| | | } |
| | | |
| | | public void setMonvol77(Double monvol77) { |
| | | this.monvol77 = monvol77; |
| | | } |
| | | |
| | | public Double getMonvol78() { |
| | | return monvol78; |
| | | } |
| | | |
| | | public void setMonvol78(Double monvol78) { |
| | | this.monvol78 = monvol78; |
| | | } |
| | | |
| | | public Double getMonvol79() { |
| | | return monvol79; |
| | | } |
| | | |
| | | public void setMonvol79(Double monvol79) { |
| | | this.monvol79 = monvol79; |
| | | } |
| | | |
| | | public Double getMonvol80() { |
| | | return monvol80; |
| | | } |
| | | |
| | | public void setMonvol80(Double monvol80) { |
| | | this.monvol80 = monvol80; |
| | | } |
| | | |
| | | public Double getMonvol81() { |
| | | return monvol81; |
| | | } |
| | | |
| | | public void setMonvol81(Double monvol81) { |
| | | this.monvol81 = monvol81; |
| | | } |
| | | |
| | | public Double getMonvol82() { |
| | | return monvol82; |
| | | } |
| | | |
| | | public void setMonvol82(Double monvol82) { |
| | | this.monvol82 = monvol82; |
| | | } |
| | | |
| | | public Double getMonvol83() { |
| | | return monvol83; |
| | | } |
| | | |
| | | public void setMonvol83(Double monvol83) { |
| | | this.monvol83 = monvol83; |
| | | } |
| | | |
| | | public Double getMonvol84() { |
| | | return monvol84; |
| | | } |
| | | |
| | | public void setMonvol84(Double monvol84) { |
| | | this.monvol84 = monvol84; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object that) { |
| | | if (this == that) { |
| | | return true; |
| | | } |
| | | if (that == null) { |
| | | return false; |
| | | } |
| | | if (getClass() != that.getClass()) { |
| | | return false; |
| | | } |
| | | TbBattsysParam other = (TbBattsysParam) that; |
| | | return (this.getNum() == null ? other.getNum() == null : this.getNum().equals(other.getNum())) |
| | | && (this.getBattgroupid() == null ? other.getBattgroupid() == null : this.getBattgroupid().equals(other.getBattgroupid())) |
| | | && (this.getRecordtime() == null ? other.getRecordtime() == null : this.getRecordtime().equals(other.getRecordtime())) |
| | | && (this.getGroupcurrent() == null ? other.getGroupcurrent() == null : this.getGroupcurrent().equals(other.getGroupcurrent())) |
| | | && (this.getBattstate() == null ? other.getBattstate() == null : this.getBattstate().equals(other.getBattstate())) |
| | | && (this.getMonvol1() == null ? other.getMonvol1() == null : this.getMonvol1().equals(other.getMonvol1())) |
| | | && (this.getMonvol2() == null ? other.getMonvol2() == null : this.getMonvol2().equals(other.getMonvol2())) |
| | | && (this.getMonvol3() == null ? other.getMonvol3() == null : this.getMonvol3().equals(other.getMonvol3())) |
| | | && (this.getMonvol4() == null ? other.getMonvol4() == null : this.getMonvol4().equals(other.getMonvol4())) |
| | | && (this.getMonvol5() == null ? other.getMonvol5() == null : this.getMonvol5().equals(other.getMonvol5())) |
| | | && (this.getMonvol6() == null ? other.getMonvol6() == null : this.getMonvol6().equals(other.getMonvol6())) |
| | | && (this.getMonvol7() == null ? other.getMonvol7() == null : this.getMonvol7().equals(other.getMonvol7())) |
| | | && (this.getMonvol8() == null ? other.getMonvol8() == null : this.getMonvol8().equals(other.getMonvol8())) |
| | | && (this.getMonvol9() == null ? other.getMonvol9() == null : this.getMonvol9().equals(other.getMonvol9())) |
| | | && (this.getMonvol10() == null ? other.getMonvol10() == null : this.getMonvol10().equals(other.getMonvol10())) |
| | | && (this.getMonvol11() == null ? other.getMonvol11() == null : this.getMonvol11().equals(other.getMonvol11())) |
| | | && (this.getMonvol12() == null ? other.getMonvol12() == null : this.getMonvol12().equals(other.getMonvol12())) |
| | | && (this.getMonvol13() == null ? other.getMonvol13() == null : this.getMonvol13().equals(other.getMonvol13())) |
| | | && (this.getMonvol14() == null ? other.getMonvol14() == null : this.getMonvol14().equals(other.getMonvol14())) |
| | | && (this.getMonvol15() == null ? other.getMonvol15() == null : this.getMonvol15().equals(other.getMonvol15())) |
| | | && (this.getMonvol16() == null ? other.getMonvol16() == null : this.getMonvol16().equals(other.getMonvol16())) |
| | | && (this.getMonvol17() == null ? other.getMonvol17() == null : this.getMonvol17().equals(other.getMonvol17())) |
| | | && (this.getMonvol18() == null ? other.getMonvol18() == null : this.getMonvol18().equals(other.getMonvol18())) |
| | | && (this.getMonvol19() == null ? other.getMonvol19() == null : this.getMonvol19().equals(other.getMonvol19())) |
| | | && (this.getMonvol20() == null ? other.getMonvol20() == null : this.getMonvol20().equals(other.getMonvol20())) |
| | | && (this.getMonvol21() == null ? other.getMonvol21() == null : this.getMonvol21().equals(other.getMonvol21())) |
| | | && (this.getMonvol22() == null ? other.getMonvol22() == null : this.getMonvol22().equals(other.getMonvol22())) |
| | | && (this.getMonvol23() == null ? other.getMonvol23() == null : this.getMonvol23().equals(other.getMonvol23())) |
| | | && (this.getMonvol24() == null ? other.getMonvol24() == null : this.getMonvol24().equals(other.getMonvol24())) |
| | | && (this.getMonvol25() == null ? other.getMonvol25() == null : this.getMonvol25().equals(other.getMonvol25())) |
| | | && (this.getMonvol26() == null ? other.getMonvol26() == null : this.getMonvol26().equals(other.getMonvol26())) |
| | | && (this.getMonvol27() == null ? other.getMonvol27() == null : this.getMonvol27().equals(other.getMonvol27())) |
| | | && (this.getMonvol28() == null ? other.getMonvol28() == null : this.getMonvol28().equals(other.getMonvol28())) |
| | | && (this.getMonvol29() == null ? other.getMonvol29() == null : this.getMonvol29().equals(other.getMonvol29())) |
| | | && (this.getMonvol30() == null ? other.getMonvol30() == null : this.getMonvol30().equals(other.getMonvol30())) |
| | | && (this.getMonvol31() == null ? other.getMonvol31() == null : this.getMonvol31().equals(other.getMonvol31())) |
| | | && (this.getMonvol32() == null ? other.getMonvol32() == null : this.getMonvol32().equals(other.getMonvol32())) |
| | | && (this.getMonvol33() == null ? other.getMonvol33() == null : this.getMonvol33().equals(other.getMonvol33())) |
| | | && (this.getMonvol34() == null ? other.getMonvol34() == null : this.getMonvol34().equals(other.getMonvol34())) |
| | | && (this.getMonvol35() == null ? other.getMonvol35() == null : this.getMonvol35().equals(other.getMonvol35())) |
| | | && (this.getMonvol36() == null ? other.getMonvol36() == null : this.getMonvol36().equals(other.getMonvol36())) |
| | | && (this.getMonvol37() == null ? other.getMonvol37() == null : this.getMonvol37().equals(other.getMonvol37())) |
| | | && (this.getMonvol38() == null ? other.getMonvol38() == null : this.getMonvol38().equals(other.getMonvol38())) |
| | | && (this.getMonvol39() == null ? other.getMonvol39() == null : this.getMonvol39().equals(other.getMonvol39())) |
| | | && (this.getMonvol40() == null ? other.getMonvol40() == null : this.getMonvol40().equals(other.getMonvol40())) |
| | | && (this.getMonvol41() == null ? other.getMonvol41() == null : this.getMonvol41().equals(other.getMonvol41())) |
| | | && (this.getMonvol42() == null ? other.getMonvol42() == null : this.getMonvol42().equals(other.getMonvol42())) |
| | | && (this.getMonvol43() == null ? other.getMonvol43() == null : this.getMonvol43().equals(other.getMonvol43())) |
| | | && (this.getMonvol44() == null ? other.getMonvol44() == null : this.getMonvol44().equals(other.getMonvol44())) |
| | | && (this.getMonvol45() == null ? other.getMonvol45() == null : this.getMonvol45().equals(other.getMonvol45())) |
| | | && (this.getMonvol46() == null ? other.getMonvol46() == null : this.getMonvol46().equals(other.getMonvol46())) |
| | | && (this.getMonvol47() == null ? other.getMonvol47() == null : this.getMonvol47().equals(other.getMonvol47())) |
| | | && (this.getMonvol48() == null ? other.getMonvol48() == null : this.getMonvol48().equals(other.getMonvol48())) |
| | | && (this.getMonvol49() == null ? other.getMonvol49() == null : this.getMonvol49().equals(other.getMonvol49())) |
| | | && (this.getMonvol50() == null ? other.getMonvol50() == null : this.getMonvol50().equals(other.getMonvol50())) |
| | | && (this.getMonvol51() == null ? other.getMonvol51() == null : this.getMonvol51().equals(other.getMonvol51())) |
| | | && (this.getMonvol52() == null ? other.getMonvol52() == null : this.getMonvol52().equals(other.getMonvol52())) |
| | | && (this.getMonvol53() == null ? other.getMonvol53() == null : this.getMonvol53().equals(other.getMonvol53())) |
| | | && (this.getMonvol54() == null ? other.getMonvol54() == null : this.getMonvol54().equals(other.getMonvol54())) |
| | | && (this.getMonvol55() == null ? other.getMonvol55() == null : this.getMonvol55().equals(other.getMonvol55())) |
| | | && (this.getMonvol56() == null ? other.getMonvol56() == null : this.getMonvol56().equals(other.getMonvol56())) |
| | | && (this.getMonvol57() == null ? other.getMonvol57() == null : this.getMonvol57().equals(other.getMonvol57())) |
| | | && (this.getMonvol58() == null ? other.getMonvol58() == null : this.getMonvol58().equals(other.getMonvol58())) |
| | | && (this.getMonvol59() == null ? other.getMonvol59() == null : this.getMonvol59().equals(other.getMonvol59())) |
| | | && (this.getMonvol60() == null ? other.getMonvol60() == null : this.getMonvol60().equals(other.getMonvol60())) |
| | | && (this.getMonvol61() == null ? other.getMonvol61() == null : this.getMonvol61().equals(other.getMonvol61())) |
| | | && (this.getMonvol62() == null ? other.getMonvol62() == null : this.getMonvol62().equals(other.getMonvol62())) |
| | | && (this.getMonvol63() == null ? other.getMonvol63() == null : this.getMonvol63().equals(other.getMonvol63())) |
| | | && (this.getMonvol64() == null ? other.getMonvol64() == null : this.getMonvol64().equals(other.getMonvol64())) |
| | | && (this.getMonvol65() == null ? other.getMonvol65() == null : this.getMonvol65().equals(other.getMonvol65())) |
| | | && (this.getMonvol66() == null ? other.getMonvol66() == null : this.getMonvol66().equals(other.getMonvol66())) |
| | | && (this.getMonvol67() == null ? other.getMonvol67() == null : this.getMonvol67().equals(other.getMonvol67())) |
| | | && (this.getMonvol68() == null ? other.getMonvol68() == null : this.getMonvol68().equals(other.getMonvol68())) |
| | | && (this.getMonvol69() == null ? other.getMonvol69() == null : this.getMonvol69().equals(other.getMonvol69())) |
| | | && (this.getMonvol70() == null ? other.getMonvol70() == null : this.getMonvol70().equals(other.getMonvol70())) |
| | | && (this.getMonvol71() == null ? other.getMonvol71() == null : this.getMonvol71().equals(other.getMonvol71())) |
| | | && (this.getMonvol72() == null ? other.getMonvol72() == null : this.getMonvol72().equals(other.getMonvol72())) |
| | | && (this.getMonvol73() == null ? other.getMonvol73() == null : this.getMonvol73().equals(other.getMonvol73())) |
| | | && (this.getMonvol74() == null ? other.getMonvol74() == null : this.getMonvol74().equals(other.getMonvol74())) |
| | | && (this.getMonvol75() == null ? other.getMonvol75() == null : this.getMonvol75().equals(other.getMonvol75())) |
| | | && (this.getMonvol76() == null ? other.getMonvol76() == null : this.getMonvol76().equals(other.getMonvol76())) |
| | | && (this.getMonvol77() == null ? other.getMonvol77() == null : this.getMonvol77().equals(other.getMonvol77())) |
| | | && (this.getMonvol78() == null ? other.getMonvol78() == null : this.getMonvol78().equals(other.getMonvol78())) |
| | | && (this.getMonvol79() == null ? other.getMonvol79() == null : this.getMonvol79().equals(other.getMonvol79())) |
| | | && (this.getMonvol80() == null ? other.getMonvol80() == null : this.getMonvol80().equals(other.getMonvol80())) |
| | | && (this.getMonvol81() == null ? other.getMonvol81() == null : this.getMonvol81().equals(other.getMonvol81())) |
| | | && (this.getMonvol82() == null ? other.getMonvol82() == null : this.getMonvol82().equals(other.getMonvol82())) |
| | | && (this.getMonvol83() == null ? other.getMonvol83() == null : this.getMonvol83().equals(other.getMonvol83())) |
| | | && (this.getMonvol84() == null ? other.getMonvol84() == null : this.getMonvol84().equals(other.getMonvol84())); |
| | | } |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | final int prime = 31; |
| | | int result = 1; |
| | | result = prime * result + ((getNum() == null) ? 0 : getNum().hashCode()); |
| | | result = prime * result + ((getBattgroupid() == null) ? 0 : getBattgroupid().hashCode()); |
| | | result = prime * result + ((getRecordtime() == null) ? 0 : getRecordtime().hashCode()); |
| | | result = prime * result + ((getGroupcurrent() == null) ? 0 : getGroupcurrent().hashCode()); |
| | | result = prime * result + ((getBattstate() == null) ? 0 : getBattstate().hashCode()); |
| | | result = prime * result + ((getMonvol1() == null) ? 0 : getMonvol1().hashCode()); |
| | | result = prime * result + ((getMonvol2() == null) ? 0 : getMonvol2().hashCode()); |
| | | result = prime * result + ((getMonvol3() == null) ? 0 : getMonvol3().hashCode()); |
| | | result = prime * result + ((getMonvol4() == null) ? 0 : getMonvol4().hashCode()); |
| | | result = prime * result + ((getMonvol5() == null) ? 0 : getMonvol5().hashCode()); |
| | | result = prime * result + ((getMonvol6() == null) ? 0 : getMonvol6().hashCode()); |
| | | result = prime * result + ((getMonvol7() == null) ? 0 : getMonvol7().hashCode()); |
| | | result = prime * result + ((getMonvol8() == null) ? 0 : getMonvol8().hashCode()); |
| | | result = prime * result + ((getMonvol9() == null) ? 0 : getMonvol9().hashCode()); |
| | | result = prime * result + ((getMonvol10() == null) ? 0 : getMonvol10().hashCode()); |
| | | result = prime * result + ((getMonvol11() == null) ? 0 : getMonvol11().hashCode()); |
| | | result = prime * result + ((getMonvol12() == null) ? 0 : getMonvol12().hashCode()); |
| | | result = prime * result + ((getMonvol13() == null) ? 0 : getMonvol13().hashCode()); |
| | | result = prime * result + ((getMonvol14() == null) ? 0 : getMonvol14().hashCode()); |
| | | result = prime * result + ((getMonvol15() == null) ? 0 : getMonvol15().hashCode()); |
| | | result = prime * result + ((getMonvol16() == null) ? 0 : getMonvol16().hashCode()); |
| | | result = prime * result + ((getMonvol17() == null) ? 0 : getMonvol17().hashCode()); |
| | | result = prime * result + ((getMonvol18() == null) ? 0 : getMonvol18().hashCode()); |
| | | result = prime * result + ((getMonvol19() == null) ? 0 : getMonvol19().hashCode()); |
| | | result = prime * result + ((getMonvol20() == null) ? 0 : getMonvol20().hashCode()); |
| | | result = prime * result + ((getMonvol21() == null) ? 0 : getMonvol21().hashCode()); |
| | | result = prime * result + ((getMonvol22() == null) ? 0 : getMonvol22().hashCode()); |
| | | result = prime * result + ((getMonvol23() == null) ? 0 : getMonvol23().hashCode()); |
| | | result = prime * result + ((getMonvol24() == null) ? 0 : getMonvol24().hashCode()); |
| | | result = prime * result + ((getMonvol25() == null) ? 0 : getMonvol25().hashCode()); |
| | | result = prime * result + ((getMonvol26() == null) ? 0 : getMonvol26().hashCode()); |
| | | result = prime * result + ((getMonvol27() == null) ? 0 : getMonvol27().hashCode()); |
| | | result = prime * result + ((getMonvol28() == null) ? 0 : getMonvol28().hashCode()); |
| | | result = prime * result + ((getMonvol29() == null) ? 0 : getMonvol29().hashCode()); |
| | | result = prime * result + ((getMonvol30() == null) ? 0 : getMonvol30().hashCode()); |
| | | result = prime * result + ((getMonvol31() == null) ? 0 : getMonvol31().hashCode()); |
| | | result = prime * result + ((getMonvol32() == null) ? 0 : getMonvol32().hashCode()); |
| | | result = prime * result + ((getMonvol33() == null) ? 0 : getMonvol33().hashCode()); |
| | | result = prime * result + ((getMonvol34() == null) ? 0 : getMonvol34().hashCode()); |
| | | result = prime * result + ((getMonvol35() == null) ? 0 : getMonvol35().hashCode()); |
| | | result = prime * result + ((getMonvol36() == null) ? 0 : getMonvol36().hashCode()); |
| | | result = prime * result + ((getMonvol37() == null) ? 0 : getMonvol37().hashCode()); |
| | | result = prime * result + ((getMonvol38() == null) ? 0 : getMonvol38().hashCode()); |
| | | result = prime * result + ((getMonvol39() == null) ? 0 : getMonvol39().hashCode()); |
| | | result = prime * result + ((getMonvol40() == null) ? 0 : getMonvol40().hashCode()); |
| | | result = prime * result + ((getMonvol41() == null) ? 0 : getMonvol41().hashCode()); |
| | | result = prime * result + ((getMonvol42() == null) ? 0 : getMonvol42().hashCode()); |
| | | result = prime * result + ((getMonvol43() == null) ? 0 : getMonvol43().hashCode()); |
| | | result = prime * result + ((getMonvol44() == null) ? 0 : getMonvol44().hashCode()); |
| | | result = prime * result + ((getMonvol45() == null) ? 0 : getMonvol45().hashCode()); |
| | | result = prime * result + ((getMonvol46() == null) ? 0 : getMonvol46().hashCode()); |
| | | result = prime * result + ((getMonvol47() == null) ? 0 : getMonvol47().hashCode()); |
| | | result = prime * result + ((getMonvol48() == null) ? 0 : getMonvol48().hashCode()); |
| | | result = prime * result + ((getMonvol49() == null) ? 0 : getMonvol49().hashCode()); |
| | | result = prime * result + ((getMonvol50() == null) ? 0 : getMonvol50().hashCode()); |
| | | result = prime * result + ((getMonvol51() == null) ? 0 : getMonvol51().hashCode()); |
| | | result = prime * result + ((getMonvol52() == null) ? 0 : getMonvol52().hashCode()); |
| | | result = prime * result + ((getMonvol53() == null) ? 0 : getMonvol53().hashCode()); |
| | | result = prime * result + ((getMonvol54() == null) ? 0 : getMonvol54().hashCode()); |
| | | result = prime * result + ((getMonvol55() == null) ? 0 : getMonvol55().hashCode()); |
| | | result = prime * result + ((getMonvol56() == null) ? 0 : getMonvol56().hashCode()); |
| | | result = prime * result + ((getMonvol57() == null) ? 0 : getMonvol57().hashCode()); |
| | | result = prime * result + ((getMonvol58() == null) ? 0 : getMonvol58().hashCode()); |
| | | result = prime * result + ((getMonvol59() == null) ? 0 : getMonvol59().hashCode()); |
| | | result = prime * result + ((getMonvol60() == null) ? 0 : getMonvol60().hashCode()); |
| | | result = prime * result + ((getMonvol61() == null) ? 0 : getMonvol61().hashCode()); |
| | | result = prime * result + ((getMonvol62() == null) ? 0 : getMonvol62().hashCode()); |
| | | result = prime * result + ((getMonvol63() == null) ? 0 : getMonvol63().hashCode()); |
| | | result = prime * result + ((getMonvol64() == null) ? 0 : getMonvol64().hashCode()); |
| | | result = prime * result + ((getMonvol65() == null) ? 0 : getMonvol65().hashCode()); |
| | | result = prime * result + ((getMonvol66() == null) ? 0 : getMonvol66().hashCode()); |
| | | result = prime * result + ((getMonvol67() == null) ? 0 : getMonvol67().hashCode()); |
| | | result = prime * result + ((getMonvol68() == null) ? 0 : getMonvol68().hashCode()); |
| | | result = prime * result + ((getMonvol69() == null) ? 0 : getMonvol69().hashCode()); |
| | | result = prime * result + ((getMonvol70() == null) ? 0 : getMonvol70().hashCode()); |
| | | result = prime * result + ((getMonvol71() == null) ? 0 : getMonvol71().hashCode()); |
| | | result = prime * result + ((getMonvol72() == null) ? 0 : getMonvol72().hashCode()); |
| | | result = prime * result + ((getMonvol73() == null) ? 0 : getMonvol73().hashCode()); |
| | | result = prime * result + ((getMonvol74() == null) ? 0 : getMonvol74().hashCode()); |
| | | result = prime * result + ((getMonvol75() == null) ? 0 : getMonvol75().hashCode()); |
| | | result = prime * result + ((getMonvol76() == null) ? 0 : getMonvol76().hashCode()); |
| | | result = prime * result + ((getMonvol77() == null) ? 0 : getMonvol77().hashCode()); |
| | | result = prime * result + ((getMonvol78() == null) ? 0 : getMonvol78().hashCode()); |
| | | result = prime * result + ((getMonvol79() == null) ? 0 : getMonvol79().hashCode()); |
| | | result = prime * result + ((getMonvol80() == null) ? 0 : getMonvol80().hashCode()); |
| | | result = prime * result + ((getMonvol81() == null) ? 0 : getMonvol81().hashCode()); |
| | | result = prime * result + ((getMonvol82() == null) ? 0 : getMonvol82().hashCode()); |
| | | result = prime * result + ((getMonvol83() == null) ? 0 : getMonvol83().hashCode()); |
| | | result = prime * result + ((getMonvol84() == null) ? 0 : getMonvol84().hashCode()); |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | StringBuilder sb = new StringBuilder(); |
| | | sb.append(getClass().getSimpleName()); |
| | | sb.append(" ["); |
| | | sb.append("Hash = ").append(hashCode()); |
| | | sb.append(", num=").append(num); |
| | | sb.append(", battgroupid=").append(battgroupid); |
| | | sb.append(", recordtime=").append(recordtime); |
| | | sb.append(", groupcurrent=").append(groupcurrent); |
| | | sb.append(", battstate=").append(battstate); |
| | | sb.append(", monvol1=").append(monvol1); |
| | | sb.append(", monvol2=").append(monvol2); |
| | | sb.append(", monvol3=").append(monvol3); |
| | | sb.append(", monvol4=").append(monvol4); |
| | | sb.append(", monvol5=").append(monvol5); |
| | | sb.append(", monvol6=").append(monvol6); |
| | | sb.append(", monvol7=").append(monvol7); |
| | | sb.append(", monvol8=").append(monvol8); |
| | | sb.append(", monvol9=").append(monvol9); |
| | | sb.append(", monvol10=").append(monvol10); |
| | | sb.append(", monvol11=").append(monvol11); |
| | | sb.append(", monvol12=").append(monvol12); |
| | | sb.append(", monvol13=").append(monvol13); |
| | | sb.append(", monvol14=").append(monvol14); |
| | | sb.append(", monvol15=").append(monvol15); |
| | | sb.append(", monvol16=").append(monvol16); |
| | | sb.append(", monvol17=").append(monvol17); |
| | | sb.append(", monvol18=").append(monvol18); |
| | | sb.append(", monvol19=").append(monvol19); |
| | | sb.append(", monvol20=").append(monvol20); |
| | | sb.append(", monvol21=").append(monvol21); |
| | | sb.append(", monvol22=").append(monvol22); |
| | | sb.append(", monvol23=").append(monvol23); |
| | | sb.append(", monvol24=").append(monvol24); |
| | | sb.append(", monvol25=").append(monvol25); |
| | | sb.append(", monvol26=").append(monvol26); |
| | | sb.append(", monvol27=").append(monvol27); |
| | | sb.append(", monvol28=").append(monvol28); |
| | | sb.append(", monvol29=").append(monvol29); |
| | | sb.append(", monvol30=").append(monvol30); |
| | | sb.append(", monvol31=").append(monvol31); |
| | | sb.append(", monvol32=").append(monvol32); |
| | | sb.append(", monvol33=").append(monvol33); |
| | | sb.append(", monvol34=").append(monvol34); |
| | | sb.append(", monvol35=").append(monvol35); |
| | | sb.append(", monvol36=").append(monvol36); |
| | | sb.append(", monvol37=").append(monvol37); |
| | | sb.append(", monvol38=").append(monvol38); |
| | | sb.append(", monvol39=").append(monvol39); |
| | | sb.append(", monvol40=").append(monvol40); |
| | | sb.append(", monvol41=").append(monvol41); |
| | | sb.append(", monvol42=").append(monvol42); |
| | | sb.append(", monvol43=").append(monvol43); |
| | | sb.append(", monvol44=").append(monvol44); |
| | | sb.append(", monvol45=").append(monvol45); |
| | | sb.append(", monvol46=").append(monvol46); |
| | | sb.append(", monvol47=").append(monvol47); |
| | | sb.append(", monvol48=").append(monvol48); |
| | | sb.append(", monvol49=").append(monvol49); |
| | | sb.append(", monvol50=").append(monvol50); |
| | | sb.append(", monvol51=").append(monvol51); |
| | | sb.append(", monvol52=").append(monvol52); |
| | | sb.append(", monvol53=").append(monvol53); |
| | | sb.append(", monvol54=").append(monvol54); |
| | | sb.append(", monvol55=").append(monvol55); |
| | | sb.append(", monvol56=").append(monvol56); |
| | | sb.append(", monvol57=").append(monvol57); |
| | | sb.append(", monvol58=").append(monvol58); |
| | | sb.append(", monvol59=").append(monvol59); |
| | | sb.append(", monvol60=").append(monvol60); |
| | | sb.append(", monvol61=").append(monvol61); |
| | | sb.append(", monvol62=").append(monvol62); |
| | | sb.append(", monvol63=").append(monvol63); |
| | | sb.append(", monvol64=").append(monvol64); |
| | | sb.append(", monvol65=").append(monvol65); |
| | | sb.append(", monvol66=").append(monvol66); |
| | | sb.append(", monvol67=").append(monvol67); |
| | | sb.append(", monvol68=").append(monvol68); |
| | | sb.append(", monvol69=").append(monvol69); |
| | | sb.append(", monvol70=").append(monvol70); |
| | | sb.append(", monvol71=").append(monvol71); |
| | | sb.append(", monvol72=").append(monvol72); |
| | | sb.append(", monvol73=").append(monvol73); |
| | | sb.append(", monvol74=").append(monvol74); |
| | | sb.append(", monvol75=").append(monvol75); |
| | | sb.append(", monvol76=").append(monvol76); |
| | | sb.append(", monvol77=").append(monvol77); |
| | | sb.append(", monvol78=").append(monvol78); |
| | | sb.append(", monvol79=").append(monvol79); |
| | | sb.append(", monvol80=").append(monvol80); |
| | | sb.append(", monvol81=").append(monvol81); |
| | | sb.append(", monvol82=").append(monvol82); |
| | | sb.append(", monvol83=").append(monvol83); |
| | | sb.append(", monvol84=").append(monvol84); |
| | | sb.append(", serialVersionUID=").append(serialVersionUID); |
| | | sb.append("]"); |
| | | return sb.toString(); |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.bean; |
| | | |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Repository |
| | | public class User { |
| | | private Integer id; |
| | | private String name; |
| | | private String address; |
| | | private String mobile; |
| | | private String email; |
| | | private Date createTime; |
| | | private Integer role; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | 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 getMobile() { |
| | | return mobile; |
| | | } |
| | | |
| | | public void setMobile(String mobile) { |
| | | this.mobile = mobile; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getRole() { |
| | | return role; |
| | | } |
| | | |
| | | public void setRole(Integer role) { |
| | | this.role = role; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "User{" + |
| | | "id=" + id + |
| | | ", name='" + name + '\'' + |
| | | ", address='" + address + '\'' + |
| | | ", mobile='" + mobile + '\'' + |
| | | ", email='" + email + '\'' + |
| | | ", createTime=" + createTime + |
| | | ", role=" + role + |
| | | '}'; |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.controller; |
| | | |
| | | import com.yckj.bean.Result; |
| | | import com.yckj.bean.TbBattdataRt; |
| | | import com.yckj.service.TbBattdataRtService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | import java.util.logging.Logger; |
| | | |
| | | /*** |
| | | * |
| | | */ |
| | | @Controller |
| | | @RequestMapping(value = "/TbBattdataRt", method = RequestMethod.POST) |
| | | public class TbBattdataRtController { |
| | | private static final Logger logger = Logger.getLogger(String.valueOf(TbBattdataRtController.class)); |
| | | |
| | | @Autowired |
| | | private TbBattdataRtService tbBattdataRtParamService; |
| | | |
| | | @RequestMapping(value = "/selectByPrimaryKey.action") |
| | | @ResponseBody |
| | | public Result<TbBattdataRt> selectByPrimaryKey(Long num) { |
| | | // http://localhost:8089/tbBattsysParam/selectByPrimaryKey.action?num=2 |
| | | TbBattdataRt tbBattdataRt = tbBattdataRtParamService.selectByPrimaryKey(num); |
| | | |
| | | return Result.success(tbBattdataRt); |
| | | } |
| | | |
| | | @RequestMapping(value = "/queryAll.action") |
| | | @ResponseBody |
| | | public Result queryAll() { |
| | | List<TbBattdataRt> tbBattdataRts = tbBattdataRtParamService.queryAll(); |
| | | for (int i = 0; i < tbBattdataRts.size(); i++) { |
| | | System.out.println("tbBattdataRts = " + tbBattdataRts.get(i).toString()); |
| | | } |
| | | return Result.success(tbBattdataRts); |
| | | } |
| | | |
| | | @RequestMapping(value = "/updateByPrimaryKey.action") |
| | | @ResponseBody |
| | | public Result updateByPrimaryKey(Long num) { |
| | | tbBattdataRtParamService.updateByPrimaryKey(num); |
| | | return Result.success("更新成功"); |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.controller; |
| | | |
| | | import com.yckj.bean.Result; |
| | | import com.yckj.bean.TbBattsysParam; |
| | | import com.yckj.bean.User; |
| | | import com.yckj.service.TbBattsysParamService; |
| | | import com.yckj.service.UserService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | import java.util.logging.Logger; |
| | | |
| | | /*** |
| | | * |
| | | */ |
| | | @Controller |
| | | @RequestMapping(value = "/tbBattsysParam", method = RequestMethod.POST) |
| | | public class TbBattsysParamController { |
| | | private static final Logger logger = Logger.getLogger(String.valueOf(TbBattsysParamController.class)); |
| | | |
| | | @Autowired |
| | | private TbBattsysParamService tbBattsysParamService; |
| | | |
| | | |
| | | // @RequestMapping(value = "/bean.action", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") |
| | | @RequestMapping(value = "/selectByPrimaryKey.action") |
| | | @ResponseBody |
| | | public Result<TbBattsysParam> selectByPrimaryKey(Long num) { |
| | | // http://localhost:8089/tbBattsysParam/selectByPrimaryKey.action?num=2 |
| | | TbBattsysParam tbBattsysParam = tbBattsysParamService.selectByPrimaryKey(num); |
| | | System.out.println(tbBattsysParam); |
| | | return Result.success(tbBattsysParam); |
| | | } |
| | | |
| | | @RequestMapping(value = "/queryAll.action") |
| | | @ResponseBody |
| | | public Result<List> queryAll() { |
| | | List<TbBattsysParam> tbBattsysParams = tbBattsysParamService.queryAll(); |
| | | System.out.println(tbBattsysParams); |
| | | return Result.success(tbBattsysParams); |
| | | } |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.yckj.controller; |
| | | |
| | | import com.yckj.bean.CodeMsg; |
| | | import com.yckj.bean.Result; |
| | | import com.yckj.bean.User; |
| | | import com.yckj.service.UserService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | import java.util.logging.Logger; |
| | | |
| | | /*** |
| | | * |
| | | */ |
| | | @Controller |
| | | @RequestMapping(value = "/test", method = RequestMethod.POST) |
| | | public class UserController { |
| | | private static final Logger logger = Logger.getLogger(String.valueOf(UserController.class)); |
| | | |
| | | @Autowired |
| | | private UserService userService; |
| | | |
| | | |
| | | // @RequestMapping(value = "/bean.action", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") |
| | | @RequestMapping(value = "/getUser.action", produces = "application/json;charset=UTF-8") |
| | | @ResponseBody |
| | | public Result<User> getUser(@NotNull Integer userId) { |
| | | // http://localhost/test/getUser.action?userId=2 |
| | | User user = userService.getById(userId); |
| | | System.out.println(user); |
| | | Result<User> success = Result.success(user); |
| | | return success; |
| | | } |
| | | |
| | | @RequestMapping(value = "/getRequestBody.action", produces = "application/json;charset=UTF-8") |
| | | @ResponseBody |
| | | public User getRequestBody(@RequestBody @NotNull Integer userId) { |
| | | // http://localhost/test/getUser.action?userId=2 |
| | | System.out.println("userId -----------------" + userId); |
| | | |
| | | User user = userService.getById(userId); |
| | | // User user = userService.getById(1); |
| | | // User user = new User(); |
| | | // user.setAddress("address"); |
| | | // user.setCreateTime(new Date()); |
| | | // user.setName("jack"); |
| | | System.out.println(user); |
| | | return user; |
| | | } |
| | | |
| | | @RequestMapping(value = "/init.action", produces = "application/json;charset=UTF-8") |
| | | @ResponseBody |
| | | public Result init() { |
| | | User user = new User(); |
| | | user.setAddress("address"); |
| | | user.setCreateTime(new Date()); |
| | | user.setName("jack"); |
| | | Result<Object> error = Result.error(CodeMsg.ERROR); |
| | | int i = 3; |
| | | if (1 > i) { |
| | | error.setMessage("1 > 3不成立"); |
| | | return error; |
| | | } else { |
| | | return Result.success(user); |
| | | } |
| | | } |
| | | |
| | | @RequestMapping(value = "/initfail.action", produces = "application/json;charset=UTF-8") |
| | | @ResponseBody |
| | | public Result initfail() { |
| | | User user = new User(); |
| | | user.setAddress("address"); |
| | | user.setCreateTime(new Date()); |
| | | user.setName("jack"); |
| | | try { |
| | | int num = 1 / 0; |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | Result<Object> error = Result.error(CodeMsg.ERROR); |
| | | error.setMessage(e.getMessage()); |
| | | return error; |
| | | } finally { |
| | | System.out.println("user = " + user); |
| | | } |
| | | return Result.success(user); |
| | | |
| | | } |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.yckj.dao; |
| | | |
| | | import com.yckj.bean.TbBattdataRt; |
| | | import com.yckj.bean.TbBattdataRtExample; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | @Repository |
| | | @Mapper |
| | | public interface TbBattdataRtDao { |
| | | long countByExample(TbBattdataRtExample example); |
| | | |
| | | int deleteByExample(TbBattdataRtExample example); |
| | | |
| | | int deleteByPrimaryKey(Long num); |
| | | |
| | | int insert(TbBattdataRt record); |
| | | |
| | | int insertSelective(TbBattdataRt record); |
| | | |
| | | List<TbBattdataRt> selectByExample(TbBattdataRtExample example); |
| | | |
| | | TbBattdataRt selectByPrimaryKey(Long num); |
| | | |
| | | int updateByExampleSelective(@Param("record") TbBattdataRt record, @Param("example") TbBattdataRtExample example); |
| | | |
| | | int updateByExample(@Param("record") TbBattdataRt record, @Param("example") TbBattdataRtExample example); |
| | | |
| | | int updateByPrimaryKeySelective(TbBattdataRt record); |
| | | |
| | | int updateByPrimaryKey(TbBattdataRt record); |
| | | } |
New file |
| | |
| | | package com.yckj.dao; |
| | | |
| | | import com.yckj.bean.TbBattsysParam; |
| | | import com.yckj.bean.TbBattsysParamExample; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | @Repository |
| | | @Mapper |
| | | public interface TbBattsysParamDao { |
| | | long countByExample(TbBattsysParamExample example); |
| | | |
| | | int deleteByExample(TbBattsysParamExample example); |
| | | |
| | | int deleteByPrimaryKey(Long num); |
| | | |
| | | int insert(TbBattsysParam record); |
| | | |
| | | int insertSelective(TbBattsysParam record); |
| | | |
| | | List<TbBattsysParam> selectByExample(TbBattsysParamExample example); |
| | | |
| | | TbBattsysParam selectByPrimaryKey(Long num); |
| | | |
| | | int updateByExampleSelective(@Param("record") TbBattsysParam record, @Param("example") TbBattsysParamExample example); |
| | | |
| | | int updateByExample(@Param("record") TbBattsysParam record, @Param("example") TbBattsysParamExample example); |
| | | |
| | | int updateByPrimaryKeySelective(TbBattsysParam record); |
| | | |
| | | int updateByPrimaryKey(TbBattsysParam record); |
| | | List<TbBattsysParam> queryAll(); |
| | | } |
New file |
| | |
| | | package com.yckj.dao; |
| | | |
| | | import com.yckj.bean.User; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Repository |
| | | @Mapper |
| | | public interface UserDao { |
| | | |
| | | List<User> getByMap(Map<String, Object> map); |
| | | |
| | | User getById(Integer id); |
| | | |
| | | Integer create(User user); |
| | | |
| | | int update(User user); |
| | | |
| | | int delete(Integer id); |
| | | } |
New file |
| | |
| | | package com.yckj.service; |
| | | |
| | | import com.yckj.bean.TbBattdataRt; |
| | | import com.yckj.bean.User; |
| | | import com.yckj.dao.TbBattdataRtDao; |
| | | import com.yckj.dao.UserDao; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | public class TbBattdataRtService { |
| | | @Resource |
| | | private TbBattdataRtDao bBattdataRtDao; |
| | | |
| | | public List<TbBattdataRt> queryAll() { |
| | | return bBattdataRtDao.selectByExample(null); |
| | | } |
| | | |
| | | public TbBattdataRt selectByPrimaryKey(Long num) { |
| | | return bBattdataRtDao.selectByPrimaryKey(num); |
| | | } |
| | | |
| | | public void updateByPrimaryKey(Long num) { |
| | | TbBattdataRt tbBattdataRt = new TbBattdataRt(); |
| | | bBattdataRtDao.updateByPrimaryKey(tbBattdataRt); |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | package com.yckj.service; |
| | | |
| | | import com.yckj.bean.TbBattsysParam; |
| | | import com.yckj.bean.TbBattsysParamExample; |
| | | import com.yckj.dao.TbBattsysParamDao; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | public class TbBattsysParamService { |
| | | @Autowired |
| | | private TbBattsysParamDao tbBattsysParamDao; |
| | | |
| | | public TbBattsysParam selectByPrimaryKey(Long num) { |
| | | return tbBattsysParamDao.selectByPrimaryKey(num); |
| | | } |
| | | |
| | | public List<TbBattsysParam> queryAll() { |
| | | TbBattsysParamExample tbBattsysParamExample = new TbBattsysParamExample(); |
| | | List<TbBattsysParam> tbBattsysParams = tbBattsysParamDao.selectByExample(null); |
| | | return tbBattsysParams; |
| | | |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.yckj.service; |
| | | |
| | | import com.yckj.bean.User; |
| | | import com.yckj.dao.UserDao; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | public class UserService { |
| | | @Resource |
| | | private UserDao userDao; |
| | | |
| | | public List<User> getByMap(Map<String,Object> map){ |
| | | return userDao.getByMap(map); |
| | | } |
| | | |
| | | public User getById(Integer id){ |
| | | return userDao.getById(id); |
| | | } |
| | | |
| | | public User create(User user){ |
| | | userDao.create(user); |
| | | return user; |
| | | } |
| | | |
| | | public User update(User user){ |
| | | userDao.update(user); |
| | | return user; |
| | | } |
| | | |
| | | public int delete(Integer id){ |
| | | return userDao.delete(id); |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.yckj.utils; |
| | | |
| | | import javax.servlet.*; |
| | | import javax.servlet.annotation.WebFilter; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | |
| | | /** |
| | | * @Description : |
| | | * @date 2020/09/11 |
| | | **/ |
| | | @WebFilter(filterName = "FirstFilter",urlPatterns = "/*") |
| | | public class CrossDomainFilter implements Filter { |
| | | |
| | | |
| | | @Override |
| | | public void init(FilterConfig filterConfig) throws ServletException { |
| | | System.out.println("执行了过滤器CrossDomainFilter"); |
| | | } |
| | | |
| | | @Override |
| | | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { |
| | | HttpServletResponse resp= (HttpServletResponse) response; |
| | | HttpServletRequest req= (HttpServletRequest) request; |
| | | String origin = req.getHeader("Origin"); |
| | | // String origin = "http://localhost:8080"; |
| | | resp.setHeader("Access-Control-Allow-Origin", origin); |
| | | resp.setHeader("Access-Control-Allow-Headers", "X-Requested-With,content-type,token"); |
| | | resp.setHeader("Access-Control-Allow-Methods", "GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, PATCH"); |
| | | resp.setHeader("Access-Control-Allow-Credentials", "true"); |
| | | |
| | | chain.doFilter(request, resp); |
| | | } |
| | | |
| | | @Override |
| | | public void destroy() { |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | { |
| | | "properties": [ |
| | | { |
| | | "name": "server.session-timeout", |
| | | "type": "java.lang.String", |
| | | "description": "Description for server.session-timeout." |
| | | }, |
| | | { |
| | | "name": "spring.datasource.min-idle", |
| | | "type": "java.lang.String", |
| | | "description": "Description for spring.datasource.min-idle." |
| | | } |
| | | ] } |
New file |
| | |
| | | ## tomcat\u914D\u7F6E |
| | | server.port=8089 |
| | | #server.tomcat.maxHttpHeaderSize=8192 |
| | | server.tomcat.uri-encoding=UTF-8 |
| | | #spring.http.encoding.charset=UTF-8 |
| | | #spring.http.encoding.enabled=true |
| | | #spring.http.encoding.force=true |
| | | spring.risk.encoding=UTF-8 |
| | | # tomcat\u6700\u5927\u7EBF\u7A0B\u6570\uFF0C\u9ED8\u8BA4\u4E3A200 |
| | | #server.tomcat.max-threads=800 |
| | | server.tomcat.threads.max=800 |
| | | # session\u6700\u5927\u8D85\u65F6\u65F6\u95F4(\u5206\u949F)\uFF0C\u9ED8\u8BA4\u4E3A30 |
| | | server.session-timeout=60 |
| | | |
| | | ## spring \u914D\u7F6E |
| | | spring.application.name=springboot-mybatis2 |
| | | application.main=com.yckj.Application |
| | | |
| | | ## LOG |
| | | logging.file.name=./logs/springboot-mybatis2.log |
| | | |
| | | |
| | | ## \u4E3B\u6570\u636E\u6E90\uFF0C\u9ED8\u8BA4\u7684 |
| | | spring.datasource.url=jdbc:mysql://192.168.10.168:3306/db_batt_data?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false |
| | | spring.datasource.username=root |
| | | spring.datasource.password=root |
| | | spring.datasource.driverClassName=com.mysql.jdbc.Driver |
| | | |
| | | spring.datasource.type=com.zaxxer.hikari.HikariDataSource |
| | | #\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5 |
| | | spring.datasource.min-idle=5 |
| | | #\u6700\u5927\u8FDE\u63A5\u6570\u91CF |
| | | spring.datasource.max-active=100 |
| | | #\u68C0\u6D4B\u6570\u636E\u5E93\u7684\u67E5\u8BE2\u8BED\u53E5 |
| | | spring.datasource.validation-query=select 1 from dual |
| | | #\u7B49\u5F85\u8FDE\u63A5\u6C60\u5206\u914D\u8FDE\u63A5\u7684\u6700\u5927\u65F6\u957F\uFF08\u6BEB\u79D2\uFF09 |
| | | spring.datasource.connection-timeout=60000 |
| | | #\u4E00\u4E2A\u8FDE\u63A5\u7684\u751F\u547D\u65F6\u957F\uFF08\u6BEB\u79D2\uFF09 |
| | | spring.datasource.max-left-time=60000 |
| | | #\u751F\u6548\u8D85\u65F6 |
| | | spring.datasource.validation-time-out=3000 |
| | | #\u4E00\u4E2A\u8FDE\u63A5idle\u72B6\u6001\u7684\u6700\u5927\u65F6\u957F\uFF08\u6BEB\u79D2\uFF09 |
| | | spring.datasource.idle-time-out=60000 |
| | | #\u8BBE\u7F6E\u9ED8\u8BA4\u5B57\u7B26\u96C6 |
| | | spring.datasource.connection-init-sql= set names utf8mb4 |
| | | |
| | | logging.level.com.yckj.dao=debug |
| | | #Mapper.xml\u6240\u5728\u7684\u4F4D\u7F6E |
| | | mybatis.mapper-locations=classpath*:mapper/*.xml |
| | | #smybatis.type-aliases-package=cn.abel.bean |
| | | #Mapper.xml\u6240\u5728\u7684\u4F4D\u7F6E |
| | | |
| | | ## pagehelper |
| | | pagehelper.helperDialect=mysql |
| | | pagehelper.reasonable=true |
| | | pagehelper.supportMethodsArguments=true |
| | | pagehelper.params=count=countSql |
| | | |
| | | |
New file |
| | |
| | | ######################################################## |
| | | # # |
| | | # local # |
| | | # # |
| | | ######################################################## |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <configuration> |
| | | <contextName>abel_user</contextName> |
| | | |
| | | <!-- 控制台输入日志信息 --> |
| | | <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> |
| | | <encoder> |
| | | <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}.%method - %msg%n</pattern> |
| | | </encoder> |
| | | </appender> |
| | | |
| | | <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
| | | <!-- 当日日志归档文件 --> |
| | | <file>${LOG_FILE}</file> |
| | | <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
| | | <!--过期日志转存的文件名格式 --> |
| | | <FileNamePattern>${LOG_FILE}.%d{yyyy-MM-dd}</FileNamePattern> |
| | | <!-- 日志保留天数 --> |
| | | <MaxHistory>60</MaxHistory> |
| | | </rollingPolicy> |
| | | <layout class="ch.qos.logback.classic.PatternLayout"> |
| | | <!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符 --> |
| | | <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36}.%method - %msg%n</Pattern> |
| | | </layout> |
| | | </appender> |
| | | |
| | | <!--<logger name="com.apache.ibatis" level="TRACE"/>--> |
| | | <logger name="com.apache.ibatis" level="DEBUG"/> |
| | | <logger name="java.sql.Connection" level="DEBUG"/> |
| | | <logger name="java.sql.Statement" level="DEBUG"/> |
| | | <logger name="java.sql.PreparedStatement" level="DEBUG"/> |
| | | |
| | | <!-- com.alibaba.dubbo是dubbo服务的包,在info以下的级别会产生大量的启动日志,调成WARN减少日志输出 --> |
| | | <logger name="com.alibaba.dubbo" level="INFO"/> |
| | | |
| | | <root level="INFO"> |
| | | <appender-ref ref="FILE"/> |
| | | <appender-ref ref="CONSOLE"/> |
| | | </root> |
| | | |
| | | </configuration> |
New file |
| | |
| | | log4j.rootLogger=WARN, stdout |
| | | log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| | | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| | | log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.yckj.dao.TbBattdataRtDao"> |
| | | <resultMap id="BaseResultMap" type="com.yckj.bean.TbBattdataRt"> |
| | | <id column="tb_battdata_rt_num" jdbcType="BIGINT" property="num" /> |
| | | <result column="tb_battdata_rt_battGroupId" jdbcType="INTEGER" property="battgroupid" /> |
| | | <result column="tb_battdata_rt_recordTime" jdbcType="TIMESTAMP" property="recordtime" /> |
| | | <result column="tb_battdata_rt_groupCurrent" jdbcType="FLOAT" property="groupcurrent" /> |
| | | <result column="tb_battdata_rt_battState" jdbcType="INTEGER" property="battstate" /> |
| | | <result column="tb_battdata_rt_monVol1" jdbcType="FLOAT" property="monvol1" /> |
| | | <result column="tb_battdata_rt_monVol2" jdbcType="FLOAT" property="monvol2" /> |
| | | <result column="tb_battdata_rt_monVol3" jdbcType="FLOAT" property="monvol3" /> |
| | | <result column="tb_battdata_rt_monVol4" jdbcType="FLOAT" property="monvol4" /> |
| | | <result column="tb_battdata_rt_monVol5" jdbcType="FLOAT" property="monvol5" /> |
| | | <result column="tb_battdata_rt_monVol6" jdbcType="FLOAT" property="monvol6" /> |
| | | <result column="tb_battdata_rt_monVol7" jdbcType="FLOAT" property="monvol7" /> |
| | | <result column="tb_battdata_rt_monVol8" jdbcType="FLOAT" property="monvol8" /> |
| | | <result column="tb_battdata_rt_monVol9" jdbcType="FLOAT" property="monvol9" /> |
| | | <result column="tb_battdata_rt_monVol10" jdbcType="FLOAT" property="monvol10" /> |
| | | <result column="tb_battdata_rt_monVol11" jdbcType="FLOAT" property="monvol11" /> |
| | | <result column="tb_battdata_rt_monVol12" jdbcType="FLOAT" property="monvol12" /> |
| | | <result column="tb_battdata_rt_monVol13" jdbcType="FLOAT" property="monvol13" /> |
| | | <result column="tb_battdata_rt_monVol14" jdbcType="FLOAT" property="monvol14" /> |
| | | <result column="tb_battdata_rt_monVol15" jdbcType="FLOAT" property="monvol15" /> |
| | | <result column="tb_battdata_rt_monVol16" jdbcType="FLOAT" property="monvol16" /> |
| | | <result column="tb_battdata_rt_monVol17" jdbcType="FLOAT" property="monvol17" /> |
| | | <result column="tb_battdata_rt_monVol18" jdbcType="FLOAT" property="monvol18" /> |
| | | <result column="tb_battdata_rt_monVol19" jdbcType="FLOAT" property="monvol19" /> |
| | | <result column="tb_battdata_rt_monVol20" jdbcType="FLOAT" property="monvol20" /> |
| | | <result column="tb_battdata_rt_monVol21" jdbcType="FLOAT" property="monvol21" /> |
| | | <result column="tb_battdata_rt_monVol22" jdbcType="FLOAT" property="monvol22" /> |
| | | <result column="tb_battdata_rt_monVol23" jdbcType="FLOAT" property="monvol23" /> |
| | | <result column="tb_battdata_rt_monVol24" jdbcType="FLOAT" property="monvol24" /> |
| | | <result column="tb_battdata_rt_monVol25" jdbcType="FLOAT" property="monvol25" /> |
| | | <result column="tb_battdata_rt_monVol26" jdbcType="FLOAT" property="monvol26" /> |
| | | <result column="tb_battdata_rt_monVol27" jdbcType="FLOAT" property="monvol27" /> |
| | | <result column="tb_battdata_rt_monVol28" jdbcType="FLOAT" property="monvol28" /> |
| | | <result column="tb_battdata_rt_monVol29" jdbcType="FLOAT" property="monvol29" /> |
| | | <result column="tb_battdata_rt_monVol30" jdbcType="FLOAT" property="monvol30" /> |
| | | <result column="tb_battdata_rt_monVol31" jdbcType="FLOAT" property="monvol31" /> |
| | | <result column="tb_battdata_rt_monVol32" jdbcType="FLOAT" property="monvol32" /> |
| | | <result column="tb_battdata_rt_monVol33" jdbcType="FLOAT" property="monvol33" /> |
| | | <result column="tb_battdata_rt_monVol34" jdbcType="FLOAT" property="monvol34" /> |
| | | <result column="tb_battdata_rt_monVol35" jdbcType="FLOAT" property="monvol35" /> |
| | | <result column="tb_battdata_rt_monVol36" jdbcType="FLOAT" property="monvol36" /> |
| | | <result column="tb_battdata_rt_monVol37" jdbcType="FLOAT" property="monvol37" /> |
| | | <result column="tb_battdata_rt_monVol38" jdbcType="FLOAT" property="monvol38" /> |
| | | <result column="tb_battdata_rt_monVol39" jdbcType="FLOAT" property="monvol39" /> |
| | | <result column="tb_battdata_rt_monVol40" jdbcType="FLOAT" property="monvol40" /> |
| | | <result column="tb_battdata_rt_monVol41" jdbcType="FLOAT" property="monvol41" /> |
| | | <result column="tb_battdata_rt_monVol42" jdbcType="FLOAT" property="monvol42" /> |
| | | <result column="tb_battdata_rt_monVol43" jdbcType="FLOAT" property="monvol43" /> |
| | | <result column="tb_battdata_rt_monVol44" jdbcType="FLOAT" property="monvol44" /> |
| | | <result column="tb_battdata_rt_monVol45" jdbcType="FLOAT" property="monvol45" /> |
| | | <result column="tb_battdata_rt_monVol46" jdbcType="FLOAT" property="monvol46" /> |
| | | <result column="tb_battdata_rt_monVol47" jdbcType="FLOAT" property="monvol47" /> |
| | | <result column="tb_battdata_rt_monVol48" jdbcType="FLOAT" property="monvol48" /> |
| | | <result column="tb_battdata_rt_monVol49" jdbcType="FLOAT" property="monvol49" /> |
| | | <result column="tb_battdata_rt_monVol50" jdbcType="FLOAT" property="monvol50" /> |
| | | <result column="tb_battdata_rt_monVol51" jdbcType="FLOAT" property="monvol51" /> |
| | | <result column="tb_battdata_rt_monVol52" jdbcType="FLOAT" property="monvol52" /> |
| | | <result column="tb_battdata_rt_monVol53" jdbcType="FLOAT" property="monvol53" /> |
| | | <result column="tb_battdata_rt_monVol54" jdbcType="FLOAT" property="monvol54" /> |
| | | <result column="tb_battdata_rt_monVol55" jdbcType="FLOAT" property="monvol55" /> |
| | | <result column="tb_battdata_rt_monVol56" jdbcType="FLOAT" property="monvol56" /> |
| | | <result column="tb_battdata_rt_monVol57" jdbcType="FLOAT" property="monvol57" /> |
| | | <result column="tb_battdata_rt_monVol58" jdbcType="FLOAT" property="monvol58" /> |
| | | <result column="tb_battdata_rt_monVol59" jdbcType="FLOAT" property="monvol59" /> |
| | | <result column="tb_battdata_rt_monVol60" jdbcType="FLOAT" property="monvol60" /> |
| | | <result column="tb_battdata_rt_monVol61" jdbcType="FLOAT" property="monvol61" /> |
| | | <result column="tb_battdata_rt_monVol62" jdbcType="FLOAT" property="monvol62" /> |
| | | <result column="tb_battdata_rt_monVol63" jdbcType="FLOAT" property="monvol63" /> |
| | | <result column="tb_battdata_rt_monVol64" jdbcType="FLOAT" property="monvol64" /> |
| | | <result column="tb_battdata_rt_monVol65" jdbcType="FLOAT" property="monvol65" /> |
| | | <result column="tb_battdata_rt_monVol66" jdbcType="FLOAT" property="monvol66" /> |
| | | <result column="tb_battdata_rt_monVol67" jdbcType="FLOAT" property="monvol67" /> |
| | | <result column="tb_battdata_rt_monVol68" jdbcType="FLOAT" property="monvol68" /> |
| | | <result column="tb_battdata_rt_monVol69" jdbcType="FLOAT" property="monvol69" /> |
| | | <result column="tb_battdata_rt_monVol70" jdbcType="FLOAT" property="monvol70" /> |
| | | <result column="tb_battdata_rt_monVol71" jdbcType="FLOAT" property="monvol71" /> |
| | | <result column="tb_battdata_rt_monVol72" jdbcType="FLOAT" property="monvol72" /> |
| | | <result column="tb_battdata_rt_monVol73" jdbcType="FLOAT" property="monvol73" /> |
| | | <result column="tb_battdata_rt_monVol74" jdbcType="FLOAT" property="monvol74" /> |
| | | <result column="tb_battdata_rt_monVol75" jdbcType="FLOAT" property="monvol75" /> |
| | | <result column="tb_battdata_rt_monVol76" jdbcType="FLOAT" property="monvol76" /> |
| | | <result column="tb_battdata_rt_monVol77" jdbcType="FLOAT" property="monvol77" /> |
| | | <result column="tb_battdata_rt_monVol78" jdbcType="FLOAT" property="monvol78" /> |
| | | <result column="tb_battdata_rt_monVol79" jdbcType="FLOAT" property="monvol79" /> |
| | | <result column="tb_battdata_rt_monVol80" jdbcType="FLOAT" property="monvol80" /> |
| | | <result column="tb_battdata_rt_monVol81" jdbcType="FLOAT" property="monvol81" /> |
| | | <result column="tb_battdata_rt_monVol82" jdbcType="FLOAT" property="monvol82" /> |
| | | <result column="tb_battdata_rt_monVol83" jdbcType="FLOAT" property="monvol83" /> |
| | | <result column="tb_battdata_rt_monVol84" jdbcType="FLOAT" property="monvol84" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | tb_battdata_rt.num as tb_battdata_rt_num, tb_battdata_rt.battGroupId as tb_battdata_rt_battGroupId, |
| | | tb_battdata_rt.recordTime as tb_battdata_rt_recordTime, tb_battdata_rt.groupCurrent as tb_battdata_rt_groupCurrent, |
| | | tb_battdata_rt.battState as tb_battdata_rt_battState, tb_battdata_rt.monVol1 as tb_battdata_rt_monVol1, |
| | | tb_battdata_rt.monVol2 as tb_battdata_rt_monVol2, tb_battdata_rt.monVol3 as tb_battdata_rt_monVol3, |
| | | tb_battdata_rt.monVol4 as tb_battdata_rt_monVol4, tb_battdata_rt.monVol5 as tb_battdata_rt_monVol5, |
| | | tb_battdata_rt.monVol6 as tb_battdata_rt_monVol6, tb_battdata_rt.monVol7 as tb_battdata_rt_monVol7, |
| | | tb_battdata_rt.monVol8 as tb_battdata_rt_monVol8, tb_battdata_rt.monVol9 as tb_battdata_rt_monVol9, |
| | | tb_battdata_rt.monVol10 as tb_battdata_rt_monVol10, tb_battdata_rt.monVol11 as tb_battdata_rt_monVol11, |
| | | tb_battdata_rt.monVol12 as tb_battdata_rt_monVol12, tb_battdata_rt.monVol13 as tb_battdata_rt_monVol13, |
| | | tb_battdata_rt.monVol14 as tb_battdata_rt_monVol14, tb_battdata_rt.monVol15 as tb_battdata_rt_monVol15, |
| | | tb_battdata_rt.monVol16 as tb_battdata_rt_monVol16, tb_battdata_rt.monVol17 as tb_battdata_rt_monVol17, |
| | | tb_battdata_rt.monVol18 as tb_battdata_rt_monVol18, tb_battdata_rt.monVol19 as tb_battdata_rt_monVol19, |
| | | tb_battdata_rt.monVol20 as tb_battdata_rt_monVol20, tb_battdata_rt.monVol21 as tb_battdata_rt_monVol21, |
| | | tb_battdata_rt.monVol22 as tb_battdata_rt_monVol22, tb_battdata_rt.monVol23 as tb_battdata_rt_monVol23, |
| | | tb_battdata_rt.monVol24 as tb_battdata_rt_monVol24, tb_battdata_rt.monVol25 as tb_battdata_rt_monVol25, |
| | | tb_battdata_rt.monVol26 as tb_battdata_rt_monVol26, tb_battdata_rt.monVol27 as tb_battdata_rt_monVol27, |
| | | tb_battdata_rt.monVol28 as tb_battdata_rt_monVol28, tb_battdata_rt.monVol29 as tb_battdata_rt_monVol29, |
| | | tb_battdata_rt.monVol30 as tb_battdata_rt_monVol30, tb_battdata_rt.monVol31 as tb_battdata_rt_monVol31, |
| | | tb_battdata_rt.monVol32 as tb_battdata_rt_monVol32, tb_battdata_rt.monVol33 as tb_battdata_rt_monVol33, |
| | | tb_battdata_rt.monVol34 as tb_battdata_rt_monVol34, tb_battdata_rt.monVol35 as tb_battdata_rt_monVol35, |
| | | tb_battdata_rt.monVol36 as tb_battdata_rt_monVol36, tb_battdata_rt.monVol37 as tb_battdata_rt_monVol37, |
| | | tb_battdata_rt.monVol38 as tb_battdata_rt_monVol38, tb_battdata_rt.monVol39 as tb_battdata_rt_monVol39, |
| | | tb_battdata_rt.monVol40 as tb_battdata_rt_monVol40, tb_battdata_rt.monVol41 as tb_battdata_rt_monVol41, |
| | | tb_battdata_rt.monVol42 as tb_battdata_rt_monVol42, tb_battdata_rt.monVol43 as tb_battdata_rt_monVol43, |
| | | tb_battdata_rt.monVol44 as tb_battdata_rt_monVol44, tb_battdata_rt.monVol45 as tb_battdata_rt_monVol45, |
| | | tb_battdata_rt.monVol46 as tb_battdata_rt_monVol46, tb_battdata_rt.monVol47 as tb_battdata_rt_monVol47, |
| | | tb_battdata_rt.monVol48 as tb_battdata_rt_monVol48, tb_battdata_rt.monVol49 as tb_battdata_rt_monVol49, |
| | | tb_battdata_rt.monVol50 as tb_battdata_rt_monVol50, tb_battdata_rt.monVol51 as tb_battdata_rt_monVol51, |
| | | tb_battdata_rt.monVol52 as tb_battdata_rt_monVol52, tb_battdata_rt.monVol53 as tb_battdata_rt_monVol53, |
| | | tb_battdata_rt.monVol54 as tb_battdata_rt_monVol54, tb_battdata_rt.monVol55 as tb_battdata_rt_monVol55, |
| | | tb_battdata_rt.monVol56 as tb_battdata_rt_monVol56, tb_battdata_rt.monVol57 as tb_battdata_rt_monVol57, |
| | | tb_battdata_rt.monVol58 as tb_battdata_rt_monVol58, tb_battdata_rt.monVol59 as tb_battdata_rt_monVol59, |
| | | tb_battdata_rt.monVol60 as tb_battdata_rt_monVol60, tb_battdata_rt.monVol61 as tb_battdata_rt_monVol61, |
| | | tb_battdata_rt.monVol62 as tb_battdata_rt_monVol62, tb_battdata_rt.monVol63 as tb_battdata_rt_monVol63, |
| | | tb_battdata_rt.monVol64 as tb_battdata_rt_monVol64, tb_battdata_rt.monVol65 as tb_battdata_rt_monVol65, |
| | | tb_battdata_rt.monVol66 as tb_battdata_rt_monVol66, tb_battdata_rt.monVol67 as tb_battdata_rt_monVol67, |
| | | tb_battdata_rt.monVol68 as tb_battdata_rt_monVol68, tb_battdata_rt.monVol69 as tb_battdata_rt_monVol69, |
| | | tb_battdata_rt.monVol70 as tb_battdata_rt_monVol70, tb_battdata_rt.monVol71 as tb_battdata_rt_monVol71, |
| | | tb_battdata_rt.monVol72 as tb_battdata_rt_monVol72, tb_battdata_rt.monVol73 as tb_battdata_rt_monVol73, |
| | | tb_battdata_rt.monVol74 as tb_battdata_rt_monVol74, tb_battdata_rt.monVol75 as tb_battdata_rt_monVol75, |
| | | tb_battdata_rt.monVol76 as tb_battdata_rt_monVol76, tb_battdata_rt.monVol77 as tb_battdata_rt_monVol77, |
| | | tb_battdata_rt.monVol78 as tb_battdata_rt_monVol78, tb_battdata_rt.monVol79 as tb_battdata_rt_monVol79, |
| | | tb_battdata_rt.monVol80 as tb_battdata_rt_monVol80, tb_battdata_rt.monVol81 as tb_battdata_rt_monVol81, |
| | | tb_battdata_rt.monVol82 as tb_battdata_rt_monVol82, tb_battdata_rt.monVol83 as tb_battdata_rt_monVol83, |
| | | tb_battdata_rt.monVol84 as tb_battdata_rt_monVol84 |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.yckj.bean.TbBattdataRtExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | <include refid="Base_Column_List" /> |
| | | from tb_battdata_rt tb_battdata_rt |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from tb_battdata_rt tb_battdata_rt |
| | | where tb_battdata_rt.num = #{num,jdbcType=BIGINT} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| | | delete from tb_battdata_rt |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.yckj.bean.TbBattdataRtExample"> |
| | | delete from tb_battdata_rt tb_battdata_rt |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" keyColumn="num" keyProperty="num" parameterType="com.yckj.bean.TbBattdataRt" useGeneratedKeys="true"> |
| | | insert into tb_battdata_rt (battGroupId, recordTime, groupCurrent, |
| | | battState, monVol1, monVol2, |
| | | monVol3, monVol4, monVol5, |
| | | monVol6, monVol7, monVol8, |
| | | monVol9, monVol10, monVol11, |
| | | monVol12, monVol13, monVol14, |
| | | monVol15, monVol16, monVol17, |
| | | monVol18, monVol19, monVol20, |
| | | monVol21, monVol22, monVol23, |
| | | monVol24, monVol25, monVol26, |
| | | monVol27, monVol28, monVol29, |
| | | monVol30, monVol31, monVol32, |
| | | monVol33, monVol34, monVol35, |
| | | monVol36, monVol37, monVol38, |
| | | monVol39, monVol40, monVol41, |
| | | monVol42, monVol43, monVol44, |
| | | monVol45, monVol46, monVol47, |
| | | monVol48, monVol49, monVol50, |
| | | monVol51, monVol52, monVol53, |
| | | monVol54, monVol55, monVol56, |
| | | monVol57, monVol58, monVol59, |
| | | monVol60, monVol61, monVol62, |
| | | monVol63, monVol64, monVol65, |
| | | monVol66, monVol67, monVol68, |
| | | monVol69, monVol70, monVol71, |
| | | monVol72, monVol73, monVol74, |
| | | monVol75, monVol76, monVol77, |
| | | monVol78, monVol79, monVol80, |
| | | monVol81, monVol82, monVol83, |
| | | monVol84) |
| | | values (#{battgroupid,jdbcType=INTEGER}, #{recordtime,jdbcType=TIMESTAMP}, #{groupcurrent,jdbcType=FLOAT}, |
| | | #{battstate,jdbcType=INTEGER}, #{monvol1,jdbcType=FLOAT}, #{monvol2,jdbcType=FLOAT}, |
| | | #{monvol3,jdbcType=FLOAT}, #{monvol4,jdbcType=FLOAT}, #{monvol5,jdbcType=FLOAT}, |
| | | #{monvol6,jdbcType=FLOAT}, #{monvol7,jdbcType=FLOAT}, #{monvol8,jdbcType=FLOAT}, |
| | | #{monvol9,jdbcType=FLOAT}, #{monvol10,jdbcType=FLOAT}, #{monvol11,jdbcType=FLOAT}, |
| | | #{monvol12,jdbcType=FLOAT}, #{monvol13,jdbcType=FLOAT}, #{monvol14,jdbcType=FLOAT}, |
| | | #{monvol15,jdbcType=FLOAT}, #{monvol16,jdbcType=FLOAT}, #{monvol17,jdbcType=FLOAT}, |
| | | #{monvol18,jdbcType=FLOAT}, #{monvol19,jdbcType=FLOAT}, #{monvol20,jdbcType=FLOAT}, |
| | | #{monvol21,jdbcType=FLOAT}, #{monvol22,jdbcType=FLOAT}, #{monvol23,jdbcType=FLOAT}, |
| | | #{monvol24,jdbcType=FLOAT}, #{monvol25,jdbcType=FLOAT}, #{monvol26,jdbcType=FLOAT}, |
| | | #{monvol27,jdbcType=FLOAT}, #{monvol28,jdbcType=FLOAT}, #{monvol29,jdbcType=FLOAT}, |
| | | #{monvol30,jdbcType=FLOAT}, #{monvol31,jdbcType=FLOAT}, #{monvol32,jdbcType=FLOAT}, |
| | | #{monvol33,jdbcType=FLOAT}, #{monvol34,jdbcType=FLOAT}, #{monvol35,jdbcType=FLOAT}, |
| | | #{monvol36,jdbcType=FLOAT}, #{monvol37,jdbcType=FLOAT}, #{monvol38,jdbcType=FLOAT}, |
| | | #{monvol39,jdbcType=FLOAT}, #{monvol40,jdbcType=FLOAT}, #{monvol41,jdbcType=FLOAT}, |
| | | #{monvol42,jdbcType=FLOAT}, #{monvol43,jdbcType=FLOAT}, #{monvol44,jdbcType=FLOAT}, |
| | | #{monvol45,jdbcType=FLOAT}, #{monvol46,jdbcType=FLOAT}, #{monvol47,jdbcType=FLOAT}, |
| | | #{monvol48,jdbcType=FLOAT}, #{monvol49,jdbcType=FLOAT}, #{monvol50,jdbcType=FLOAT}, |
| | | #{monvol51,jdbcType=FLOAT}, #{monvol52,jdbcType=FLOAT}, #{monvol53,jdbcType=FLOAT}, |
| | | #{monvol54,jdbcType=FLOAT}, #{monvol55,jdbcType=FLOAT}, #{monvol56,jdbcType=FLOAT}, |
| | | #{monvol57,jdbcType=FLOAT}, #{monvol58,jdbcType=FLOAT}, #{monvol59,jdbcType=FLOAT}, |
| | | #{monvol60,jdbcType=FLOAT}, #{monvol61,jdbcType=FLOAT}, #{monvol62,jdbcType=FLOAT}, |
| | | #{monvol63,jdbcType=FLOAT}, #{monvol64,jdbcType=FLOAT}, #{monvol65,jdbcType=FLOAT}, |
| | | #{monvol66,jdbcType=FLOAT}, #{monvol67,jdbcType=FLOAT}, #{monvol68,jdbcType=FLOAT}, |
| | | #{monvol69,jdbcType=FLOAT}, #{monvol70,jdbcType=FLOAT}, #{monvol71,jdbcType=FLOAT}, |
| | | #{monvol72,jdbcType=FLOAT}, #{monvol73,jdbcType=FLOAT}, #{monvol74,jdbcType=FLOAT}, |
| | | #{monvol75,jdbcType=FLOAT}, #{monvol76,jdbcType=FLOAT}, #{monvol77,jdbcType=FLOAT}, |
| | | #{monvol78,jdbcType=FLOAT}, #{monvol79,jdbcType=FLOAT}, #{monvol80,jdbcType=FLOAT}, |
| | | #{monvol81,jdbcType=FLOAT}, #{monvol82,jdbcType=FLOAT}, #{monvol83,jdbcType=FLOAT}, |
| | | #{monvol84,jdbcType=FLOAT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="num" keyProperty="num" parameterType="com.yckj.bean.TbBattdataRt" useGeneratedKeys="true"> |
| | | insert into tb_battdata_rt |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="battgroupid != null"> |
| | | battGroupId, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | recordTime, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | groupCurrent, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | battState, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | monVol1, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | monVol2, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | monVol3, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | monVol4, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | monVol5, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | monVol6, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | monVol7, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | monVol8, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | monVol9, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | monVol10, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | monVol11, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | monVol12, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | monVol13, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | monVol14, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | monVol15, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | monVol16, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | monVol17, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | monVol18, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | monVol19, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | monVol20, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | monVol21, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | monVol22, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | monVol23, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | monVol24, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | monVol25, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | monVol26, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | monVol27, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | monVol28, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | monVol29, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | monVol30, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | monVol31, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | monVol32, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | monVol33, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | monVol34, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | monVol35, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | monVol36, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | monVol37, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | monVol38, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | monVol39, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | monVol40, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | monVol41, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | monVol42, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | monVol43, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | monVol44, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | monVol45, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | monVol46, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | monVol47, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | monVol48, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | monVol49, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | monVol50, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | monVol51, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | monVol52, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | monVol53, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | monVol54, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | monVol55, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | monVol56, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | monVol57, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | monVol58, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | monVol59, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | monVol60, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | monVol61, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | monVol62, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | monVol63, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | monVol64, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | monVol65, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | monVol66, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | monVol67, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | monVol68, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | monVol69, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | monVol70, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | monVol71, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | monVol72, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | monVol73, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | monVol74, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | monVol75, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | monVol76, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | monVol77, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | monVol78, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | monVol79, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | monVol80, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | monVol81, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | monVol82, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | monVol83, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | monVol84, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="battgroupid != null"> |
| | | #{battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | #{recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | #{groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | #{battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | #{monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | #{monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | #{monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | #{monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | #{monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | #{monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | #{monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | #{monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | #{monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | #{monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | #{monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | #{monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | #{monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | #{monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | #{monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | #{monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | #{monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | #{monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | #{monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | #{monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | #{monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | #{monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | #{monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | #{monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | #{monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | #{monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | #{monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | #{monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | #{monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | #{monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | #{monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | #{monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | #{monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | #{monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | #{monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | #{monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | #{monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | #{monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | #{monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | #{monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | #{monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | #{monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | #{monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | #{monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | #{monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | #{monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | #{monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | #{monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | #{monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | #{monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | #{monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | #{monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | #{monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | #{monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | #{monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | #{monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | #{monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | #{monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | #{monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | #{monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | #{monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | #{monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | #{monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | #{monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | #{monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | #{monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | #{monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | #{monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | #{monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | #{monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | #{monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | #{monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | #{monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | #{monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | #{monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | #{monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | #{monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | #{monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | #{monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | #{monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | #{monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | #{monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | #{monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | #{monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.yckj.bean.TbBattdataRtExample" resultType="java.lang.Long"> |
| | | select count(*) from tb_battdata_rt tb_battdata_rt |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update tb_battdata_rt tb_battdata_rt |
| | | <set> |
| | | <if test="record.num != null"> |
| | | tb_battdata_rt.num = #{record.num,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="record.battgroupid != null"> |
| | | tb_battdata_rt.battGroupId = #{record.battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.recordtime != null"> |
| | | tb_battdata_rt.recordTime = #{record.recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.groupcurrent != null"> |
| | | tb_battdata_rt.groupCurrent = #{record.groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.battstate != null"> |
| | | tb_battdata_rt.battState = #{record.battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.monvol1 != null"> |
| | | tb_battdata_rt.monVol1 = #{record.monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol2 != null"> |
| | | tb_battdata_rt.monVol2 = #{record.monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol3 != null"> |
| | | tb_battdata_rt.monVol3 = #{record.monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol4 != null"> |
| | | tb_battdata_rt.monVol4 = #{record.monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol5 != null"> |
| | | tb_battdata_rt.monVol5 = #{record.monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol6 != null"> |
| | | tb_battdata_rt.monVol6 = #{record.monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol7 != null"> |
| | | tb_battdata_rt.monVol7 = #{record.monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol8 != null"> |
| | | tb_battdata_rt.monVol8 = #{record.monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol9 != null"> |
| | | tb_battdata_rt.monVol9 = #{record.monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol10 != null"> |
| | | tb_battdata_rt.monVol10 = #{record.monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol11 != null"> |
| | | tb_battdata_rt.monVol11 = #{record.monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol12 != null"> |
| | | tb_battdata_rt.monVol12 = #{record.monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol13 != null"> |
| | | tb_battdata_rt.monVol13 = #{record.monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol14 != null"> |
| | | tb_battdata_rt.monVol14 = #{record.monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol15 != null"> |
| | | tb_battdata_rt.monVol15 = #{record.monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol16 != null"> |
| | | tb_battdata_rt.monVol16 = #{record.monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol17 != null"> |
| | | tb_battdata_rt.monVol17 = #{record.monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol18 != null"> |
| | | tb_battdata_rt.monVol18 = #{record.monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol19 != null"> |
| | | tb_battdata_rt.monVol19 = #{record.monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol20 != null"> |
| | | tb_battdata_rt.monVol20 = #{record.monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol21 != null"> |
| | | tb_battdata_rt.monVol21 = #{record.monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol22 != null"> |
| | | tb_battdata_rt.monVol22 = #{record.monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol23 != null"> |
| | | tb_battdata_rt.monVol23 = #{record.monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol24 != null"> |
| | | tb_battdata_rt.monVol24 = #{record.monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol25 != null"> |
| | | tb_battdata_rt.monVol25 = #{record.monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol26 != null"> |
| | | tb_battdata_rt.monVol26 = #{record.monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol27 != null"> |
| | | tb_battdata_rt.monVol27 = #{record.monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol28 != null"> |
| | | tb_battdata_rt.monVol28 = #{record.monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol29 != null"> |
| | | tb_battdata_rt.monVol29 = #{record.monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol30 != null"> |
| | | tb_battdata_rt.monVol30 = #{record.monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol31 != null"> |
| | | tb_battdata_rt.monVol31 = #{record.monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol32 != null"> |
| | | tb_battdata_rt.monVol32 = #{record.monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol33 != null"> |
| | | tb_battdata_rt.monVol33 = #{record.monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol34 != null"> |
| | | tb_battdata_rt.monVol34 = #{record.monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol35 != null"> |
| | | tb_battdata_rt.monVol35 = #{record.monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol36 != null"> |
| | | tb_battdata_rt.monVol36 = #{record.monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol37 != null"> |
| | | tb_battdata_rt.monVol37 = #{record.monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol38 != null"> |
| | | tb_battdata_rt.monVol38 = #{record.monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol39 != null"> |
| | | tb_battdata_rt.monVol39 = #{record.monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol40 != null"> |
| | | tb_battdata_rt.monVol40 = #{record.monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol41 != null"> |
| | | tb_battdata_rt.monVol41 = #{record.monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol42 != null"> |
| | | tb_battdata_rt.monVol42 = #{record.monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol43 != null"> |
| | | tb_battdata_rt.monVol43 = #{record.monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol44 != null"> |
| | | tb_battdata_rt.monVol44 = #{record.monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol45 != null"> |
| | | tb_battdata_rt.monVol45 = #{record.monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol46 != null"> |
| | | tb_battdata_rt.monVol46 = #{record.monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol47 != null"> |
| | | tb_battdata_rt.monVol47 = #{record.monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol48 != null"> |
| | | tb_battdata_rt.monVol48 = #{record.monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol49 != null"> |
| | | tb_battdata_rt.monVol49 = #{record.monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol50 != null"> |
| | | tb_battdata_rt.monVol50 = #{record.monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol51 != null"> |
| | | tb_battdata_rt.monVol51 = #{record.monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol52 != null"> |
| | | tb_battdata_rt.monVol52 = #{record.monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol53 != null"> |
| | | tb_battdata_rt.monVol53 = #{record.monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol54 != null"> |
| | | tb_battdata_rt.monVol54 = #{record.monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol55 != null"> |
| | | tb_battdata_rt.monVol55 = #{record.monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol56 != null"> |
| | | tb_battdata_rt.monVol56 = #{record.monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol57 != null"> |
| | | tb_battdata_rt.monVol57 = #{record.monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol58 != null"> |
| | | tb_battdata_rt.monVol58 = #{record.monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol59 != null"> |
| | | tb_battdata_rt.monVol59 = #{record.monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol60 != null"> |
| | | tb_battdata_rt.monVol60 = #{record.monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol61 != null"> |
| | | tb_battdata_rt.monVol61 = #{record.monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol62 != null"> |
| | | tb_battdata_rt.monVol62 = #{record.monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol63 != null"> |
| | | tb_battdata_rt.monVol63 = #{record.monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol64 != null"> |
| | | tb_battdata_rt.monVol64 = #{record.monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol65 != null"> |
| | | tb_battdata_rt.monVol65 = #{record.monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol66 != null"> |
| | | tb_battdata_rt.monVol66 = #{record.monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol67 != null"> |
| | | tb_battdata_rt.monVol67 = #{record.monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol68 != null"> |
| | | tb_battdata_rt.monVol68 = #{record.monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol69 != null"> |
| | | tb_battdata_rt.monVol69 = #{record.monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol70 != null"> |
| | | tb_battdata_rt.monVol70 = #{record.monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol71 != null"> |
| | | tb_battdata_rt.monVol71 = #{record.monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol72 != null"> |
| | | tb_battdata_rt.monVol72 = #{record.monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol73 != null"> |
| | | tb_battdata_rt.monVol73 = #{record.monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol74 != null"> |
| | | tb_battdata_rt.monVol74 = #{record.monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol75 != null"> |
| | | tb_battdata_rt.monVol75 = #{record.monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol76 != null"> |
| | | tb_battdata_rt.monVol76 = #{record.monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol77 != null"> |
| | | tb_battdata_rt.monVol77 = #{record.monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol78 != null"> |
| | | tb_battdata_rt.monVol78 = #{record.monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol79 != null"> |
| | | tb_battdata_rt.monVol79 = #{record.monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol80 != null"> |
| | | tb_battdata_rt.monVol80 = #{record.monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol81 != null"> |
| | | tb_battdata_rt.monVol81 = #{record.monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol82 != null"> |
| | | tb_battdata_rt.monVol82 = #{record.monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol83 != null"> |
| | | tb_battdata_rt.monVol83 = #{record.monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol84 != null"> |
| | | tb_battdata_rt.monVol84 = #{record.monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update tb_battdata_rt tb_battdata_rt |
| | | set tb_battdata_rt.num = #{record.num,jdbcType=BIGINT}, |
| | | tb_battdata_rt.battGroupId = #{record.battgroupid,jdbcType=INTEGER}, |
| | | tb_battdata_rt.recordTime = #{record.recordtime,jdbcType=TIMESTAMP}, |
| | | tb_battdata_rt.groupCurrent = #{record.groupcurrent,jdbcType=FLOAT}, |
| | | tb_battdata_rt.battState = #{record.battstate,jdbcType=INTEGER}, |
| | | tb_battdata_rt.monVol1 = #{record.monvol1,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol2 = #{record.monvol2,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol3 = #{record.monvol3,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol4 = #{record.monvol4,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol5 = #{record.monvol5,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol6 = #{record.monvol6,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol7 = #{record.monvol7,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol8 = #{record.monvol8,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol9 = #{record.monvol9,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol10 = #{record.monvol10,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol11 = #{record.monvol11,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol12 = #{record.monvol12,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol13 = #{record.monvol13,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol14 = #{record.monvol14,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol15 = #{record.monvol15,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol16 = #{record.monvol16,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol17 = #{record.monvol17,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol18 = #{record.monvol18,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol19 = #{record.monvol19,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol20 = #{record.monvol20,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol21 = #{record.monvol21,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol22 = #{record.monvol22,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol23 = #{record.monvol23,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol24 = #{record.monvol24,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol25 = #{record.monvol25,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol26 = #{record.monvol26,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol27 = #{record.monvol27,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol28 = #{record.monvol28,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol29 = #{record.monvol29,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol30 = #{record.monvol30,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol31 = #{record.monvol31,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol32 = #{record.monvol32,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol33 = #{record.monvol33,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol34 = #{record.monvol34,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol35 = #{record.monvol35,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol36 = #{record.monvol36,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol37 = #{record.monvol37,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol38 = #{record.monvol38,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol39 = #{record.monvol39,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol40 = #{record.monvol40,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol41 = #{record.monvol41,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol42 = #{record.monvol42,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol43 = #{record.monvol43,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol44 = #{record.monvol44,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol45 = #{record.monvol45,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol46 = #{record.monvol46,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol47 = #{record.monvol47,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol48 = #{record.monvol48,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol49 = #{record.monvol49,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol50 = #{record.monvol50,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol51 = #{record.monvol51,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol52 = #{record.monvol52,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol53 = #{record.monvol53,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol54 = #{record.monvol54,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol55 = #{record.monvol55,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol56 = #{record.monvol56,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol57 = #{record.monvol57,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol58 = #{record.monvol58,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol59 = #{record.monvol59,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol60 = #{record.monvol60,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol61 = #{record.monvol61,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol62 = #{record.monvol62,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol63 = #{record.monvol63,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol64 = #{record.monvol64,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol65 = #{record.monvol65,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol66 = #{record.monvol66,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol67 = #{record.monvol67,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol68 = #{record.monvol68,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol69 = #{record.monvol69,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol70 = #{record.monvol70,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol71 = #{record.monvol71,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol72 = #{record.monvol72,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol73 = #{record.monvol73,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol74 = #{record.monvol74,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol75 = #{record.monvol75,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol76 = #{record.monvol76,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol77 = #{record.monvol77,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol78 = #{record.monvol78,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol79 = #{record.monvol79,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol80 = #{record.monvol80,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol81 = #{record.monvol81,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol82 = #{record.monvol82,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol83 = #{record.monvol83,jdbcType=FLOAT}, |
| | | tb_battdata_rt.monVol84 = #{record.monvol84,jdbcType=FLOAT} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.yckj.bean.TbBattdataRt"> |
| | | update tb_battdata_rt |
| | | <set> |
| | | <if test="battgroupid != null"> |
| | | battGroupId = #{battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | recordTime = #{recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | groupCurrent = #{groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | battState = #{battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | monVol1 = #{monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | monVol2 = #{monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | monVol3 = #{monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | monVol4 = #{monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | monVol5 = #{monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | monVol6 = #{monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | monVol7 = #{monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | monVol8 = #{monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | monVol9 = #{monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | monVol10 = #{monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | monVol11 = #{monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | monVol12 = #{monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | monVol13 = #{monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | monVol14 = #{monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | monVol15 = #{monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | monVol16 = #{monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | monVol17 = #{monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | monVol18 = #{monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | monVol19 = #{monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | monVol20 = #{monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | monVol21 = #{monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | monVol22 = #{monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | monVol23 = #{monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | monVol24 = #{monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | monVol25 = #{monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | monVol26 = #{monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | monVol27 = #{monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | monVol28 = #{monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | monVol29 = #{monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | monVol30 = #{monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | monVol31 = #{monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | monVol32 = #{monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | monVol33 = #{monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | monVol34 = #{monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | monVol35 = #{monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | monVol36 = #{monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | monVol37 = #{monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | monVol38 = #{monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | monVol39 = #{monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | monVol40 = #{monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | monVol41 = #{monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | monVol42 = #{monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | monVol43 = #{monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | monVol44 = #{monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | monVol45 = #{monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | monVol46 = #{monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | monVol47 = #{monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | monVol48 = #{monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | monVol49 = #{monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | monVol50 = #{monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | monVol51 = #{monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | monVol52 = #{monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | monVol53 = #{monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | monVol54 = #{monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | monVol55 = #{monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | monVol56 = #{monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | monVol57 = #{monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | monVol58 = #{monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | monVol59 = #{monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | monVol60 = #{monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | monVol61 = #{monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | monVol62 = #{monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | monVol63 = #{monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | monVol64 = #{monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | monVol65 = #{monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | monVol66 = #{monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | monVol67 = #{monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | monVol68 = #{monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | monVol69 = #{monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | monVol70 = #{monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | monVol71 = #{monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | monVol72 = #{monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | monVol73 = #{monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | monVol74 = #{monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | monVol75 = #{monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | monVol76 = #{monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | monVol77 = #{monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | monVol78 = #{monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | monVol79 = #{monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | monVol80 = #{monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | monVol81 = #{monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | monVol82 = #{monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | monVol83 = #{monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | monVol84 = #{monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </set> |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.yckj.bean.TbBattdataRt"> |
| | | update tb_battdata_rt |
| | | set battGroupId = #{battgroupid,jdbcType=INTEGER}, |
| | | recordTime = #{recordtime,jdbcType=TIMESTAMP}, |
| | | groupCurrent = #{groupcurrent,jdbcType=FLOAT}, |
| | | battState = #{battstate,jdbcType=INTEGER}, |
| | | monVol1 = #{monvol1,jdbcType=FLOAT}, |
| | | monVol2 = #{monvol2,jdbcType=FLOAT}, |
| | | monVol3 = #{monvol3,jdbcType=FLOAT}, |
| | | monVol4 = #{monvol4,jdbcType=FLOAT}, |
| | | monVol5 = #{monvol5,jdbcType=FLOAT}, |
| | | monVol6 = #{monvol6,jdbcType=FLOAT}, |
| | | monVol7 = #{monvol7,jdbcType=FLOAT}, |
| | | monVol8 = #{monvol8,jdbcType=FLOAT}, |
| | | monVol9 = #{monvol9,jdbcType=FLOAT}, |
| | | monVol10 = #{monvol10,jdbcType=FLOAT}, |
| | | monVol11 = #{monvol11,jdbcType=FLOAT}, |
| | | monVol12 = #{monvol12,jdbcType=FLOAT}, |
| | | monVol13 = #{monvol13,jdbcType=FLOAT}, |
| | | monVol14 = #{monvol14,jdbcType=FLOAT}, |
| | | monVol15 = #{monvol15,jdbcType=FLOAT}, |
| | | monVol16 = #{monvol16,jdbcType=FLOAT}, |
| | | monVol17 = #{monvol17,jdbcType=FLOAT}, |
| | | monVol18 = #{monvol18,jdbcType=FLOAT}, |
| | | monVol19 = #{monvol19,jdbcType=FLOAT}, |
| | | monVol20 = #{monvol20,jdbcType=FLOAT}, |
| | | monVol21 = #{monvol21,jdbcType=FLOAT}, |
| | | monVol22 = #{monvol22,jdbcType=FLOAT}, |
| | | monVol23 = #{monvol23,jdbcType=FLOAT}, |
| | | monVol24 = #{monvol24,jdbcType=FLOAT}, |
| | | monVol25 = #{monvol25,jdbcType=FLOAT}, |
| | | monVol26 = #{monvol26,jdbcType=FLOAT}, |
| | | monVol27 = #{monvol27,jdbcType=FLOAT}, |
| | | monVol28 = #{monvol28,jdbcType=FLOAT}, |
| | | monVol29 = #{monvol29,jdbcType=FLOAT}, |
| | | monVol30 = #{monvol30,jdbcType=FLOAT}, |
| | | monVol31 = #{monvol31,jdbcType=FLOAT}, |
| | | monVol32 = #{monvol32,jdbcType=FLOAT}, |
| | | monVol33 = #{monvol33,jdbcType=FLOAT}, |
| | | monVol34 = #{monvol34,jdbcType=FLOAT}, |
| | | monVol35 = #{monvol35,jdbcType=FLOAT}, |
| | | monVol36 = #{monvol36,jdbcType=FLOAT}, |
| | | monVol37 = #{monvol37,jdbcType=FLOAT}, |
| | | monVol38 = #{monvol38,jdbcType=FLOAT}, |
| | | monVol39 = #{monvol39,jdbcType=FLOAT}, |
| | | monVol40 = #{monvol40,jdbcType=FLOAT}, |
| | | monVol41 = #{monvol41,jdbcType=FLOAT}, |
| | | monVol42 = #{monvol42,jdbcType=FLOAT}, |
| | | monVol43 = #{monvol43,jdbcType=FLOAT}, |
| | | monVol44 = #{monvol44,jdbcType=FLOAT}, |
| | | monVol45 = #{monvol45,jdbcType=FLOAT}, |
| | | monVol46 = #{monvol46,jdbcType=FLOAT}, |
| | | monVol47 = #{monvol47,jdbcType=FLOAT}, |
| | | monVol48 = #{monvol48,jdbcType=FLOAT}, |
| | | monVol49 = #{monvol49,jdbcType=FLOAT}, |
| | | monVol50 = #{monvol50,jdbcType=FLOAT}, |
| | | monVol51 = #{monvol51,jdbcType=FLOAT}, |
| | | monVol52 = #{monvol52,jdbcType=FLOAT}, |
| | | monVol53 = #{monvol53,jdbcType=FLOAT}, |
| | | monVol54 = #{monvol54,jdbcType=FLOAT}, |
| | | monVol55 = #{monvol55,jdbcType=FLOAT}, |
| | | monVol56 = #{monvol56,jdbcType=FLOAT}, |
| | | monVol57 = #{monvol57,jdbcType=FLOAT}, |
| | | monVol58 = #{monvol58,jdbcType=FLOAT}, |
| | | monVol59 = #{monvol59,jdbcType=FLOAT}, |
| | | monVol60 = #{monvol60,jdbcType=FLOAT}, |
| | | monVol61 = #{monvol61,jdbcType=FLOAT}, |
| | | monVol62 = #{monvol62,jdbcType=FLOAT}, |
| | | monVol63 = #{monvol63,jdbcType=FLOAT}, |
| | | monVol64 = #{monvol64,jdbcType=FLOAT}, |
| | | monVol65 = #{monvol65,jdbcType=FLOAT}, |
| | | monVol66 = #{monvol66,jdbcType=FLOAT}, |
| | | monVol67 = #{monvol67,jdbcType=FLOAT}, |
| | | monVol68 = #{monvol68,jdbcType=FLOAT}, |
| | | monVol69 = #{monvol69,jdbcType=FLOAT}, |
| | | monVol70 = #{monvol70,jdbcType=FLOAT}, |
| | | monVol71 = #{monvol71,jdbcType=FLOAT}, |
| | | monVol72 = #{monvol72,jdbcType=FLOAT}, |
| | | monVol73 = #{monvol73,jdbcType=FLOAT}, |
| | | monVol74 = #{monvol74,jdbcType=FLOAT}, |
| | | monVol75 = #{monvol75,jdbcType=FLOAT}, |
| | | monVol76 = #{monvol76,jdbcType=FLOAT}, |
| | | monVol77 = #{monvol77,jdbcType=FLOAT}, |
| | | monVol78 = #{monvol78,jdbcType=FLOAT}, |
| | | monVol79 = #{monvol79,jdbcType=FLOAT}, |
| | | monVol80 = #{monvol80,jdbcType=FLOAT}, |
| | | monVol81 = #{monvol81,jdbcType=FLOAT}, |
| | | monVol82 = #{monvol82,jdbcType=FLOAT}, |
| | | monVol83 = #{monvol83,jdbcType=FLOAT}, |
| | | monVol84 = #{monvol84,jdbcType=FLOAT} |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </update> |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.yckj.dao.TbBattsysParamDao"> |
| | | <resultMap id="BaseResultMap" type="com.yckj.bean.TbBattsysParam"> |
| | | <id column="tb_battsys_param_num" jdbcType="BIGINT" property="num" /> |
| | | <result column="tb_battsys_param_battGroupId" jdbcType="INTEGER" property="battgroupid" /> |
| | | <result column="tb_battsys_param_recordTime" jdbcType="TIMESTAMP" property="recordtime" /> |
| | | <result column="tb_battsys_param_groupCurrent" jdbcType="FLOAT" property="groupcurrent" /> |
| | | <result column="tb_battsys_param_battState" jdbcType="INTEGER" property="battstate" /> |
| | | <result column="tb_battsys_param_monVol1" jdbcType="FLOAT" property="monvol1" /> |
| | | <result column="tb_battsys_param_monVol2" jdbcType="FLOAT" property="monvol2" /> |
| | | <result column="tb_battsys_param_monVol3" jdbcType="FLOAT" property="monvol3" /> |
| | | <result column="tb_battsys_param_monVol4" jdbcType="FLOAT" property="monvol4" /> |
| | | <result column="tb_battsys_param_monVol5" jdbcType="FLOAT" property="monvol5" /> |
| | | <result column="tb_battsys_param_monVol6" jdbcType="FLOAT" property="monvol6" /> |
| | | <result column="tb_battsys_param_monVol7" jdbcType="FLOAT" property="monvol7" /> |
| | | <result column="tb_battsys_param_monVol8" jdbcType="FLOAT" property="monvol8" /> |
| | | <result column="tb_battsys_param_monVol9" jdbcType="FLOAT" property="monvol9" /> |
| | | <result column="tb_battsys_param_monVol10" jdbcType="FLOAT" property="monvol10" /> |
| | | <result column="tb_battsys_param_monVol11" jdbcType="FLOAT" property="monvol11" /> |
| | | <result column="tb_battsys_param_monVol12" jdbcType="FLOAT" property="monvol12" /> |
| | | <result column="tb_battsys_param_monVol13" jdbcType="FLOAT" property="monvol13" /> |
| | | <result column="tb_battsys_param_monVol14" jdbcType="FLOAT" property="monvol14" /> |
| | | <result column="tb_battsys_param_monVol15" jdbcType="FLOAT" property="monvol15" /> |
| | | <result column="tb_battsys_param_monVol16" jdbcType="FLOAT" property="monvol16" /> |
| | | <result column="tb_battsys_param_monVol17" jdbcType="FLOAT" property="monvol17" /> |
| | | <result column="tb_battsys_param_monVol18" jdbcType="FLOAT" property="monvol18" /> |
| | | <result column="tb_battsys_param_monVol19" jdbcType="FLOAT" property="monvol19" /> |
| | | <result column="tb_battsys_param_monVol20" jdbcType="FLOAT" property="monvol20" /> |
| | | <result column="tb_battsys_param_monVol21" jdbcType="FLOAT" property="monvol21" /> |
| | | <result column="tb_battsys_param_monVol22" jdbcType="FLOAT" property="monvol22" /> |
| | | <result column="tb_battsys_param_monVol23" jdbcType="FLOAT" property="monvol23" /> |
| | | <result column="tb_battsys_param_monVol24" jdbcType="FLOAT" property="monvol24" /> |
| | | <result column="tb_battsys_param_monVol25" jdbcType="FLOAT" property="monvol25" /> |
| | | <result column="tb_battsys_param_monVol26" jdbcType="FLOAT" property="monvol26" /> |
| | | <result column="tb_battsys_param_monVol27" jdbcType="FLOAT" property="monvol27" /> |
| | | <result column="tb_battsys_param_monVol28" jdbcType="FLOAT" property="monvol28" /> |
| | | <result column="tb_battsys_param_monVol29" jdbcType="FLOAT" property="monvol29" /> |
| | | <result column="tb_battsys_param_monVol30" jdbcType="FLOAT" property="monvol30" /> |
| | | <result column="tb_battsys_param_monVol31" jdbcType="FLOAT" property="monvol31" /> |
| | | <result column="tb_battsys_param_monVol32" jdbcType="FLOAT" property="monvol32" /> |
| | | <result column="tb_battsys_param_monVol33" jdbcType="FLOAT" property="monvol33" /> |
| | | <result column="tb_battsys_param_monVol34" jdbcType="FLOAT" property="monvol34" /> |
| | | <result column="tb_battsys_param_monVol35" jdbcType="FLOAT" property="monvol35" /> |
| | | <result column="tb_battsys_param_monVol36" jdbcType="FLOAT" property="monvol36" /> |
| | | <result column="tb_battsys_param_monVol37" jdbcType="FLOAT" property="monvol37" /> |
| | | <result column="tb_battsys_param_monVol38" jdbcType="FLOAT" property="monvol38" /> |
| | | <result column="tb_battsys_param_monVol39" jdbcType="FLOAT" property="monvol39" /> |
| | | <result column="tb_battsys_param_monVol40" jdbcType="FLOAT" property="monvol40" /> |
| | | <result column="tb_battsys_param_monVol41" jdbcType="FLOAT" property="monvol41" /> |
| | | <result column="tb_battsys_param_monVol42" jdbcType="FLOAT" property="monvol42" /> |
| | | <result column="tb_battsys_param_monVol43" jdbcType="FLOAT" property="monvol43" /> |
| | | <result column="tb_battsys_param_monVol44" jdbcType="FLOAT" property="monvol44" /> |
| | | <result column="tb_battsys_param_monVol45" jdbcType="FLOAT" property="monvol45" /> |
| | | <result column="tb_battsys_param_monVol46" jdbcType="FLOAT" property="monvol46" /> |
| | | <result column="tb_battsys_param_monVol47" jdbcType="FLOAT" property="monvol47" /> |
| | | <result column="tb_battsys_param_monVol48" jdbcType="FLOAT" property="monvol48" /> |
| | | <result column="tb_battsys_param_monVol49" jdbcType="FLOAT" property="monvol49" /> |
| | | <result column="tb_battsys_param_monVol50" jdbcType="FLOAT" property="monvol50" /> |
| | | <result column="tb_battsys_param_monVol51" jdbcType="FLOAT" property="monvol51" /> |
| | | <result column="tb_battsys_param_monVol52" jdbcType="FLOAT" property="monvol52" /> |
| | | <result column="tb_battsys_param_monVol53" jdbcType="FLOAT" property="monvol53" /> |
| | | <result column="tb_battsys_param_monVol54" jdbcType="FLOAT" property="monvol54" /> |
| | | <result column="tb_battsys_param_monVol55" jdbcType="FLOAT" property="monvol55" /> |
| | | <result column="tb_battsys_param_monVol56" jdbcType="FLOAT" property="monvol56" /> |
| | | <result column="tb_battsys_param_monVol57" jdbcType="FLOAT" property="monvol57" /> |
| | | <result column="tb_battsys_param_monVol58" jdbcType="FLOAT" property="monvol58" /> |
| | | <result column="tb_battsys_param_monVol59" jdbcType="FLOAT" property="monvol59" /> |
| | | <result column="tb_battsys_param_monVol60" jdbcType="FLOAT" property="monvol60" /> |
| | | <result column="tb_battsys_param_monVol61" jdbcType="FLOAT" property="monvol61" /> |
| | | <result column="tb_battsys_param_monVol62" jdbcType="FLOAT" property="monvol62" /> |
| | | <result column="tb_battsys_param_monVol63" jdbcType="FLOAT" property="monvol63" /> |
| | | <result column="tb_battsys_param_monVol64" jdbcType="FLOAT" property="monvol64" /> |
| | | <result column="tb_battsys_param_monVol65" jdbcType="FLOAT" property="monvol65" /> |
| | | <result column="tb_battsys_param_monVol66" jdbcType="FLOAT" property="monvol66" /> |
| | | <result column="tb_battsys_param_monVol67" jdbcType="FLOAT" property="monvol67" /> |
| | | <result column="tb_battsys_param_monVol68" jdbcType="FLOAT" property="monvol68" /> |
| | | <result column="tb_battsys_param_monVol69" jdbcType="FLOAT" property="monvol69" /> |
| | | <result column="tb_battsys_param_monVol70" jdbcType="FLOAT" property="monvol70" /> |
| | | <result column="tb_battsys_param_monVol71" jdbcType="FLOAT" property="monvol71" /> |
| | | <result column="tb_battsys_param_monVol72" jdbcType="FLOAT" property="monvol72" /> |
| | | <result column="tb_battsys_param_monVol73" jdbcType="FLOAT" property="monvol73" /> |
| | | <result column="tb_battsys_param_monVol74" jdbcType="FLOAT" property="monvol74" /> |
| | | <result column="tb_battsys_param_monVol75" jdbcType="FLOAT" property="monvol75" /> |
| | | <result column="tb_battsys_param_monVol76" jdbcType="FLOAT" property="monvol76" /> |
| | | <result column="tb_battsys_param_monVol77" jdbcType="FLOAT" property="monvol77" /> |
| | | <result column="tb_battsys_param_monVol78" jdbcType="FLOAT" property="monvol78" /> |
| | | <result column="tb_battsys_param_monVol79" jdbcType="FLOAT" property="monvol79" /> |
| | | <result column="tb_battsys_param_monVol80" jdbcType="FLOAT" property="monvol80" /> |
| | | <result column="tb_battsys_param_monVol81" jdbcType="FLOAT" property="monvol81" /> |
| | | <result column="tb_battsys_param_monVol82" jdbcType="FLOAT" property="monvol82" /> |
| | | <result column="tb_battsys_param_monVol83" jdbcType="FLOAT" property="monvol83" /> |
| | | <result column="tb_battsys_param_monVol84" jdbcType="FLOAT" property="monvol84" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | tb_battsys_param.num as tb_battsys_param_num, tb_battsys_param.battGroupId as tb_battsys_param_battGroupId, |
| | | tb_battsys_param.recordTime as tb_battsys_param_recordTime, tb_battsys_param.groupCurrent as tb_battsys_param_groupCurrent, |
| | | tb_battsys_param.battState as tb_battsys_param_battState, tb_battsys_param.monVol1 as tb_battsys_param_monVol1, |
| | | tb_battsys_param.monVol2 as tb_battsys_param_monVol2, tb_battsys_param.monVol3 as tb_battsys_param_monVol3, |
| | | tb_battsys_param.monVol4 as tb_battsys_param_monVol4, tb_battsys_param.monVol5 as tb_battsys_param_monVol5, |
| | | tb_battsys_param.monVol6 as tb_battsys_param_monVol6, tb_battsys_param.monVol7 as tb_battsys_param_monVol7, |
| | | tb_battsys_param.monVol8 as tb_battsys_param_monVol8, tb_battsys_param.monVol9 as tb_battsys_param_monVol9, |
| | | tb_battsys_param.monVol10 as tb_battsys_param_monVol10, tb_battsys_param.monVol11 as tb_battsys_param_monVol11, |
| | | tb_battsys_param.monVol12 as tb_battsys_param_monVol12, tb_battsys_param.monVol13 as tb_battsys_param_monVol13, |
| | | tb_battsys_param.monVol14 as tb_battsys_param_monVol14, tb_battsys_param.monVol15 as tb_battsys_param_monVol15, |
| | | tb_battsys_param.monVol16 as tb_battsys_param_monVol16, tb_battsys_param.monVol17 as tb_battsys_param_monVol17, |
| | | tb_battsys_param.monVol18 as tb_battsys_param_monVol18, tb_battsys_param.monVol19 as tb_battsys_param_monVol19, |
| | | tb_battsys_param.monVol20 as tb_battsys_param_monVol20, tb_battsys_param.monVol21 as tb_battsys_param_monVol21, |
| | | tb_battsys_param.monVol22 as tb_battsys_param_monVol22, tb_battsys_param.monVol23 as tb_battsys_param_monVol23, |
| | | tb_battsys_param.monVol24 as tb_battsys_param_monVol24, tb_battsys_param.monVol25 as tb_battsys_param_monVol25, |
| | | tb_battsys_param.monVol26 as tb_battsys_param_monVol26, tb_battsys_param.monVol27 as tb_battsys_param_monVol27, |
| | | tb_battsys_param.monVol28 as tb_battsys_param_monVol28, tb_battsys_param.monVol29 as tb_battsys_param_monVol29, |
| | | tb_battsys_param.monVol30 as tb_battsys_param_monVol30, tb_battsys_param.monVol31 as tb_battsys_param_monVol31, |
| | | tb_battsys_param.monVol32 as tb_battsys_param_monVol32, tb_battsys_param.monVol33 as tb_battsys_param_monVol33, |
| | | tb_battsys_param.monVol34 as tb_battsys_param_monVol34, tb_battsys_param.monVol35 as tb_battsys_param_monVol35, |
| | | tb_battsys_param.monVol36 as tb_battsys_param_monVol36, tb_battsys_param.monVol37 as tb_battsys_param_monVol37, |
| | | tb_battsys_param.monVol38 as tb_battsys_param_monVol38, tb_battsys_param.monVol39 as tb_battsys_param_monVol39, |
| | | tb_battsys_param.monVol40 as tb_battsys_param_monVol40, tb_battsys_param.monVol41 as tb_battsys_param_monVol41, |
| | | tb_battsys_param.monVol42 as tb_battsys_param_monVol42, tb_battsys_param.monVol43 as tb_battsys_param_monVol43, |
| | | tb_battsys_param.monVol44 as tb_battsys_param_monVol44, tb_battsys_param.monVol45 as tb_battsys_param_monVol45, |
| | | tb_battsys_param.monVol46 as tb_battsys_param_monVol46, tb_battsys_param.monVol47 as tb_battsys_param_monVol47, |
| | | tb_battsys_param.monVol48 as tb_battsys_param_monVol48, tb_battsys_param.monVol49 as tb_battsys_param_monVol49, |
| | | tb_battsys_param.monVol50 as tb_battsys_param_monVol50, tb_battsys_param.monVol51 as tb_battsys_param_monVol51, |
| | | tb_battsys_param.monVol52 as tb_battsys_param_monVol52, tb_battsys_param.monVol53 as tb_battsys_param_monVol53, |
| | | tb_battsys_param.monVol54 as tb_battsys_param_monVol54, tb_battsys_param.monVol55 as tb_battsys_param_monVol55, |
| | | tb_battsys_param.monVol56 as tb_battsys_param_monVol56, tb_battsys_param.monVol57 as tb_battsys_param_monVol57, |
| | | tb_battsys_param.monVol58 as tb_battsys_param_monVol58, tb_battsys_param.monVol59 as tb_battsys_param_monVol59, |
| | | tb_battsys_param.monVol60 as tb_battsys_param_monVol60, tb_battsys_param.monVol61 as tb_battsys_param_monVol61, |
| | | tb_battsys_param.monVol62 as tb_battsys_param_monVol62, tb_battsys_param.monVol63 as tb_battsys_param_monVol63, |
| | | tb_battsys_param.monVol64 as tb_battsys_param_monVol64, tb_battsys_param.monVol65 as tb_battsys_param_monVol65, |
| | | tb_battsys_param.monVol66 as tb_battsys_param_monVol66, tb_battsys_param.monVol67 as tb_battsys_param_monVol67, |
| | | tb_battsys_param.monVol68 as tb_battsys_param_monVol68, tb_battsys_param.monVol69 as tb_battsys_param_monVol69, |
| | | tb_battsys_param.monVol70 as tb_battsys_param_monVol70, tb_battsys_param.monVol71 as tb_battsys_param_monVol71, |
| | | tb_battsys_param.monVol72 as tb_battsys_param_monVol72, tb_battsys_param.monVol73 as tb_battsys_param_monVol73, |
| | | tb_battsys_param.monVol74 as tb_battsys_param_monVol74, tb_battsys_param.monVol75 as tb_battsys_param_monVol75, |
| | | tb_battsys_param.monVol76 as tb_battsys_param_monVol76, tb_battsys_param.monVol77 as tb_battsys_param_monVol77, |
| | | tb_battsys_param.monVol78 as tb_battsys_param_monVol78, tb_battsys_param.monVol79 as tb_battsys_param_monVol79, |
| | | tb_battsys_param.monVol80 as tb_battsys_param_monVol80, tb_battsys_param.monVol81 as tb_battsys_param_monVol81, |
| | | tb_battsys_param.monVol82 as tb_battsys_param_monVol82, tb_battsys_param.monVol83 as tb_battsys_param_monVol83, |
| | | tb_battsys_param.monVol84 as tb_battsys_param_monVol84 |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.yckj.bean.TbBattsysParamExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | <include refid="Base_Column_List" /> |
| | | from tb_battdata_rt tb_battsys_param |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from tb_battdata_rt tb_battsys_param |
| | | where tb_battsys_param.num = #{num,jdbcType=BIGINT} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| | | delete from tb_battdata_rt |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.yckj.bean.TbBattsysParamExample"> |
| | | delete from tb_battdata_rt tb_battsys_param |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" keyColumn="num" keyProperty="num" parameterType="com.yckj.bean.TbBattsysParam" useGeneratedKeys="true"> |
| | | insert into tb_battdata_rt (battGroupId, recordTime, groupCurrent, |
| | | battState, monVol1, monVol2, |
| | | monVol3, monVol4, monVol5, |
| | | monVol6, monVol7, monVol8, |
| | | monVol9, monVol10, monVol11, |
| | | monVol12, monVol13, monVol14, |
| | | monVol15, monVol16, monVol17, |
| | | monVol18, monVol19, monVol20, |
| | | monVol21, monVol22, monVol23, |
| | | monVol24, monVol25, monVol26, |
| | | monVol27, monVol28, monVol29, |
| | | monVol30, monVol31, monVol32, |
| | | monVol33, monVol34, monVol35, |
| | | monVol36, monVol37, monVol38, |
| | | monVol39, monVol40, monVol41, |
| | | monVol42, monVol43, monVol44, |
| | | monVol45, monVol46, monVol47, |
| | | monVol48, monVol49, monVol50, |
| | | monVol51, monVol52, monVol53, |
| | | monVol54, monVol55, monVol56, |
| | | monVol57, monVol58, monVol59, |
| | | monVol60, monVol61, monVol62, |
| | | monVol63, monVol64, monVol65, |
| | | monVol66, monVol67, monVol68, |
| | | monVol69, monVol70, monVol71, |
| | | monVol72, monVol73, monVol74, |
| | | monVol75, monVol76, monVol77, |
| | | monVol78, monVol79, monVol80, |
| | | monVol81, monVol82, monVol83, |
| | | monVol84) |
| | | values (#{battgroupid,jdbcType=INTEGER}, #{recordtime,jdbcType=TIMESTAMP}, #{groupcurrent,jdbcType=FLOAT}, |
| | | #{battstate,jdbcType=INTEGER}, #{monvol1,jdbcType=FLOAT}, #{monvol2,jdbcType=FLOAT}, |
| | | #{monvol3,jdbcType=FLOAT}, #{monvol4,jdbcType=FLOAT}, #{monvol5,jdbcType=FLOAT}, |
| | | #{monvol6,jdbcType=FLOAT}, #{monvol7,jdbcType=FLOAT}, #{monvol8,jdbcType=FLOAT}, |
| | | #{monvol9,jdbcType=FLOAT}, #{monvol10,jdbcType=FLOAT}, #{monvol11,jdbcType=FLOAT}, |
| | | #{monvol12,jdbcType=FLOAT}, #{monvol13,jdbcType=FLOAT}, #{monvol14,jdbcType=FLOAT}, |
| | | #{monvol15,jdbcType=FLOAT}, #{monvol16,jdbcType=FLOAT}, #{monvol17,jdbcType=FLOAT}, |
| | | #{monvol18,jdbcType=FLOAT}, #{monvol19,jdbcType=FLOAT}, #{monvol20,jdbcType=FLOAT}, |
| | | #{monvol21,jdbcType=FLOAT}, #{monvol22,jdbcType=FLOAT}, #{monvol23,jdbcType=FLOAT}, |
| | | #{monvol24,jdbcType=FLOAT}, #{monvol25,jdbcType=FLOAT}, #{monvol26,jdbcType=FLOAT}, |
| | | #{monvol27,jdbcType=FLOAT}, #{monvol28,jdbcType=FLOAT}, #{monvol29,jdbcType=FLOAT}, |
| | | #{monvol30,jdbcType=FLOAT}, #{monvol31,jdbcType=FLOAT}, #{monvol32,jdbcType=FLOAT}, |
| | | #{monvol33,jdbcType=FLOAT}, #{monvol34,jdbcType=FLOAT}, #{monvol35,jdbcType=FLOAT}, |
| | | #{monvol36,jdbcType=FLOAT}, #{monvol37,jdbcType=FLOAT}, #{monvol38,jdbcType=FLOAT}, |
| | | #{monvol39,jdbcType=FLOAT}, #{monvol40,jdbcType=FLOAT}, #{monvol41,jdbcType=FLOAT}, |
| | | #{monvol42,jdbcType=FLOAT}, #{monvol43,jdbcType=FLOAT}, #{monvol44,jdbcType=FLOAT}, |
| | | #{monvol45,jdbcType=FLOAT}, #{monvol46,jdbcType=FLOAT}, #{monvol47,jdbcType=FLOAT}, |
| | | #{monvol48,jdbcType=FLOAT}, #{monvol49,jdbcType=FLOAT}, #{monvol50,jdbcType=FLOAT}, |
| | | #{monvol51,jdbcType=FLOAT}, #{monvol52,jdbcType=FLOAT}, #{monvol53,jdbcType=FLOAT}, |
| | | #{monvol54,jdbcType=FLOAT}, #{monvol55,jdbcType=FLOAT}, #{monvol56,jdbcType=FLOAT}, |
| | | #{monvol57,jdbcType=FLOAT}, #{monvol58,jdbcType=FLOAT}, #{monvol59,jdbcType=FLOAT}, |
| | | #{monvol60,jdbcType=FLOAT}, #{monvol61,jdbcType=FLOAT}, #{monvol62,jdbcType=FLOAT}, |
| | | #{monvol63,jdbcType=FLOAT}, #{monvol64,jdbcType=FLOAT}, #{monvol65,jdbcType=FLOAT}, |
| | | #{monvol66,jdbcType=FLOAT}, #{monvol67,jdbcType=FLOAT}, #{monvol68,jdbcType=FLOAT}, |
| | | #{monvol69,jdbcType=FLOAT}, #{monvol70,jdbcType=FLOAT}, #{monvol71,jdbcType=FLOAT}, |
| | | #{monvol72,jdbcType=FLOAT}, #{monvol73,jdbcType=FLOAT}, #{monvol74,jdbcType=FLOAT}, |
| | | #{monvol75,jdbcType=FLOAT}, #{monvol76,jdbcType=FLOAT}, #{monvol77,jdbcType=FLOAT}, |
| | | #{monvol78,jdbcType=FLOAT}, #{monvol79,jdbcType=FLOAT}, #{monvol80,jdbcType=FLOAT}, |
| | | #{monvol81,jdbcType=FLOAT}, #{monvol82,jdbcType=FLOAT}, #{monvol83,jdbcType=FLOAT}, |
| | | #{monvol84,jdbcType=FLOAT}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="num" keyProperty="num" parameterType="com.yckj.bean.TbBattsysParam" useGeneratedKeys="true"> |
| | | insert into tb_battdata_rt |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="battgroupid != null"> |
| | | battGroupId, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | recordTime, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | groupCurrent, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | battState, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | monVol1, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | monVol2, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | monVol3, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | monVol4, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | monVol5, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | monVol6, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | monVol7, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | monVol8, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | monVol9, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | monVol10, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | monVol11, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | monVol12, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | monVol13, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | monVol14, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | monVol15, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | monVol16, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | monVol17, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | monVol18, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | monVol19, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | monVol20, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | monVol21, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | monVol22, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | monVol23, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | monVol24, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | monVol25, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | monVol26, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | monVol27, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | monVol28, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | monVol29, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | monVol30, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | monVol31, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | monVol32, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | monVol33, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | monVol34, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | monVol35, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | monVol36, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | monVol37, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | monVol38, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | monVol39, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | monVol40, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | monVol41, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | monVol42, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | monVol43, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | monVol44, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | monVol45, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | monVol46, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | monVol47, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | monVol48, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | monVol49, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | monVol50, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | monVol51, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | monVol52, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | monVol53, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | monVol54, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | monVol55, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | monVol56, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | monVol57, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | monVol58, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | monVol59, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | monVol60, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | monVol61, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | monVol62, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | monVol63, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | monVol64, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | monVol65, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | monVol66, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | monVol67, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | monVol68, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | monVol69, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | monVol70, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | monVol71, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | monVol72, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | monVol73, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | monVol74, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | monVol75, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | monVol76, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | monVol77, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | monVol78, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | monVol79, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | monVol80, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | monVol81, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | monVol82, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | monVol83, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | monVol84, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="battgroupid != null"> |
| | | #{battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | #{recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | #{groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | #{battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | #{monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | #{monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | #{monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | #{monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | #{monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | #{monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | #{monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | #{monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | #{monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | #{monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | #{monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | #{monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | #{monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | #{monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | #{monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | #{monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | #{monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | #{monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | #{monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | #{monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | #{monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | #{monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | #{monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | #{monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | #{monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | #{monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | #{monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | #{monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | #{monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | #{monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | #{monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | #{monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | #{monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | #{monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | #{monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | #{monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | #{monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | #{monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | #{monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | #{monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | #{monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | #{monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | #{monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | #{monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | #{monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | #{monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | #{monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | #{monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | #{monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | #{monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | #{monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | #{monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | #{monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | #{monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | #{monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | #{monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | #{monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | #{monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | #{monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | #{monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | #{monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | #{monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | #{monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | #{monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | #{monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | #{monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | #{monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | #{monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | #{monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | #{monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | #{monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | #{monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | #{monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | #{monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | #{monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | #{monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | #{monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | #{monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | #{monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | #{monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | #{monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | #{monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | #{monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | #{monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.yckj.bean.TbBattsysParamExample" resultType="java.lang.Long"> |
| | | select count(*) from tb_battdata_rt tb_battsys_param |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update tb_battdata_rt tb_battsys_param |
| | | <set> |
| | | <if test="record.num != null"> |
| | | tb_battsys_param.num = #{record.num,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="record.battgroupid != null"> |
| | | tb_battsys_param.battGroupId = #{record.battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.recordtime != null"> |
| | | tb_battsys_param.recordTime = #{record.recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.groupcurrent != null"> |
| | | tb_battsys_param.groupCurrent = #{record.groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.battstate != null"> |
| | | tb_battsys_param.battState = #{record.battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.monvol1 != null"> |
| | | tb_battsys_param.monVol1 = #{record.monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol2 != null"> |
| | | tb_battsys_param.monVol2 = #{record.monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol3 != null"> |
| | | tb_battsys_param.monVol3 = #{record.monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol4 != null"> |
| | | tb_battsys_param.monVol4 = #{record.monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol5 != null"> |
| | | tb_battsys_param.monVol5 = #{record.monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol6 != null"> |
| | | tb_battsys_param.monVol6 = #{record.monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol7 != null"> |
| | | tb_battsys_param.monVol7 = #{record.monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol8 != null"> |
| | | tb_battsys_param.monVol8 = #{record.monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol9 != null"> |
| | | tb_battsys_param.monVol9 = #{record.monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol10 != null"> |
| | | tb_battsys_param.monVol10 = #{record.monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol11 != null"> |
| | | tb_battsys_param.monVol11 = #{record.monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol12 != null"> |
| | | tb_battsys_param.monVol12 = #{record.monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol13 != null"> |
| | | tb_battsys_param.monVol13 = #{record.monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol14 != null"> |
| | | tb_battsys_param.monVol14 = #{record.monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol15 != null"> |
| | | tb_battsys_param.monVol15 = #{record.monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol16 != null"> |
| | | tb_battsys_param.monVol16 = #{record.monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol17 != null"> |
| | | tb_battsys_param.monVol17 = #{record.monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol18 != null"> |
| | | tb_battsys_param.monVol18 = #{record.monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol19 != null"> |
| | | tb_battsys_param.monVol19 = #{record.monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol20 != null"> |
| | | tb_battsys_param.monVol20 = #{record.monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol21 != null"> |
| | | tb_battsys_param.monVol21 = #{record.monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol22 != null"> |
| | | tb_battsys_param.monVol22 = #{record.monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol23 != null"> |
| | | tb_battsys_param.monVol23 = #{record.monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol24 != null"> |
| | | tb_battsys_param.monVol24 = #{record.monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol25 != null"> |
| | | tb_battsys_param.monVol25 = #{record.monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol26 != null"> |
| | | tb_battsys_param.monVol26 = #{record.monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol27 != null"> |
| | | tb_battsys_param.monVol27 = #{record.monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol28 != null"> |
| | | tb_battsys_param.monVol28 = #{record.monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol29 != null"> |
| | | tb_battsys_param.monVol29 = #{record.monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol30 != null"> |
| | | tb_battsys_param.monVol30 = #{record.monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol31 != null"> |
| | | tb_battsys_param.monVol31 = #{record.monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol32 != null"> |
| | | tb_battsys_param.monVol32 = #{record.monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol33 != null"> |
| | | tb_battsys_param.monVol33 = #{record.monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol34 != null"> |
| | | tb_battsys_param.monVol34 = #{record.monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol35 != null"> |
| | | tb_battsys_param.monVol35 = #{record.monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol36 != null"> |
| | | tb_battsys_param.monVol36 = #{record.monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol37 != null"> |
| | | tb_battsys_param.monVol37 = #{record.monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol38 != null"> |
| | | tb_battsys_param.monVol38 = #{record.monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol39 != null"> |
| | | tb_battsys_param.monVol39 = #{record.monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol40 != null"> |
| | | tb_battsys_param.monVol40 = #{record.monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol41 != null"> |
| | | tb_battsys_param.monVol41 = #{record.monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol42 != null"> |
| | | tb_battsys_param.monVol42 = #{record.monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol43 != null"> |
| | | tb_battsys_param.monVol43 = #{record.monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol44 != null"> |
| | | tb_battsys_param.monVol44 = #{record.monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol45 != null"> |
| | | tb_battsys_param.monVol45 = #{record.monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol46 != null"> |
| | | tb_battsys_param.monVol46 = #{record.monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol47 != null"> |
| | | tb_battsys_param.monVol47 = #{record.monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol48 != null"> |
| | | tb_battsys_param.monVol48 = #{record.monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol49 != null"> |
| | | tb_battsys_param.monVol49 = #{record.monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol50 != null"> |
| | | tb_battsys_param.monVol50 = #{record.monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol51 != null"> |
| | | tb_battsys_param.monVol51 = #{record.monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol52 != null"> |
| | | tb_battsys_param.monVol52 = #{record.monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol53 != null"> |
| | | tb_battsys_param.monVol53 = #{record.monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol54 != null"> |
| | | tb_battsys_param.monVol54 = #{record.monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol55 != null"> |
| | | tb_battsys_param.monVol55 = #{record.monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol56 != null"> |
| | | tb_battsys_param.monVol56 = #{record.monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol57 != null"> |
| | | tb_battsys_param.monVol57 = #{record.monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol58 != null"> |
| | | tb_battsys_param.monVol58 = #{record.monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol59 != null"> |
| | | tb_battsys_param.monVol59 = #{record.monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol60 != null"> |
| | | tb_battsys_param.monVol60 = #{record.monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol61 != null"> |
| | | tb_battsys_param.monVol61 = #{record.monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol62 != null"> |
| | | tb_battsys_param.monVol62 = #{record.monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol63 != null"> |
| | | tb_battsys_param.monVol63 = #{record.monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol64 != null"> |
| | | tb_battsys_param.monVol64 = #{record.monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol65 != null"> |
| | | tb_battsys_param.monVol65 = #{record.monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol66 != null"> |
| | | tb_battsys_param.monVol66 = #{record.monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol67 != null"> |
| | | tb_battsys_param.monVol67 = #{record.monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol68 != null"> |
| | | tb_battsys_param.monVol68 = #{record.monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol69 != null"> |
| | | tb_battsys_param.monVol69 = #{record.monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol70 != null"> |
| | | tb_battsys_param.monVol70 = #{record.monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol71 != null"> |
| | | tb_battsys_param.monVol71 = #{record.monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol72 != null"> |
| | | tb_battsys_param.monVol72 = #{record.monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol73 != null"> |
| | | tb_battsys_param.monVol73 = #{record.monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol74 != null"> |
| | | tb_battsys_param.monVol74 = #{record.monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol75 != null"> |
| | | tb_battsys_param.monVol75 = #{record.monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol76 != null"> |
| | | tb_battsys_param.monVol76 = #{record.monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol77 != null"> |
| | | tb_battsys_param.monVol77 = #{record.monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol78 != null"> |
| | | tb_battsys_param.monVol78 = #{record.monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol79 != null"> |
| | | tb_battsys_param.monVol79 = #{record.monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol80 != null"> |
| | | tb_battsys_param.monVol80 = #{record.monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol81 != null"> |
| | | tb_battsys_param.monVol81 = #{record.monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol82 != null"> |
| | | tb_battsys_param.monVol82 = #{record.monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol83 != null"> |
| | | tb_battsys_param.monVol83 = #{record.monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="record.monvol84 != null"> |
| | | tb_battsys_param.monVol84 = #{record.monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update tb_battdata_rt tb_battsys_param |
| | | set tb_battsys_param.num = #{record.num,jdbcType=BIGINT}, |
| | | tb_battsys_param.battGroupId = #{record.battgroupid,jdbcType=INTEGER}, |
| | | tb_battsys_param.recordTime = #{record.recordtime,jdbcType=TIMESTAMP}, |
| | | tb_battsys_param.groupCurrent = #{record.groupcurrent,jdbcType=FLOAT}, |
| | | tb_battsys_param.battState = #{record.battstate,jdbcType=INTEGER}, |
| | | tb_battsys_param.monVol1 = #{record.monvol1,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol2 = #{record.monvol2,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol3 = #{record.monvol3,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol4 = #{record.monvol4,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol5 = #{record.monvol5,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol6 = #{record.monvol6,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol7 = #{record.monvol7,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol8 = #{record.monvol8,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol9 = #{record.monvol9,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol10 = #{record.monvol10,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol11 = #{record.monvol11,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol12 = #{record.monvol12,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol13 = #{record.monvol13,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol14 = #{record.monvol14,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol15 = #{record.monvol15,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol16 = #{record.monvol16,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol17 = #{record.monvol17,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol18 = #{record.monvol18,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol19 = #{record.monvol19,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol20 = #{record.monvol20,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol21 = #{record.monvol21,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol22 = #{record.monvol22,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol23 = #{record.monvol23,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol24 = #{record.monvol24,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol25 = #{record.monvol25,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol26 = #{record.monvol26,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol27 = #{record.monvol27,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol28 = #{record.monvol28,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol29 = #{record.monvol29,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol30 = #{record.monvol30,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol31 = #{record.monvol31,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol32 = #{record.monvol32,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol33 = #{record.monvol33,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol34 = #{record.monvol34,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol35 = #{record.monvol35,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol36 = #{record.monvol36,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol37 = #{record.monvol37,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol38 = #{record.monvol38,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol39 = #{record.monvol39,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol40 = #{record.monvol40,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol41 = #{record.monvol41,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol42 = #{record.monvol42,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol43 = #{record.monvol43,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol44 = #{record.monvol44,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol45 = #{record.monvol45,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol46 = #{record.monvol46,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol47 = #{record.monvol47,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol48 = #{record.monvol48,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol49 = #{record.monvol49,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol50 = #{record.monvol50,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol51 = #{record.monvol51,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol52 = #{record.monvol52,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol53 = #{record.monvol53,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol54 = #{record.monvol54,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol55 = #{record.monvol55,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol56 = #{record.monvol56,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol57 = #{record.monvol57,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol58 = #{record.monvol58,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol59 = #{record.monvol59,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol60 = #{record.monvol60,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol61 = #{record.monvol61,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol62 = #{record.monvol62,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol63 = #{record.monvol63,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol64 = #{record.monvol64,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol65 = #{record.monvol65,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol66 = #{record.monvol66,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol67 = #{record.monvol67,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol68 = #{record.monvol68,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol69 = #{record.monvol69,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol70 = #{record.monvol70,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol71 = #{record.monvol71,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol72 = #{record.monvol72,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol73 = #{record.monvol73,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol74 = #{record.monvol74,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol75 = #{record.monvol75,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol76 = #{record.monvol76,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol77 = #{record.monvol77,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol78 = #{record.monvol78,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol79 = #{record.monvol79,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol80 = #{record.monvol80,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol81 = #{record.monvol81,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol82 = #{record.monvol82,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol83 = #{record.monvol83,jdbcType=FLOAT}, |
| | | tb_battsys_param.monVol84 = #{record.monvol84,jdbcType=FLOAT} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.yckj.bean.TbBattsysParam"> |
| | | update tb_battdata_rt |
| | | <set> |
| | | <if test="battgroupid != null"> |
| | | battGroupId = #{battgroupid,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="recordtime != null"> |
| | | recordTime = #{recordtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="groupcurrent != null"> |
| | | groupCurrent = #{groupcurrent,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="battstate != null"> |
| | | battState = #{battstate,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="monvol1 != null"> |
| | | monVol1 = #{monvol1,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol2 != null"> |
| | | monVol2 = #{monvol2,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol3 != null"> |
| | | monVol3 = #{monvol3,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol4 != null"> |
| | | monVol4 = #{monvol4,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol5 != null"> |
| | | monVol5 = #{monvol5,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol6 != null"> |
| | | monVol6 = #{monvol6,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol7 != null"> |
| | | monVol7 = #{monvol7,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol8 != null"> |
| | | monVol8 = #{monvol8,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol9 != null"> |
| | | monVol9 = #{monvol9,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol10 != null"> |
| | | monVol10 = #{monvol10,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol11 != null"> |
| | | monVol11 = #{monvol11,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol12 != null"> |
| | | monVol12 = #{monvol12,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol13 != null"> |
| | | monVol13 = #{monvol13,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol14 != null"> |
| | | monVol14 = #{monvol14,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol15 != null"> |
| | | monVol15 = #{monvol15,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol16 != null"> |
| | | monVol16 = #{monvol16,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol17 != null"> |
| | | monVol17 = #{monvol17,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol18 != null"> |
| | | monVol18 = #{monvol18,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol19 != null"> |
| | | monVol19 = #{monvol19,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol20 != null"> |
| | | monVol20 = #{monvol20,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol21 != null"> |
| | | monVol21 = #{monvol21,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol22 != null"> |
| | | monVol22 = #{monvol22,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol23 != null"> |
| | | monVol23 = #{monvol23,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol24 != null"> |
| | | monVol24 = #{monvol24,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol25 != null"> |
| | | monVol25 = #{monvol25,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol26 != null"> |
| | | monVol26 = #{monvol26,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol27 != null"> |
| | | monVol27 = #{monvol27,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol28 != null"> |
| | | monVol28 = #{monvol28,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol29 != null"> |
| | | monVol29 = #{monvol29,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol30 != null"> |
| | | monVol30 = #{monvol30,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol31 != null"> |
| | | monVol31 = #{monvol31,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol32 != null"> |
| | | monVol32 = #{monvol32,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol33 != null"> |
| | | monVol33 = #{monvol33,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol34 != null"> |
| | | monVol34 = #{monvol34,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol35 != null"> |
| | | monVol35 = #{monvol35,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol36 != null"> |
| | | monVol36 = #{monvol36,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol37 != null"> |
| | | monVol37 = #{monvol37,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol38 != null"> |
| | | monVol38 = #{monvol38,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol39 != null"> |
| | | monVol39 = #{monvol39,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol40 != null"> |
| | | monVol40 = #{monvol40,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol41 != null"> |
| | | monVol41 = #{monvol41,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol42 != null"> |
| | | monVol42 = #{monvol42,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol43 != null"> |
| | | monVol43 = #{monvol43,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol44 != null"> |
| | | monVol44 = #{monvol44,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol45 != null"> |
| | | monVol45 = #{monvol45,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol46 != null"> |
| | | monVol46 = #{monvol46,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol47 != null"> |
| | | monVol47 = #{monvol47,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol48 != null"> |
| | | monVol48 = #{monvol48,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol49 != null"> |
| | | monVol49 = #{monvol49,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol50 != null"> |
| | | monVol50 = #{monvol50,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol51 != null"> |
| | | monVol51 = #{monvol51,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol52 != null"> |
| | | monVol52 = #{monvol52,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol53 != null"> |
| | | monVol53 = #{monvol53,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol54 != null"> |
| | | monVol54 = #{monvol54,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol55 != null"> |
| | | monVol55 = #{monvol55,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol56 != null"> |
| | | monVol56 = #{monvol56,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol57 != null"> |
| | | monVol57 = #{monvol57,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol58 != null"> |
| | | monVol58 = #{monvol58,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol59 != null"> |
| | | monVol59 = #{monvol59,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol60 != null"> |
| | | monVol60 = #{monvol60,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol61 != null"> |
| | | monVol61 = #{monvol61,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol62 != null"> |
| | | monVol62 = #{monvol62,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol63 != null"> |
| | | monVol63 = #{monvol63,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol64 != null"> |
| | | monVol64 = #{monvol64,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol65 != null"> |
| | | monVol65 = #{monvol65,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol66 != null"> |
| | | monVol66 = #{monvol66,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol67 != null"> |
| | | monVol67 = #{monvol67,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol68 != null"> |
| | | monVol68 = #{monvol68,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol69 != null"> |
| | | monVol69 = #{monvol69,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol70 != null"> |
| | | monVol70 = #{monvol70,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol71 != null"> |
| | | monVol71 = #{monvol71,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol72 != null"> |
| | | monVol72 = #{monvol72,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol73 != null"> |
| | | monVol73 = #{monvol73,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol74 != null"> |
| | | monVol74 = #{monvol74,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol75 != null"> |
| | | monVol75 = #{monvol75,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol76 != null"> |
| | | monVol76 = #{monvol76,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol77 != null"> |
| | | monVol77 = #{monvol77,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol78 != null"> |
| | | monVol78 = #{monvol78,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol79 != null"> |
| | | monVol79 = #{monvol79,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol80 != null"> |
| | | monVol80 = #{monvol80,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol81 != null"> |
| | | monVol81 = #{monvol81,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol82 != null"> |
| | | monVol82 = #{monvol82,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol83 != null"> |
| | | monVol83 = #{monvol83,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="monvol84 != null"> |
| | | monVol84 = #{monvol84,jdbcType=FLOAT}, |
| | | </if> |
| | | </set> |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.yckj.bean.TbBattsysParam"> |
| | | update tb_battdata_rt |
| | | set battGroupId = #{battgroupid,jdbcType=INTEGER}, |
| | | recordTime = #{recordtime,jdbcType=TIMESTAMP}, |
| | | groupCurrent = #{groupcurrent,jdbcType=FLOAT}, |
| | | battState = #{battstate,jdbcType=INTEGER}, |
| | | monVol1 = #{monvol1,jdbcType=FLOAT}, |
| | | monVol2 = #{monvol2,jdbcType=FLOAT}, |
| | | monVol3 = #{monvol3,jdbcType=FLOAT}, |
| | | monVol4 = #{monvol4,jdbcType=FLOAT}, |
| | | monVol5 = #{monvol5,jdbcType=FLOAT}, |
| | | monVol6 = #{monvol6,jdbcType=FLOAT}, |
| | | monVol7 = #{monvol7,jdbcType=FLOAT}, |
| | | monVol8 = #{monvol8,jdbcType=FLOAT}, |
| | | monVol9 = #{monvol9,jdbcType=FLOAT}, |
| | | monVol10 = #{monvol10,jdbcType=FLOAT}, |
| | | monVol11 = #{monvol11,jdbcType=FLOAT}, |
| | | monVol12 = #{monvol12,jdbcType=FLOAT}, |
| | | monVol13 = #{monvol13,jdbcType=FLOAT}, |
| | | monVol14 = #{monvol14,jdbcType=FLOAT}, |
| | | monVol15 = #{monvol15,jdbcType=FLOAT}, |
| | | monVol16 = #{monvol16,jdbcType=FLOAT}, |
| | | monVol17 = #{monvol17,jdbcType=FLOAT}, |
| | | monVol18 = #{monvol18,jdbcType=FLOAT}, |
| | | monVol19 = #{monvol19,jdbcType=FLOAT}, |
| | | monVol20 = #{monvol20,jdbcType=FLOAT}, |
| | | monVol21 = #{monvol21,jdbcType=FLOAT}, |
| | | monVol22 = #{monvol22,jdbcType=FLOAT}, |
| | | monVol23 = #{monvol23,jdbcType=FLOAT}, |
| | | monVol24 = #{monvol24,jdbcType=FLOAT}, |
| | | monVol25 = #{monvol25,jdbcType=FLOAT}, |
| | | monVol26 = #{monvol26,jdbcType=FLOAT}, |
| | | monVol27 = #{monvol27,jdbcType=FLOAT}, |
| | | monVol28 = #{monvol28,jdbcType=FLOAT}, |
| | | monVol29 = #{monvol29,jdbcType=FLOAT}, |
| | | monVol30 = #{monvol30,jdbcType=FLOAT}, |
| | | monVol31 = #{monvol31,jdbcType=FLOAT}, |
| | | monVol32 = #{monvol32,jdbcType=FLOAT}, |
| | | monVol33 = #{monvol33,jdbcType=FLOAT}, |
| | | monVol34 = #{monvol34,jdbcType=FLOAT}, |
| | | monVol35 = #{monvol35,jdbcType=FLOAT}, |
| | | monVol36 = #{monvol36,jdbcType=FLOAT}, |
| | | monVol37 = #{monvol37,jdbcType=FLOAT}, |
| | | monVol38 = #{monvol38,jdbcType=FLOAT}, |
| | | monVol39 = #{monvol39,jdbcType=FLOAT}, |
| | | monVol40 = #{monvol40,jdbcType=FLOAT}, |
| | | monVol41 = #{monvol41,jdbcType=FLOAT}, |
| | | monVol42 = #{monvol42,jdbcType=FLOAT}, |
| | | monVol43 = #{monvol43,jdbcType=FLOAT}, |
| | | monVol44 = #{monvol44,jdbcType=FLOAT}, |
| | | monVol45 = #{monvol45,jdbcType=FLOAT}, |
| | | monVol46 = #{monvol46,jdbcType=FLOAT}, |
| | | monVol47 = #{monvol47,jdbcType=FLOAT}, |
| | | monVol48 = #{monvol48,jdbcType=FLOAT}, |
| | | monVol49 = #{monvol49,jdbcType=FLOAT}, |
| | | monVol50 = #{monvol50,jdbcType=FLOAT}, |
| | | monVol51 = #{monvol51,jdbcType=FLOAT}, |
| | | monVol52 = #{monvol52,jdbcType=FLOAT}, |
| | | monVol53 = #{monvol53,jdbcType=FLOAT}, |
| | | monVol54 = #{monvol54,jdbcType=FLOAT}, |
| | | monVol55 = #{monvol55,jdbcType=FLOAT}, |
| | | monVol56 = #{monvol56,jdbcType=FLOAT}, |
| | | monVol57 = #{monvol57,jdbcType=FLOAT}, |
| | | monVol58 = #{monvol58,jdbcType=FLOAT}, |
| | | monVol59 = #{monvol59,jdbcType=FLOAT}, |
| | | monVol60 = #{monvol60,jdbcType=FLOAT}, |
| | | monVol61 = #{monvol61,jdbcType=FLOAT}, |
| | | monVol62 = #{monvol62,jdbcType=FLOAT}, |
| | | monVol63 = #{monvol63,jdbcType=FLOAT}, |
| | | monVol64 = #{monvol64,jdbcType=FLOAT}, |
| | | monVol65 = #{monvol65,jdbcType=FLOAT}, |
| | | monVol66 = #{monvol66,jdbcType=FLOAT}, |
| | | monVol67 = #{monvol67,jdbcType=FLOAT}, |
| | | monVol68 = #{monvol68,jdbcType=FLOAT}, |
| | | monVol69 = #{monvol69,jdbcType=FLOAT}, |
| | | monVol70 = #{monvol70,jdbcType=FLOAT}, |
| | | monVol71 = #{monvol71,jdbcType=FLOAT}, |
| | | monVol72 = #{monvol72,jdbcType=FLOAT}, |
| | | monVol73 = #{monvol73,jdbcType=FLOAT}, |
| | | monVol74 = #{monvol74,jdbcType=FLOAT}, |
| | | monVol75 = #{monvol75,jdbcType=FLOAT}, |
| | | monVol76 = #{monvol76,jdbcType=FLOAT}, |
| | | monVol77 = #{monvol77,jdbcType=FLOAT}, |
| | | monVol78 = #{monvol78,jdbcType=FLOAT}, |
| | | monVol79 = #{monvol79,jdbcType=FLOAT}, |
| | | monVol80 = #{monvol80,jdbcType=FLOAT}, |
| | | monVol81 = #{monvol81,jdbcType=FLOAT}, |
| | | monVol82 = #{monvol82,jdbcType=FLOAT}, |
| | | monVol83 = #{monvol83,jdbcType=FLOAT}, |
| | | monVol84 = #{monvol84,jdbcType=FLOAT} |
| | | where num = #{num,jdbcType=BIGINT} |
| | | </update> |
| | | <select id="queryAll" resultType="com.yckj.bean.TbBattsysParam">SELECT * from tb_battsys_param</select> |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.yckj.dao.UserDao"> |
| | | <resultMap id="userMap" type="com.yckj.bean.User"> |
| | | <id property="id" column="id"/> |
| | | <result property="name" column="name"/> |
| | | <result property="address" column="address"/> |
| | | <result property="mobile" column="mobile"/> |
| | | <result property="email" column="email"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="role" column="role"/> |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="queryCondition"> |
| | | <where> |
| | | <if test="id != null and id != ''"> |
| | | and id = #{id} |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and name = #{name} |
| | | </if> |
| | | <if test="address != null and address != ''"> |
| | | and address = #{address} |
| | | </if> |
| | | <if test="mobile != null and mobile != ''"> |
| | | and mobile = #{mobile} |
| | | </if> |
| | | <if test="email != null and email != ''"> |
| | | and email = #{email} |
| | | </if> |
| | | <if test="role != null and role != ''"> |
| | | and role = #{role} |
| | | </if> |
| | | |
| | | </where> |
| | | </sql> |
| | | |
| | | <select id="getByMap" parameterType="map" resultMap="userMap"> |
| | | SELECT * FROM user |
| | | <include refid="queryCondition" /> |
| | | </select> |
| | | |
| | | <select id="getById" parameterType="int" resultMap="userMap"> |
| | | SELECT * FROM user WHERE id =#{id} |
| | | </select> |
| | | |
| | | <insert id="create" parameterType="com.yckj.bean.User"> |
| | | <selectKey resultType="int" order="AFTER" keyProperty="id" > |
| | | SELECT LAST_INSERT_ID() |
| | | </selectKey> |
| | | INSERT INTO user( |
| | | id, |
| | | name, |
| | | address, |
| | | mobile, |
| | | email, |
| | | create_time, |
| | | role |
| | | )VALUES( |
| | | #{id}, |
| | | #{name}, |
| | | #{address}, |
| | | #{mobile}, |
| | | #{email}, |
| | | NOW(), |
| | | #{role} |
| | | ) |
| | | </insert> |
| | | |
| | | <update id="update" parameterType="com.yckj.bean.User"> |
| | | UPDATE user SET |
| | | name = #{name}, |
| | | address = #{address}, |
| | | mobile = #{mobile}, |
| | | email = #{email}, |
| | | role = #{role} |
| | | WHERE id = #{id} |
| | | </update> |
| | | |
| | | <delete id="delete" parameterType="int"> |
| | | DELETE FROM user WHERE id = #{id} |
| | | </delete> |
| | | |
| | | </mapper> |
New file |
| | |
| | | package com.yckj; |
| | | |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.context.annotation.ComponentScan; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.context.annotation.FilterType; |
| | | import org.springframework.test.context.TestPropertySource; |
| | | import org.springframework.test.context.junit4.SpringRunner; |
| | | |
| | | /** |
| | | * @author yyb |
| | | * @time 2019/3/27 |
| | | */ |
| | | @RunWith(SpringRunner.class) |
| | | @SpringBootTest(classes = Application.class) |
| | | @TestPropertySource("/config/application.properties") |
| | | public class BaseTest { |
| | | |
| | | @Configuration |
| | | @ComponentScan(basePackages = {"cn.abel"}, excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = Configuration.class)) |
| | | static class ComponentScanConfig { |
| | | |
| | | } |
| | | |
| | | |
| | | @Test |
| | | public void contextLoads() { |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.yckj.service; |
| | | |
| | | import com.yckj.BaseTest; |
| | | import com.yckj.bean.TbBattdataRt; |
| | | import com.yckj.bean.TbBattsysParam; |
| | | import com.yckj.bean.User; |
| | | import com.yckj.dao.TbBattsysParamDao; |
| | | import org.junit.Test; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author yyb |
| | | * @time 2019/3/27 |
| | | */ |
| | | public class ServiceTest extends BaseTest { |
| | | |
| | | |
| | | @Autowired |
| | | private UserService userService; |
| | | @Autowired |
| | | private TbBattsysParamService tbBattsysParamService; |
| | | @Autowired |
| | | private TbBattdataRtService tbBattdataRtService; |
| | | |
| | | @Test |
| | | public void aAll2() throws Exception { |
| | | List<TbBattdataRt> tbBattsysParams = tbBattdataRtService.queryAll(); |
| | | for (int i = 0; i < tbBattsysParams.size(); i++) { |
| | | System.out.println("\t" + tbBattsysParams.get(i).toString()); |
| | | } |
| | | } |
| | | @Test |
| | | public void aAll() throws Exception { |
| | | // TbBattsysParam tbBattsysParam = tbBattsysParamDao.selectByPrimaryKey(2L); |
| | | // System.out.println("tbBattsysParam = " + tbBattsysParam); |
| | | List<TbBattsysParam> tbBattsysParams = tbBattsysParamService.queryAll(); |
| | | for (int i = 0; i < tbBattsysParams.size(); i++) { |
| | | System.out.println("\t" + tbBattsysParams.get(i).toString()); |
| | | } |
| | | } |
| | | |
| | | @Test |
| | | public void dynamicDataSourceTest() throws Exception { |
| | | List<User> userList = userService.getByMap(null); |
| | | System.out.println("--userList---" + userList.size()); |
| | | for (int i = 0; i < userList.size(); i++) { |
| | | String s = userList.get(i).toString(); |
| | | System.out.println("s = " + s); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | // @Test |
| | | // public void addTe() throws Exception { |
| | | // for (int i = 3; i < 10; i++) { |
| | | // userService.create(new User(i,"abc"+i,"add","123"+i,"ad@mail.com",new Date(),1)); |
| | | // } |
| | | // } |
| | | } |