diff --git a/pom.xml b/pom.xml
index c938369f..fc2c6879 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,7 @@
game
mt
+ wisdomcar
diff --git a/tall/src/main/java/com/ccsens/tall/rabbitMQ/RabbitController.java b/tall/src/main/java/com/ccsens/tall/rabbitMQ/RabbitController.java
index 89fe84d2..b1519124 100644
--- a/tall/src/main/java/com/ccsens/tall/rabbitMQ/RabbitController.java
+++ b/tall/src/main/java/com/ccsens/tall/rabbitMQ/RabbitController.java
@@ -1,4 +1,4 @@
-//package com.ccsens.tall.rabbitMQ;
+//package com.ccsens.tall.com.ccsens.wisdomcar.rabbitMQ;
//
//
//import com.ccsens.util.config.RabbitMQConfig;
diff --git a/util/src/main/java/com/ccsens/util/WebConstant.java b/util/src/main/java/com/ccsens/util/WebConstant.java
index fb48601b..20fe3106 100644
--- a/util/src/main/java/com/ccsens/util/WebConstant.java
+++ b/util/src/main/java/com/ccsens/util/WebConstant.java
@@ -561,7 +561,8 @@ public class WebConstant {
,PPTCtl(0x15,"PPTCtl")
,Count(0x16,"Count")
,ChangeStatus(0x17,"ChangeStatus")
- ,PROJECT_MESSAGE(0x18, "ProjectMessage");
+ ,PROJECT_MESSAGE(0x18, "ProjectMessage")
+ ,CAR_RECORD(0x19, "CarRecord");
public int value;
public String phase;
Message_Type(int value,String thePhase){
@@ -586,6 +587,7 @@ public class WebConstant {
case 0x15: return Game;
case 0x16: return Count;
case 0x17: return ChangeStatus;
+ case 0x19: return CAR_RECORD;
default: return null;
}
}
@@ -621,13 +623,13 @@ public class WebConstant {
if("BatchSetting".equalsIgnoreCase(phase)) {
return BatchSetting;
}
- if(phase.equalsIgnoreCase("Admin")) {
+ if("Admin".equalsIgnoreCase(phase)) {
return Admin;
}
- if(phase.equalsIgnoreCase("Ring")) {
+ if("Ring".equalsIgnoreCase(phase)) {
return Ring;
}
- if(phase.equalsIgnoreCase("Deliver")) {
+ if("Deliver".equalsIgnoreCase(phase)) {
return Deliver;
}
if("Game".equalsIgnoreCase(phase)) {
@@ -637,10 +639,13 @@ public class WebConstant {
return Count;
}
if("ChangeStatus".equalsIgnoreCase(phase)) {
- return Count;
- }else {
- return null;
+ return ChangeStatus;
}
+ if("CarRecord".equalsIgnoreCase(phase)) {
+ return CAR_RECORD;
+ }
+ return null;
+
}
}
public enum Message_Ack_Event{
diff --git a/util/src/main/java/com/ccsens/util/config/RabbitMQConfig.java b/util/src/main/java/com/ccsens/util/config/RabbitMQConfig.java
index 4efeca40..0b07bcf1 100644
--- a/util/src/main/java/com/ccsens/util/config/RabbitMQConfig.java
+++ b/util/src/main/java/com/ccsens/util/config/RabbitMQConfig.java
@@ -15,12 +15,14 @@ public class RabbitMQConfig {
private static final String TALL_MESSAGE_1 = "tall_message_1";
private static final String TALL_MESSAGE_2 = "tall_message_2";
public static final String GAME_STATUS = PropUtil.gameMqName;
+
+ public static final String WISDOM_CAR = "wisdom_car";
+
+
private static final String GAME_STATUS_DELAY_SEND_QUEUE = "gameStatusDelaySendQueue";
private static final String GAME_STATUS_DELAY_SEND_EXCHANGE = "gameStatusDelaySendExchange";
private static final String GAME_STATUS_DELAY_SEND_ROUTING_KEY = "gameStatusDelaySendRoutingKey";
- public static final String GAME_MQ_A = "gameMqA";
-
/**消息队列发送*/
public static final String MESSAGE_QUEUE_NAME = "tall_message_1";
diff --git a/wisdomcar/.gitignore b/wisdomcar/.gitignore
new file mode 100644
index 00000000..549e00a2
--- /dev/null
+++ b/wisdomcar/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/wisdomcar/mvnw b/wisdomcar/mvnw
new file mode 100644
index 00000000..3c8a5537
--- /dev/null
+++ b/wisdomcar/mvnw
@@ -0,0 +1,322 @@
+#!/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 "$@"
diff --git a/wisdomcar/mvnw.cmd b/wisdomcar/mvnw.cmd
new file mode 100644
index 00000000..c8d43372
--- /dev/null
+++ b/wisdomcar/mvnw.cmd
@@ -0,0 +1,182 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM https://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Maven Start Up Batch script
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM M2_HOME - location of maven2's installed home dir
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM set title of command window
+title %0
+@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo.
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo.
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo.
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+
+FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+ IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
+)
+
+@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
+if exist %WRAPPER_JAR% (
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Found %WRAPPER_JAR%
+ )
+) else (
+ if not "%MVNW_REPOURL%" == "" (
+ SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar"
+ )
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Couldn't find %WRAPPER_JAR%, downloading it ...
+ echo Downloading from: %DOWNLOAD_URL%
+ )
+
+ powershell -Command "&{"^
+ "$webclient = new-object System.Net.WebClient;"^
+ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
+ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
+ "}"^
+ "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
+ "}"
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Finished downloading %WRAPPER_JAR%
+ )
+)
+@REM End of extension
+
+@REM Provide a "standardized" way to retrieve the CLI args that will
+@REM work with both Windows and non-Windows executions.
+set MAVEN_CMD_LINE_ARGS=%*
+
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
+
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
+
+exit /B %ERROR_CODE%
diff --git a/wisdomcar/pom.xml b/wisdomcar/pom.xml
new file mode 100644
index 00000000..48202585
--- /dev/null
+++ b/wisdomcar/pom.xml
@@ -0,0 +1,69 @@
+
+
+
+ ccsenscloud
+ com.ccsens
+ 1.0-SNAPSHOT
+
+ 4.0.0
+
+ wisdomcar
+
+ 1.8
+
+
+
+
+
+ cloudutil
+ com.ccsens
+ 1.0-SNAPSHOT
+
+
+
+ util
+ com.ccsens
+ 1.0-SNAPSHOT
+
+
+
+
+
+
+
+ org.mybatis.generator
+ mybatis-generator-maven-plugin
+ 1.3.7
+
+ ${basedir}/src/main/resources/mbg.xml
+ true
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.34
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+ com.ccsens.wisdomcar.WisdomcarApplication
+
+
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/WisdomcarApplication.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/WisdomcarApplication.java
new file mode 100644
index 00000000..5731d937
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/WisdomcarApplication.java
@@ -0,0 +1,24 @@
+package com.ccsens.wisdomcar;
+
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.web.servlet.ServletComponentScan;
+import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
+import org.springframework.cloud.openfeign.EnableFeignClients;
+import org.springframework.scheduling.annotation.EnableAsync;
+
+@MapperScan(basePackages = {"com.ccsens.wisdomcar.persist.*"})
+@ServletComponentScan
+@EnableAsync
+//开启断路器功能
+@EnableCircuitBreaker
+@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign")
+@SpringBootApplication(scanBasePackages = "com.ccsens")
+public class WisdomcarApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(WisdomcarApplication.class, args);
+ }
+
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/DebugController.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/DebugController.java
new file mode 100644
index 00000000..846d1f23
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/DebugController.java
@@ -0,0 +1,29 @@
+package com.ccsens.wisdomcar.api;
+
+import com.ccsens.util.JsonResponse;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.servlet.http.HttpServletRequest;
+
+@Api(tags = "DEBUG" , description = "DebugController | ")
+@RestController
+@RequestMapping("/debug")
+@Slf4j
+public class DebugController {
+
+ @ApiOperation(value = "/测试",notes = "")
+ @ApiImplicitParams({
+ })
+ @RequestMapping(value="",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
+ public JsonResponse debug(HttpServletRequest request) throws Exception {
+
+ return JsonResponse.newInstance().ok("测试");
+ }
+
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RecordController.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RecordController.java
new file mode 100644
index 00000000..50db7110
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RecordController.java
@@ -0,0 +1,16 @@
+package com.ccsens.wisdomcar.api;
+
+import io.swagger.annotations.Api;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @author 逗
+ */
+@Slf4j
+@Api(tags = "消息记录相关api" , description = "")
+@RestController
+@RequestMapping("/record")
+public class RecordController {
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RfidController.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RfidController.java
new file mode 100644
index 00000000..74b47195
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/RfidController.java
@@ -0,0 +1,68 @@
+package com.ccsens.wisdomcar.api;
+
+import com.ccsens.cloudutil.annotation.MustLogin;
+import com.ccsens.util.JsonResponse;
+import com.ccsens.util.bean.dto.QueryDto;
+import com.ccsens.wisdomcar.bean.dto.RfidDto;
+import com.ccsens.wisdomcar.bean.vo.RfidVo;
+import com.ccsens.wisdomcar.service.IRfidService;
+import com.github.pagehelper.PageInfo;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.validation.annotation.Validated;
+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.RestController;
+
+import javax.annotation.Resource;
+
+/**
+ * @author 逗
+ */
+@Slf4j
+@Api(tags = "rfid相关api" , description = "")
+@RestController
+@RequestMapping("/rfid")
+public class RfidController {
+ @Resource
+ private IRfidService rfidService;
+
+ @ApiOperation(value = "添加rfid", notes = "zy:将rfid的信息存入数据库")
+ @RequestMapping(value = "/save", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse saveRfid(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("添加rfid:{}",params);
+ rfidService.saveRfid(params.getParam());
+ log.info("添加rfid成功");
+ return JsonResponse.newInstance().ok();
+ }
+
+ @ApiOperation(value = "删除rfid", notes = "")
+ @RequestMapping(value = "/del", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse delRfid(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("删除rfid:{}",params);
+ rfidService.delRfid(params.getParam());
+ log.info("删除rfid成功");
+ return JsonResponse.newInstance().ok();
+ }
+
+ @ApiOperation(value = "修改rfid", notes = "")
+ @RequestMapping(value = "/update", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse updateRfid(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("修改rfid:{}",params);
+ rfidService.updateRfid(params.getParam());
+ log.info("修改rfid成功");
+ return JsonResponse.newInstance().ok();
+ }
+
+ @ApiOperation(value = "分页查找rfid", notes = "")
+ @RequestMapping(value = "/query", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
+ public JsonResponse> queryRfid(@ApiParam @Validated @RequestBody QueryDto params) {
+ log.info("分页查找rfid:{}",params);
+ PageInfo queryRfidPageInfo = rfidService.queryRfid(params.getParam());
+ log.info("分页查找rfid成功,{}",queryRfidPageInfo);
+ return JsonResponse.newInstance().ok(queryRfidPageInfo);
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/ScreenController.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/ScreenController.java
new file mode 100644
index 00000000..a878f66e
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/ScreenController.java
@@ -0,0 +1,16 @@
+package com.ccsens.wisdomcar.api;
+
+import io.swagger.annotations.Api;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @author 逗
+ */
+@Slf4j
+@Api(tags = "大屏相关api" , description = "")
+@RestController
+@RequestMapping("/screen")
+public class ScreenController {
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/WisdomCatController.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/WisdomCatController.java
new file mode 100644
index 00000000..7587cc22
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/api/WisdomCatController.java
@@ -0,0 +1,16 @@
+package com.ccsens.wisdomcar.api;
+
+import io.swagger.annotations.Api;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * @author 逗
+ */
+@Slf4j
+@Api(tags = "平车相关api" , description = "")
+@RestController
+@RequestMapping("/car")
+public class WisdomCatController {
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/BaseMessageDto.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/BaseMessageDto.java
new file mode 100644
index 00000000..4f0821da
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/BaseMessageDto.java
@@ -0,0 +1,66 @@
+package com.ccsens.wisdomcar.bean.dto.Message;
+
+import cn.hutool.core.collection.CollectionUtil;
+import com.alibaba.fastjson.JSONObject;
+import com.ccsens.util.bean.message.common.InMessage;
+import lombok.Data;
+
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+@Data
+public class BaseMessageDto {
+ @Data
+ public static class MessageUser {
+ private Long id;
+ private Long userId; //本质上是authId //20190507 本质上是userId
+ private String nickname;
+ private String avatarUrl;
+ private boolean hasRead;
+ public MessageUser(){
+ hasRead = false;
+ }
+ public MessageUser(Long userId){
+ hasRead = false;
+ this.userId = userId;
+ }
+ public MessageUser(Long id,Long userId,String nickname,String avatarUrl){
+ this();
+ this.id = id;
+ this.userId = userId;
+ this.nickname = nickname;
+ this.avatarUrl = avatarUrl;
+ }
+
+ public static List userIdToUsers(List userIds) {
+ List users = new ArrayList<>();
+ userIds.forEach(userId ->{
+ users.add(new MessageUser(userId));
+ });
+ return users;
+ }
+ }
+
+ private Long time;
+ private String type;
+ private String event;
+ private Long projectId;
+ private MessageUser sender;
+ private List receivers;
+// private Object data;
+
+ public Set receiversTransTos() {
+ Set tos = new HashSet<>();
+ if (CollectionUtil.isEmpty(receivers)) {
+ return tos;
+ }
+ receivers.forEach(receiver -> {
+ InMessage.To to = new InMessage.To(receiver.getUserId());
+ tos.add(JSONObject.toJSONString(to));
+ });
+
+ return tos;
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/CarRecordMessageDto.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/CarRecordMessageDto.java
new file mode 100644
index 00000000..ce72b5bd
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/Message/CarRecordMessageDto.java
@@ -0,0 +1,26 @@
+package com.ccsens.wisdomcar.bean.dto.Message;
+
+import lombok.Data;
+
+/**
+ * @author 逗
+ */
+@Data
+public class CarRecordMessageDto {
+ /**
+ * 平车编号
+ */
+ private String carNumber;
+ /**
+ * 类型 0:开始 1:体重 2:剂量 3:rfid
+ */
+ private byte type;
+ /**
+ * 类型对应的值,
+ */
+ private String value;
+ /**
+ * 时间
+ */
+ private Long time;
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/RfidDto.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/RfidDto.java
new file mode 100644
index 00000000..800c414a
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/dto/RfidDto.java
@@ -0,0 +1,69 @@
+package com.ccsens.wisdomcar.bean.dto;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+/**
+ * @author 逗
+ */
+@Data
+public class RfidDto {
+
+
+ @Data
+ @ApiModel("添加rfid")
+ public static class SaveRfid{
+ @ApiModelProperty("rfid")
+ private Long rfid;
+ @ApiModelProperty("类型 0医生 1采血车 2门禁")
+ private byte type;
+ @ApiModelProperty("名称")
+ private String name;
+ @ApiModelProperty("环节")
+ private byte stop;
+ @ApiModelProperty("医院id")
+ private byte hospitalId;
+ }
+
+ @Data
+ @ApiModel("添加rfid")
+ public static class DelRfid{
+ @ApiModelProperty("rfid表的id")
+ private Long id;
+ }
+
+ @Data
+ @ApiModel("添加rfid")
+ public static class UpdateRfid{
+ @ApiModelProperty("rfid表的id")
+ private Long id;
+ @ApiModelProperty("rfid")
+ private Long rfid;
+ @ApiModelProperty("类型 0医生 1采血车 2门禁")
+ private byte type;
+ @ApiModelProperty("名称")
+ private String name;
+ @ApiModelProperty("环节")
+ private byte stop;
+ @ApiModelProperty("医院id")
+ private byte hospitalId;
+ }
+
+ @Data
+ @ApiModel("添加rfid")
+ public static class QueryRfid{
+ @ApiModelProperty("类型 0医生 1采血车 2门禁")
+ private byte type;
+ @ApiModelProperty("名称")
+ private String name;
+ @ApiModelProperty("环节")
+ private byte stop;
+ @ApiModelProperty("医院id")
+ private byte hospitalId;
+ @ApiModelProperty("页数")
+ private int pageNum;
+ @ApiModelProperty("每页数量")
+ private int pageSize;
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAid.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAid.java
new file mode 100644
index 00000000..68f116dd
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAid.java
@@ -0,0 +1,95 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class FirstAid implements Serializable {
+ private Long id;
+
+ private Long carId;
+
+ private Long begintime;
+
+ private Long endtime;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getCarId() {
+ return carId;
+ }
+
+ public void setCarId(Long carId) {
+ this.carId = carId;
+ }
+
+ public Long getBegintime() {
+ return begintime;
+ }
+
+ public void setBegintime(Long begintime) {
+ this.begintime = begintime;
+ }
+
+ public Long getEndtime() {
+ return endtime;
+ }
+
+ public void setEndtime(Long endtime) {
+ this.endtime = endtime;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", carId=").append(carId);
+ sb.append(", begintime=").append(begintime);
+ sb.append(", endtime=").append(endtime);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidExample.java
new file mode 100644
index 00000000..f3b0fc76
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidExample.java
@@ -0,0 +1,621 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class FirstAidExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public FirstAidExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIsNull() {
+ addCriterion("car_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIsNotNull() {
+ addCriterion("car_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdEqualTo(Long value) {
+ addCriterion("car_id =", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotEqualTo(Long value) {
+ addCriterion("car_id <>", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdGreaterThan(Long value) {
+ addCriterion("car_id >", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("car_id >=", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdLessThan(Long value) {
+ addCriterion("car_id <", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdLessThanOrEqualTo(Long value) {
+ addCriterion("car_id <=", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIn(List values) {
+ addCriterion("car_id in", values, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotIn(List values) {
+ addCriterion("car_id not in", values, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdBetween(Long value1, Long value2) {
+ addCriterion("car_id between", value1, value2, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotBetween(Long value1, Long value2) {
+ addCriterion("car_id not between", value1, value2, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIsNull() {
+ addCriterion("beginTime is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIsNotNull() {
+ addCriterion("beginTime is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeEqualTo(Long value) {
+ addCriterion("beginTime =", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotEqualTo(Long value) {
+ addCriterion("beginTime <>", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeGreaterThan(Long value) {
+ addCriterion("beginTime >", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("beginTime >=", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeLessThan(Long value) {
+ addCriterion("beginTime <", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeLessThanOrEqualTo(Long value) {
+ addCriterion("beginTime <=", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIn(List values) {
+ addCriterion("beginTime in", values, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotIn(List values) {
+ addCriterion("beginTime not in", values, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeBetween(Long value1, Long value2) {
+ addCriterion("beginTime between", value1, value2, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotBetween(Long value1, Long value2) {
+ addCriterion("beginTime not between", value1, value2, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIsNull() {
+ addCriterion("endTime is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIsNotNull() {
+ addCriterion("endTime is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeEqualTo(Long value) {
+ addCriterion("endTime =", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotEqualTo(Long value) {
+ addCriterion("endTime <>", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeGreaterThan(Long value) {
+ addCriterion("endTime >", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("endTime >=", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeLessThan(Long value) {
+ addCriterion("endTime <", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeLessThanOrEqualTo(Long value) {
+ addCriterion("endTime <=", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIn(List values) {
+ addCriterion("endTime in", values, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotIn(List values) {
+ addCriterion("endTime not in", values, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeBetween(Long value1, Long value2) {
+ addCriterion("endTime between", value1, value2, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotBetween(Long value1, Long value2) {
+ addCriterion("endTime not between", value1, value2, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecord.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecord.java
new file mode 100644
index 00000000..fb4e4a13
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecord.java
@@ -0,0 +1,117 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class FirstAidRecord implements Serializable {
+ private Long id;
+
+ private Long firstAidId;
+
+ private Byte type;
+
+ private String value;
+
+ private Long begintime;
+
+ private Long endtime;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getFirstAidId() {
+ return firstAidId;
+ }
+
+ public void setFirstAidId(Long firstAidId) {
+ this.firstAidId = firstAidId;
+ }
+
+ public Byte getType() {
+ return type;
+ }
+
+ public void setType(Byte type) {
+ this.type = type;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value == null ? null : value.trim();
+ }
+
+ public Long getBegintime() {
+ return begintime;
+ }
+
+ public void setBegintime(Long begintime) {
+ this.begintime = begintime;
+ }
+
+ public Long getEndtime() {
+ return endtime;
+ }
+
+ public void setEndtime(Long endtime) {
+ this.endtime = endtime;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", firstAidId=").append(firstAidId);
+ sb.append(", type=").append(type);
+ sb.append(", value=").append(value);
+ sb.append(", begintime=").append(begintime);
+ sb.append(", endtime=").append(endtime);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecordExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecordExample.java
new file mode 100644
index 00000000..e5ca1b76
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidRecordExample.java
@@ -0,0 +1,751 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class FirstAidRecordExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public FirstAidRecordExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdIsNull() {
+ addCriterion("first_aid_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdIsNotNull() {
+ addCriterion("first_aid_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdEqualTo(Long value) {
+ addCriterion("first_aid_id =", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdNotEqualTo(Long value) {
+ addCriterion("first_aid_id <>", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdGreaterThan(Long value) {
+ addCriterion("first_aid_id >", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("first_aid_id >=", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdLessThan(Long value) {
+ addCriterion("first_aid_id <", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdLessThanOrEqualTo(Long value) {
+ addCriterion("first_aid_id <=", value, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdIn(List values) {
+ addCriterion("first_aid_id in", values, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdNotIn(List values) {
+ addCriterion("first_aid_id not in", values, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdBetween(Long value1, Long value2) {
+ addCriterion("first_aid_id between", value1, value2, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andFirstAidIdNotBetween(Long value1, Long value2) {
+ addCriterion("first_aid_id not between", value1, value2, "firstAidId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Byte value) {
+ addCriterion("type =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Byte value) {
+ addCriterion("type <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Byte value) {
+ addCriterion("type >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("type >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Byte value) {
+ addCriterion("type <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Byte value) {
+ addCriterion("type <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("type in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("type not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Byte value1, Byte value2) {
+ addCriterion("type between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Byte value1, Byte value2) {
+ addCriterion("type not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIsNull() {
+ addCriterion("value is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIsNotNull() {
+ addCriterion("value is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueEqualTo(String value) {
+ addCriterion("value =", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotEqualTo(String value) {
+ addCriterion("value <>", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueGreaterThan(String value) {
+ addCriterion("value >", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueGreaterThanOrEqualTo(String value) {
+ addCriterion("value >=", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLessThan(String value) {
+ addCriterion("value <", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLessThanOrEqualTo(String value) {
+ addCriterion("value <=", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLike(String value) {
+ addCriterion("value like", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotLike(String value) {
+ addCriterion("value not like", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIn(List values) {
+ addCriterion("value in", values, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotIn(List values) {
+ addCriterion("value not in", values, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueBetween(String value1, String value2) {
+ addCriterion("value between", value1, value2, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotBetween(String value1, String value2) {
+ addCriterion("value not between", value1, value2, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIsNull() {
+ addCriterion("beginTime is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIsNotNull() {
+ addCriterion("beginTime is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeEqualTo(Long value) {
+ addCriterion("beginTime =", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotEqualTo(Long value) {
+ addCriterion("beginTime <>", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeGreaterThan(Long value) {
+ addCriterion("beginTime >", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("beginTime >=", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeLessThan(Long value) {
+ addCriterion("beginTime <", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeLessThanOrEqualTo(Long value) {
+ addCriterion("beginTime <=", value, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeIn(List values) {
+ addCriterion("beginTime in", values, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotIn(List values) {
+ addCriterion("beginTime not in", values, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeBetween(Long value1, Long value2) {
+ addCriterion("beginTime between", value1, value2, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andBegintimeNotBetween(Long value1, Long value2) {
+ addCriterion("beginTime not between", value1, value2, "begintime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIsNull() {
+ addCriterion("endTime is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIsNotNull() {
+ addCriterion("endTime is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeEqualTo(Long value) {
+ addCriterion("endTime =", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotEqualTo(Long value) {
+ addCriterion("endTime <>", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeGreaterThan(Long value) {
+ addCriterion("endTime >", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("endTime >=", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeLessThan(Long value) {
+ addCriterion("endTime <", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeLessThanOrEqualTo(Long value) {
+ addCriterion("endTime <=", value, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeIn(List values) {
+ addCriterion("endTime in", values, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotIn(List values) {
+ addCriterion("endTime not in", values, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeBetween(Long value1, Long value2) {
+ addCriterion("endTime between", value1, value2, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andEndtimeNotBetween(Long value1, Long value2) {
+ addCriterion("endTime not between", value1, value2, "endtime");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandard.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandard.java
new file mode 100644
index 00000000..5c4fba7f
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandard.java
@@ -0,0 +1,106 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class FirstAidStandard implements Serializable {
+ private Long id;
+
+ private Byte type;
+
+ private Long hospitalId;
+
+ private Byte step;
+
+ private String duration;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Byte getType() {
+ return type;
+ }
+
+ public void setType(Byte type) {
+ this.type = type;
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Byte getStep() {
+ return step;
+ }
+
+ public void setStep(Byte step) {
+ this.step = step;
+ }
+
+ public String getDuration() {
+ return duration;
+ }
+
+ public void setDuration(String duration) {
+ this.duration = duration == null ? null : duration.trim();
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", type=").append(type);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", step=").append(step);
+ sb.append(", duration=").append(duration);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandardExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandardExample.java
new file mode 100644
index 00000000..e79b6784
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/FirstAidStandardExample.java
@@ -0,0 +1,691 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class FirstAidStandardExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public FirstAidStandardExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Byte value) {
+ addCriterion("type =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Byte value) {
+ addCriterion("type <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Byte value) {
+ addCriterion("type >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("type >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Byte value) {
+ addCriterion("type <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Byte value) {
+ addCriterion("type <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("type in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("type not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Byte value1, Byte value2) {
+ addCriterion("type between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Byte value1, Byte value2) {
+ addCriterion("type not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIsNull() {
+ addCriterion("step is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIsNotNull() {
+ addCriterion("step is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepEqualTo(Byte value) {
+ addCriterion("step =", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotEqualTo(Byte value) {
+ addCriterion("step <>", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepGreaterThan(Byte value) {
+ addCriterion("step >", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepGreaterThanOrEqualTo(Byte value) {
+ addCriterion("step >=", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepLessThan(Byte value) {
+ addCriterion("step <", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepLessThanOrEqualTo(Byte value) {
+ addCriterion("step <=", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIn(List values) {
+ addCriterion("step in", values, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotIn(List values) {
+ addCriterion("step not in", values, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepBetween(Byte value1, Byte value2) {
+ addCriterion("step between", value1, value2, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotBetween(Byte value1, Byte value2) {
+ addCriterion("step not between", value1, value2, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationIsNull() {
+ addCriterion("duration is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationIsNotNull() {
+ addCriterion("duration is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationEqualTo(String value) {
+ addCriterion("duration =", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationNotEqualTo(String value) {
+ addCriterion("duration <>", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationGreaterThan(String value) {
+ addCriterion("duration >", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationGreaterThanOrEqualTo(String value) {
+ addCriterion("duration >=", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationLessThan(String value) {
+ addCriterion("duration <", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationLessThanOrEqualTo(String value) {
+ addCriterion("duration <=", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationLike(String value) {
+ addCriterion("duration like", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationNotLike(String value) {
+ addCriterion("duration not like", value, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationIn(List values) {
+ addCriterion("duration in", values, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationNotIn(List values) {
+ addCriterion("duration not in", values, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationBetween(String value1, String value2) {
+ addCriterion("duration between", value1, value2, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andDurationNotBetween(String value1, String value2) {
+ addCriterion("duration not between", value1, value2, "duration");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Rfid.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Rfid.java
new file mode 100644
index 00000000..1f718e27
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Rfid.java
@@ -0,0 +1,117 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Rfid implements Serializable {
+ private Long id;
+
+ private String rfid;
+
+ private Byte type;
+
+ private String name;
+
+ private Byte step;
+
+ private Long hospitalId;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getRfid() {
+ return rfid;
+ }
+
+ public void setRfid(String rfid) {
+ this.rfid = rfid == null ? null : rfid.trim();
+ }
+
+ public Byte getType() {
+ return type;
+ }
+
+ public void setType(Byte type) {
+ this.type = type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public Byte getStep() {
+ return step;
+ }
+
+ public void setStep(Byte step) {
+ this.step = step;
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", rfid=").append(rfid);
+ sb.append(", type=").append(type);
+ sb.append(", name=").append(name);
+ sb.append(", step=").append(step);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/RfidExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/RfidExample.java
new file mode 100644
index 00000000..b0fa2efe
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/RfidExample.java
@@ -0,0 +1,761 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class RfidExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public RfidExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidIsNull() {
+ addCriterion("rfid is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidIsNotNull() {
+ addCriterion("rfid is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidEqualTo(String value) {
+ addCriterion("rfid =", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidNotEqualTo(String value) {
+ addCriterion("rfid <>", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidGreaterThan(String value) {
+ addCriterion("rfid >", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidGreaterThanOrEqualTo(String value) {
+ addCriterion("rfid >=", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidLessThan(String value) {
+ addCriterion("rfid <", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidLessThanOrEqualTo(String value) {
+ addCriterion("rfid <=", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidLike(String value) {
+ addCriterion("rfid like", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidNotLike(String value) {
+ addCriterion("rfid not like", value, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidIn(List values) {
+ addCriterion("rfid in", values, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidNotIn(List values) {
+ addCriterion("rfid not in", values, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidBetween(String value1, String value2) {
+ addCriterion("rfid between", value1, value2, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andRfidNotBetween(String value1, String value2) {
+ addCriterion("rfid not between", value1, value2, "rfid");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Byte value) {
+ addCriterion("type =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Byte value) {
+ addCriterion("type <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Byte value) {
+ addCriterion("type >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("type >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Byte value) {
+ addCriterion("type <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Byte value) {
+ addCriterion("type <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("type in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("type not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Byte value1, Byte value2) {
+ addCriterion("type between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Byte value1, Byte value2) {
+ addCriterion("type not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIsNull() {
+ addCriterion("step is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIsNotNull() {
+ addCriterion("step is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepEqualTo(Byte value) {
+ addCriterion("step =", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotEqualTo(Byte value) {
+ addCriterion("step <>", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepGreaterThan(Byte value) {
+ addCriterion("step >", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepGreaterThanOrEqualTo(Byte value) {
+ addCriterion("step >=", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepLessThan(Byte value) {
+ addCriterion("step <", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepLessThanOrEqualTo(Byte value) {
+ addCriterion("step <=", value, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepIn(List values) {
+ addCriterion("step in", values, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotIn(List values) {
+ addCriterion("step not in", values, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepBetween(Byte value1, Byte value2) {
+ addCriterion("step between", value1, value2, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andStepNotBetween(Byte value1, Byte value2) {
+ addCriterion("step not between", value1, value2, "step");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Screen.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Screen.java
new file mode 100644
index 00000000..be8eb9f7
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/Screen.java
@@ -0,0 +1,84 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class Screen implements Serializable {
+ private Long id;
+
+ private String name;
+
+ private Long hospitalId;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name == null ? null : name.trim();
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", name=").append(name);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/ScreenExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/ScreenExample.java
new file mode 100644
index 00000000..cb7acb5f
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/ScreenExample.java
@@ -0,0 +1,571 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class ScreenExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public ScreenExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNull() {
+ addCriterion("name is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIsNotNull() {
+ addCriterion("name is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameEqualTo(String value) {
+ addCriterion("name =", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotEqualTo(String value) {
+ addCriterion("name <>", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThan(String value) {
+ addCriterion("name >", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
+ addCriterion("name >=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThan(String value) {
+ addCriterion("name <", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLessThanOrEqualTo(String value) {
+ addCriterion("name <=", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameLike(String value) {
+ addCriterion("name like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotLike(String value) {
+ addCriterion("name not like", value, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameIn(List values) {
+ addCriterion("name in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotIn(List values) {
+ addCriterion("name not in", values, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameBetween(String value1, String value2) {
+ addCriterion("name between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andNameNotBetween(String value1, String value2) {
+ addCriterion("name not between", value1, value2, "name");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCar.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCar.java
new file mode 100644
index 00000000..f2fc5512
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCar.java
@@ -0,0 +1,106 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class WisdomCar implements Serializable {
+ private Long id;
+
+ private String carNumber;
+
+ private Long time;
+
+ private Long hospitalId;
+
+ private Long screenId;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public String getCarNumber() {
+ return carNumber;
+ }
+
+ public void setCarNumber(String carNumber) {
+ this.carNumber = carNumber == null ? null : carNumber.trim();
+ }
+
+ public Long getTime() {
+ return time;
+ }
+
+ public void setTime(Long time) {
+ this.time = time;
+ }
+
+ public Long getHospitalId() {
+ return hospitalId;
+ }
+
+ public void setHospitalId(Long hospitalId) {
+ this.hospitalId = hospitalId;
+ }
+
+ public Long getScreenId() {
+ return screenId;
+ }
+
+ public void setScreenId(Long screenId) {
+ this.screenId = screenId;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", carNumber=").append(carNumber);
+ sb.append(", time=").append(time);
+ sb.append(", hospitalId=").append(hospitalId);
+ sb.append(", screenId=").append(screenId);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarExample.java
new file mode 100644
index 00000000..cef2c6de
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarExample.java
@@ -0,0 +1,691 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class WisdomCarExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public WisdomCarExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberIsNull() {
+ addCriterion("car_number is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberIsNotNull() {
+ addCriterion("car_number is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberEqualTo(String value) {
+ addCriterion("car_number =", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberNotEqualTo(String value) {
+ addCriterion("car_number <>", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberGreaterThan(String value) {
+ addCriterion("car_number >", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberGreaterThanOrEqualTo(String value) {
+ addCriterion("car_number >=", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberLessThan(String value) {
+ addCriterion("car_number <", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberLessThanOrEqualTo(String value) {
+ addCriterion("car_number <=", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberLike(String value) {
+ addCriterion("car_number like", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberNotLike(String value) {
+ addCriterion("car_number not like", value, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberIn(List values) {
+ addCriterion("car_number in", values, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberNotIn(List values) {
+ addCriterion("car_number not in", values, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberBetween(String value1, String value2) {
+ addCriterion("car_number between", value1, value2, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarNumberNotBetween(String value1, String value2) {
+ addCriterion("car_number not between", value1, value2, "carNumber");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIsNull() {
+ addCriterion("time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIsNotNull() {
+ addCriterion("time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeEqualTo(Long value) {
+ addCriterion("time =", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotEqualTo(Long value) {
+ addCriterion("time <>", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeGreaterThan(Long value) {
+ addCriterion("time >", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("time >=", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeLessThan(Long value) {
+ addCriterion("time <", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeLessThanOrEqualTo(Long value) {
+ addCriterion("time <=", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIn(List values) {
+ addCriterion("time in", values, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotIn(List values) {
+ addCriterion("time not in", values, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeBetween(Long value1, Long value2) {
+ addCriterion("time between", value1, value2, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotBetween(Long value1, Long value2) {
+ addCriterion("time not between", value1, value2, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNull() {
+ addCriterion("hospital_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIsNotNull() {
+ addCriterion("hospital_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdEqualTo(Long value) {
+ addCriterion("hospital_id =", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotEqualTo(Long value) {
+ addCriterion("hospital_id <>", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThan(Long value) {
+ addCriterion("hospital_id >", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("hospital_id >=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThan(Long value) {
+ addCriterion("hospital_id <", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdLessThanOrEqualTo(Long value) {
+ addCriterion("hospital_id <=", value, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdIn(List values) {
+ addCriterion("hospital_id in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotIn(List values) {
+ addCriterion("hospital_id not in", values, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdBetween(Long value1, Long value2) {
+ addCriterion("hospital_id between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andHospitalIdNotBetween(Long value1, Long value2) {
+ addCriterion("hospital_id not between", value1, value2, "hospitalId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdIsNull() {
+ addCriterion("screen_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdIsNotNull() {
+ addCriterion("screen_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdEqualTo(Long value) {
+ addCriterion("screen_id =", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdNotEqualTo(Long value) {
+ addCriterion("screen_id <>", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdGreaterThan(Long value) {
+ addCriterion("screen_id >", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("screen_id >=", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdLessThan(Long value) {
+ addCriterion("screen_id <", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdLessThanOrEqualTo(Long value) {
+ addCriterion("screen_id <=", value, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdIn(List values) {
+ addCriterion("screen_id in", values, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdNotIn(List values) {
+ addCriterion("screen_id not in", values, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdBetween(Long value1, Long value2) {
+ addCriterion("screen_id between", value1, value2, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andScreenIdNotBetween(Long value1, Long value2) {
+ addCriterion("screen_id not between", value1, value2, "screenId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecord.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecord.java
new file mode 100644
index 00000000..8d3c4cd1
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecord.java
@@ -0,0 +1,106 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.io.Serializable;
+import java.util.Date;
+
+public class WisdomCarRecord implements Serializable {
+ private Long id;
+
+ private Long carId;
+
+ private Byte type;
+
+ private String value;
+
+ private Long time;
+
+ private Date createdAt;
+
+ private Date updatedAt;
+
+ private Byte recStatus;
+
+ private static final long serialVersionUID = 1L;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getCarId() {
+ return carId;
+ }
+
+ public void setCarId(Long carId) {
+ this.carId = carId;
+ }
+
+ public Byte getType() {
+ return type;
+ }
+
+ public void setType(Byte type) {
+ this.type = type;
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value == null ? null : value.trim();
+ }
+
+ public Long getTime() {
+ return time;
+ }
+
+ public void setTime(Long time) {
+ this.time = time;
+ }
+
+ public Date getCreatedAt() {
+ return createdAt;
+ }
+
+ public void setCreatedAt(Date createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ public Date getUpdatedAt() {
+ return updatedAt;
+ }
+
+ public void setUpdatedAt(Date updatedAt) {
+ this.updatedAt = updatedAt;
+ }
+
+ public Byte getRecStatus() {
+ return recStatus;
+ }
+
+ public void setRecStatus(Byte recStatus) {
+ this.recStatus = recStatus;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(getClass().getSimpleName());
+ sb.append(" [");
+ sb.append("Hash = ").append(hashCode());
+ sb.append(", id=").append(id);
+ sb.append(", carId=").append(carId);
+ sb.append(", type=").append(type);
+ sb.append(", value=").append(value);
+ sb.append(", time=").append(time);
+ sb.append(", createdAt=").append(createdAt);
+ sb.append(", updatedAt=").append(updatedAt);
+ sb.append(", recStatus=").append(recStatus);
+ sb.append("]");
+ return sb.toString();
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecordExample.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecordExample.java
new file mode 100644
index 00000000..053c70e7
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/po/WisdomCarRecordExample.java
@@ -0,0 +1,691 @@
+package com.ccsens.wisdomcar.bean.po;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class WisdomCarRecordExample {
+ protected String orderByClause;
+
+ protected boolean distinct;
+
+ protected List oredCriteria;
+
+ public WisdomCarRecordExample() {
+ oredCriteria = new ArrayList();
+ }
+
+ public void setOrderByClause(String orderByClause) {
+ this.orderByClause = orderByClause;
+ }
+
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ public void setDistinct(boolean distinct) {
+ this.distinct = distinct;
+ }
+
+ public boolean isDistinct() {
+ return distinct;
+ }
+
+ public List getOredCriteria() {
+ return oredCriteria;
+ }
+
+ public void or(Criteria criteria) {
+ oredCriteria.add(criteria);
+ }
+
+ public Criteria or() {
+ Criteria criteria = createCriteriaInternal();
+ oredCriteria.add(criteria);
+ return criteria;
+ }
+
+ public Criteria createCriteria() {
+ Criteria criteria = createCriteriaInternal();
+ if (oredCriteria.size() == 0) {
+ oredCriteria.add(criteria);
+ }
+ return criteria;
+ }
+
+ protected Criteria createCriteriaInternal() {
+ Criteria criteria = new Criteria();
+ return criteria;
+ }
+
+ public void clear() {
+ oredCriteria.clear();
+ orderByClause = null;
+ distinct = false;
+ }
+
+ protected abstract static class GeneratedCriteria {
+ protected List criteria;
+
+ protected GeneratedCriteria() {
+ super();
+ criteria = new ArrayList();
+ }
+
+ public boolean isValid() {
+ return criteria.size() > 0;
+ }
+
+ public List getAllCriteria() {
+ return criteria;
+ }
+
+ public List getCriteria() {
+ return criteria;
+ }
+
+ protected void addCriterion(String condition) {
+ if (condition == null) {
+ throw new RuntimeException("Value for condition cannot be null");
+ }
+ criteria.add(new Criterion(condition));
+ }
+
+ protected void addCriterion(String condition, Object value, String property) {
+ if (value == null) {
+ throw new RuntimeException("Value for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value));
+ }
+
+ protected void addCriterion(String condition, Object value1, Object value2, String property) {
+ if (value1 == null || value2 == null) {
+ throw new RuntimeException("Between values for " + property + " cannot be null");
+ }
+ criteria.add(new Criterion(condition, value1, value2));
+ }
+
+ public Criteria andIdIsNull() {
+ addCriterion("id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIsNotNull() {
+ addCriterion("id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdEqualTo(Long value) {
+ addCriterion("id =", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotEqualTo(Long value) {
+ addCriterion("id <>", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThan(Long value) {
+ addCriterion("id >", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("id >=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThan(Long value) {
+ addCriterion("id <", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdLessThanOrEqualTo(Long value) {
+ addCriterion("id <=", value, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdIn(List values) {
+ addCriterion("id in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotIn(List values) {
+ addCriterion("id not in", values, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdBetween(Long value1, Long value2) {
+ addCriterion("id between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andIdNotBetween(Long value1, Long value2) {
+ addCriterion("id not between", value1, value2, "id");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIsNull() {
+ addCriterion("car_id is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIsNotNull() {
+ addCriterion("car_id is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdEqualTo(Long value) {
+ addCriterion("car_id =", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotEqualTo(Long value) {
+ addCriterion("car_id <>", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdGreaterThan(Long value) {
+ addCriterion("car_id >", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdGreaterThanOrEqualTo(Long value) {
+ addCriterion("car_id >=", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdLessThan(Long value) {
+ addCriterion("car_id <", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdLessThanOrEqualTo(Long value) {
+ addCriterion("car_id <=", value, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdIn(List values) {
+ addCriterion("car_id in", values, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotIn(List values) {
+ addCriterion("car_id not in", values, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdBetween(Long value1, Long value2) {
+ addCriterion("car_id between", value1, value2, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andCarIdNotBetween(Long value1, Long value2) {
+ addCriterion("car_id not between", value1, value2, "carId");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNull() {
+ addCriterion("type is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIsNotNull() {
+ addCriterion("type is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeEqualTo(Byte value) {
+ addCriterion("type =", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotEqualTo(Byte value) {
+ addCriterion("type <>", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThan(Byte value) {
+ addCriterion("type >", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
+ addCriterion("type >=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThan(Byte value) {
+ addCriterion("type <", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeLessThanOrEqualTo(Byte value) {
+ addCriterion("type <=", value, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeIn(List values) {
+ addCriterion("type in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotIn(List values) {
+ addCriterion("type not in", values, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeBetween(Byte value1, Byte value2) {
+ addCriterion("type between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andTypeNotBetween(Byte value1, Byte value2) {
+ addCriterion("type not between", value1, value2, "type");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIsNull() {
+ addCriterion("value is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIsNotNull() {
+ addCriterion("value is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueEqualTo(String value) {
+ addCriterion("value =", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotEqualTo(String value) {
+ addCriterion("value <>", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueGreaterThan(String value) {
+ addCriterion("value >", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueGreaterThanOrEqualTo(String value) {
+ addCriterion("value >=", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLessThan(String value) {
+ addCriterion("value <", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLessThanOrEqualTo(String value) {
+ addCriterion("value <=", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueLike(String value) {
+ addCriterion("value like", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotLike(String value) {
+ addCriterion("value not like", value, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueIn(List values) {
+ addCriterion("value in", values, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotIn(List values) {
+ addCriterion("value not in", values, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueBetween(String value1, String value2) {
+ addCriterion("value between", value1, value2, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andValueNotBetween(String value1, String value2) {
+ addCriterion("value not between", value1, value2, "value");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIsNull() {
+ addCriterion("time is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIsNotNull() {
+ addCriterion("time is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeEqualTo(Long value) {
+ addCriterion("time =", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotEqualTo(Long value) {
+ addCriterion("time <>", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeGreaterThan(Long value) {
+ addCriterion("time >", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeGreaterThanOrEqualTo(Long value) {
+ addCriterion("time >=", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeLessThan(Long value) {
+ addCriterion("time <", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeLessThanOrEqualTo(Long value) {
+ addCriterion("time <=", value, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeIn(List values) {
+ addCriterion("time in", values, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotIn(List values) {
+ addCriterion("time not in", values, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeBetween(Long value1, Long value2) {
+ addCriterion("time between", value1, value2, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andTimeNotBetween(Long value1, Long value2) {
+ addCriterion("time not between", value1, value2, "time");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNull() {
+ addCriterion("created_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIsNotNull() {
+ addCriterion("created_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtEqualTo(Date value) {
+ addCriterion("created_at =", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotEqualTo(Date value) {
+ addCriterion("created_at <>", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThan(Date value) {
+ addCriterion("created_at >", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("created_at >=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThan(Date value) {
+ addCriterion("created_at <", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("created_at <=", value, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtIn(List values) {
+ addCriterion("created_at in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotIn(List values) {
+ addCriterion("created_at not in", values, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
+ addCriterion("created_at between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("created_at not between", value1, value2, "createdAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNull() {
+ addCriterion("updated_at is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIsNotNull() {
+ addCriterion("updated_at is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtEqualTo(Date value) {
+ addCriterion("updated_at =", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
+ addCriterion("updated_at <>", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThan(Date value) {
+ addCriterion("updated_at >", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
+ addCriterion("updated_at >=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThan(Date value) {
+ addCriterion("updated_at <", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
+ addCriterion("updated_at <=", value, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtIn(List values) {
+ addCriterion("updated_at in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotIn(List values) {
+ addCriterion("updated_at not in", values, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
+ addCriterion("updated_at between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNull() {
+ addCriterion("rec_status is null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIsNotNull() {
+ addCriterion("rec_status is not null");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusEqualTo(Byte value) {
+ addCriterion("rec_status =", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotEqualTo(Byte value) {
+ addCriterion("rec_status <>", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThan(Byte value) {
+ addCriterion("rec_status >", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
+ addCriterion("rec_status >=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThan(Byte value) {
+ addCriterion("rec_status <", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
+ addCriterion("rec_status <=", value, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusIn(List values) {
+ addCriterion("rec_status in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotIn(List values) {
+ addCriterion("rec_status not in", values, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+
+ public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
+ addCriterion("rec_status not between", value1, value2, "recStatus");
+ return (Criteria) this;
+ }
+ }
+
+ public static class Criteria extends GeneratedCriteria {
+
+ protected Criteria() {
+ super();
+ }
+ }
+
+ public static class Criterion {
+ private String condition;
+
+ private Object value;
+
+ private Object secondValue;
+
+ private boolean noValue;
+
+ private boolean singleValue;
+
+ private boolean betweenValue;
+
+ private boolean listValue;
+
+ private String typeHandler;
+
+ public String getCondition() {
+ return condition;
+ }
+
+ public Object getValue() {
+ return value;
+ }
+
+ public Object getSecondValue() {
+ return secondValue;
+ }
+
+ public boolean isNoValue() {
+ return noValue;
+ }
+
+ public boolean isSingleValue() {
+ return singleValue;
+ }
+
+ public boolean isBetweenValue() {
+ return betweenValue;
+ }
+
+ public boolean isListValue() {
+ return listValue;
+ }
+
+ public String getTypeHandler() {
+ return typeHandler;
+ }
+
+ protected Criterion(String condition) {
+ super();
+ this.condition = condition;
+ this.typeHandler = null;
+ this.noValue = true;
+ }
+
+ protected Criterion(String condition, Object value, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.typeHandler = typeHandler;
+ if (value instanceof List>) {
+ this.listValue = true;
+ } else {
+ this.singleValue = true;
+ }
+ }
+
+ protected Criterion(String condition, Object value) {
+ this(condition, value, null);
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+ super();
+ this.condition = condition;
+ this.value = value;
+ this.secondValue = secondValue;
+ this.typeHandler = typeHandler;
+ this.betweenValue = true;
+ }
+
+ protected Criterion(String condition, Object value, Object secondValue) {
+ this(condition, value, secondValue, null);
+ }
+ }
+}
\ No newline at end of file
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/Message/CarRecordMessageVo.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/Message/CarRecordMessageVo.java
new file mode 100644
index 00000000..16d00989
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/Message/CarRecordMessageVo.java
@@ -0,0 +1,48 @@
+package com.ccsens.wisdomcar.bean.vo.Message;
+
+import com.ccsens.util.WebConstant;
+import com.ccsens.wisdomcar.bean.dto.Message.BaseMessageDto;
+import lombok.Data;
+
+/**
+ * @author 逗
+ */
+@Data
+public class CarRecordMessageVo extends BaseMessageDto {
+
+ @lombok.Data
+ public static class Data{
+ /**
+ * 平车编号
+ */
+ private String carNumber;
+ /**
+ * 类型 0:开始 1:体重 2:剂量 3:rfid
+ */
+ private int type;
+ /**
+ * 类型对应的值,
+ */
+ private String value;
+ /**
+ * 时间
+ */
+ private Long time;
+ }
+ private Data data;
+
+ public CarRecordMessageVo(){
+ setType(WebConstant.Message_Type.CAR_RECORD.phase);
+ setTime(System.currentTimeMillis());
+ }
+
+ public CarRecordMessageVo(String carNumber,int type,String value,Long time){
+ this();
+ Data d = new Data();
+ d.setCarNumber(carNumber);
+ d.setType(type);
+ d.setValue(value);
+ d.setTime(time);
+ setData(d);
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/RfidVo.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/RfidVo.java
new file mode 100644
index 00000000..8b7079b8
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/bean/vo/RfidVo.java
@@ -0,0 +1,26 @@
+package com.ccsens.wisdomcar.bean.vo;
+
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+@Data
+public class RfidVo {
+
+ @Data
+ @ApiModel("添加rfid")
+ public static class QueryRfid{
+ @ApiModelProperty("rfid表的id")
+ private Long id;
+ @ApiModelProperty("rfid")
+ private Long rfid;
+ @ApiModelProperty("类型 0医生 1采血车 2门禁")
+ private byte type;
+ @ApiModelProperty("名称")
+ private String name;
+ @ApiModelProperty("环节")
+ private byte stop;
+ @ApiModelProperty("医院id")
+ private byte hospitalId;
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/BeanConfig.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/BeanConfig.java
new file mode 100644
index 00000000..a7660236
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/BeanConfig.java
@@ -0,0 +1,31 @@
+package com.ccsens.wisdomcar.config;
+
+import com.ccsens.wisdomcar.intercept.MybatisInterceptor;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+/**
+ * @description:
+ * @author: wuHuiJuan
+ * @create: 2019/12/03 18:01
+ */
+@Configuration
+public class BeanConfig {
+// @Bean
+// public static PropertySourcesPlaceholderConfigurer properties(){
+// PropertySourcesPlaceholderConfigurer conf = new PropertySourcesPlaceholderConfigurer();
+// YamlPropertiesFactoryBean yml = new YamlPropertiesFactoryBean();
+// yml.setResources(new ClassPathResource("business.yml"));
+// conf.setProperties(yml.getObject());
+// return conf;
+// }
+
+ /**
+ * 注册拦截器
+ */
+ @Bean
+ public MybatisInterceptor mybatisInterceptor() {
+ MybatisInterceptor interceptor = new MybatisInterceptor();
+ return interceptor;
+ }
+}
diff --git a/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/SpringConfig.java b/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/SpringConfig.java
new file mode 100644
index 00000000..ba4c397f
--- /dev/null
+++ b/wisdomcar/src/main/java/com/ccsens/wisdomcar/config/SpringConfig.java
@@ -0,0 +1,169 @@
+package com.ccsens.wisdomcar.config;
+
+
+import cn.hutool.core.lang.Snowflake;
+import cn.hutool.core.util.IdUtil;
+import com.ccsens.util.config.DruidProps;
+import com.fasterxml.jackson.databind.DeserializationFeature;
+import com.fasterxml.jackson.databind.ObjectMapper;
+import com.fasterxml.jackson.databind.module.SimpleModule;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.http.MediaType;
+import org.springframework.http.converter.HttpMessageConverter;
+import org.springframework.http.converter.StringHttpMessageConverter;
+import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
+import org.springframework.web.servlet.config.annotation.*;
+
+import javax.annotation.Resource;
+import javax.sql.DataSource;
+import java.nio.charset.Charset;
+import java.util.ArrayList;
+import java.util.List;
+
+@Configuration
+//public class SpringConfig extends WebMvcConfigurationSupport {
+public class SpringConfig implements WebMvcConfigurer {
+ @Resource
+ private DruidProps druidPropsUtil;
+ @Value("${spring.snowflake.workerId}")
+ private String workerId;
+ @Value("${spring.snowflake.datacenterId}")
+ private String datacenterId;
+
+ /**
+ * 配置Converter
+ * @return
+ */
+ @Bean
+ public HttpMessageConverter responseStringConverter() {
+ StringHttpMessageConverter converter = new StringHttpMessageConverter(
+ Charset.forName("UTF-8"));
+ return converter;
+ }
+
+ @Bean
+ public HttpMessageConverter