first commit

master
fengchunyu 9 months ago
commit 1651f43db0

29
.gitignore vendored

@ -0,0 +1,29 @@
HELP.md
/target/
!.mvn/wrapper/maven-wrapper.jar
### 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/
### VS Code ###
.vscode/

@ -0,0 +1,4 @@
# mysql-oracle-dynamic-datasource
SpringBoot集成MyBatis-Plus动态数据源测试同时集成Mysql和Oracle
射阳源数据表接入
射阳科信相关业务

@ -0,0 +1,35 @@
sydzSwitch=false
oncesCounts=10000
syfwSwitch=false
syrkSwitch=false
jksbSwitch=false
SwrySwitch=false
cjxxSwitch=false
zdrySwitch=false
cyrySwitch=false
JjxxSwitch=false
NewNsydwSwitch=false
metaImpUserSwitch=false
NewNalarminfoSwitch=false
metaHandleAlarmSwitch=false
metaActualUnitUserInfoSwitch=false
metaActualUserInfoSwitch=false
actualTimecjxxSwitch=false
actualTimejjxxSwitch=false
RentalHouseSwitch=false
metaRealEstateInfoSwitch=false
sydzToEstateInfoSwitch=false
syryToActualInfoSwitch=false
metaImpUserPicSwitch=false
wsDownloadPicAreaStart=320924
wsDownloadPicPath=/home/dataaccess
wshttpurl=http://50.146.63.16:8080/syx_webservice/getCzrkImgage.xhtml?sfzh=
#射阳 实有人口将有房屋号的数据根据户籍表数据清洗,并更新户主关系
jwzUserInfoToActual=true

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- 日志存放路径 -->
<property name="log.path" value="/home/project/mysql-oracle/log" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
<!-- 控制台输出 -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统日志输出 -->
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-info.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/sys-info.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>INFO</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-error.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/sys-error.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>ERROR</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- 用户访问日志输出 -->
<appender name="sys-user" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-user.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${log.path}/sys-user.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统模块日志级别控制 -->
<logger name="com.ruoyi" level="info" />
<!-- Spring日志级别控制 -->
<logger name="org.springframework" level="warn" />
<root level="info">
<appender-ref ref="console" />
</root>
<!--系统操作日志-->
<root level="info">
<appender-ref ref="file_info" />
<appender-ref ref="file_error" />
</root>
<!--系统用户操作日志-->
<logger name="sys-user" level="info">
<appender-ref ref="sys-user"/>
</logger>
</configuration>

286
mvnw vendored

@ -0,0 +1,286 @@
#!/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.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven2 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)`"
# TODO classpath?
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
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
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 command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found wget ... using wget"
fi
wget "$jarUrl" -O "$wrapperJarPath"
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found curl ... using curl"
fi
curl -o "$wrapperJarPath" "$jarUrl"
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
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
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 "$@"

161
mvnw.cmd vendored

@ -0,0 +1,161 @@
@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 Maven2 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 key stroke 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 my 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.4.2/maven-wrapper-0.4.2.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% (
echo Found %WRAPPER_JAR%
) else (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
echo Finished downloading %WRAPPER_JAR%
)
@REM End of extension
%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%

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.4.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.ssf</groupId>
<artifactId>dataCompareYpt</artifactId>
<version>0.0.1-SNAPSHOT</version>
<!-- <name>mysql-oracle-test</name>-->
<description>Demo project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
</properties>
<dependencies>
<!-- <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.1.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot-starter -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
<version>2.5.4</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.oracle/ojdbc6 -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!--json-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.4</version>
</dependency>
<!-- hutool工具包 -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>5.8.16</version>
</dependency>
<!--commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.6</version>
</dependency>
<!--caffeine本地缓存-->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -0,0 +1,24 @@
package com.ssf.mysqloracletest;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication
@MapperScan("com.ssf.mysqloracletest.mapper")
@EnableScheduling
@EnableAsync(proxyTargetClass = true)
public class MysqlOracleTestApplication {
private static final Logger logger = LoggerFactory.getLogger(MysqlOracleTestApplication.class);
public static void main(String[] args) {
SpringApplication.run(MysqlOracleTestApplication.class, args);
logger.info("---历史版本号--1.0.0,版本描述初始化项目");
logger.info("---当前版本号--1.0.1,实有人口接入,标准地址接入处理,居住证图片接入处理,实有人口补充图片处理,根据 住户信息表里面没有图片的记录,去查户籍表的原始orcl表,有记录则回填到实有人口表里面");
}
}

@ -0,0 +1,228 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
* @TableName jcj_cjxx_view
*/
@Data
@TableName(value = "jcj_cjxx_view")
public class JcjCjxxViewMysql implements Serializable {
/**
*
*/
@TableField(value = "CJBH")
private String CJBH;
@TableField(value = "JJBH")
private String JJBH;
@TableField(value = "JJDBH")
private String JJDBH;
@TableField(value = "PJDBH")
private String PJDBH;
@TableField(value = "FKLYH")
private String FKLYH;
@TableField(value = "CJLB")
private String CJLB;
@TableField(value = "CJSJ")
private String CJSJ;
@TableField(value = "DDXCSJ")
private String DDXCSJ;
@TableField(value = "CJXZQH")
private String CJXZQH;
@TableField(value = "CJJLX")
private String CJJLX;
@TableField(value = "CJMLPH")
private String CJMLPH;
@TableField(value = "CJMPHZ")
private String CJMPHZ;
@TableField(value = "CJXZ")
private String CJXZ;
@TableField(value = "SFCS")
private String SFCS;
@TableField(value = "FSYY")
private String FSYY;
@TableField(value = "TQQK")
private String TQQK;
@TableField(value = "JQSX")
private String JQSX;
@TableField(value = "CJR")
private String CJR;
@TableField(value = "CJRHZXS")
private String CJRHZXS;
@TableField(value = "CJRLXFS")
private String CJRLXFS;
@TableField(value = "SFXQ")
private String SFXQ;
@TableField(value = "SFSJSX")
private String SFSJSX;
@TableField(value = "SFSJXX")
private String SFSJXX;
@TableField(value = "CLJGNR")
private String CLJGNR;
@TableField(value = "BCCLJG")
private String BCCLJG;
@TableField(value = "SSXXQK")
private String SSXXQK;
@TableField(value = "CJFKSJ")
private String CJFKSJ;
@TableField(value = "SPSJ")
private String SPSJ;
@TableField(value = "ZBLD")
private String ZBLD;
@TableField(value = "ZBLDXM")
private String ZBLDXM;
@TableField(value = "LDCLSJ")
private String LDCLSJ;
@TableField(value = "CJJG")
private String CJJG;
@TableField(value = "CJYSJSDW")
private String CJYSJSDW;
@TableField(value = "CJYSJSR")
private String CJYSJSR;
@TableField(value = "CJYSJSSJ")
private String CJYSJSSJ;
@TableField(value = "CDJL")
private String CDJL;
@TableField(value = "CDJDC")
private String CDJDC;
@TableField(value = "CDCZ")
private String CDCZ;
@TableField(value = "JJFNS")
private String JJFNS;
@TableField(value = "JJETS")
private String JJETS;
@TableField(value = "JJRZS")
private String JJRZS;
@TableField(value = "JZQZ")
private String JZQZ;
@TableField(value = "JZSY")
private String JZSY;
@TableField(value = "RYSSS")
private String RYSSS;
@TableField(value = "RYSWS")
private String RYSWS;
@TableField(value = "LZSCRS")
private String LZSCRS;
@TableField(value = "PHXXAJ")
private String PHXXAJ;
@TableField(value = "PHXSAJ")
private String PHXSAJ;
@TableField(value = "PHZAAJ")
private String PHZAAJ;
@TableField(value = "TPRF")
private String TPRF;
@TableField(value = "ZHZACY")
private String ZHZACY;
@TableField(value = "ZJJJSS")
private String ZJJJSS;
@TableField(value = "WHSS")
private String WHSS;
@TableField(value = "AJSLR")
private String AJSLR;
@TableField(value = "AJSLDW")
private String AJSLDW;
@TableField(value = "GLAJBH")
private String GLAJBH;
@TableField(value = "GLAJZT")
private String GLAJZT;
@TableField(value = "GIS_X")
private String GIS_X;
@TableField(value = "GIS_Y")
private String GIS_Y;
@TableField(value = "DJDW")
private String DJDW;
@TableField(value = "DJR")
private String DJR;
@TableField(value = "DJSJ")
private String DJSJ;
@TableField(value = "XGR")
private String XGR;
@TableField(value = "XGSJ")
private String XGSJ;
@TableField(value = "XGDW")
private String XGDW;
@TableField(value = "DJRXM")
private String DJRXM;
@TableField(value = "DJDWMC")
private String DJDWMC;
@TableField(value = "XGRXM")
private String XGRXM;
@TableField(value = "XGDWMC")
private String XGDWMC;
@TableField(value = "CJDW")
private String CJDW;
@TableField(value = "CJDWMC")
private String CJDWMC;
@TableField(value = "CJXXDD")
private String CJXXDD;
@TableField(value = "ZBLDDW")
private String ZBLDDW;
@TableField(value = "ZBLDDWMC")
private String ZBLDDWMC;
@TableField(value = "SPXGSJ")
private String SPXGSJ;
@TableField(value = "YZB")
private String YZB;
@TableField(value = "XZB")
private String XZB;
@TableField(value = "BZSJ")
private String BZSJ;
@TableField(value = "BZDW")
private String BZDW;
@TableField(value = "BZR")
private String BZR;
@TableField(value = "BZRXM")
private String BZRXM;
@TableField(value = "BZDWMC")
private String BZDWMC;
@TableField(value = "GXSJ")
private String GXSJ;
@TableField(value = "GXRXM")
private String GXRXM;
@TableField(value = "GXR")
private String GXR;
@TableField(value = "GXDWMC")
private String GXDWMC;
@TableField(value = "GXDW")
private String GXDW;
@TableField(value = "CJLBMC")
private String CJLBMC;
@TableField(value = "CJXZQHMC")
private String CJXZQHMC;
@TableField(value = "CJJLXMC")
private String CJJLXMC;
@TableField(value = "CJMPHZMC")
private String CJMPHZMC;
@TableField(value = "SFCSMC")
private String SFCSMC;
@TableField(value = "FSYYMC")
private String FSYYMC;
@TableField(value = "TQQKMC")
private String TQQKMC;
@TableField(value = "SFXQMC")
private String SFXQMC;
@TableField(value = "CJJGMC")
private String CJJGMC;
@TableField(value = "AJSLRMC")
private String AJSLRMC;
@TableField(value = "AJSLDWMC")
private String AJSLDWMC;
@TableField(value = "GLAJZTMC")
private String GLAJZTMC;
@TableField(value = "WS_RKSJ")
private String WS_RKSJ;
@TableField(value = "WS_XGSJ")
private String WS_XGSJ;
@TableField(value = "WS_YXX")
private String WS_YXX;
@TableField(value = "JQSXMC")
private String JQSXMC;
@TableField(value = "RYWKSJ")
private String RYWKSJ;
private String status;
}

@ -0,0 +1,118 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
* @TableName jcj_cjxx_view
*/
@Data
public class JcjCjxxViewOracle implements Serializable {
private String CJBH;
private String JJBH;
private String JJDBH;
private String PJDBH;
private String FKLYH;
private String CJLB;
private String CJSJ;
private String DDXCSJ;
private String CJXZQH;
private String CJJLX;
private String CJMLPH;
private String CJMPHZ;
private String CJXZ;
private String SFCS;
private String FSYY;
private String TQQK;
private String JQSX;
private String CJR;
private String CJRHZXS;
private String CJRLXFS;
private String SFXQ;
private String SFSJSX;
private String SFSJXX;
private String CLJGNR;
private String BCCLJG;
private String SSXXQK;
private String CJFKSJ;
private String SPSJ;
private String ZBLD;
private String ZBLDXM;
private String LDCLSJ;
private String CJJG;
private String CJYSJSDW;
private String CJYSJSR;
private String CJYSJSSJ;
private String CDJL;
private String CDJDC;
private String CDCZ;
private String JJFNS;
private String JJETS;
private String JJRZS;
private String JZQZ;
private String JZSY;
private String RYSSS;
private String RYSWS;
private String LZSCRS;
private String PHXXAJ;
private String PHXSAJ;
private String PHZAAJ;
private String TPRF;
private String ZHZACY;
private String ZJJJSS;
private String WHSS;
private String AJSLR;
private String AJSLDW;
private String GLAJBH;
private String GLAJZT;
private String GIS_X;
private String GIS_Y;
private String DJDW;
private String DJR;
private String DJSJ;
private String XGR;
private String XGSJ;
private String XGDW;
private String DJRXM;
private String DJDWMC;
private String XGRXM;
private String XGDWMC;
private String CJDW;
private String CJDWMC;
private String CJXXDD;
private String ZBLDDW;
private String ZBLDDWMC;
private String SPXGSJ;
private byte[] YZB;
private byte[] XZB;
private String BZSJ;
private String BZDW;
private String BZR;
private String BZRXM;
private String BZDWMC;
private String GXSJ;
private String GXRXM;
private String GXR;
private String GXDWMC;
private String GXDW;
private String CJLBMC;
private String CJXZQHMC;
private String CJJLXMC;
private String CJMPHZMC;
private String SFCSMC;
private String FSYYMC;
private String TQQKMC;
private String SFXQMC;
private String CJJGMC;
private String AJSLRMC;
private String AJSLDWMC;
private String GLAJZTMC;
private String WS_RKSJ;
private String WS_XGSJ;
private String WS_YXX;
private String JQSXMC;
private String RYWKSJ;
}

@ -0,0 +1,787 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
/**
* @TableName jcj_jjxx_view
*/
@TableName(value = "jcj_jjxx_view")
@Data
public class JcjJjxxViewMysql implements Serializable {
/**
*
*/
@TableField(value = "JJBH")
private String JJBH;
/**
*
*/
@TableField(value = "JJDBH")
private String JJDBH;
/**
*
*/
@TableField(value = "PJDBH")
private String PJDBH;
/**
*
*/
@TableField(value = "GLJJDBH")
private String GLJJDBH;
/**
*
*/
@TableField(value = "JJLYH")
private String JJLYH;
/**
*
*/
@TableField(value = "PJLYH")
private String PJLYH;
/**
*
*/
@TableField(value = "LDGBH")
private String LDGBH;
/**
*
*/
@TableField(value = "JJYXM")
private String JJYXM;
/**
*
*/
@TableField(value = "PJYXM")
private String PJYXM;
/**
*
*/
@TableField(value = "LHLBDM")
private String LHLBDM;
/**
*
*/
@TableField(value = "BJDHSJ")
private String BJDHSJ;
/**
*
*/
@TableField(value = "BJDH")
private String BJDH;
/**
*
*/
@TableField(value = "BJDHHM")
private String BJDHHM;
/**
*
*/
@TableField(value = "BJDHDZ")
private String BJDHDZ;
/**
*
*/
@TableField(value = "THSC")
private String THSC;
/**
*
*/
@TableField(value = "BJR")
private String BJR;
/**
*
*/
@TableField(value = "BJRXB")
private String BJRXB;
/**
*
*/
@TableField(value = "LXDH")
private String LXDH;
/**
*
*/
@TableField(value = "BJXS")
private String BJXS;
/**
*
*/
@TableField(value = "BJLX ")
private String BJLX;
/**
*
*/
@TableField(value = "SFDD")
private String SFDD;
/**
*
*/
@TableField(value = "BJNR")
private String BJNR;
/**
*
*/
@TableField(value = "BCJJNR")
private String BCJJNR;
/**
*
*/
@TableField(value = "SJCPH")
private String SJCPH;
/**
*
*/
@TableField(value = "CLLX")
private String CLLX;
/**
*
*/
@TableField(value = "SYQX")
private String SYQX;
/**
*
*/
@TableField(value = "CLQX")
private String CLQX;
/**
*
*/
@TableField(value = "HZDJ")
private String HZDJ;
/**
*
*/
@TableField(value = "SFZDDW")
private String SFZDDW;
/**
*
*/
@TableField(value = "ZDDWBM")
private String ZDDWBM;
/**
*
*/
@TableField(value = "JZLB")
private String JZLB;
/**
*
*/
@TableField(value = "JZJG")
private String JZJG;
/**
*
*/
@TableField(value = "QHCS")
private String QHCS;
/**
*
*/
@TableField(value = "BZWQK")
private String BZWQK;
/**
*
*/
@TableField(value = "BLQK")
private String BLQK;
/**
*
*/
@TableField(value = "SFBW")
private String SFBW;
/**
*
*/
@TableField(value = "RSWXZ")
private String RSWXZ;
/**
*
*/
@TableField(value = "YFWXWZ")
private String YFWXWZ;
/**
*
*/
@TableField(value = "YWBZXL")
private String YWBZXL;
/**
*
*/
@TableField(value = "YFTY")
private String YFTY;
/**
*
*/
@TableField(value = "YWBKRY")
private String YWBKRY;
/**
*
*/
@TableField(value = "GIS_X")
private String GIS_X;
/**
*
*/
@TableField(value = "GIS_Y")
private String GIS_Y;
/**
*
*/
@TableField(value = "SFZXXS")
private String SFZXXS;
/**
*
*/
@TableField(value = "BJTDYY")
private String BJTDYY;
/**
*
*/
@TableField(value = "PJSJ")
private String PJSJ;
/**
*
*/
@TableField(value = "BJCJYJ")
private String BJCJYJ;
/**
*
*/
@TableField(value = "EJDDSJ")
private String EJDDSJ;
/**
*
*/
@TableField(value = "EJJSSJ")
private String EJJSSJ;
/**
*
*/
@TableField(value = "EJXFSJ")
private String EJXFSJ;
/**
*
*/
@TableField(value = "EJJSR")
private String EJJSR;
/**
*
*/
@TableField(value = "EJJSRXM")
private String EJJSRXM;
/**
*
*/
@TableField(value = "EJJSDW")
private String EJJSDW;
/**
*
*/
@TableField(value = "EJJSDWMC")
private String EJJSDWMC;
/**
*
*/
@TableField(value = "SJDDSJ")
private String SJDDSJ;
/**
*
*/
@TableField(value = "SJJSSJ")
private String SJJSSJ;
/**
*
*/
@TableField(value = "SJJSR")
private String SJJSR;
/**
*
*/
@TableField(value = "SJJSRXM")
private String SJJSRXM;
/**
*
*/
@TableField(value = "SJJSD")
private String SJJSD;
/**
*
*/
@TableField(value = "SJJSDWMC")
private String SJJSDWMC;
/**
*
*/
@TableField(value = "CJBS")
private String CJBS;
/**
*
*/
@TableField(value = "DJDW")
private String DJDW;
/**
*
*/
@TableField(value = "DJR")
private String DJR;
/**
*
*/
@TableField(value = "DJSJ")
private String DJSJ;
/**
*
*/
@TableField(value = "XGR")
private String XGR;
/**
*
*/
@TableField(value = "XGSJ")
private String XGSJ;
/**
*
*/
@TableField(value = "XGDW")
private String XGDW;
/**
*
*/
@TableField(value = "DJRXM")
private String DJRXM;
/**
*
*/
@TableField(value = "DJDWMC")
private String DJDWMC;
/**
*
*/
@TableField(value = "XGRXM")
private String XGRXM;
/**
*
*/
@TableField(value = "XGDWMC")
private String XGDWMC;
/**
*
*/
@TableField(value = "JJRQSJ")
private String JJRQSJ;
/**
*
*/
@TableField(value = "JJDW")
private String JJDW;
/**
*
*/
@TableField(value = "JJDWMC")
private String JJDWMC;
/**
*
*/
@TableField(value = "JJR")
private String JJR;
/**
*
*/
@TableField(value = "JJRXM")
private String JJRXM;
/**
*
*/
@TableField(value = "YJDW")
private String YJDW;
/**
*
*/
@TableField(value = "YJSJ")
private String YJSJ;
/**
*
*/
@TableField(value = "YJSM")
private String YJSM;
/**
*
*/
@TableField(value = "YJR")
private String YJR;
/**
*
*/
@TableField(value = "JJXZQH")
private String JJXZQH;
/**
*
*/
@TableField(value = "JJGXDW")
private String JJGXDW;
/**
*
*/
@TableField(value = "FKYQ")
private String FKYQ;
/**
*
*/
@TableField(value = "SFYFDX")
private String SFYFDX;
/**
*
*/
@TableField(value = "JJDXNR")
private String JJDXNR;
/**
*
*/
@TableField(value = "JJDXSJ")
private String JJDXSJ;
/**
*
*/
@TableField(value = "SBSJ")
private String SBSJ;
/**
*
*/
@TableField(value = "SBNR")
private String SBNR;
/**
*
*/
@TableField(value = "CDCLBM")
private String CDCLBM;
/**
*
*/
@TableField(value = "JJLX")
private String JJLX;
/**
*
*/
@TableField(value = "ZDYJR")
private String ZDYJR;
/**
*
*/
@TableField(value = "ZDYJDW")
private String ZDYJDW;
/**
*
*/
@TableField(value = "ZDYJSJ")
private String ZDYJSJ;
/**
*
*/
@TableField(value = "ZDYJSM")
private String ZDYJSM;
/**
*
*/
@TableField(value = "SFBDDH")
private String SFBDDH;
/**
*
*/
@TableField(value = "SFPJ")
private String SFPJ;
/**
*
*/
@TableField(value = "SFFK")
private String SFFK;
/**
*
*/
@TableField(value = "BJRXBMC")
private String BJRXBMC;
/**
*
*/
@TableField(value = "BJXSMC")
private String BJXSMC;
/**
*
*/
@TableField(value = "BJLXMC")
private String BJLXMC;
/**
*
*/
@TableField(value = "CLLXMC")
private String CLLXMC;
/**
*
*/
@TableField(value = "HZDJMC")
private String HZDJMC;
/**
*
*/
@TableField(value = "SFZDDWMC")
private String SFZDDWMC;
/**
*
*/
@TableField(value = "JZLBMC")
private String JZLBMC;
/**
*
*/
@TableField(value = "JZJGMC")
private String JZJGMC;
/**
*
*/
@TableField(value = "QHCSMC")
private String QHCSMC;
/**
*
*/
@TableField(value = "YFWXWZMC")
private String YFWXWZMC;
/**
*
*/
@TableField(value = "YWBZXLMC")
private String YWBZXLMC;
/**
*
*/
@TableField(value = "YFTYMC")
private String YFTYMC;
/**
*
*/
@TableField(value = "YWBKRYMC")
private String YWBKRYMC;
/**
*
*/
@TableField(value = "SFZXXSMC")
private String SFZXXSMC;
/**
*
*/
@TableField(value = "SJJSDMC")
private String SJJSDMC;
/**
*
*/
@TableField(value = "CJBSMC")
private String CJBSMC;
/**
*
*/
@TableField(value = "YJDWMC")
private String YJDWMC;
/**
*
*/
@TableField(value = "JJXZQHMC")
private String JJXZQHMC;
/**
*
*/
@TableField(value = "JJGXDWMC")
private String JJGXDWMC;
/**
*
*/
@TableField(value = "ZDYJRXM")
private String ZDYJRXM;
/**
*
*/
@TableField(value = "ZDYJDWMC")
private String ZDYJDWMC;
/**
*
*/
@TableField(value = "SFBDDHMC")
private String SFBDDHMC;
/**
*
*/
@TableField(value = "SFPJMC")
private String SFPJMC;
/**
*
*/
@TableField(value = "SFFKMC")
private String SFFKMC;
/**
*
*/
@TableField(value = "LHLBDMMC")
private String LHLBDMMC;
/**
*
*/
@TableField(value = "WS_RKSJ")
private String WS_RKSJ;
/**
*
*/
@TableField(value = "WS_XGSJ")
private String WS_XGSJ;
/**
*
*/
@TableField(value = "WS_YXX")
private String WS_YXX;
/**
*
*/
@TableField(value = "RYWKSJ")
private String RYWKSJ;
/**
*
*/
@TableField(value = "JDZB")
private String JDZB;
/**
*
*/
@TableField(value = "WDZB")
private String WDZB;
@TableField(value = "STATUS")
private String STATUS;
}

@ -0,0 +1,648 @@
package com.ssf.mysqloracletest.domain;
import lombok.Data;
import java.io.Serializable;
@Data
public class JcjJjxxViewOracle implements Serializable {
/**
*
*/
private String JJBH;
/**
*
*/
private String JJDBH;
/**
*
*/
private String PJDBH;
/**
*
*/
private String GLJJDBH;
/**
*
*/
private String JJLYH;
/**
*
*/
private String PJLYH;
/**
*
*/
private String LDGBH;
/**
*
*/
private String JJYXM;
/**
*
*/
private String PJYXM;
/**
*
*/
private String LHLBDM;
/**
*
*/
private String BJDHSJ;
/**
*
*/
private String BJDH;
/**
*
*/
private String BJDHHM;
/**
*
*/
private String BJDHDZ;
/**
*
*/
private String THSC;
/**
*
*/
private String BJR;
/**
*
*/
private String BJRXB;
/**
*
*/
private String LXDH;
/**
*
*/
private String BJXS;
/**
*
*/
private String BJLX;
/**
*
*/
private String SFDD;
/**
*
*/
private String BJNR;
/**
*
*/
private String BCJJNR;
/**
*
*/
private String SJCPH;
/**
*
*/
private String CLLX;
/**
*
*/
private String SYQX;
/**
*
*/
private String CLQX;
/**
*
*/
private String HZDJ;
/**
*
*/
private String SFZDDW;
/**
*
*/
private String ZDDWBM;
/**
*
*/
private String JZLB;
/**
*
*/
private String JZJG;
/**
*
*/
private String QHCS;
/**
*
*/
private String BZWQK;
/**
*
*/
private String BLQK;
/**
*
*/
private String SFBW;
/**
*
*/
private String RSWXZ;
/**
*
*/
private String YFWXWZ;
/**
*
*/
private String YWBZXL;
/**
*
*/
private String YFTY;
/**
*
*/
private String YWBKRY;
/**
*
*/
private String GIS_X;
/**
*
*/
private String GIS_Y;
/**
*
*/
private String SFZXXS;
/**
*
*/
private String BJTDYY;
/**
*
*/
private String PJSJ;
/**
*
*/
private String BJCJYJ;
/**
*
*/
private String EJDDSJ;
/**
*
*/
private String EJJSSJ;
/**
*
*/
private String EJXFSJ;
/**
*
*/
private String EJJSR;
/**
*
*/
private String EJJSRXM;
/**
*
*/
private String EJJSDW;
/**
*
*/
private String EJJSDWMC;
/**
*
*/
private String SJDDSJ;
/**
*
*/
private String SJJSSJ;
/**
*
*/
private String SJJSR;
/**
*
*/
private String SJJSRXM;
/**
*
*/
private String SJJSD;
/**
*
*/
private String SJJSDWMC;
/**
*
*/
private String CJBS;
/**
*
*/
private String DJDW;
/**
*
*/
private String DJR;
/**
*
*/
private String DJSJ;
/**
*
*/
private String XGR;
/**
*
*/
private String XGSJ;
/**
*
*/
private String XGDW;
/**
*
*/
private String DJRXM;
/**
*
*/
private String DJDWMC;
/**
*
*/
private String XGRXM;
/**
*
*/
private String XGDWMC;
/**
*
*/
private String JJRQSJ;
/**
*
*/
private String JJDW;
/**
*
*/
private String JJDWMC;
/**
*
*/
private String JJR;
/**
*
*/
private String JJRXM;
/**
*
*/
private String YJDW;
/**
*
*/
private String YJSJ;
/**
*
*/
private String YJSM;
/**
*
*/
private String YJR;
/**
*
*/
private String JJXZQH;
/**
*
*/
private String JJGXDW;
/**
*
*/
private String FKYQ;
/**
*
*/
private String SFYFDX;
/**
*
*/
private String JJDXNR;
/**
*
*/
private String JJDXSJ;
/**
*
*/
private String SBSJ;
/**
*
*/
private String SBNR;
/**
*
*/
private String CDCLBM;
/**
*
*/
private String JJLX;
/**
*
*/
private String ZDYJR;
/**
*
*/
private String ZDYJDW;
/**
*
*/
private String ZDYJSJ;
/**
*
*/
private String ZDYJSM;
/**
*
*/
private String SFBDDH;
/**
*
*/
private String SFPJ;
/**
*
*/
private String SFFK;
/**
*
*/
private String BJRXBMC;
/**
*
*/
private String BJXSMC;
/**
*
*/
private String BJLXMC;
/**
*
*/
private String CLLXMC;
/**
*
*/
private String HZDJMC;
/**
*
*/
private String SFZDDWMC;
/**
*
*/
private String JZLBMC;
/**
*
*/
private String JZJGMC;
/**
*
*/
private String QHCSMC;
/**
*
*/
private String YFWXWZMC;
/**
*
*/
private String YWBZXLMC;
/**
*
*/
private String YFTYMC;
/**
*
*/
private String YWBKRYMC;
/**
*
*/
private String SFZXXSMC;
/**
*
*/
private String SJJSDMC;
/**
*
*/
private String CJBSMC;
/**
*
*/
private String YJDWMC;
/**
*
*/
private String JJXZQHMC;
/**
*
*/
private String JJGXDWMC;
/**
*
*/
private String ZDYJRXM;
/**
*
*/
private String ZDYJDWMC;
/**
*
*/
private String SFBDDHMC;
/**
*
*/
private String SFPJMC;
/**
*
*/
private String SFFKMC;
/**
*
*/
private String LHLBDMMC;
/**
*
*/
private String WS_RKSJ;
/**
*
*/
private String WS_XGSJ;
/**
*
*/
private String WS_YXX;
/**
*
*/
private String RYWKSJ;
/**
*
*/
private String JDZB;
/**
*
*/
private String WDZB;
}

@ -0,0 +1,94 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
/**
*
* @TableName meta_alarm_info
*/
@TableName(value ="meta_alarm_info")
@Data
public class MetaAlarmInfo implements Serializable {
/**
*
*/
@TableId(type = IdType.AUTO)
private Long id;
private String alarmCode;
/**
*
*/
private String policeReceiverName;
/**
*
*/
private String alarmResponseUnit;
/**
*
*/
private String alarmResponseTime;
/**
*
*/
private String alarmResponseContent;
/**
*
*/
private String alarmResponseTypeName;
/**
*
*/
private String informantName;
/**
*
*/
private String informantPhone;
/**
*
*/
private String informantTime;
/**
*
*/
private String alarmAddress;
/**
*
*/
private BigDecimal longitude;
/**
*
*/
private BigDecimal latitude;
/**
*
*/
private Date createTime;
/**
* 0:,1:
*/
private Integer isActive;
// @TableField(exist = false)
// private static final long serialVersionUID = 1L;
}

@ -0,0 +1,76 @@
package com.ssf.mysqloracletest.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
*
* @TableName meta_handle_alarm_info
*/
@TableName(value ="meta_handle_alarm_info")
@Data
public class MetaHandleAlarmInfo implements Serializable {
/**
*
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
*
*/
private String alarmCode;
/**
*
*/
private String handleAlarmUnit;
/**
*
*/
private String handleAlarmTime;
/**
*
*/
private String handleAlarmContent;
/**
*
*/
private String handleAlarmAddress;
/**
*
*/
private String handleAlarmUser;
/**
*
*/
private String handleAlarmUserCode;
/**
*
*/
private String handleAlarmResult;
/**
*
*/
private Date createTime;
/**
* 0:,1:
*/
private Integer isActive;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}

@ -0,0 +1,27 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import org.apache.ibatis.annotations.Mapper;
/**
* @author 28758
* @description jcj_cjxx_viewMapper
* @createDate 2023-11-29 09:28:09
* @Entity com.ssf.mysqloracletest.domain.JcjCjxxView
*/
@Mapper
public interface JcjCjxxViewMysqlMapper extends BaseMapper<JcjCjxxViewMysql> {
public JcjCjxxViewMysql selectCjxxById(String id);
public int insertCjxx(JcjCjxxViewMysql bean);
public int updateCjxxById(JcjCjxxViewMysql bean);
JcjCjxxViewMysql selectRecordOrderByRksj();
}

@ -0,0 +1,29 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewMapper
* @createDate 2023-11-29 09:28:09
* @Entity com.ssf.mysqloracletest.domain.JcjCjxxView
*
*/
@Mapper
public interface JcjCjxxViewOracleMapper extends BaseMapper<JcjCjxxViewOracle> {
public int countCjxx();
public List<JcjCjxxViewOracle> getCjxxList(Map map);
public List<JcjCjxxViewOracle> getRealTimeRecording(String time);
}

@ -0,0 +1,24 @@
package com.ssf.mysqloracletest.mapper;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import org.apache.ibatis.annotations.Mapper;
/**
* @author 10503
* @description jcj_jjxx_viewMapper
* @createDate 2023-11-29 16:13:53
* @Entity com.ssf.mysqloracletest.domain.JcjJjxxView
*/
@Mapper
public interface JcjJjxxViewMysqlMapper {
public JcjJjxxViewMysql selectJcjJxxByJJBH(String JJBH);
public int insertJjxx(JcjJjxxViewMysql bean);
public int updateJjxxByJJBH(JcjJjxxViewMysql bean);
}

@ -0,0 +1,17 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjJjxxViewOracle;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
@Mapper
public interface JcjJjxxViewOracleMapper extends BaseMapper<JcjJjxxViewOracle> {
public int countJjxx();
public List<JcjJjxxViewOracle> getJjxxList(Map map);
public List<JcjJjxxViewOracle> getRealTimeRecording(String maxTime);
}

@ -0,0 +1,18 @@
package com.ssf.mysqloracletest.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface JcjJxxViewMysqlMapper extends BaseMapper<JcjJjxxViewMysql> {
public JcjJjxxViewMysql selectJcjJxxByJJBH(String JJBH);
public int insertJjxx(JcjJjxxViewMysql bean);
public int updateJjxxByJJBH(JcjJjxxViewMysql bean);
public JcjJjxxViewMysql selectRecordOrderByRksj();
public int countJjxx();
}

@ -0,0 +1,20 @@
package com.ssf.mysqloracletest.mapper;
import com.ssf.mysqloracletest.domain.MetaAlarmInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author 10503
* @description meta_alarm_info()Mapper
* @createDate 2023-12-01 14:48:34
* @Entity com.ssf.mysqloracletest.domain.MetaAlarmInfo
*/
@Mapper
public interface MetaAlarmInfoMapper extends BaseMapper<MetaAlarmInfo> {
}

@ -0,0 +1,20 @@
package com.ssf.mysqloracletest.mapper;
import com.ssf.mysqloracletest.domain.MetaHandleAlarmInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @author 28758
* @description meta_handle_alarm_info()Mapper
* @createDate 2023-12-01 19:02:18
* @Entity com.ssf.mysqloracletest.domain.MetaHandleAlarmInfo
*/
@Mapper
public interface MetaHandleAlarmInfoMapper extends BaseMapper<MetaHandleAlarmInfo> {
}

@ -0,0 +1,18 @@
package com.ssf.mysqloracletest.schedule;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.SchedulingConfigurer;
import org.springframework.scheduling.config.ScheduledTaskRegistrar;
import java.util.concurrent.Executors;
@Configuration
@EnableScheduling
public class ScheduleConfig implements SchedulingConfigurer {
@Override
public void configureTasks(ScheduledTaskRegistrar taskRegistrar) {
taskRegistrar.setScheduler(Executors.newScheduledThreadPool(30));
}
}

@ -0,0 +1,21 @@
package com.ssf.mysqloracletest.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
public interface JcjCjxxViewMysqlService extends IService<JcjCjxxViewMysql> {
public JcjCjxxViewMysql selectCjxxById(String id);
public int insertCjxx(JcjCjxxViewMysql tjks);
public int updateCjxxById(JcjCjxxViewMysql tjks);
public JcjCjxxViewMysql selectRecordOrderByRksj();
}

@ -0,0 +1,20 @@
package com.ssf.mysqloracletest.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
public interface JcjCjxxViewOracleService extends IService<JcjCjxxViewOracle> {
public int countCjxx();
public List<JcjCjxxViewOracle> getCjxxList(Map map);
public List<JcjCjxxViewOracle> getRealTimeRecording(String time);
}

@ -0,0 +1,22 @@
package com.ssf.mysqloracletest.service;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author 10503
* @description jcj_jjxx_viewService
* @createDate 2023-11-29 16:13:53
*/
public interface JcjJjxxViewMysqlService extends IService<JcjJjxxViewMysql>{
public JcjJjxxViewMysql selectJcjJxxByJJBH(String JJBH);
public int insertJjxx(JcjJjxxViewMysql bean);
public int updateJjxxByJJBH(JcjJjxxViewMysql bean);
public JcjJjxxViewMysql selectRecordOrderByRksj();
public int countJjxx();
}

@ -0,0 +1,21 @@
package com.ssf.mysqloracletest.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssf.mysqloracletest.domain.JcjJjxxViewOracle;
import java.util.List;
import java.util.Map;
/**
* @author 10503
* @description jcj_jjxx_viewService
* @createDate 2023-11-29 16:13:53
*/
public interface JcjJjxxViewOracleService extends IService<JcjJjxxViewOracle> {
public int countJjxx();
public List<JcjJjxxViewOracle> getJjxxList(Map map);
public List<JcjJjxxViewOracle> getRealTimeRecording(String maxTime);
}

@ -0,0 +1,13 @@
package com.ssf.mysqloracletest.service;
import com.ssf.mysqloracletest.domain.MetaAlarmInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author 10503
* @description meta_alarm_info()Service
* @createDate 2023-12-01 14:48:34
*/
public interface MetaAlarmInfoService extends IService<MetaAlarmInfo> {
}

@ -0,0 +1,13 @@
package com.ssf.mysqloracletest.service;
import com.ssf.mysqloracletest.domain.MetaHandleAlarmInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author 28758
* @description meta_handle_alarm_info()Service
* @createDate 2023-12-01 19:02:18
*/
public interface MetaHandleAlarmInfoService extends IService<MetaHandleAlarmInfo> {
}

@ -0,0 +1,48 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.mapper.JcjCjxxViewMysqlMapper;
import com.ssf.mysqloracletest.service.JcjCjxxViewMysqlService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
@Service
@DS("mysql")
@RequiredArgsConstructor
public class JcjCjxxViewMysqlServiceImpl extends ServiceImpl<JcjCjxxViewMysqlMapper, JcjCjxxViewMysql>
implements JcjCjxxViewMysqlService {
private final JcjCjxxViewMysqlMapper jcjCjxxViewMysqlMapper;
@Override
public JcjCjxxViewMysql selectCjxxById(String id) {
return jcjCjxxViewMysqlMapper.selectCjxxById(id);
}
@Override
public int insertCjxx(JcjCjxxViewMysql tjks) {
return jcjCjxxViewMysqlMapper.insertCjxx(tjks);
}
@Override
public int updateCjxxById(JcjCjxxViewMysql tjks) {
return jcjCjxxViewMysqlMapper.updateCjxxById(tjks);
}
@Override
public JcjCjxxViewMysql selectRecordOrderByRksj() {
return jcjCjxxViewMysqlMapper.selectRecordOrderByRksj();
}
}

@ -0,0 +1,45 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import com.ssf.mysqloracletest.mapper.JcjCjxxViewOracleMapper;
import com.ssf.mysqloracletest.service.JcjCjxxViewOracleService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
/**
* @author 28758
* @description jcj_cjxx_viewService
* @createDate 2023-11-29 09:28:09
*/
@Service
@DS("oracleSydz")
public class JcjCjxxViewOracleServiceImpl extends ServiceImpl<JcjCjxxViewOracleMapper, JcjCjxxViewOracle>
implements JcjCjxxViewOracleService {
@Resource
private JcjCjxxViewOracleMapper oracleMapper;
@Override
public int countCjxx(){
return oracleMapper.countCjxx();
}
@Override
public List<JcjCjxxViewOracle> getCjxxList(Map map) {
return oracleMapper.getCjxxList(map);
}
@Override
public List<JcjCjxxViewOracle> getRealTimeRecording(String time) {
return oracleMapper.getRealTimeRecording(time);
}
}

@ -0,0 +1,51 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.mapper.JcjJxxViewMysqlMapper;
import com.ssf.mysqloracletest.service.JcjJjxxViewMysqlService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
/**
* @author 10503
* @description jcj_jjxx_viewService
* @createDate 2023-11-29 16:13:53
*/
@Service
@DS("mysql")
@RequiredArgsConstructor
public class JcjJjxxViewMysqlServiceImpl extends ServiceImpl<JcjJxxViewMysqlMapper,JcjJjxxViewMysql> implements JcjJjxxViewMysqlService {
private final JcjJxxViewMysqlMapper jcxxMapper;
@Override
public JcjJjxxViewMysql selectJcjJxxByJJBH(String JJBH) {
return jcxxMapper.selectJcjJxxByJJBH(JJBH);
}
@Override
public int insertJjxx(JcjJjxxViewMysql bean) {
return jcxxMapper.insertJjxx(bean);
}
@Override
public int updateJjxxByJJBH(JcjJjxxViewMysql bean) {
return jcxxMapper.updateJjxxByJJBH(bean);
}
@Override
public JcjJjxxViewMysql selectRecordOrderByRksj() {
return jcxxMapper.selectRecordOrderByRksj();
}
@Override
public int countJjxx() {
return jcxxMapper.countJjxx();
}
}

@ -0,0 +1,48 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjJjxxViewOracle;
import com.ssf.mysqloracletest.mapper.JcjJjxxViewOracleMapper;
import com.ssf.mysqloracletest.mapper.JcjJxxViewMysqlMapper;
import com.ssf.mysqloracletest.service.JcjJjxxViewMysqlService;
import com.ssf.mysqloracletest.service.JcjJjxxViewOracleService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
/**
* @author 10503
* @description jcj_jjxx_viewService
* @createDate 2023-11-29 16:13:53
*/
@Service
@DS("oracleSydz")
@RequiredArgsConstructor
public class JcjJjxxViewOracleServiceImpl extends ServiceImpl<JcjJjxxViewOracleMapper, JcjJjxxViewOracle> implements JcjJjxxViewOracleService {
private final JcjJjxxViewOracleMapper oracleMapper;
@Override
public int countJjxx() {
return oracleMapper.countJjxx();
}
@Override
public List<JcjJjxxViewOracle> getJjxxList(Map map) {
return oracleMapper.getJjxxList(map);
}
@Override
public List<JcjJjxxViewOracle> getRealTimeRecording(String maxTime) {
return oracleMapper.getRealTimeRecording(maxTime);
}
}

@ -0,0 +1,25 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.MetaAlarmInfo;
import com.ssf.mysqloracletest.service.MetaAlarmInfoService;
import com.ssf.mysqloracletest.mapper.MetaAlarmInfoMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
/**
* @author 10503
* @description meta_alarm_info()Service
* @createDate 2023-12-01 14:48:34
*/
@Service
@RequiredArgsConstructor
@DS("mysql")
public class MetaAlarmInfoServiceImpl extends ServiceImpl<MetaAlarmInfoMapper, MetaAlarmInfo> implements MetaAlarmInfoService{
}

@ -0,0 +1,24 @@
package com.ssf.mysqloracletest.service.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ssf.mysqloracletest.domain.MetaHandleAlarmInfo;
import com.ssf.mysqloracletest.service.MetaHandleAlarmInfoService;
import com.ssf.mysqloracletest.mapper.MetaHandleAlarmInfoMapper;
import org.springframework.stereotype.Service;
/**
* @author 28758
* @description meta_handle_alarm_info()Service
* @createDate 2023-12-01 19:02:18
*/
@Service
@DS("mysql")
public class MetaHandleAlarmInfoServiceImpl extends ServiceImpl<MetaHandleAlarmInfoMapper, MetaHandleAlarmInfo>
implements MetaHandleAlarmInfoService{
}

@ -0,0 +1,141 @@
package com.ssf.mysqloracletest.task;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.domain.MetaAlarmInfo;
import com.ssf.mysqloracletest.service.JcjJjxxViewMysqlService;
import com.ssf.mysqloracletest.service.MetaAlarmInfoService;
import com.ssf.mysqloracletest.utils.ConfigParam;
import com.ssf.mysqloracletest.utils.StringKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
*
*/
@Component
public class AlarmInfoTask {
private static final Logger logger = LoggerFactory.getLogger(AlarmInfoTask.class);
@Resource
private JcjJjxxViewMysqlService jjxxViewMysqlService;
@Resource
private MetaAlarmInfoService alarmInfoService;
/**
*
* //
*/
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transNjjxx() {
if (!"true".equals(ConfigParam.NewNalarminfoSwitch)) {
return;
}
try {
QueryWrapper<JcjJjxxViewMysql> queryWrapper = new QueryWrapper<>();
queryWrapper.isNull("STATUS");
Page<JcjJjxxViewMysql> page = new Page<>(1, 200);
List<JcjJjxxViewMysql> resultList = jjxxViewMysqlService.page(page, queryWrapper).getRecords();
CountDownLatch latch = new CountDownLatch(resultList.size());
ExecutorService JjxxPool = Executors.newFixedThreadPool(5);
for (JcjJjxxViewMysql bean : resultList) {
JjxxPool.submit(() -> {
cleanJjxx(bean);
logger.info("清洗完成");
latch.countDown();
});
}
try {
// Wait for all threads to complete
latch.await();
} catch (InterruptedException e) {
e.printStackTrace();
}
// 关闭线程池
JjxxPool.shutdown();
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
}
}
private void cleanJjxx(JcjJjxxViewMysql bean) {
JcjJjxxViewMysql jjxxViewMysqlCp = new JcjJjxxViewMysql();
try {
BeanUtils.copyProperties(bean, jjxxViewMysqlCp);
MetaAlarmInfo alarmInfo = new MetaAlarmInfo();
//设置目标字段的值
//alarm_code<-----JJBH 接警编号
alarmInfo.setAlarmCode(jjxxViewMysqlCp.getJJBH());
//police_receiver_name<-----JJRXM接警人姓名
alarmInfo.setPoliceReceiverName(jjxxViewMysqlCp.getJJRXM());
//alarm_response_time<-----JJRQSJ接警日期时间
alarmInfo.setAlarmResponseTime(jjxxViewMysqlCp.getJJRQSJ());
//alarm_response_content<-----BJNR接警报警内容
alarmInfo.setAlarmResponseContent(jjxxViewMysqlCp.getBJNR());
//informant_name<-----BJR接警报警人
alarmInfo.setInformantName(jjxxViewMysqlCp.getBJR());
//informant_time<-----BJDHSJ接警报警时间
alarmInfo.setInformantTime(jjxxViewMysqlCp.getBJDHSJ());
//informant_phone<-----LXDH接警报警人联系电话
alarmInfo.setInformantPhone(jjxxViewMysqlCp.getLXDH());
//alarm_response_type<-----BJLXMC报警类型名称
alarmInfo.setAlarmResponseTypeName(jjxxViewMysqlCp.getBJLXMC());
//alarm_address<-----SFDD接警事发地址
alarmInfo.setAlarmAddress(jjxxViewMysqlCp.getSFDD());
//alarm_response_unit<-----JJDWMC接警单位名称
alarmInfo.setAlarmResponseUnit(jjxxViewMysqlCp.getJJDWMC());
if (jjxxViewMysqlCp.getWDZB() != null) {
//转换类型
BigDecimal WDZBDecimal = new BigDecimal(jjxxViewMysqlCp.getWDZB());
//latitude(纬度)<-----WDZB纬度坐标
alarmInfo.setLatitude(WDZBDecimal);
} else {
//latitude(纬度)<-----WDZB纬度坐标
alarmInfo.setLatitude(null);
}
if (jjxxViewMysqlCp.getJDZB() != null) {
BigDecimal JDZBDecimal = new BigDecimal(jjxxViewMysqlCp.getJDZB());
//longitude(经度)<-----JDZB经度坐标
alarmInfo.setLatitude(JDZBDecimal);
} else {
//longitude(经度)<-----JDZB经度坐标
alarmInfo.setLongitude(null);
}
boolean b = alarmInfoService.save(alarmInfo);
if (b) {
jjxxViewMysqlCp.setSTATUS("1");
jjxxViewMysqlService.updateJjxxByJJBH(jjxxViewMysqlCp);
logger.info("状态修改为1");
}
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
jjxxViewMysqlCp.setSTATUS("2");
jjxxViewMysqlService.updateJjxxByJJBH(jjxxViewMysqlCp);
logger.info("状态修改为2");
}
}
}

@ -0,0 +1,191 @@
package com.ssf.mysqloracletest.task;
import cn.hutool.core.io.FileUtil;
import com.ssf.mysqloracletest.domain.JcjCjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjCjxxViewOracle;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.service.JcjCjxxViewMysqlService;
import com.ssf.mysqloracletest.service.JcjCjxxViewOracleService;
import com.ssf.mysqloracletest.utils.ConfigParam;
import com.ssf.mysqloracletest.utils.NumKit;
import com.ssf.mysqloracletest.utils.StringKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.io.File;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
*
*/
@Component
public class JcjCjxxTask {
private static final Logger logger = LoggerFactory.getLogger(JcjCjxxTask.class);
@Resource
private JcjCjxxViewMysqlService cjxxMysqlService;
@Resource
private JcjCjxxViewOracleService cjxxOracleService;
final int oncesCounts = NumKit.checkInt(ConfigParam.oncesCounts) == 0 ? 1000 : NumKit.checkInt(ConfigParam.oncesCounts);
private boolean cjxxTag = false;
/**
*
* //
*/
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transcjxx() {
if (cjxxTag) {
return;
}
if (!"true".equals(ConfigParam.cjxxSwitch)) {
return;
}
try {
int countcjxx = cjxxOracleService.countCjxx();
logger.info("countcjxx:" + countcjxx);
if (countcjxx > 0) {
cjxxTag = true;
int count = countcjxx / oncesCounts;
CountDownLatch latch = new CountDownLatch(count);
ExecutorService cjxxPool = Executors.newFixedThreadPool(50);
for (int i = 0; i <= count; i++) {
Map cjxxMap = new HashMap();
cjxxMap.put("rowStart", i * oncesCounts);
cjxxMap.put("rowEnd", (i + 1) * oncesCounts);
cjxxPool.submit(() -> {
try {
List<JcjCjxxViewOracle> cjxxs = cjxxOracleService.getCjxxList(cjxxMap);
for (JcjCjxxViewOracle cjxx : cjxxs) {
JcjCjxxViewMysql sBean = new JcjCjxxViewMysql();
BeanUtils.copyProperties(cjxx, sBean);
byte[] qrCode1 = cjxx.getXZB();
byte[] qrCode2 = cjxx.getYZB();
try {
String filePath = getFolderPath(ConfigParam.GyzhafPhotoPicPath) + cjxx.getCJBH() + "XZB" + StringKit.toString(UUID.randomUUID()).replaceAll("-", "") + ".jpg";
File file = FileUtil.writeBytes(qrCode1, filePath);
logger.info(file.getPath() + ",生成成功");
String filePath1 = getFolderPath(ConfigParam.GyzhafPhotoPicPath) + cjxx.getCJBH() + "YZB" + StringKit.toString(UUID.randomUUID()).replaceAll("-", "") + ".jpg";
File file1 = FileUtil.writeBytes(qrCode2, filePath1);
logger.info(file1.getPath() + ",生成成功");
sBean.setXZB(filePath);
sBean.setYZB(filePath1);
} catch (Exception e) {
logger.info(cjxx.getCJBH() + ",文件生成失败");
}
//确定一个数据是否唯一
JcjCjxxViewMysql checkcjxx = cjxxMysqlService.selectCjxxById(cjxx.getCJBH());
if (checkcjxx == null) {
cjxxMysqlService.insertCjxx(sBean);
logger.info("cjxx-" + cjxx.getCJBH() + ":插入成功");
} else {
cjxxMysqlService.updateCjxxById(sBean);
logger.info("cjxx-" + cjxx.getCJBH() + ":更新成功");
}
}
} catch (Exception e) {
logger.info("cjxxs:" + e.getMessage());
}
latch.countDown();
});
logger.info("cjxxMap数据总量:" + countcjxx + "," + "当前处理下标:" + cjxxMap.get("rowStart") + "/" + cjxxMap.get("rowEnd"));
}
try {
// Wait for all threads to complete
latch.await();
} catch (InterruptedException e) {
e.printStackTrace();
}
// 关闭线程池
cjxxPool.shutdown();
}
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
}
}
private static String getFolderPath(String picpath) {
String floderPath;
Date date = new Date();
SimpleDateFormat simpleDate = new SimpleDateFormat("yyyyMMdd");
String day = simpleDate.format(date);
floderPath = picpath + ConfigParam.seq + "cjxx" + ConfigParam.seq + day + ConfigParam.seq;
File fileFloderPath = new File(floderPath);
//创建文件夹
if (!fileFloderPath.exists()) {
fileFloderPath.mkdirs();
}
return floderPath;
}
/**
* :
*
* @param:
* @return:
* @auther: cyfeng
* @date: 2023/12/2 14:31
*/
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transcjxxNow() {
if (!"true".equals(ConfigParam.actualTimecjxxSwitch)) {
return;
}
try {
//1 去mysql查出当前最大时间
JcjCjxxViewMysql cjxxViewMysql = cjxxMysqlService.selectRecordOrderByRksj();
//2 用得到的最大时间去oracle 查询大于这个时间的记录
List<JcjCjxxViewOracle> list = cjxxOracleService.getRealTimeRecording(cjxxViewMysql.getCJSJ());
//3 解析入库
for (JcjCjxxViewOracle cjxx : list) {
JcjCjxxViewMysql sBean = new JcjCjxxViewMysql();
BeanUtils.copyProperties(cjxx, sBean);
//确定一个数据是否唯一
JcjCjxxViewMysql checkcjxx = cjxxMysqlService.selectCjxxById(cjxx.getJJBH());
if (checkcjxx == null) {
cjxxMysqlService.insertCjxx(sBean);
logger.info("cjxx-" + cjxx.getJJBH() + ":插入成功");
} else {
cjxxMysqlService.updateCjxxById(sBean);
logger.info("cjxx-" + cjxx.getJJBH() + ":更新成功");
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}

@ -0,0 +1,151 @@
package com.ssf.mysqloracletest.task;
import com.ssf.mysqloracletest.domain.JcjJjxxViewMysql;
import com.ssf.mysqloracletest.domain.JcjJjxxViewOracle;
import com.ssf.mysqloracletest.service.JcjJjxxViewMysqlService;
import com.ssf.mysqloracletest.service.JcjJjxxViewOracleService;
import com.ssf.mysqloracletest.utils.ConfigParam;
import com.ssf.mysqloracletest.utils.NumKit;
import com.ssf.mysqloracletest.utils.StringKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeanUtils;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
*
*/
@Component
public class JcjJjxxTask {
private static final Logger logger = LoggerFactory.getLogger(JcjJjxxTask.class);
@Resource
private JcjJjxxViewMysqlService jcjJjxxViewMysqlService;
@Resource
private JcjJjxxViewOracleService jcjJjxxViewOracleService;
final int oncesCounts = NumKit.checkInt(ConfigParam.oncesCounts) == 0 ? 1000 : NumKit.checkInt(ConfigParam.oncesCounts);
private boolean JjxxTag = false;
/**
*
* //
*/
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transJjxx() {
if (JjxxTag) {
return;
}
if (!"true".equals(ConfigParam.JjxxSwitch)) {
return;
}
try {
int countJjxx = jcjJjxxViewOracleService.countJjxx();
logger.info("countJjxx:" + countJjxx);
if (countJjxx > 0) {
JjxxTag = true;
int count = countJjxx / oncesCounts;
CountDownLatch latch = new CountDownLatch(count);
ExecutorService JjxxPool = Executors.newFixedThreadPool(50);
for (int i = 0; i <= count; i++) {
Map JjxxMap = new HashMap();
JjxxMap.put("rowStart", i * oncesCounts);
JjxxMap.put("rowEnd", (i + 1) * oncesCounts);
JjxxPool.submit(() -> {
try {
List<JcjJjxxViewOracle> Jjxxs = jcjJjxxViewOracleService.getJjxxList(JjxxMap);
for (JcjJjxxViewOracle Jjxx : Jjxxs) {
JcjJjxxViewMysql sBean = new JcjJjxxViewMysql();
BeanUtils.copyProperties(Jjxx, sBean);
//确定一个数据是否唯一
JcjJjxxViewMysql checkJjxx = jcjJjxxViewMysqlService.selectJcjJxxByJJBH(Jjxx.getJJBH());
if (checkJjxx == null) {
jcjJjxxViewMysqlService.insertJjxx(sBean);
logger.info("Jjxx-" + Jjxx.getJJBH() + ":插入成功");
} else {
jcjJjxxViewMysqlService.updateJjxxByJJBH(sBean);
logger.info("Jjxx-" + Jjxx.getJJBH() + ":更新成功");
}
}
} catch (Exception e) {
logger.info("Jjxxs:" + StringKit.getTrace(e));
}
latch.countDown();
});
logger.info("JjxxMap数据总量:" + countJjxx + "," + "当前处理下标:" + JjxxMap.get("rowStart") + "/" + JjxxMap.get("rowEnd"));
}
try {
// Wait for all threads to complete
latch.await();
} catch (InterruptedException e) {
e.printStackTrace();
}
// 关闭线程池
JjxxPool.shutdown();
}
} catch (Exception e) {
logger.info(StringKit.getTrace(e));
}
}
@Scheduled(initialDelay = 100, fixedDelay = 3000)
public void transcjxxNow() {
try {
if (!"true".equals(ConfigParam.actualTimejjxxSwitch)) {
return;
}
if (!"true".equals(ConfigParam.JjxxSwitch)) {
return;
}
//1 去mysql查出当前最大时间
JcjJjxxViewMysql jcjJjxxViewMysql = jcjJjxxViewMysqlService.selectRecordOrderByRksj();
//2 用得到的最大时间去oracle 查询大于这个时间的记录
List<JcjJjxxViewOracle> list = jcjJjxxViewOracleService.getRealTimeRecording(jcjJjxxViewMysql.getWS_RKSJ());
//3 解析入库
for (JcjJjxxViewOracle Jjxx : list) {
JcjJjxxViewMysql sBean = new JcjJjxxViewMysql();
BeanUtils.copyProperties(Jjxx, sBean);
//确定一个数据是否唯一
JcjJjxxViewMysql checkJjxx = jcjJjxxViewMysqlService.selectJcjJxxByJJBH(Jjxx.getJJBH());
if (checkJjxx == null) {
jcjJjxxViewMysqlService.insertJjxx(sBean);
logger.info("Jjxx-" + Jjxx.getJJBH() + ":插入成功");
} else {
jcjJjxxViewMysqlService.updateJjxxByJJBH(sBean);
logger.info("Jjxx-" + Jjxx.getJJBH() + ":更新成功");
}
}
}catch (Exception e){
e.printStackTrace();
}
}
}

@ -0,0 +1,58 @@
package com.ssf.mysqloracletest.utils;
import org.springframework.stereotype.Component;
import java.io.File;
@Component
public class ConfigParam {
public static String seq = File.separator;
public static String sydzSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("sydzSwitch"));
public static String sydwSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("sydwSwitch"));
public static String oncesCounts = StringKit.toString(PropertiesUtil.queryPropertiesByKey("oncesCounts"));
public static String syfwSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("syfwSwitch"));
public static String syrkSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("syrkSwitch"));
public static String SwrySwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("SwrySwitch"));
public static String LgrySwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("LgrySwitch"));
public static String jksbSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("jksbSwitch"));
public static String cjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("cjxxSwitch"));
public static String zdrySwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("zdrySwitch"));
public static String JjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("JjxxSwitch"));
public static String cyrySwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("cyrySwitch"));
public static String GyzhafPhotoPicPath = StringKit.toString(PropertiesUtil.queryPropertiesByKey("GyzhafPhotoPicPath"));
public static String metaImpUserSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("metaImpUserSwitch"));
public static String metaHandleAlarmSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("metaHandleAlarmSwitch"));
public static String metaActualUnitUserInfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("metaActualUnitUserInfoSwitch"));
public static String metaActualUserInfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("metaActualUserInfoSwitch"));
//将数据洗进 --->业务表的开关----------------------------------------------------------------------------------------------------------
public static String NewNsydwSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("NewNsydwSwitch"));
public static String NewNalarminfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("NewNalarminfoSwitch"));
//CJ实时数据开关
public static String actualTimecjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("actualTimecjxxSwitch"));
public static String actualTimejjxxSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("actualTimejjxxSwitch"));
//rentalHouse数据清洗开关
public static String RentalHouseSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("RentalHouseSwitch"));
public static String metaRealEstateInfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("metaRealEstateInfoSwitch"));
public static String DevopeDeviceSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("DevopeDeviceSwitch"));
public static String sydzToEstateInfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("sydzToEstateInfoSwitch"));
public static String syryToActualInfoSwitch = StringKit.toString(PropertiesUtil.queryPropertiesByKey("syryToActualInfoSwitch"));
public static String jwzUserInfoToActual = StringKit.toString(PropertiesUtil.queryPropertiesByKey("jwzUserInfoToActual"));
public static String wshttpurl = PropertiesUtil.queryPropertiesByKey("wshttpurl");
public static String wsDownloadPicPath = PropertiesUtil.queryPropertiesByKey("wsDownloadPicPath");
public static String wsDownloadPicAreaStart = PropertiesUtil.queryPropertiesByKey("wsDownloadPicAreaStart");
}

@ -0,0 +1,59 @@
package com.ssf.mysqloracletest.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.SimpleDateFormat;
import java.util.Date;
public class IdcardUtil {
private static Logger logger = LoggerFactory.getLogger(IdcardUtil.class);
// 从身份证号码中获取性别
public static String getGenderFromIDCard(String idCard) {
String gender = "";
try {
if (idCard.length() == 18) {
int genderCode = Integer.parseInt(idCard.substring(16, 17));
//1男 2女
gender = genderCode % 2 == 0 ? "2" : "1";
// gender = genderCode % 2 == 0 ? "女" : "男";
}
} catch (Exception e) {
logger.info(idCard + ":提取性别失败");
}
return gender;
}
// 从身份证号码中获取生日
public static String getBirthdayFromIDCard(String idCard) {
String birthday = "";
if (idCard.length() == 18) {
String year = idCard.substring(6, 10);
String month = idCard.substring(10, 12);
String day = idCard.substring(12, 14);
birthday = year + "-" + month + "-" + day;
}
return birthday;
}
/**
* date
*
* @param dateString
* @return
*/
public static Date convertStringToDate(String dateString) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
try {
return sdf.parse(dateString);
} catch (Exception e) {
e.printStackTrace();
return null;
}
}
}

@ -0,0 +1,51 @@
package com.ssf.mysqloracletest.utils;
import java.math.BigDecimal;
public class NumKit {
public NumKit() {
}
public static Double checkDouble(String num) {
try {
Double i = Double.valueOf(num);
return i;
} catch (Exception var3) {
}
return 0D;
}
public static Integer checkInt(String num) {
try {
Integer i = Integer.valueOf(num);
return i;
} catch (Exception var3) {
}
return 0;
}
public static Long checkLong(String num) {
try {
Long i = Long.valueOf(num);
return i;
} catch (Exception var3) {
}
return 0L;
}
public static BigDecimal checkBigDecimal(String num) {
try {
BigDecimal bd = new BigDecimal(num);
return bd;
} catch (Exception var3) {
}
return null;
}
}

@ -0,0 +1,43 @@
package com.ssf.mysqloracletest.utils;
import java.util.*;
/**
* OrderedProperties
*
* @author Unmi
* @date 2012-12-07
*/
public class OrderedProperties extends Properties {
private static final long serialVersionUID = -4627607243846121965L;
private final LinkedHashSet<Object> keys = new LinkedHashSet<Object>();
@Override
public Enumeration<Object> keys() {
return Collections.<Object>enumeration(keys);
}
@Override
public Object put(Object key, Object value) {
keys.add(key);
return super.put(key, value);
}
@Override
public Set<Object> keySet() {
return keys;
}
@Override
public Set<String> stringPropertyNames() {
Set<String> set = new LinkedHashSet<String>();
for (Object key : this.keys) {
set.add((String) key);
}
return set;
}
}

@ -0,0 +1,189 @@
package com.ssf.mysqloracletest.utils;
import java.io.*;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
/**
* Properties,classpathconfig.properties
*
* @author QQ:695520848
*/
public class PropertiesUtil {
//配置文件的路径
private String configPath = "config" + File.separator + "application.properties";
public static final String Path = "config" + File.separator + "application.properties";
/**
*
*/
private Properties props = null;
/**
* shclasspathconfig.properties
*/
public PropertiesUtil() throws IOException {
InputStream in = PropertiesUtil.class.getClassLoader().getResourceAsStream("application.properties");
props = new Properties();
props.load(in);
//关闭资源
in.close();
}
/**
* key
* Jun 26, 2010 9:15:43 PM
*
* @param key key
* @return key
* @throws IOException
* @author
*/
public String readValue(String key) throws IOException {
return props.getProperty(key);
}
/**
* properties
* Jun 26, 2010 9:21:01 PM
*
* @throws FileNotFoundException
* @throws IOException
* @author
*/
public Map<String, String> readAllProperties() throws FileNotFoundException, IOException {
//保存所有的键值
Map<String, String> map = new HashMap<String, String>();
Enumeration en = props.propertyNames();
while (en.hasMoreElements()) {
String key = (String) en.nextElement();
String Property = props.getProperty(key);
map.put(key, Property);
}
return map;
}
/**
* key,
* Jun 26, 2010 9:15:43 PM
*
* @param key key
* @return key
* @throws IOException
* @author
*/
public void setValue(String key, String value) throws IOException {
Properties prop = new Properties();
InputStream fis = new FileInputStream(this.configPath);
// 从输入流中读取属性列表(键和元素对)
prop.load(fis);
// 调用 Hashtable 的方法 put。使用 getProperty 方法提供并行性。
// 强制要求为属性的键和值使用字符串。返回值是 Hashtable 调用 put 的结果。
OutputStream fos = new FileOutputStream(this.configPath);
prop.setProperty(key, value);
// 以适合使用 load 方法加载到 Properties 表中的格式,
// 将此 Properties 表中的属性列表(键和元素对)写入输出流
prop.store(fos, "last update");
//关闭文件
fis.close();
fos.close();
}
/**
* key
*
* @param key
* @return
*/
public static String queryPropertiesByKey(String key) {
if ("".equals(StringKit.toString(key))) {
return "";
}
Properties properties = new Properties();
// 使用InPutStream流读取properties文件
BufferedReader bufferedReader = null;
try {
bufferedReader = new BufferedReader(new FileReader(Path));
properties.load(bufferedReader);
String rel = properties.getProperty(key);
bufferedReader.close();
// 获取key对应的value值
return rel;
} catch (IOException e) {
if (null != bufferedReader) {
try {
bufferedReader.close();
} catch (IOException e1) {
e1.printStackTrace();
}
}
e.printStackTrace();
}
if (null != bufferedReader) {
try {
bufferedReader.close();
} catch (IOException e1) {
e1.printStackTrace();
}
}
return "";
}
/**
* keyvalue
*
* @param key
* @param value
*/
public static void setPropertiesByKey(String key, String value) {
File file = new File(Path);
OrderedProperties properties = new OrderedProperties();
try {
properties.load(new FileInputStream(file));
properties.setProperty(key, value);
//true表示追加打开
FileOutputStream oFile = new FileOutputStream(Path);
properties.store(oFile, "The New properties file");
oFile.close();
} catch (IOException e) {
e.printStackTrace();
}
}
/**
* key
*
* @param key
* @return
*/
public static String queryValue(String key) {
if ("".equals(StringKit.toString(key))) {
return "";
}
Properties properties = new Properties();
BufferedReader bufferedReader = null;
String rel = "";
try {
bufferedReader = new BufferedReader(new FileReader(Path));
properties.load(bufferedReader);
rel = StringKit.toString(properties.getProperty(key));
bufferedReader.close();
} catch (IOException e) {
e.printStackTrace();
} finally {
if (null != bufferedReader) {
try {
bufferedReader.close();
} catch (IOException e1) {
e1.printStackTrace();
}
}
}
return rel;
}
}

@ -0,0 +1,204 @@
package com.ssf.mysqloracletest.utils;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.regex.Pattern;
public class StringKit {
public StringKit() {
}
public static Boolean isEmpty(Object argObject) {
Boolean tbool = false;
String tString = toString(argObject);
if (tString.equals("")) {
tbool = true;
}
return tbool;
}
public static String toString(Object argObject) {
String tmpstr = "";
try {
if (argObject != null) {
tmpstr = argObject.toString();
tmpstr = tmpstr.trim();
if( "null".equals(tmpstr) || "underfind".equals(tmpstr) || "undefined".equals(tmpstr) ){
tmpstr="";
}
}
} catch (Exception var3) {
}
return tmpstr;
}
@Deprecated
public static String toDefaultString(Object argObject) {
String tmpstr = "无";
try {
if (argObject != null) {
tmpstr = argObject.toString();
if( "null".equals(tmpstr) || "underfind".equals(tmpstr) || "undefined".equals(tmpstr) ){
tmpstr="无";
}
}
} catch (Exception var3) {
}
return tmpstr;
}
@Deprecated
public static String toDefaultInt(Object argObject) {
String tmpstr = "0";
try {
if (argObject != null) {
tmpstr = argObject.toString();
if( "null".equals(tmpstr) || "underfind".equals(tmpstr) || "undefined".equals(tmpstr) ){
tmpstr="0";
}
}
} catch (Exception var3) {
}
return tmpstr;
}
public static boolean isNumeric(String str){
Pattern pattern = Pattern.compile("[0-9]*");
return pattern.matcher(str).matches();
}
public static boolean isEng(String str){
Pattern pattern = Pattern.compile("[a-zA-Z]");
return pattern.matcher(str).matches();
}
public static String getTrace(Throwable t){
StringWriter stringWriter = new StringWriter();
PrintWriter writer = new PrintWriter(stringWriter);
t.printStackTrace(writer);
StringBuffer buffer = stringWriter.getBuffer();
return buffer.toString();
}
/**
*
* @return
*/
public static Integer getStrCount(String str,String indexStr){
//java中判断一个字符出现的次数
//在下面字符串中查找有几个啊
// String str = "啊!我爱你中国!啊,我爱你故乡";
//存放每个字符的数组
String [] strs = new String[str.length()];
//计数该字符出现了多少次
int count = 0;
//先把字符串转换成数组
for(int i = 0;i<strs.length;i++){
strs[i] = str.substring(i,i+1);
}
//挨个字符进行查找查找到之后count++
for(int i = 0;i<strs.length;i++){
if(strs[i].equals(indexStr)){
count++;
}
}
// System.out.println("一共有"+count+"个啊");
return count;
}
public static String checkInt(String para){
// if(){
// }
String res = "";
try {
Integer paraInt = Integer.parseInt(para);
res = StringKit.toString(paraInt);
}catch (Exception e){
// logger
}
return res;
}
public static String checkLong(String para){
// if(){
// }
String res = "";
try {
Long paraInt = Long.parseLong(para);
res = StringKit.toString(paraInt);
}catch (Exception e){
// logger
}
return res;
}
public static String checkDouble(String para){
// if(){
// }
String res = "";
try {
Double paraInt = Double.parseDouble(para);
res = StringKit.toString(paraInt);
}catch (Exception e){
// logger
}
return res;
}
/**
*
* @param str
* @return
*/
public static String extractDigits(String str) {
try {
if (str.length() == 0) {
return "";
}
char lastChar = str.charAt(str.length() - 1);
if (Character.isDigit(lastChar)) {
return extractDigits(str.substring(0, str.length() - 1)) + lastChar;
} else {
return "";
}
}catch (Exception e){
return "";
}
}
/**
*
* @param input
* @return
*/
public static String convertChineseUnitToDigit(String input) {
input = input.replaceAll("一单元", "1单元")
.replaceAll("二单元", "2单元")
.replaceAll("三单元", "3单元")
.replaceAll("四单元", "4单元")
.replaceAll("五单元", "5单元")
.replaceAll("六单元", "6单元")
.replaceAll("七单元", "7单元")
.replaceAll("八单元", "8单元")
.replaceAll("九单元", "9单元")
.replaceAll("十单元", "10单元");
return input;
}
}

@ -0,0 +1,79 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.ssf.mysqloracletest.utils;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.Response;
import com.squareup.okhttp.ResponseBody;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
public class WsOkHttpUtils {
private static Logger logger = LoggerFactory.getLogger(WsOkHttpUtils.class);
public static boolean wsImageDownload(String idcard, String toPath) {
String url = ConfigParam.wshttpurl + idcard;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url(url)
.get()
.addHeader("User-Agent", "PostmanRuntime/7.15.2")
.addHeader("Accept", "*/*")
.addHeader("Cache-Control", "no-cache")
.addHeader("Postman-Token", "7c9d31e5-31af-462b-a139-1d8e708f3754,66cb412d-20dd-42e2-930f-ea1f746d890d")
.addHeader("Accept-Encoding", "gzip, deflate")
.addHeader("Referer", url)
.addHeader("Connection", "keep-alive")
.addHeader("cache-control", "no-cache")
.build();
try {
Response response = client.newCall(request).execute();
if (response.isSuccessful()) {
// 获取响应体
ResponseBody responseBody = response.body();
long length = responseBody.contentLength();
if (0 == length) {
logger.info("pic length is null");
return false;
}
// 获取输入流
InputStream inputStream = responseBody.byteStream();
// 指定本地保存路径
// String localFilePath = "path/to/save/image.jpg";
// 使用输出流将输入流写入本地文件
try (OutputStream outputStream = new FileOutputStream(toPath)) {
byte[] buffer = new byte[8192];
int bytesRead;
while ((bytesRead = inputStream.read(buffer)) != -1) {
outputStream.write(buffer, 0, bytesRead);
}
}
logger.info("Image saved successfully!");
return true;
} else {
logger.info("Request failed with code: " + response.code());
}
} catch (Exception e) {
e.printStackTrace();
}
return false;
}
}

@ -0,0 +1,88 @@
package com.ssf.mysqloracletest.utils.safe;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.crypto.Cipher;
import javax.crypto.spec.SecretKeySpec;
/**
* @author daifei
* @Description: AES
* @date 2021414
*/
public class AESTools {
private static final Logger log = LoggerFactory.getLogger(AESTools.class);
private static final String KEY_ALGORITHM = "AES";
private static final String DEFAULT_CIPHER_ALGORITHM = "AES/ECB/PKCS5Padding";// 默认的加密算法
/**
* AES
*
* @param content
* @param password
* @return Base64
*/
public static String encrypt(String content, String password) {
if (StringUtils.isBlank(content)) {
return "";
}
try {
Cipher cipher = Cipher.getInstance(DEFAULT_CIPHER_ALGORITHM);// 创建密码器
byte[] byteContent = content.getBytes("utf-8");
cipher.init(Cipher.ENCRYPT_MODE, getSecretKey(password));// 初始化为加密模式的密码器
byte[] result = cipher.doFinal(byteContent);// 加密
return Base64Tools.encodeToString(result);// 通过Base64转码返回
} catch (Exception ex) {
log.error("AES加密失败:" + content);
return "";
}
}
/**
* AES
*
* @param content
* @param password
* @return
*/
public static String decrypt(String content, String password) {
try {
if (StringUtils.isBlank(content)) {
return "";
}
// 实例化
Cipher cipher = Cipher.getInstance(DEFAULT_CIPHER_ALGORITHM);
// 使用密钥初始化,设置为解密模式
cipher.init(Cipher.DECRYPT_MODE, getSecretKey(password));
// 执行操作
byte[] result = cipher.doFinal(Base64Tools.decodeFromString(content));
return new String(result, "utf-8");
} catch (Exception ex) {
log.error("AES解密失败:" + content);
return "";
}
}
/**
*
*
* @return
*/
private static SecretKeySpec getSecretKey(final String password) {
try {
return new SecretKeySpec(password.getBytes("UTF-8"), KEY_ALGORITHM);// 转换为AES专用密钥
} catch (Exception ex) {
LoggerFactory.getLogger(AESTools.class).error("", ex);
throw new RuntimeException("生成加密秘钥");
}
}
}

@ -0,0 +1,7 @@
package com.ssf.mysqloracletest.utils.safe;
public class AesConstant {
public static final String AES_COMMON = "watu2022G409watu";
public static final String AES_PHONE = "phoneG409WaTuNj1";
public static final String AES_ID_CARD = "idCardG409WaTuNj";
}

@ -0,0 +1,116 @@
package com.ssf.mysqloracletest.utils.safe;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
public abstract class Base64Tools {
private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
/**
* Base64-encode the given byte array.
*
* @param src the original byte array
* @return the encoded byte array
*/
public static byte[] encode(byte[] src) {
if (src.length == 0) {
return src;
}
return Base64.getEncoder().encode(src);
}
/**
* Base64-decode the given byte array.
*
* @param src the encoded byte array
* @return the original byte array
*/
public static byte[] decode(byte[] src) {
if (src.length == 0) {
return src;
}
return Base64.getDecoder().decode(src);
}
/**
* Base64-encode the given byte array using the RFC 4648
* "URL and Filename Safe Alphabet".
*
* @param src the original byte array
* @return the encoded byte array
* @since 4.2.4
*/
public static byte[] encodeUrlSafe(byte[] src) {
if (src.length == 0) {
return src;
}
return Base64.getUrlEncoder().encode(src);
}
/**
* Base64-decode the given byte array using the RFC 4648
* "URL and Filename Safe Alphabet".
*
* @param src the encoded byte array
* @return the original byte array
* @since 4.2.4
*/
public static byte[] decodeUrlSafe(byte[] src) {
if (src.length == 0) {
return src;
}
return Base64.getUrlDecoder().decode(src);
}
/**
* Base64-encode the given byte array to a String.
*
* @param src the original byte array (may be {@code null})
* @return the encoded byte array as a UTF-8 String
*/
public static String encodeToString(byte[] src) {
if (src.length == 0) {
return "";
}
return new String(encode(src), DEFAULT_CHARSET);
}
/**
* Base64-decode the given byte array from an UTF-8 String.
*
* @param src the encoded UTF-8 String
* @return the original byte array
*/
public static byte[] decodeFromString(String src) {
if (src.isEmpty()) {
return new byte[0];
}
return decode(src.getBytes(DEFAULT_CHARSET));
}
/**
* Base64-encode the given byte array to a String using the RFC 4648
* "URL and Filename Safe Alphabet".
*
* @param src the original byte array
* @return the encoded byte array as a UTF-8 String
*/
public static String encodeToUrlSafeString(byte[] src) {
return new String(encodeUrlSafe(src), DEFAULT_CHARSET);
}
/**
* Base64-decode the given byte array from an UTF-8 String using the RFC 4648
* "URL and Filename Safe Alphabet".
*
* @param src the encoded UTF-8 String
* @return the original byte array
*/
public static byte[] decodeFromUrlSafeString(String src) {
return decodeUrlSafe(src.getBytes(DEFAULT_CHARSET));
}
}

@ -0,0 +1,64 @@
package com.ssf.mysqloracletest.utils.safe;
/**
*
*/
public enum SignAlgorithm {
// The RSA signature algorithm
NONEwithRSA("NONEwithRSA", "RSA"),
// The MD2/MD5 with RSA Encryption signature algorithm
MD2withRSA("MD2withRSA", "RSA"),
MD5withRSA("MD5withRSA", "RSA"),
// The signature algorithm with SHA-* and the RSA
SHA1withRSA("SHA1withRSA", "RSA"),
SHA256withRSA("SHA256withRSA", "RSA"),
SHA384withRSA("SHA384withRSA", "RSA"),
SHA512withRSA("SHA512withRSA", "RSA"),
// The Digital Signature Algorithm
NONEwithDSA("NONEwithDSA", "DSA"),
// The DSA with SHA-1 signature algorithm
SHA1withDSA("SHA1withDSA", "DSA"),
// The ECDSA signature algorithms
NONEwithECDSA("NONEwithECDSA", "EC"),
SHA1withECDSA("SHA1withECDSA", "EC"),
SHA256withECDSA("SHA256withECDSA", "EC"),
SHA384withECDSA("SHA384withECDSA", "EC"),
SHA512withECDSA("SHA512withECDSA", "EC");//
private String value;
private String type;
/**
*
*
* @param value
* @param type XXXwithXXXECDSAEC
*/
private SignAlgorithm(String value, String type) {
this.value = value;
this.type = type;
}
/**
*
*
* @return
*/
public String getValue() {
return this.value;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}

@ -0,0 +1,89 @@
package com.ssf.mysqloracletest.utils.safe;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.KeySpec;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
public class SignatureTools {
private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
/**
* sha256WithRsa
*
* @param content
* @param priKeyBase64 base64
* @return base64
*/
public static String rsa256Sign(String content, String priKeyBase64) {
byte[] signed = sign(SignAlgorithm.SHA256withRSA, content.getBytes(DEFAULT_CHARSET), Base64Tools.decodeFromString(priKeyBase64));
return Base64Tools.encodeToString(signed);
}
/**
* sha256WithRsa
*
* @param content
* @param pubKeyBase64 base64
* @param signBase64 base64
* @return
*/
public static boolean rsa256Verify(String content, String pubKeyBase64, String signBase64) {
return verify(SignAlgorithm.SHA256withRSA, content.getBytes(DEFAULT_CHARSET), Base64Tools.decodeFromString(signBase64),
Base64Tools.decodeFromString(pubKeyBase64));
}
public static byte[] sign(SignAlgorithm algorithm, byte[] content, byte[] key) {
try {
PrivateKey priKey = generatePrivateKey(algorithm, key);
java.security.Signature signature = java.security.Signature.getInstance(algorithm.getValue());
signature.initSign(priKey);
signature.update(content);
byte[] signed = signature.sign();
return signed;
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public static boolean verify(SignAlgorithm algorithm, byte[] content, byte[] sign, byte[] key) {
try {
java.security.Signature signature = java.security.Signature.getInstance(algorithm.getValue());
PublicKey publicKey = generatePublicKey(algorithm, key);
signature.initVerify(publicKey);
signature.update(content);
return signature.verify(sign);
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}
public static PrivateKey generatePrivateKey(SignAlgorithm algorithmType, byte[] key)
throws InvalidKeySpecException, NoSuchAlgorithmException {
return generatePrivateKey(algorithmType, new PKCS8EncodedKeySpec(key));
}
public static PrivateKey generatePrivateKey(SignAlgorithm algorithmType, KeySpec keySpec)
throws InvalidKeySpecException, NoSuchAlgorithmException {
return KeyFactory.getInstance(algorithmType.getType()).generatePrivate(keySpec);
}
public static PublicKey generatePublicKey(SignAlgorithm algorithm, byte[] key)
throws InvalidKeySpecException, NoSuchAlgorithmException {
return generatePublicKey(algorithm, new X509EncodedKeySpec(key));
}
public static PublicKey generatePublicKey(SignAlgorithm algorithm, KeySpec keySpec)
throws InvalidKeySpecException, NoSuchAlgorithmException {
return KeyFactory.getInstance(algorithm.getType()).generatePublic(keySpec);
}
}

@ -0,0 +1,18 @@
package com.ssf.mysqloracletest.utils.safe;
import java.io.IOException;
public class TestAes {
public static void main(String[] args) throws IOException {
String jsonStr = "a00108150154581.json";
//AES 加密
String miwen = AESTools.encrypt(jsonStr, "watu2022G409watu");
System.out.println("AES加密结果" + miwen);
//AES 解密
String mingwen = AESTools.decrypt(miwen, "watu2022G409watu");
System.out.println("AES解密结果" + mingwen);
}
}

@ -0,0 +1,35 @@
package com.ssf.mysqloracletest.utils.safe;
import java.io.IOException;
public class TestSign {
public static void main(String[] args) throws IOException {
String jsonStr = "bizContent=4EjlSobzEJU1n42yDUxPSbFuoGiUan4gTbts+uF+eU/qLZ8HwOOLzQsd6+WUwhK4&encryptType=AES&signType=RSA256&timestamp=2020-01-08T15:01:54&version=2.0&filename=SSO_MSG_MOBILECODE_REQ_12010101_20200108150154581.json";
String privateKey = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAIL9jprY3gGAr2R5/zJMNZ+eQa3CTCik3K960fELEX7A9W9bMYdJYBF84j561vA/0e4GHk3a2+Ti8jQF6ywCk99T2VoLUAWF88kFIlt+6ZjaN9iWjfcU14Lfo9CDbqP+SoLB1mwWtwM5mkn+tYcwHkntpUK3mwny/h323QUy8H9DAgMBAAECgYAG2wpppEwKPBfx5Eis8zwjPH8nfvHJdsduD7mJKhEiVysBRv6SnA6BG84jgv5Y2J4+HOfdH0U+93nBq0WhqgjfJfJzT6E4O6Wzug39oTpQBFbiryNFhvVe3VI6z2Ls8oGFc2G0WqJBRWUw7XddcHVizcSRfDJOVbLE3cdE35biEQJBANdi8Xd4T9NKswTTGnWRaT6ej7M85L9Yq6EWqkjF3WP4ILcEF4xINo+CDhPw/IsY03J4pAPw2Q6zdR0XIHIzlccCQQCbsK37i+PoQPEACDl7ZFVTIomrfhoUMm1cBn85L7Emc9Kssc8RLd+l4W1tD0JC43vrBnZXbkspxQUPM7Ver1qlAkAboSamk7lxulhimw3+3OtqS/7VGE+juCU0IeswMKmoxFC2CYFXzn+pQx65MiXDVijxu0YW91NwzlaMp8XSwIlLAkBtR8GHbDSnxFWlUSCP5OgjN33smtHRVWf/jSvlxv0QYYIB57jRdSKje6zkPS6kZqqHWHzed7NYeUtI1WG8OVdlAkAPwQBVW0y7ekcAhTWrYxws6WtLAXJMWr0vQJiQlTBtoj9kUmMVL135i/fJOqPJH+w8Hw949F2bPT7tWtOU3uyL";
String publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCC/Y6a2N4BgK9kef8yTDWfnkGtwkwopNyvetHxCxF+wPVvWzGHSWARfOI+etbwP9HuBh5N2tvk4vI0BessApPfU9laC1AFhfPJBSJbfumY2jfYlo33FNeC36PQg26j/kqCwdZsFrcDOZpJ/rWHMB5J7aVCt5sJ8v4d9t0FMvB/QwIDAQAB";
//AES 加密
String miwen = AESTools.encrypt(jsonStr, "9767d61ab8f340aa");
System.out.println("AES加密结果" + miwen);
//AES 解密
String mingwen = AESTools.decrypt("", "9767d61ab8f340aa");
System.out.println("AES解密结果" + mingwen);
//SHA256加签
byte[] bs = SignatureTools.sign(SignAlgorithm.SHA256withRSA, jsonStr.getBytes(),
Base64Tools.decodeFromString(privateKey));
String sign = Base64Tools.encodeToString(bs);
System.out.println("SHA256签名结果" + sign);
//SHA256验签
// verify(SignAlgorithm algorithm, byte[] content, byte[] sign, byte[] key)
boolean validSignSuccess = SignatureTools.verify(SignAlgorithm.SHA256withRSA, jsonStr.getBytes(),
Base64Tools.decodeFromString(sign), Base64Tools.decodeFromString(publicKey));
System.out.println("SHA256验签结果" + validSignSuccess);
}
}

@ -0,0 +1,551 @@
package com.ssf.mysqloracletest.utils.util;
import com.ssf.mysqloracletest.utils.StringKit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DictUtil {
private static Logger logger = LoggerFactory.getLogger(DictUtil.class);
/**
*
*
* @return
*/
public static int convertRelation(String value) {
value = StringKit.toString(value);
int result = 8;
//1 本人
if ("01".equals(value)) {
result = 0;
}
//2 户主
else if ("02".equals(value)) {
result = 0;
}
//3 小集体户户主
else if ("03".equals(value)) {
result = 0;
}
//10 配偶
else if ("10".equals(value)) {
result = 1;
}
//11 夫
else if ("11".equals(value)) {
result = 1;
}
//12 妻
else if ("12".equals(value)) {
result = 1;
}
//20 子
else if ("20".equals(value)) {
result = 2;
}
//21 独生子
else if ("21".equals(value)) {
result = 2;
}
//22 长子
else if ("22".equals(value)) {
result = 2;
}
//23 次子
else if ("23".equals(value)) {
result = 2;
}
//24 三子
else if ("24".equals(value)) {
result = 2;
}
//25 四子
else if ("25".equals(value)) {
result = 2;
}
//26 五子
else if ("26".equals(value)) {
result = 2;
}
//27 养子或继子
else if ("27".equals(value)) {
result = 2;
}
//28 女婿
else if ("28".equals(value)) {
result = 8;
}
//29 其它儿子
else if ("28".equals(value)) {
result = 2;
}
//30 女
else if ("30".equals(value)) {
result = 3;
}
//31 独生女
else if ("31".equals(value)) {
result = 3;
}
//32 长女
else if ("32".equals(value)) {
result = 3;
}
//33 二女
else if ("33".equals(value)) {
result = 3;
}
//34 三女
else if ("34".equals(value)) {
result = 3;
}
//35 四女
else if ("35".equals(value)) {
result = 3;
}
//36 五女
else if ("36".equals(value)) {
result = 3;
}
//37 养女
else if ("37".equals(value)) {
result = 3;
}
//38 儿媳
else if ("38".equals(value)) {
result = 8;
}
//39 其它女儿
else if ("39".equals(value)) {
result = 3;
}
//40 孙子,孙女或外孙子,外孙女
else if ("40".equals(value)) {
result = 4;
}
//41 孙子
else if ("41".equals(value)) {
result = 4;
}
//42 孙女
else if ("42".equals(value)) {
result = 4;
}
//43 外孙子
else if ("43".equals(value)) {
result = 4;
}
//44 外孙女
else if ("44".equals(value)) {
result = 4;
}
//45 孙媳妇或外孙媳妇
else if ("45".equals(value)) {
result = 8;
}
//46 孙女婿或外孙女婿
else if ("46".equals(value)) {
result = 8;
}
//47 曾孙子或曾外孙子
else if ("47".equals(value)) {
result = 8;
}
//48 曾孙女或曾外孙女
else if ("48".equals(value)) {
result = 8;
}
//49 其他孙子,孙女或外孙子
else if ("49".equals(value)) {
result = 8;
}
//50 父母
else if ("50".equals(value)) {
result = 5;
}
//51 父亲
else if ("51".equals(value)) {
result = 5;
}
//52 母亲
else if ("52".equals(value)) {
result = 5;
}
//53 公公
else if ("53".equals(value)) {
result = 8;
}
//54 婆婆
else if ("54".equals(value)) {
result = 8;
}
//55 岳父
else if ("55".equals(value)) {
result = 8;
}
//56 岳母
else if ("56".equals(value)) {
result = 8;
}
//57 继父或养父
else if ("57".equals(value)) {
result = 8;
}
//58 继母或养母
else if ("58".equals(value)) {
result = 8;
}
//59 其它父母关系
else if ("59".equals(value)) {
result = 8;
}
//60 祖父母或外祖父母
else if ("60".equals(value)) {
result = 6;
}
//61 祖父
else if ("61".equals(value)) {
result = 6;
}
//62 祖母
else if ("62".equals(value)) {
result = 6;
}
//63 外祖父
else if ("63".equals(value)) {
result = 6;
}
//64 外祖母
else if ("64".equals(value)) {
result = 6;
}
//65 配偶的祖父母或外祖父母
else if ("65".equals(value)) {
result = 8;
}
//66 曾祖父
else if ("66".equals(value)) {
result = 8;
}
//67 曾祖母
else if ("67".equals(value)) {
result = 8;
}
//68 配偶的曾祖父母
else if ("68".equals(value)) {
result = 8;
}
//69 其它祖父母或外祖父母关系
else if ("69".equals(value)) {
result = 8;
}
//70 兄弟姐妹
else if ("70".equals(value)) {
result = 7;
}
//71 兄
else if ("71".equals(value)) {
result = 7;
}
//72 嫂
else if ("72".equals(value)) {
result = 8;
}
//73 弟
else if ("73".equals(value)) {
result = 7;
}
//74 弟媳
else if ("74".equals(value)) {
result = 8;
}
//75 姐姐
else if ("75".equals(value)) {
result = 7;
}
//76 姐夫
else if ("76".equals(value)) {
result = 8;
}
//77 妹妹
else if ("77".equals(value)) {
result = 7;
}
//78 妹夫
else if ("78".equals(value)) {
result = 8;
}
//79 其它兄弟姐妹
else if ("79".equals(value)) {
result = 8;
} else {
//下面的关系都是其他
result = 8;
}
return result;
// 81 伯父
// 82 伯母
// 83 叔父
// 84 婶母
// 85 舅父
// 86 舅母
// 87 姨父
// 88 姨母
// 89 姑父
// 90 姑母
// 91 堂兄弟,堂姐妹
// 92 表兄弟,表姐妹
// 93 侄子
// 94 侄女
// 95 外甥
// 96 外甥女
// 97 其他亲属
// 98 保姆
// 99 非亲属
}
public static int convertRelationJwzUserInfo(String value) {
value = StringKit.toString(value);
int result = 99;
//1 本人
if ("01".equals(value)) {
result = 99;
}
//2 户主
else if ("02".equals(value)) {
result = 1;
}
//3 小集体户户主
else if ("03".equals(value)) {
result = 1;
}
//10 配偶
else if ("10".equals(value)) {
result = 2;
}
//11 夫
else if ("11".equals(value)) {
result = 2;
}
//12 妻
else if ("12".equals(value)) {
result = 2;
}
//20 子
else if ("20".equals(value)) {
result = 3;
}
//21 独生子
else if ("21".equals(value)) {
result = 3;
}
//22 长子
else if ("22".equals(value)) {
result = 3;
}
//23 次子
else if ("23".equals(value)) {
result = 3;
}
//24 三子
else if ("24".equals(value)) {
result = 3;
}
//25 四子
else if ("25".equals(value)) {
result = 3;
}
//26 五子
else if ("26".equals(value)) {
result = 3;
}
//27 养子或继子
else if ("27".equals(value)) {
result = 3;
}
//29 其它儿子
else if ("28".equals(value)) {
result = 3;
}
//30 女
else if ("30".equals(value)) {
result = 4;
}
//31 独生女
else if ("31".equals(value)) {
result = 4;
}
//32 长女
else if ("32".equals(value)) {
result = 4;
}
//33 二女
else if ("33".equals(value)) {
result = 4;
}
//34 三女
else if ("34".equals(value)) {
result = 4;
}
//35 四女
else if ("35".equals(value)) {
result = 4;
}
//36 五女
else if ("36".equals(value)) {
result = 4;
}
//37 养女
else if ("37".equals(value)) {
result = 4;
}
//39 其它女儿
else if ("39".equals(value)) {
result = 4;
}
//40 孙子,孙女或外孙子,外孙女
else if ("40".equals(value)) {
result = 5;
}
//41 孙子
else if ("41".equals(value)) {
result = 5;
}
//42 孙女
else if ("42".equals(value)) {
result = 5;
}
//43 外孙子
else if ("43".equals(value)) {
result = 5;
}
//44 外孙女
else if ("44".equals(value)) {
result = 5;
}
//47 曾孙子或曾外孙子
else if ("47".equals(value)) {
result = 5;
}
//48 曾孙女或曾外孙女
else if ("48".equals(value)) {
result = 5;
}
//49 其他孙子,孙女或外孙子
else if ("49".equals(value)) {
result = 5;
}
//50 父母
else if ("50".equals(value)) {
result = 6;
}
//51 父亲
else if ("51".equals(value)) {
result = 6;
}
//52 母亲
else if ("52".equals(value)) {
result = 6;
}
//57 继父或养父
else if ("57".equals(value)) {
result = 6;
}
//58 继母或养母
else if ("58".equals(value)) {
result = 6;
}
//59 其它父母关系
else if ("59".equals(value)) {
result = 6;
}
//60 祖父母或外祖父母
else if ("60".equals(value)) {
result = 7;
}
//61 祖父
else if ("61".equals(value)) {
result = 7;
}
//62 祖母
else if ("62".equals(value)) {
result = 7;
}
//63 外祖父
else if ("63".equals(value)) {
result = 7;
}
//64 外祖母
else if ("64".equals(value)) {
result = 7;
}
//65 配偶的祖父母或外祖父母
else if ("65".equals(value)) {
result = 7;
}
//66 曾祖父
else if ("66".equals(value)) {
result = 7;
}
//67 曾祖母
else if ("67".equals(value)) {
result = 7;
}
//68 配偶的曾祖父母
else if ("68".equals(value)) {
result = 7;
}
//69 其它祖父母或外祖父母关系
else if ("69".equals(value)) {
result = 7;
}
//70 兄弟姐妹
else if ("70".equals(value)) {
result = 8;
}
//71 兄
else if ("71".equals(value)) {
result = 8;
}
//73 弟
else if ("73".equals(value)) {
result = 8;
}
//75 姐姐
else if ("75".equals(value)) {
result = 8;
}
//76 姐夫
else if ("76".equals(value)) {
result = 8;
}
//77 妹妹
else if ("77".equals(value)) {
result = 8;
}
//78 妹夫
else if ("78".equals(value)) {
result = 8;
}
//79 其它兄弟姐妹
else if ("79".equals(value)) {
result = 8;
} else {
//下面的关系都是其他
result = 99;
}
return result;
}
}

@ -0,0 +1 @@
server: port: 1204 connection-timeout: 60000 spring: datasource: dynamic: primary: mysql #设置默认的数据源或者数据源组,默认值即为master strict: false #设置严格模式,默认false不启动. 启动后再为匹配到指定数据源时候回抛出异常,不启动会使用默认数据源. datasource: oracleSydz: url: jdbc:mysql://121.41.91.94:12036/xpt?useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=GMT&connectTimeout=150000 driver-class-name: com.mysql.cj.jdbc.Driver username: root password: '!QAZ1qaz' mysql: url: jdbc:mysql://121.41.91.94:12036/xpt?useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=GMT&connectTimeout=150000 driver-class-name: com.mysql.cj.jdbc.Driver username: root password: '!QAZ1qaz' hikari: max-pool-size: 100 min-idle: 5 connection-timeout: 60000 mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: - classpath:mapper/*.xml mybatis: configuration: map-underscore-to-camel-case: true mapper-locations: mybatis/**/*Mapper.xml typeAliasesPackage: com.ssf.mysqloracletest.**.domain logging: level: root: info com.ssf.mysqloracletest: debug

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- 日志存放路径 -->
<property name="log.path" value="/home/project/dataCompareYpt/log" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
<!-- 控制台输出 -->
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统日志输出 -->
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-info.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/sys-info.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>INFO</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-error.log</file>
<!-- 循环政策:基于时间创建日志文件 -->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 日志文件名格式 -->
<fileNamePattern>${log.path}/sys-error.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
<filter class="ch.qos.logback.classic.filter.LevelFilter">
<!-- 过滤的级别 -->
<level>ERROR</level>
<!-- 匹配时的操作:接收(记录) -->
<onMatch>ACCEPT</onMatch>
<!-- 不匹配时的操作:拒绝(不记录) -->
<onMismatch>DENY</onMismatch>
</filter>
</appender>
<!-- 用户访问日志输出 -->
<appender name="sys-user" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${log.path}/sys-user.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- 按天回滚 daily -->
<fileNamePattern>${log.path}/sys-user.%d{yyyy-MM-dd}.log</fileNamePattern>
<!-- 日志最大的历史 60天 -->
<maxHistory>7</maxHistory>
</rollingPolicy>
<encoder>
<pattern>${log.pattern}</pattern>
</encoder>
</appender>
<!-- 系统模块日志级别控制 -->
<logger name="com.ruoyi" level="info" />
<!-- Spring日志级别控制 -->
<logger name="org.springframework" level="warn" />
<root level="info">
<appender-ref ref="console" />
</root>
<!--系统操作日志-->
<root level="info">
<appender-ref ref="file_info" />
<appender-ref ref="file_error" />
</root>
<!--系统用户操作日志-->
<logger name="sys-user" level="info">
<appender-ref ref="sys-user"/>
</logger>
</configuration>

@ -0,0 +1,456 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ssf.mysqloracletest.mapper.JcjCjxxViewMysqlMapper">
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql">
<result property="CJBH" column="CJBH" jdbcType="VARCHAR"/>
<result property="JJBH" column="JJBH" jdbcType="VARCHAR"/>
<result property="JJDBH" column="JJDBH" jdbcType="VARCHAR"/>
<result property="PJDBH" column="PJDBH" jdbcType="VARCHAR"/>
<result property="FKLYH" column="FKLYH" jdbcType="VARCHAR"/>
<result property="CJLB" column="CJLB" jdbcType="VARCHAR"/>
<result property="CJSJ" column="CJSJ" jdbcType="VARCHAR"/>
<result property="DDXCSJ" column="DDXCSJ" jdbcType="VARCHAR"/>
<result property="CJXZQH" column="CJXZQH" jdbcType="VARCHAR"/>
<result property="CJJLX" column="CJJLX" jdbcType="VARCHAR"/>
<result property="CJMLPH" column="CJMLPH" jdbcType="VARCHAR"/>
<result property="CJMPHZ" column="CJMPHZ" jdbcType="VARCHAR"/>
<result property="CJXZ" column="CJXZ" jdbcType="VARCHAR"/>
<result property="SFCS" column="SFCS" jdbcType="VARCHAR"/>
<result property="FSYY" column="FSYY" jdbcType="VARCHAR"/>
<result property="TQQK" column="TQQK" jdbcType="VARCHAR"/>
<result property="JQSX" column="JQSX" jdbcType="VARCHAR"/>
<result property="CJR" column="CJR" jdbcType="VARCHAR"/>
<result property="CJRHZXS" column="CJRHZXS" jdbcType="VARCHAR"/>
<result property="CJRLXFS" column="CJRLXFS" jdbcType="VARCHAR"/>
<result property="SFXQ" column="SFXQ" jdbcType="VARCHAR"/>
<result property="SFSJSX" column="SFSJSX" jdbcType="VARCHAR"/>
<result property="SFSJXX" column="SFSJXX" jdbcType="VARCHAR"/>
<result property="CLJGNR" column="CLJGNR" jdbcType="VARCHAR"/>
<result property="BCCLJG" column="BCCLJG" jdbcType="VARCHAR"/>
<result property="SSXXQK" column="SSXXQK" jdbcType="VARCHAR"/>
<result property="CJFKSJ" column="CJFKSJ" jdbcType="VARCHAR"/>
<result property="SPSJ" column="SPSJ" jdbcType="VARCHAR"/>
<result property="ZBLD" column="ZBLD" jdbcType="VARCHAR"/>
<result property="ZBLDXM" column="ZBLDXM" jdbcType="VARCHAR"/>
<result property="LDCLSJ" column="LDCLSJ" jdbcType="VARCHAR"/>
<result property="CJJG" column="CJJG" jdbcType="VARCHAR"/>
<result property="CJYSJSDW" column="CJYSJSDW" jdbcType="VARCHAR"/>
<result property="CJYSJSR" column="CJYSJSR" jdbcType="VARCHAR"/>
<result property="CJYSJSSJ" column="CJYSJSSJ" jdbcType="VARCHAR"/>
<result property="CDJL" column="CDJL" jdbcType="VARCHAR"/>
<result property="CDJDC" column="CDJDC" jdbcType="VARCHAR"/>
<result property="CDCZ" column="CDCZ" jdbcType="VARCHAR"/>
<result property="JJFNS" column="JJFNS" jdbcType="VARCHAR"/>
<result property="JJETS" column="JJETS" jdbcType="VARCHAR"/>
<result property="JJRZS" column="JJRZS" jdbcType="VARCHAR"/>
<result property="JZQZ" column="JZQZ" jdbcType="VARCHAR"/>
<result property="JZSY" column="JZSY" jdbcType="VARCHAR"/>
<result property="RYSSS" column="RYSSS" jdbcType="VARCHAR"/>
<result property="RYSWS" column="RYSWS" jdbcType="VARCHAR"/>
<result property="LZSCRS" column="LZSCRS" jdbcType="VARCHAR"/>
<result property="PHXXAJ" column="PHXXAJ" jdbcType="VARCHAR"/>
<result property="PHXSAJ" column="PHXSAJ" jdbcType="VARCHAR"/>
<result property="PHZAAJ" column="PHZAAJ" jdbcType="VARCHAR"/>
<result property="TPRF" column="TPRF" jdbcType="VARCHAR"/>
<result property="ZHZACY" column="ZHZACY" jdbcType="VARCHAR"/>
<result property="ZJJJSS" column="ZJJJSS" jdbcType="VARCHAR"/>
<result property="WHSS" column="WHSS" jdbcType="VARCHAR"/>
<result property="AJSLR" column="AJSLR" jdbcType="VARCHAR"/>
<result property="AJSLDW" column="AJSLDW" jdbcType="VARCHAR"/>
<result property="GLAJBH" column="GLAJBH" jdbcType="VARCHAR"/>
<result property="GLAJZT" column="GLAJZT" jdbcType="VARCHAR"/>
<result property="GIS_X" column="GIS_X" jdbcType="VARCHAR"/>
<result property="GIS_Y" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="DJDW" column="DJDW" jdbcType="VARCHAR"/>
<result property="DJR" column="DJR" jdbcType="VARCHAR"/>
<result property="DJSJ" column="DJSJ" jdbcType="VARCHAR"/>
<result property="XGR" column="XGR" jdbcType="VARCHAR"/>
<result property="XGSJ" column="XGSJ" jdbcType="VARCHAR"/>
<result property="XGDW" column="XGDW" jdbcType="VARCHAR"/>
<result property="DJRXM" column="DJRXM" jdbcType="VARCHAR"/>
<result property="DJDWMC" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="XGRXM" column="XGRXM" jdbcType="VARCHAR"/>
<result property="XGDWMC" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="CJDW" column="CJDW" jdbcType="VARCHAR"/>
<result property="CJDWMC" column="CJDWMC" jdbcType="VARCHAR"/>
<result property="CJXXDD" column="CJXXDD" jdbcType="VARCHAR"/>
<result property="ZBLDDW" column="ZBLDDW" jdbcType="VARCHAR"/>
<result property="ZBLDDWMC" column="ZBLDDWMC" jdbcType="VARCHAR"/>
<result property="SPXGSJ" column="SPXGSJ" jdbcType="VARCHAR"/>
<result property="YZB" column="YZB" jdbcType="VARCHAR"/>
<result property="XZB" column="XZB" jdbcType="VARCHAR"/>
<result property="BZSJ" column="BZSJ" jdbcType="VARCHAR"/>
<result property="BZDW" column="BZDW" jdbcType="VARCHAR"/>
<result property="BZR" column="BZR" jdbcType="VARCHAR"/>
<result property="BZRXM" column="BZRXM" jdbcType="VARCHAR"/>
<result property="BZDWMC" column="BZDWMC" jdbcType="VARCHAR"/>
<result property="GXSJ" column="GXSJ" jdbcType="VARCHAR"/>
<result property="GXRXM" column="GXRXM" jdbcType="VARCHAR"/>
<result property="GXR" column="GXR" jdbcType="VARCHAR"/>
<result property="GXDWMC" column="GXDWMC" jdbcType="VARCHAR"/>
<result property="GXDW" column="GXDW" jdbcType="VARCHAR"/>
<result property="CJLBMC" column="CJLBMC" jdbcType="VARCHAR"/>
<result property="CJXZQHMC" column="CJXZQHMC" jdbcType="VARCHAR"/>
<result property="CJJLXMC" column="CJJLXMC" jdbcType="VARCHAR"/>
<result property="CJMPHZMC" column="CJMPHZMC" jdbcType="VARCHAR"/>
<result property="SFCSMC" column="SFCSMC" jdbcType="VARCHAR"/>
<result property="FSYYMC" column="FSYYMC" jdbcType="VARCHAR"/>
<result property="TQQKMC" column="TQQKMC" jdbcType="VARCHAR"/>
<result property="SFXQMC" column="SFXQMC" jdbcType="VARCHAR"/>
<result property="CJJGMC" column="CJJGMC" jdbcType="VARCHAR"/>
<result property="AJSLRMC" column="AJSLRMC" jdbcType="VARCHAR"/>
<result property="AJSLDWMC" column="AJSLDWMC" jdbcType="VARCHAR"/>
<result property="GLAJZTMC" column="GLAJZTMC" jdbcType="VARCHAR"/>
<result property="WS_RKSJ" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="WS_XGSJ" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="WS_YXX" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="JQSXMC" column="JQSXMC" jdbcType="VARCHAR"/>
<result property="RYWKSJ" column="RYWKSJ" jdbcType="VARCHAR"/>
<result property="status" column="status" jdbcType="VARCHAR"/>
</resultMap>
<select id="selectCjxxById" parameterType="java.lang.String" resultMap="BaseResultMap">
select * from jcj_cjxx_view
where CJBH = #{CJBH} limit 1
</select>
<insert id="insertCjxx" parameterType="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql" useGeneratedKeys="true"
keyProperty="id">
insert into jcj_cjxx_view
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">CJBH,</if>
<if test="JJBH != null and JJBH != '' ">JJBH,</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH,</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH,</if>
<if test="FKLYH != null and FKLYH != '' ">FKLYH,</if>
<if test="CJLB != null and CJLB != '' ">CJLB,</if>
<if test="CJSJ != null and CJSJ != '' ">CJSJ,</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">DDXCSJ,</if>
<if test="CJXZQH != null and CJXZQH != '' ">CJXZQH,</if>
<if test="CJJLX != null and CJJLX != '' ">CJJLX,</if>
<if test="CJMLPH != null and CJMLPH != '' ">CJMLPH,</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">CJMPHZ,</if>
<if test="CJXZ != null and CJXZ != '' ">CJXZ,</if>
<if test="SFCS != null and SFCS != '' ">SFCS,</if>
<if test="FSYY != null and FSYY != '' ">FSYY,</if>
<if test="TQQK != null and TQQK != '' ">TQQK,</if>
<if test="JQSX != null and JQSX != '' ">JQSX,</if>
<if test="CJR != null and CJR != '' ">CJR,</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">CJRHZXS,</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">CJRLXFS,</if>
<if test="SFXQ != null and SFXQ != '' ">SFXQ,</if>
<if test="SFSJSX != null and SFSJSX != '' ">SFSJSX,</if>
<if test="SFSJXX != null and SFSJXX != '' ">SFSJXX,</if>
<if test="CLJGNR != null and CLJGNR != '' ">CLJGNR,</if>
<if test="BCCLJG != null and BCCLJG != '' ">BCCLJG,</if>
<if test="SSXXQK != null and SSXXQK != '' ">SSXXQK,</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">CJFKSJ,</if>
<if test="SPSJ != null and SPSJ != '' ">SPSJ,</if>
<if test="ZBLD != null and ZBLD != '' ">ZBLD,</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">ZBLDXM,</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">LDCLSJ,</if>
<if test="CJJG != null and CJJG != '' ">CJJG,</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">CJYSJSDW,</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">CJYSJSR,</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">CJYSJSSJ,</if>
<if test="CDJL != null and CDJL != '' ">CDJL,</if>
<if test="CDJDC != null and CDJDC != '' ">CDJDC,</if>
<if test="CDCZ != null and CDCZ != '' ">CDCZ,</if>
<if test="JJFNS != null and JJFNS != '' ">JJFNS,</if>
<if test="JJETS != null and JJETS != '' ">JJETS,</if>
<if test="JJRZS != null and JJRZS != '' ">JJRZS,</if>
<if test="JZQZ != null and JZQZ != '' ">JZQZ,</if>
<if test="JZSY != null and JZSY != '' ">JZSY,</if>
<if test="RYSSS != null and RYSSS != '' ">RYSSS,</if>
<if test="RYSWS != null and RYSWS != '' ">RYSWS,</if>
<if test="LZSCRS != null and LZSCRS != '' ">LZSCRS,</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">PHXXAJ,</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">PHXSAJ,</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">PHZAAJ,</if>
<if test="TPRF != null and TPRF != '' ">TPRF,</if>
<if test="ZHZACY != null and ZHZACY != '' ">ZHZACY,</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">ZJJJSS,</if>
<if test="WHSS != null and WHSS != '' ">WHSS,</if>
<if test="AJSLR != null and AJSLR != '' ">AJSLR,</if>
<if test="AJSLDW != null and AJSLDW != '' ">AJSLDW,</if>
<if test="GLAJBH != null and GLAJBH != '' ">GLAJBH,</if>
<if test="GLAJZT != null and GLAJZT != '' ">GLAJZT,</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X,</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y,</if>
<if test="DJDW != null and DJDW != '' ">DJDW,</if>
<if test="DJR != null and DJR != '' ">DJR,</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ,</if>
<if test="XGR != null and XGR != '' ">XGR,</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ,</if>
<if test="XGDW != null and XGDW != '' ">XGDW,</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM,</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC,</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM,</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC,</if>
<if test="CJDW != null and CJDW != '' ">CJDW,</if>
<if test="CJDWMC != null and CJDWMC != '' ">CJDWMC,</if>
<if test="CJXXDD != null and CJXXDD != '' ">CJXXDD,</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">ZBLDDW,</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">ZBLDDWMC,</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">SPXGSJ,</if>
<if test="YZB != null and YZB != '' ">YZB,</if>
<if test="XZB != null and XZB != '' ">XZB,</if>
<if test="BZSJ != null and BZSJ != '' ">BZSJ,</if>
<if test="BZDW != null and BZDW != '' ">BZDW,</if>
<if test="BZR != null and BZR != '' ">BZR,</if>
<if test="BZRXM != null and BZRXM != '' ">BZRXM,</if>
<if test="BZDWMC != null and BZDWMC != '' ">BZDWMC,</if>
<if test="GXSJ != null and GXSJ != '' ">GXSJ,</if>
<if test="GXRXM != null and GXRXM != '' ">GXRXM,</if>
<if test="GXR != null and GXR != '' ">GXR,</if>
<if test="GXDWMC != null and GXDWMC != '' ">GXDWMC,</if>
<if test="GXDW != null and GXDW != '' ">GXDW,</if>
<if test="CJLBMC != null and CJLBMC != '' ">CJLBMC,</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">CJXZQHMC,</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">CJJLXMC,</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">CJMPHZMC,</if>
<if test="SFCSMC != null and SFCSMC != '' ">SFCSMC,</if>
<if test="FSYYMC != null and FSYYMC != '' ">FSYYMC,</if>
<if test="TQQKMC != null and TQQKMC != '' ">TQQKMC,</if>
<if test="SFXQMC != null and SFXQMC != '' ">SFXQMC,</if>
<if test="CJJGMC != null and CJJGMC != '' ">CJJGMC,</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">AJSLRMC,</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">AJSLDWMC,</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">GLAJZTMC,</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ,</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ,</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX,</if>
<if test="JQSXMC != null and JQSXMC != '' ">JQSXMC,</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">#{CJBH},</if>
<if test="JJBH != null and JJBH != '' ">#{JJBH},</if>
<if test="JJDBH != null and JJDBH != '' ">#{JJDBH},</if>
<if test="PJDBH != null and PJDBH != '' ">#{PJDBH},</if>
<if test="FKLYH != null and FKLYH != '' ">#{FKLYH},</if>
<if test="CJLB != null and CJLB != '' ">#{CJLB},</if>
<if test="CJSJ != null and CJSJ != '' ">#{CJSJ},</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">#{DDXCSJ},</if>
<if test="CJXZQH != null and CJXZQH != '' ">#{CJXZQH},</if>
<if test="CJJLX != null and CJJLX != '' ">#{CJJLX},</if>
<if test="CJMLPH != null and CJMLPH != '' ">#{CJMLPH},</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">#{CJMPHZ},</if>
<if test="CJXZ != null and CJXZ != '' ">#{CJXZ},</if>
<if test="SFCS != null and SFCS != '' ">#{SFCS},</if>
<if test="FSYY != null and FSYY != '' ">#{FSYY},</if>
<if test="TQQK != null and TQQK != '' ">#{TQQK},</if>
<if test="JQSX != null and JQSX != '' ">#{JQSX},</if>
<if test="CJR != null and CJR != '' ">#{CJR},</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">#{CJRHZXS},</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">#{CJRLXFS},</if>
<if test="SFXQ != null and SFXQ != '' ">#{SFXQ},</if>
<if test="SFSJSX != null and SFSJSX != '' ">#{SFSJSX},</if>
<if test="SFSJXX != null and SFSJXX != '' ">#{SFSJXX},</if>
<if test="CLJGNR != null and CLJGNR != '' ">#{CLJGNR},</if>
<if test="BCCLJG != null and BCCLJG != '' ">#{BCCLJG},</if>
<if test="SSXXQK != null and SSXXQK != '' ">#{SSXXQK},</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">#{CJFKSJ},</if>
<if test="SPSJ != null and SPSJ != '' ">#{SPSJ},</if>
<if test="ZBLD != null and ZBLD != '' ">#{ZBLD},</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">#{ZBLDXM},</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">#{LDCLSJ},</if>
<if test="CJJG != null and CJJG != '' ">#{CJJG},</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">#{CJYSJSDW},</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">#{CJYSJSR},</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">#{CJYSJSSJ},</if>
<if test="CDJL != null and CDJL != '' ">#{CDJL},</if>
<if test="CDJDC != null and CDJDC != '' ">#{CDJDC},</if>
<if test="CDCZ != null and CDCZ != '' ">#{CDCZ},</if>
<if test="JJFNS != null and JJFNS != '' ">#{JJFNS},</if>
<if test="JJETS != null and JJETS != '' ">#{JJETS},</if>
<if test="JJRZS != null and JJRZS != '' ">#{JJRZS},</if>
<if test="JZQZ != null and JZQZ != '' ">#{JZQZ},</if>
<if test="JZSY != null and JZSY != '' ">#{JZSY},</if>
<if test="RYSSS != null and RYSSS != '' ">#{RYSSS},</if>
<if test="RYSWS != null and RYSWS != '' ">#{RYSWS},</if>
<if test="LZSCRS != null and LZSCRS != '' ">#{LZSCRS},</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">#{PHXXAJ},</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">#{PHXSAJ},</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">#{PHZAAJ},</if>
<if test="TPRF != null and TPRF != '' ">#{TPRF},</if>
<if test="ZHZACY != null and ZHZACY != '' ">#{ZHZACY},</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">#{ZJJJSS},</if>
<if test="WHSS != null and WHSS != '' ">#{WHSS},</if>
<if test="AJSLR != null and AJSLR != '' ">#{AJSLR},</if>
<if test="AJSLDW != null and AJSLDW != '' ">#{AJSLDW},</if>
<if test="GLAJBH != null and GLAJBH != '' ">#{GLAJBH},</if>
<if test="GLAJZT != null and GLAJZT != '' ">#{GLAJZT},</if>
<if test="GIS_X != null and GIS_X != '' ">#{GIS_X},</if>
<if test="GIS_Y != null and GIS_Y != '' ">#{GIS_Y},</if>
<if test="DJDW != null and DJDW != '' ">#{DJDW},</if>
<if test="DJR != null and DJR != '' ">#{DJR},</if>
<if test="DJSJ != null and DJSJ != '' ">#{DJSJ},</if>
<if test="XGR != null and XGR != '' ">#{XGR},</if>
<if test="XGSJ != null and XGSJ != '' ">#{XGSJ},</if>
<if test="XGDW != null and XGDW != '' ">#{XGDW},</if>
<if test="DJRXM != null and DJRXM != '' ">#{DJRXM},</if>
<if test="DJDWMC != null and DJDWMC != '' ">#{DJDWMC},</if>
<if test="XGRXM != null and XGRXM != '' ">#{XGRXM},</if>
<if test="XGDWMC != null and XGDWMC != '' ">#{XGDWMC},</if>
<if test="CJDW != null and CJDW != '' ">#{CJDW},</if>
<if test="CJDWMC != null and CJDWMC != '' ">#{CJDWMC},</if>
<if test="CJXXDD != null and CJXXDD != '' ">#{CJXXDD},</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">#{ZBLDDW},</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">#{ZBLDDWMC},</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">#{SPXGSJ},</if>
<if test="YZB != null and YZB != '' ">#{YZB},</if>
<if test="XZB != null and XZB != '' ">#{XZB},</if>
<if test="BZSJ != null and BZSJ != '' ">#{BZSJ},</if>
<if test="BZDW != null and BZDW != '' ">#{BZDW},</if>
<if test="BZR != null and BZR != '' ">#{BZR},</if>
<if test="BZRXM != null and BZRXM != '' ">#{BZRXM},</if>
<if test="BZDWMC != null and BZDWMC != '' ">#{BZDWMC},</if>
<if test="GXSJ != null and GXSJ != '' ">#{GXSJ},</if>
<if test="GXRXM != null and GXRXM != '' ">#{GXRXM},</if>
<if test="GXR != null and GXR != '' ">#{GXR},</if>
<if test="GXDWMC != null and GXDWMC != '' ">#{GXDWMC},</if>
<if test="GXDW != null and GXDW != '' ">#{GXDW},</if>
<if test="CJLBMC != null and CJLBMC != '' ">#{CJLBMC},</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">#{CJXZQHMC},</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">#{CJJLXMC},</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">#{CJMPHZMC},</if>
<if test="SFCSMC != null and SFCSMC != '' ">#{SFCSMC},</if>
<if test="FSYYMC != null and FSYYMC != '' ">#{FSYYMC},</if>
<if test="TQQKMC != null and TQQKMC != '' ">#{TQQKMC},</if>
<if test="SFXQMC != null and SFXQMC != '' ">#{SFXQMC},</if>
<if test="CJJGMC != null and CJJGMC != '' ">#{CJJGMC},</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">#{AJSLRMC},</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">#{AJSLDWMC},</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">#{GLAJZTMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">#{WS_RKSJ},</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">#{WS_XGSJ},</if>
<if test="WS_YXX != null and WS_YXX != '' ">#{WS_YXX},</if>
<if test="JQSXMC != null and JQSXMC != '' ">#{JQSXMC},</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">#{RYWKSJ},</if>
</trim>
</insert>
<update id="updateCjxxById" parameterType="com.ssf.mysqloracletest.domain.JcjCjxxViewMysql">
update jcj_cjxx_view
<trim prefix="SET" suffixOverrides=",">
<if test="CJBH != null and CJBH != '' ">CJBH=#{CJBH},</if>
<if test="JJBH != null and JJBH != '' ">JJBH=#{JJBH},</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH=#{JJDBH},</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH=#{PJDBH},</if>
<if test="FKLYH != null and FKLYH != '' ">FKLYH=#{FKLYH},</if>
<if test="CJLB != null and CJLB != '' ">CJLB=#{CJLB},</if>
<if test="CJSJ != null and CJSJ != '' ">CJSJ=#{CJSJ},</if>
<if test="DDXCSJ != null and DDXCSJ != '' ">DDXCSJ=#{DDXCSJ},</if>
<if test="CJXZQH != null and CJXZQH != '' ">CJXZQH=#{CJXZQH},</if>
<if test="CJJLX != null and CJJLX != '' ">CJJLX=#{CJJLX},</if>
<if test="CJMLPH != null and CJMLPH != '' ">CJMLPH=#{CJMLPH},</if>
<if test="CJMPHZ != null and CJMPHZ != '' ">CJMPHZ=#{CJMPHZ},</if>
<if test="CJXZ != null and CJXZ != '' ">CJXZ=#{CJXZ},</if>
<if test="SFCS != null and SFCS != '' ">SFCS=#{SFCS},</if>
<if test="FSYY != null and FSYY != '' ">FSYY=#{FSYY},</if>
<if test="TQQK != null and TQQK != '' ">TQQK=#{TQQK},</if>
<if test="JQSX != null and JQSX != '' ">JQSX=#{JQSX},</if>
<if test="CJR != null and CJR != '' ">CJR=#{CJR},</if>
<if test="CJRHZXS != null and CJRHZXS != '' ">CJRHZXS=#{CJRHZXS},</if>
<if test="CJRLXFS != null and CJRLXFS != '' ">CJRLXFS=#{CJRLXFS},</if>
<if test="SFXQ != null and SFXQ != '' ">SFXQ=#{SFXQ},</if>
<if test="SFSJSX != null and SFSJSX != '' ">SFSJSX=#{SFSJSX},</if>
<if test="SFSJXX != null and SFSJXX != '' ">SFSJXX=#{SFSJXX},</if>
<if test="CLJGNR != null and CLJGNR != '' ">CLJGNR=#{CLJGNR},</if>
<if test="BCCLJG != null and BCCLJG != '' ">BCCLJG=#{BCCLJG},</if>
<if test="SSXXQK != null and SSXXQK != '' ">SSXXQK=#{SSXXQK},</if>
<if test="CJFKSJ != null and CJFKSJ != '' ">CJFKSJ=#{CJFKSJ},</if>
<if test="SPSJ != null and SPSJ != '' ">SPSJ=#{SPSJ},</if>
<if test="ZBLD != null and ZBLD != '' ">ZBLD=#{ZBLD},</if>
<if test="ZBLDXM != null and ZBLDXM != '' ">ZBLDXM=#{ZBLDXM},</if>
<if test="LDCLSJ != null and LDCLSJ != '' ">LDCLSJ=#{LDCLSJ},</if>
<if test="CJJG != null and CJJG != '' ">CJJG=#{CJJG},</if>
<if test="CJYSJSDW != null and CJYSJSDW != '' ">CJYSJSDW=#{CJYSJSDW},</if>
<if test="CJYSJSR != null and CJYSJSR != '' ">CJYSJSR=#{CJYSJSR},</if>
<if test="CJYSJSSJ != null and CJYSJSSJ != '' ">CJYSJSSJ=#{CJYSJSSJ},</if>
<if test="CDJL != null and CDJL != '' ">CDJL=#{CDJL},</if>
<if test="CDJDC != null and CDJDC != '' ">CDJDC=#{CDJDC},</if>
<if test="CDCZ != null and CDCZ != '' ">CDCZ=#{CDCZ},</if>
<if test="JJFNS != null and JJFNS != '' ">JJFNS=#{JJFNS},</if>
<if test="JJETS != null and JJETS != '' ">JJETS=#{JJETS},</if>
<if test="JJRZS != null and JJRZS != '' ">JJRZS=#{JJRZS},</if>
<if test="JZQZ != null and JZQZ != '' ">JZQZ=#{JZQZ},</if>
<if test="JZSY != null and JZSY != '' ">JZSY=#{JZSY},</if>
<if test="RYSSS != null and RYSSS != '' ">RYSSS=#{RYSSS},</if>
<if test="RYSWS != null and RYSWS != '' ">RYSWS=#{RYSWS},</if>
<if test="LZSCRS != null and LZSCRS != '' ">LZSCRS=#{LZSCRS},</if>
<if test="PHXXAJ != null and PHXXAJ != '' ">PHXXAJ=#{PHXXAJ},</if>
<if test="PHXSAJ != null and PHXSAJ != '' ">PHXSAJ=#{PHXSAJ},</if>
<if test="PHZAAJ != null and PHZAAJ != '' ">PHZAAJ=#{PHZAAJ},</if>
<if test="TPRF != null and TPRF != '' ">TPRF=#{TPRF},</if>
<if test="ZHZACY != null and ZHZACY != '' ">ZHZACY=#{ZHZACY},</if>
<if test="ZJJJSS != null and ZJJJSS != '' ">ZJJJSS=#{ZJJJSS},</if>
<if test="WHSS != null and WHSS != '' ">WHSS=#{WHSS},</if>
<if test="AJSLR != null and AJSLR != '' ">AJSLR=#{AJSLR},</if>
<if test="AJSLDW != null and AJSLDW != '' ">AJSLDW=#{AJSLDW},</if>
<if test="GLAJBH != null and GLAJBH != '' ">GLAJBH=#{GLAJBH},</if>
<if test="GLAJZT != null and GLAJZT != '' ">GLAJZT=#{GLAJZT},</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X=#{GIS_X},</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y=#{GIS_Y},</if>
<if test="DJDW != null and DJDW != '' ">DJDW=#{DJDW},</if>
<if test="DJR != null and DJR != '' ">DJR=#{DJR},</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ=#{DJSJ},</if>
<if test="XGR != null and XGR != '' ">XGR=#{XGR},</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ=#{XGSJ},</if>
<if test="XGDW != null and XGDW != '' ">XGDW=#{XGDW},</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM=#{DJRXM},</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC=#{DJDWMC},</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM=#{XGRXM},</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC=#{XGDWMC},</if>
<if test="CJDW != null and CJDW != '' ">CJDW=#{CJDW},</if>
<if test="CJDWMC != null and CJDWMC != '' ">CJDWMC=#{CJDWMC},</if>
<if test="CJXXDD != null and CJXXDD != '' ">CJXXDD=#{CJXXDD},</if>
<if test="ZBLDDW != null and ZBLDDW != '' ">ZBLDDW=#{ZBLDDW},</if>
<if test="ZBLDDWMC != null and ZBLDDWMC != '' ">ZBLDDWMC=#{ZBLDDWMC},</if>
<if test="SPXGSJ != null and SPXGSJ != '' ">SPXGSJ=#{SPXGSJ},</if>
<if test="YZB != null and YZB != '' ">YZB=#{YZB},</if>
<if test="XZB != null and XZB != '' ">XZB=#{XZB},</if>
<if test="BZSJ != null and BZSJ != '' ">BZSJ=#{BZSJ},</if>
<if test="BZDW != null and BZDW != '' ">BZDW=#{BZDW},</if>
<if test="BZR != null and BZR != '' ">BZR=#{BZR},</if>
<if test="BZRXM != null and BZRXM != '' ">BZRXM=#{BZRXM},</if>
<if test="BZDWMC != null and BZDWMC != '' ">BZDWMC=#{BZDWMC},</if>
<if test="GXSJ != null and GXSJ != '' ">GXSJ=#{GXSJ},</if>
<if test="GXRXM != null and GXRXM != '' ">GXRXM=#{GXRXM},</if>
<if test="GXR != null and GXR != '' ">GXR=#{GXR},</if>
<if test="GXDWMC != null and GXDWMC != '' ">GXDWMC=#{GXDWMC},</if>
<if test="GXDW != null and GXDW != '' ">GXDW=#{GXDW},</if>
<if test="CJLBMC != null and CJLBMC != '' ">CJLBMC=#{CJLBMC},</if>
<if test="CJXZQHMC != null and CJXZQHMC != '' ">CJXZQHMC=#{CJXZQHMC},</if>
<if test="CJJLXMC != null and CJJLXMC != '' ">CJJLXMC=#{CJJLXMC},</if>
<if test="CJMPHZMC != null and CJMPHZMC != '' ">CJMPHZMC=#{CJMPHZMC},</if>
<if test="SFCSMC != null and SFCSMC != '' ">SFCSMC=#{SFCSMC},</if>
<if test="FSYYMC != null and FSYYMC != '' ">FSYYMC=#{FSYYMC},</if>
<if test="TQQKMC != null and TQQKMC != '' ">TQQKMC=#{TQQKMC},</if>
<if test="SFXQMC != null and SFXQMC != '' ">SFXQMC=#{SFXQMC},</if>
<if test="CJJGMC != null and CJJGMC != '' ">CJJGMC=#{CJJGMC},</if>
<if test="AJSLRMC != null and AJSLRMC != '' ">AJSLRMC=#{AJSLRMC},</if>
<if test="AJSLDWMC != null and AJSLDWMC != '' ">AJSLDWMC=#{AJSLDWMC},</if>
<if test="GLAJZTMC != null and GLAJZTMC != '' ">GLAJZTMC=#{GLAJZTMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ=#{WS_RKSJ},</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ=#{WS_XGSJ},</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX=#{WS_YXX},</if>
<if test="JQSXMC != null and JQSXMC != '' ">JQSXMC=#{JQSXMC},</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ=#{RYWKSJ},</if>
<if test="status != null and status != '' ">status=#{status},</if>
</trim>
where JJBH = #{JJBH}
</update>
<select id="selectRecordOrderByRksj" parameterType="java.lang.String" resultMap="BaseResultMap">
select *
from jcj_cjxx_view order by ws_rksj desc limit 1;
</select>
</mapper>

@ -0,0 +1,129 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ssf.mysqloracletest.mapper.JcjCjxxViewOracleMapper">
<select id="countCjxx" resultType="int">
select count(*)
from SYX_JWPT.JCJ_CJXX_VIEW
</select>
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.JcjCjxxViewOracle">
<result property="CJBH" column="CJBH" jdbcType="VARCHAR"/>
<result property="JJBH" column="JJBH" jdbcType="VARCHAR"/>
<result property="JJDBH" column="JJDBH" jdbcType="VARCHAR"/>
<result property="PJDBH" column="PJDBH" jdbcType="VARCHAR"/>
<result property="FKLYH" column="FKLYH" jdbcType="VARCHAR"/>
<result property="CJLB" column="CJLB" jdbcType="VARCHAR"/>
<result property="CJSJ" column="CJSJ" jdbcType="VARCHAR"/>
<result property="DDXCSJ" column="DDXCSJ" jdbcType="VARCHAR"/>
<result property="CJXZQH" column="CJXZQH" jdbcType="VARCHAR"/>
<result property="CJJLX" column="CJJLX" jdbcType="VARCHAR"/>
<result property="CJMLPH" column="CJMLPH" jdbcType="VARCHAR"/>
<result property="CJMPHZ" column="CJMPHZ" jdbcType="VARCHAR"/>
<result property="CJXZ" column="CJXZ" jdbcType="VARCHAR"/>
<result property="SFCS" column="SFCS" jdbcType="VARCHAR"/>
<result property="FSYY" column="FSYY" jdbcType="VARCHAR"/>
<result property="TQQK" column="TQQK" jdbcType="VARCHAR"/>
<result property="JQSX" column="JQSX" jdbcType="VARCHAR"/>
<result property="CJR" column="CJR" jdbcType="VARCHAR"/>
<result property="CJRHZXS" column="CJRHZXS" jdbcType="VARCHAR"/>
<result property="CJRLXFS" column="CJRLXFS" jdbcType="VARCHAR"/>
<result property="SFXQ" column="SFXQ" jdbcType="VARCHAR"/>
<result property="SFSJSX" column="SFSJSX" jdbcType="VARCHAR"/>
<result property="SFSJXX" column="SFSJXX" jdbcType="VARCHAR"/>
<result property="CLJGNR" column="CLJGNR" jdbcType="VARCHAR"/>
<result property="BCCLJG" column="BCCLJG" jdbcType="VARCHAR"/>
<result property="SSXXQK" column="SSXXQK" jdbcType="VARCHAR"/>
<result property="CJFKSJ" column="CJFKSJ" jdbcType="VARCHAR"/>
<result property="SPSJ" column="SPSJ" jdbcType="VARCHAR"/>
<result property="ZBLD" column="ZBLD" jdbcType="VARCHAR"/>
<result property="ZBLDXM" column="ZBLDXM" jdbcType="VARCHAR"/>
<result property="LDCLSJ" column="LDCLSJ" jdbcType="VARCHAR"/>
<result property="CJJG" column="CJJG" jdbcType="VARCHAR"/>
<result property="CJYSJSDW" column="CJYSJSDW" jdbcType="VARCHAR"/>
<result property="CJYSJSR" column="CJYSJSR" jdbcType="VARCHAR"/>
<result property="CJYSJSSJ" column="CJYSJSSJ" jdbcType="VARCHAR"/>
<result property="CDJL" column="CDJL" jdbcType="VARCHAR"/>
<result property="CDJDC" column="CDJDC" jdbcType="VARCHAR"/>
<result property="CDCZ" column="CDCZ" jdbcType="VARCHAR"/>
<result property="JJFNS" column="JJFNS" jdbcType="VARCHAR"/>
<result property="JJETS" column="JJETS" jdbcType="VARCHAR"/>
<result property="JJRZS" column="JJRZS" jdbcType="VARCHAR"/>
<result property="JZQZ" column="JZQZ" jdbcType="VARCHAR"/>
<result property="JZSY" column="JZSY" jdbcType="VARCHAR"/>
<result property="RYSSS" column="RYSSS" jdbcType="VARCHAR"/>
<result property="RYSWS" column="RYSWS" jdbcType="VARCHAR"/>
<result property="LZSCRS" column="LZSCRS" jdbcType="VARCHAR"/>
<result property="PHXXAJ" column="PHXXAJ" jdbcType="VARCHAR"/>
<result property="PHXSAJ" column="PHXSAJ" jdbcType="VARCHAR"/>
<result property="PHZAAJ" column="PHZAAJ" jdbcType="VARCHAR"/>
<result property="TPRF" column="TPRF" jdbcType="VARCHAR"/>
<result property="ZHZACY" column="ZHZACY" jdbcType="VARCHAR"/>
<result property="ZJJJSS" column="ZJJJSS" jdbcType="VARCHAR"/>
<result property="WHSS" column="WHSS" jdbcType="VARCHAR"/>
<result property="AJSLR" column="AJSLR" jdbcType="VARCHAR"/>
<result property="AJSLDW" column="AJSLDW" jdbcType="VARCHAR"/>
<result property="GLAJBH" column="GLAJBH" jdbcType="VARCHAR"/>
<result property="GLAJZT" column="GLAJZT" jdbcType="VARCHAR"/>
<result property="GIS_X" column="GIS_X" jdbcType="VARCHAR"/>
<result property="GIS_Y" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="DJDW" column="DJDW" jdbcType="VARCHAR"/>
<result property="DJR" column="DJR" jdbcType="VARCHAR"/>
<result property="DJSJ" column="DJSJ" jdbcType="VARCHAR"/>
<result property="XGR" column="XGR" jdbcType="VARCHAR"/>
<result property="XGSJ" column="XGSJ" jdbcType="VARCHAR"/>
<result property="XGDW" column="XGDW" jdbcType="VARCHAR"/>
<result property="DJRXM" column="DJRXM" jdbcType="VARCHAR"/>
<result property="DJDWMC" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="XGRXM" column="XGRXM" jdbcType="VARCHAR"/>
<result property="XGDWMC" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="CJDW" column="CJDW" jdbcType="VARCHAR"/>
<result property="CJDWMC" column="CJDWMC" jdbcType="VARCHAR"/>
<result property="CJXXDD" column="CJXXDD" jdbcType="VARCHAR"/>
<result property="ZBLDDW" column="ZBLDDW" jdbcType="VARCHAR"/>
<result property="ZBLDDWMC" column="ZBLDDWMC" jdbcType="VARCHAR"/>
<result property="SPXGSJ" column="SPXGSJ" jdbcType="VARCHAR"/>
<result property="YZB" column="YZB" jdbcType="VARCHAR"/>
<result property="XZB" column="XZB" jdbcType="VARCHAR"/>
<result property="BZSJ" column="BZSJ" jdbcType="VARCHAR"/>
<result property="BZDW" column="BZDW" jdbcType="VARCHAR"/>
<result property="BZR" column="BZR" jdbcType="VARCHAR"/>
<result property="BZRXM" column="BZRXM" jdbcType="VARCHAR"/>
<result property="BZDWMC" column="BZDWMC" jdbcType="VARCHAR"/>
<result property="GXSJ" column="GXSJ" jdbcType="VARCHAR"/>
<result property="GXRXM" column="GXRXM" jdbcType="VARCHAR"/>
<result property="GXR" column="GXR" jdbcType="VARCHAR"/>
<result property="GXDWMC" column="GXDWMC" jdbcType="VARCHAR"/>
<result property="GXDW" column="GXDW" jdbcType="VARCHAR"/>
<result property="CJLBMC" column="CJLBMC" jdbcType="VARCHAR"/>
<result property="CJXZQHMC" column="CJXZQHMC" jdbcType="VARCHAR"/>
<result property="CJJLXMC" column="CJJLXMC" jdbcType="VARCHAR"/>
<result property="CJMPHZMC" column="CJMPHZMC" jdbcType="VARCHAR"/>
<result property="SFCSMC" column="SFCSMC" jdbcType="VARCHAR"/>
<result property="FSYYMC" column="FSYYMC" jdbcType="VARCHAR"/>
<result property="TQQKMC" column="TQQKMC" jdbcType="VARCHAR"/>
<result property="SFXQMC" column="SFXQMC" jdbcType="VARCHAR"/>
<result property="CJJGMC" column="CJJGMC" jdbcType="VARCHAR"/>
<result property="AJSLRMC" column="AJSLRMC" jdbcType="VARCHAR"/>
<result property="AJSLDWMC" column="AJSLDWMC" jdbcType="VARCHAR"/>
<result property="GLAJZTMC" column="GLAJZTMC" jdbcType="VARCHAR"/>
<result property="WS_RKSJ" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="WS_XGSJ" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="WS_YXX" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="JQSXMC" column="JQSXMC" jdbcType="VARCHAR"/>
<result property="RYWKSJ" column="RYWKSJ" jdbcType="VARCHAR"/>
</resultMap>
<select id="getCjxxList" parameterType="java.util.Map" resultMap="BaseResultMap">
SELECT t2.*
FROM (SELECT ROWNUM rn, t1.* FROM (SELECT * FROM SYX_JWPT.JCJ_CJXX_VIEW) t1 WHERE ROWNUM<![CDATA[ <= ]]> ${rowEnd}) t2
WHERE t2.rn <![CDATA[ >= ]]> ${rowStart}
</select>
<select id="getRealTimeRecording" parameterType="java.util.Map" resultMap="BaseResultMap">
SELECT * FROM SYX_JWPT.JCJ_CJXX_VIEW where WS_RKSJ >#{maxTime}
</select>
</mapper>

@ -0,0 +1,564 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ssf.mysqloracletest.mapper.JcjJxxViewMysqlMapper">
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.JcjJjxxViewMysql">
<result property="JJBH" column="JJBH" jdbcType="VARCHAR"/>
<result property="JJDBH" column="JJDBH" jdbcType="VARCHAR"/>
<result property="PJDBH" column="PJDBH" jdbcType="VARCHAR"/>
<result property="GLJJDBH" column="GLJJDBH" jdbcType="VARCHAR"/>
<result property="JJLYH" column="JJLYH" jdbcType="VARCHAR"/>
<result property="PJLYH" column="PJLYH" jdbcType="VARCHAR"/>
<result property="LDGBH" column="LDGBH" jdbcType="VARCHAR"/>
<result property="JJYXM" column="JJYXM" jdbcType="VARCHAR"/>
<result property="PJYXM" column="PJYXM" jdbcType="VARCHAR"/>
<result property="LHLBDM" column="LHLBDM" jdbcType="VARCHAR"/>
<result property="BJDHSJ" column="BJDHSJ" jdbcType="VARCHAR"/>
<result property="BJDH" column="BJDH" jdbcType="VARCHAR"/>
<result property="BJDHHM" column="BJDHHM" jdbcType="VARCHAR"/>
<result property="BJDHDZ" column="BJDHDZ" jdbcType="VARCHAR"/>
<result property="THSC" column="THSC" jdbcType="VARCHAR"/>
<result property="BJR" column="BJR" jdbcType="VARCHAR"/>
<result property="BJRXB" column="BJRXB" jdbcType="VARCHAR"/>
<result property="LXDH" column="LXDH" jdbcType="VARCHAR"/>
<result property="BJXS" column="BJXS" jdbcType="VARCHAR"/>
<result property="BJLX" column="BJLX" jdbcType="VARCHAR"/>
<result property="SFDD" column="SFDD" jdbcType="VARCHAR"/>
<result property="BJNR" column="BJNR" jdbcType="VARCHAR"/>
<result property="BCJJNR" column="BCJJNR" jdbcType="VARCHAR"/>
<result property="SJCPH" column="SJCPH" jdbcType="VARCHAR"/>
<result property="CLLX" column="CLLX" jdbcType="VARCHAR"/>
<result property="SYQX" column="SYQX" jdbcType="VARCHAR"/>
<result property="CLQX" column="CLQX" jdbcType="VARCHAR"/>
<result property="HZDJ" column="HZDJ" jdbcType="VARCHAR"/>
<result property="SFZDDW" column="SFZDDW" jdbcType="VARCHAR"/>
<result property="ZDDWBM" column="ZDDWBM" jdbcType="VARCHAR"/>
<result property="JZLB" column="JZLB" jdbcType="VARCHAR"/>
<result property="JZJG" column="JZJG" jdbcType="VARCHAR"/>
<result property="QHCS" column="QHCS" jdbcType="VARCHAR"/>
<result property="BZWQK" column="BZWQK" jdbcType="VARCHAR"/>
<result property="BLQK" column="BLQK" jdbcType="VARCHAR"/>
<result property="SFBW" column="SFBW" jdbcType="VARCHAR"/>
<result property="RSWXZ" column="RSWXZ" jdbcType="VARCHAR"/>
<result property="YFWXWZ" column="YFWXWZ" jdbcType="VARCHAR"/>
<result property="YWBZXL" column="YWBZXL" jdbcType="VARCHAR"/>
<result property="YFTY" column="YFTY" jdbcType="VARCHAR"/>
<result property="YWBKRY" column="YWBKRY" jdbcType="VARCHAR"/>
<result property="GIS_X" column="GIS_X" jdbcType="VARCHAR"/>
<result property="GIS_Y" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="SFZXXS" column="SFZXXS" jdbcType="VARCHAR"/>
<result property="BJTDYY" column="BJTDYY" jdbcType="VARCHAR"/>
<result property="PJSJ" column="PJSJ" jdbcType="VARCHAR"/>
<result property="BJCJYJ" column="BJCJYJ" jdbcType="VARCHAR"/>
<result property="EJDDSJ" column="EJDDSJ" jdbcType="VARCHAR"/>
<result property="EJJSSJ" column="EJJSSJ" jdbcType="VARCHAR"/>
<result property="EJXFSJ" column="EJXFSJ" jdbcType="VARCHAR"/>
<result property="EJJSR" column="EJJSR" jdbcType="VARCHAR"/>
<result property="EJJSRXM" column="EJJSRXM" jdbcType="VARCHAR"/>
<result property="EJJSDW" column="EJJSDW" jdbcType="VARCHAR"/>
<result property="EJJSDWMC" column="EJJSDWMC" jdbcType="VARCHAR"/>
<result property="SJDDSJ" column="SJDDSJ" jdbcType="VARCHAR"/>
<result property="SJJSSJ" column="SJJSSJ" jdbcType="VARCHAR"/>
<result property="SJJSR" column="SJJSR" jdbcType="VARCHAR"/>
<result property="SJJSRXM" column="SJJSRXM" jdbcType="VARCHAR"/>
<result property="SJJSD" column="SJJSD" jdbcType="VARCHAR"/>
<result property="SJJSDWMC" column="SJJSDWMC" jdbcType="VARCHAR"/>
<result property="CJBS" column="CJBS" jdbcType="VARCHAR"/>
<result property="DJDW" column="DJDW" jdbcType="VARCHAR"/>
<result property="DJR" column="DJR" jdbcType="VARCHAR"/>
<result property="DJSJ" column="DJSJ" jdbcType="VARCHAR"/>
<result property="XGR" column="XGR" jdbcType="VARCHAR"/>
<result property="XGSJ" column="XGSJ" jdbcType="VARCHAR"/>
<result property="XGDW" column="XGDW" jdbcType="VARCHAR"/>
<result property="DJRXM" column="DJRXM" jdbcType="VARCHAR"/>
<result property="DJDWMC" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="XGRXM" column="XGRXM" jdbcType="VARCHAR"/>
<result property="XGDWMC" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="JJRQSJ" column="JJRQSJ" jdbcType="VARCHAR"/>
<result property="JJDW" column="JJDW" jdbcType="VARCHAR"/>
<result property="JJDWMC" column="JJDWMC" jdbcType="VARCHAR"/>
<result property="JJR" column="JJR" jdbcType="VARCHAR"/>
<result property="JJRXM" column="JJRXM" jdbcType="VARCHAR"/>
<result property="YJDW" column="YJDW" jdbcType="VARCHAR"/>
<result property="YJSJ" column="YJSJ" jdbcType="VARCHAR"/>
<result property="YJSM" column="YJSM" jdbcType="VARCHAR"/>
<result property="YJR" column="YJR" jdbcType="VARCHAR"/>
<result property="JJXZQH" column="JJXZQH" jdbcType="VARCHAR"/>
<result property="JJGXDW" column="JJGXDW" jdbcType="VARCHAR"/>
<result property="FKYQ" column="FKYQ" jdbcType="VARCHAR"/>
<result property="SFYFDX" column="SFYFDX" jdbcType="VARCHAR"/>
<result property="JJDXNR" column="JJDXNR" jdbcType="VARCHAR"/>
<result property="JJDXSJ" column="JJDXSJ" jdbcType="VARCHAR"/>
<result property="SBSJ" column="SBSJ" jdbcType="VARCHAR"/>
<result property="SBNR" column="SBNR" jdbcType="VARCHAR"/>
<result property="CDCLBM" column="CDCLBM" jdbcType="VARCHAR"/>
<result property="JJLX" column="JJLX" jdbcType="VARCHAR"/>
<result property="ZDYJR" column="ZDYJR" jdbcType="VARCHAR"/>
<result property="ZDYJDW" column="ZDYJDW" jdbcType="VARCHAR"/>
<result property="ZDYJSJ" column="ZDYJSJ" jdbcType="VARCHAR"/>
<result property="ZDYJSM" column="ZDYJSM" jdbcType="VARCHAR"/>
<result property="SFBDDH" column="SFBDDH" jdbcType="VARCHAR"/>
<result property="SFPJ" column="SFPJ" jdbcType="VARCHAR"/>
<result property="SFFK" column="SFFK" jdbcType="VARCHAR"/>
<result property="BJRXBMC" column="BJRXBMC" jdbcType="VARCHAR"/>
<result property="BJXSMC" column="BJXSMC" jdbcType="VARCHAR"/>
<result property="BJLXMC" column="BJLXMC" jdbcType="VARCHAR"/>
<result property="CLLXMC" column="CLLXMC" jdbcType="VARCHAR"/>
<result property="HZDJMC" column="HZDJMC" jdbcType="VARCHAR"/>
<result property="SFZDDWMC" column="SFZDDWMC" jdbcType="VARCHAR"/>
<result property="JZLBMC" column="JZLBMC" jdbcType="VARCHAR"/>
<result property="JZJGMC" column="JZJGMC" jdbcType="VARCHAR"/>
<result property="QHCSMC" column="QHCSMC" jdbcType="VARCHAR"/>
<result property="YFWXWZMC" column="YFWXWZMC" jdbcType="VARCHAR"/>
<result property="YWBZXLMC" column="YWBZXLMC" jdbcType="VARCHAR"/>
<result property="YFTYMC" column="YFTYMC" jdbcType="VARCHAR"/>
<result property="YWBKRYMC" column="YWBKRYMC" jdbcType="VARCHAR"/>
<result property="SFZXXSMC" column="SFZXXSMC" jdbcType="VARCHAR"/>
<result property="SJJSDMC" column="SJJSDMC" jdbcType="VARCHAR"/>
<result property="CJBSMC" column="CJBSMC" jdbcType="VARCHAR"/>
<result property="YJDWMC" column="YJDWMC" jdbcType="VARCHAR"/>
<result property="JJXZQHMC" column="JJXZQHMC" jdbcType="VARCHAR"/>
<result property="JJGXDWMC" column="JJGXDWMC" jdbcType="VARCHAR"/>
<result property="ZDYJRXM" column="ZDYJRXM" jdbcType="VARCHAR"/>
<result property="ZDYJDWMC" column="ZDYJDWMC" jdbcType="VARCHAR"/>
<result property="SFBDDHMC" column="SFBDDHMC" jdbcType="VARCHAR"/>
<result property="SFPJMC" column="SFPJMC" jdbcType="VARCHAR"/>
<result property="SFFKMC" column="SFFKMC" jdbcType="VARCHAR"/>
<result property="LHLBDMMC" column="LHLBDMMC" jdbcType="VARCHAR"/>
<result property="WS_RKSJ" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="WS_XGSJ" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="WS_YXX" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="RYWKSJ" column="RYWKSJ" jdbcType="VARCHAR"/>
<result property="JDZB" column="JDZB" jdbcType="VARCHAR"/>
<result property="WDZB" column="WDZB" jdbcType="VARCHAR"/>
<result property="STATUS" column="STATUS" jdbcType="VARCHAR"/>
</resultMap>
<select id="selectJcjJxxByJJBH" parameterType="java.lang.String" resultMap="BaseResultMap">
select *
from jcj_jjxx_view
where JJBH = #{JJBH}
limit 1
</select>
<insert id="insertJjxx" parameterType="com.ssf.mysqloracletest.domain.JcjJjxxViewMysql" useGeneratedKeys="true"
keyProperty="id">
insert into jcj_jjxx_view
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="JJBH != null and JJBH != '' ">JJBH ,</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH ,</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH ,</if>
<if test="GLJJDBH != null and GLJJDBH != '' ">GLJJDBH ,</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH ,</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH ,</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH ,</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM ,</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM ,</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM ,</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ ,</if>
<if test="BJDH != null and BJDH != '' ">BJDH ,</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM ,</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ ,</if>
<if test="THSC != null and THSC != '' ">THSC ,</if>
<if test="BJR != null and BJR != '' ">BJR ,</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB ,</if>
<if test="LXDH != null and LXDH != '' ">LXDH ,</if>
<if test="BJXS != null and BJXS != '' ">BJXS ,</if>
<if test="BJLX != null and BJLX != '' ">BJLX ,</if>
<if test="SFDD != null and SFDD != '' ">SFDD ,</if>
<if test="BJNR != null and BJNR != '' ">BJNR ,</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR ,</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH ,</if>
<if test="CLLX != null and CLLX != '' ">CLLX ,</if>
<if test="SYQX != null and SYQX != '' ">SYQX ,</if>
<if test="CLQX != null and CLQX != '' ">CLQX ,</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ ,</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW ,</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM ,</if>
<if test="JZLB != null and JZLB != '' ">JZLB ,</if>
<if test="JZJG != null and JZJG != '' ">JZJG ,</if>
<if test="QHCS != null and QHCS != '' ">QHCS ,</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK ,</if>
<if test="BLQK != null and BLQK != '' ">BLQK ,</if>
<if test="SFBW != null and SFBW != '' ">SFBW ,</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ ,</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ ,</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL ,</if>
<if test="YFTY != null and YFTY != '' ">YFTY ,</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY ,</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X ,</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y ,</if>
<if test="SFZXXS != null and SFZXXS != '' ">SFZXXS ,</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY ,</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ ,</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ ,</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ ,</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ ,</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ ,</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR ,</if>
<if test="EJJSRXM != null and EJJSRXM != '' ">EJJSRXM ,</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW ,</if>
<if test="EJJSDWMC != null and EJJSDWMC != '' ">EJJSDWMC,</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ ,</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ ,</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR ,</if>
<if test="SJJSRXM != null and SJJSRXM != '' ">SJJSRXM ,</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD ,</if>
<if test="SJJSDWMC != null and SJJSDWMC != '' ">SJJSDWMC,</if>
<if test="CJBS != null and CJBS != '' ">CJBS ,</if>
<if test="DJDW != null and DJDW != '' ">DJDW ,</if>
<if test="DJR != null and DJR != '' ">DJR ,</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ ,</if>
<if test="XGR != null and XGR != '' ">XGR ,</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ ,</if>
<if test="XGDW != null and XGDW != '' ">XGDW ,</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM ,</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC ,</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM ,</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC ,</if>
<if test="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ ,</if>
<if test="JJDW != null and JJDW != '' ">JJDW ,</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC ,</if>
<if test="JJR != null and JJR != '' ">JJR ,</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM ,</if>
<if test="YJDW != null and YJDW != '' ">YJDW ,</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ ,</if>
<if test="YJSM != null and YJSM != '' ">YJSM ,</if>
<if test="YJR != null and YJR != '' ">YJR ,</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH ,</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW ,</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ ,</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX ,</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR ,</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ ,</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ ,</if>
<if test="SBNR != null and SBNR != '' ">SBNR ,</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM ,</if>
<if test="JJLX != null and JJLX != '' ">JJLX ,</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR ,</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW ,</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ ,</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM ,</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH ,</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ ,</if>
<if test="SFFK != null and SFFK != '' ">SFFK ,</if>
<if test="BJRXBMC != null and BJRXBMC != '' ">BJRXBMC ,</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC ,</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC ,</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC ,</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC ,</if>
<if test="SFZDDWMC != null and SFZDDWMC != '' ">SFZDDWMC,</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC ,</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC ,</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC ,</if>
<if test="YFWXWZMC != null and YFWXWZMC != '' ">YFWXWZMC,</if>
<if test="YWBZXLMC != null and YWBZXLMC != '' ">YWBZXLMC,</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC ,</if>
<if test="YWBKRYMC != null and YWBKRYMC != '' ">YWBKRYMC,</if>
<if test="SFZXXSMC != null and SFZXXSMC != '' ">SFZXXSMC,</if>
<if test="SJJSDMC != null and SJJSDMC != '' ">SJJSDMC ,</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC ,</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC ,</if>
<if test="JJXZQHMC != null and JJXZQHMC != '' ">JJXZQHMC,</if>
<if test="JJGXDWMC != null and JJGXDWMC != '' ">JJGXDWMC,</if>
<if test="ZDYJRXM != null and ZDYJRXM != '' ">ZDYJRXM ,</if>
<if test="ZDYJDWMC != null and ZDYJDWMC != '' ">ZDYJDWMC,</if>
<if test="SFBDDHMC != null and SFBDDHMC != '' ">SFBDDHMC,</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC ,</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC ,</if>
<if test="LHLBDMMC != null and LHLBDMMC != '' ">LHLBDMMC,</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ ,</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ ,</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX ,</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ ,</if>
<if test="JDZB != null and JDZB != '' ">JDZB ,</if>
<if test="WDZB != null and WDZB != '' ">WDZB ,</if>
<if test="STATUS != null and STATUS != '' ">STATUS ,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="JJBH != null and JJBH != '' ">#{JJBH },</if>
<if test="JJDBH != null and JJDBH != '' ">#{JJDBH },</if>
<if test="PJDBH != null and PJDBH != '' ">#{PJDBH },</if>
<if test="GLJJDBH != null and GLJJDBH != '' ">#{GLJJDBH },</if>
<if test="JJLYH != null and JJLYH != '' ">#{JJLYH },</if>
<if test="PJLYH != null and PJLYH != '' ">#{PJLYH },</if>
<if test="LDGBH != null and LDGBH != '' ">#{LDGBH },</if>
<if test="JJYXM != null and JJYXM != '' ">#{JJYXM },</if>
<if test="PJYXM != null and PJYXM != '' ">#{PJYXM },</if>
<if test="LHLBDM != null and LHLBDM != '' ">#{LHLBDM },</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">#{BJDHSJ },</if>
<if test="BJDH != null and BJDH != '' ">#{BJDH },</if>
<if test="BJDHHM != null and BJDHHM != '' ">#{BJDHHM },</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">#{BJDHDZ },</if>
<if test="THSC != null and THSC != '' ">#{THSC },</if>
<if test="BJR != null and BJR != '' ">#{BJR },</if>
<if test="BJRXB != null and BJRXB != '' ">#{BJRXB },</if>
<if test="LXDH != null and LXDH != '' ">#{LXDH },</if>
<if test="BJXS != null and BJXS != '' ">#{BJXS },</if>
<if test="BJLX != null and BJLX != '' ">#{BJLX },</if>
<if test="SFDD != null and SFDD != '' ">#{SFDD },</if>
<if test="BJNR != null and BJNR != '' ">#{BJNR },</if>
<if test="BCJJNR != null and BCJJNR != '' ">#{BCJJNR },</if>
<if test="SJCPH != null and SJCPH != '' ">#{SJCPH },</if>
<if test="CLLX != null and CLLX != '' ">#{CLLX },</if>
<if test="SYQX != null and SYQX != '' ">#{SYQX },</if>
<if test="CLQX != null and CLQX != '' ">#{CLQX },</if>
<if test="HZDJ != null and HZDJ != '' ">#{HZDJ },</if>
<if test="SFZDDW != null and SFZDDW != '' ">#{SFZDDW },</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">#{ZDDWBM },</if>
<if test="JZLB != null and JZLB != '' ">#{JZLB },</if>
<if test="JZJG != null and JZJG != '' ">#{JZJG },</if>
<if test="QHCS != null and QHCS != '' ">#{QHCS },</if>
<if test="BZWQK != null and BZWQK != '' ">#{BZWQK },</if>
<if test="BLQK != null and BLQK != '' ">#{BLQK },</if>
<if test="SFBW != null and SFBW != '' ">#{SFBW },</if>
<if test="RSWXZ != null and RSWXZ != '' ">#{RSWXZ },</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">#{YFWXWZ },</if>
<if test="YWBZXL != null and YWBZXL != '' ">#{YWBZXL },</if>
<if test="YFTY != null and YFTY != '' ">#{YFTY },</if>
<if test="YWBKRY != null and YWBKRY != '' ">#{YWBKRY },</if>
<if test="GIS_X != null and GIS_X != '' ">#{GIS_X },</if>
<if test="GIS_Y != null and GIS_Y != '' ">#{GIS_Y },</if>
<if test="SFZXXS != null and SFZXXS != '' ">#{SFZXXS },</if>
<if test="BJTDYY != null and BJTDYY != '' ">#{BJTDYY },</if>
<if test="PJSJ != null and PJSJ != '' ">#{PJSJ },</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">#{BJCJYJ },</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">#{EJDDSJ },</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">#{EJJSSJ },</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">#{EJXFSJ },</if>
<if test="EJJSR != null and EJJSR != '' ">#{EJJSR },</if>
<if test="EJJSRXM != null and EJJSRXM != '' ">#{EJJSRXM },</if>
<if test="EJJSDW != null and EJJSDW != '' ">#{EJJSDW },</if>
<if test="EJJSDWMC != null and EJJSDWMC != '' ">#{EJJSDWMC},</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">#{SJDDSJ },</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">#{SJJSSJ },</if>
<if test="SJJSR != null and SJJSR != '' ">#{SJJSR },</if>
<if test="SJJSRXM != null and SJJSRXM != '' ">#{SJJSRXM },</if>
<if test="SJJSD != null and SJJSD != '' ">#{SJJSD },</if>
<if test="SJJSDWMC != null and SJJSDWMC != '' ">#{SJJSDWMC},</if>
<if test="CJBS != null and CJBS != '' ">#{CJBS },</if>
<if test="DJDW != null and DJDW != '' ">#{DJDW },</if>
<if test="DJR != null and DJR != '' ">#{DJR },</if>
<if test="DJSJ != null and DJSJ != '' ">#{DJSJ },</if>
<if test="XGR != null and XGR != '' ">#{XGR },</if>
<if test="XGSJ != null and XGSJ != '' ">#{XGSJ },</if>
<if test="XGDW != null and XGDW != '' ">#{XGDW },</if>
<if test="DJRXM != null and DJRXM != '' ">#{DJRXM },</if>
<if test="DJDWMC != null and DJDWMC != '' ">#{DJDWMC },</if>
<if test="XGRXM != null and XGRXM != '' ">#{XGRXM },</if>
<if test="XGDWMC != null and XGDWMC != '' ">#{XGDWMC },</if>
<if test="JJRQSJ != null and JJRQSJ != '' ">#{JJRQSJ },</if>
<if test="JJDW != null and JJDW != '' ">#{JJDW },</if>
<if test="JJDWMC != null and JJDWMC != '' ">#{JJDWMC },</if>
<if test="JJR != null and JJR != '' ">#{JJR },</if>
<if test="JJRXM != null and JJRXM != '' ">#{JJRXM },</if>
<if test="YJDW != null and YJDW != '' ">#{YJDW },</if>
<if test="YJSJ != null and YJSJ != '' ">#{YJSJ },</if>
<if test="YJSM != null and YJSM != '' ">#{YJSM },</if>
<if test="YJR != null and YJR != '' ">#{YJR },</if>
<if test="JJXZQH != null and JJXZQH != '' ">#{JJXZQH },</if>
<if test="JJGXDW != null and JJGXDW != '' ">#{JJGXDW },</if>
<if test="FKYQ != null and FKYQ != '' ">#{FKYQ },</if>
<if test="SFYFDX != null and SFYFDX != '' ">#{SFYFDX },</if>
<if test="JJDXNR != null and JJDXNR != '' ">#{JJDXNR },</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">#{JJDXSJ },</if>
<if test="SBSJ != null and SBSJ != '' ">#{SBSJ },</if>
<if test="SBNR != null and SBNR != '' ">#{SBNR },</if>
<if test="CDCLBM != null and CDCLBM != '' ">#{CDCLBM },</if>
<if test="JJLX != null and JJLX != '' ">#{JJLX },</if>
<if test="ZDYJR != null and ZDYJR != '' ">#{ZDYJR },</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">#{ZDYJDW },</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">#{ZDYJSJ },</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">#{ZDYJSM },</if>
<if test="SFBDDH != null and SFBDDH != '' ">#{SFBDDH },</if>
<if test="SFPJ != null and SFPJ != '' ">#{SFPJ },</if>
<if test="SFFK != null and SFFK != '' ">#{SFFK },</if>
<if test="BJRXBMC != null and BJRXBMC != '' ">#{BJRXBMC },</if>
<if test="BJXSMC != null and BJXSMC != '' ">#{BJXSMC },</if>
<if test="BJLXMC != null and BJLXMC != '' ">#{BJLXMC },</if>
<if test="CLLXMC != null and CLLXMC != '' ">#{CLLXMC },</if>
<if test="HZDJMC != null and HZDJMC != '' ">#{HZDJMC },</if>
<if test="SFZDDWMC != null and SFZDDWMC != '' ">#{SFZDDWMC},</if>
<if test="JZLBMC != null and JZLBMC != '' ">#{JZLBMC },</if>
<if test="JZJGMC != null and JZJGMC != '' ">#{JZJGMC },</if>
<if test="QHCSMC != null and QHCSMC != '' ">#{QHCSMC },</if>
<if test="YFWXWZMC != null and YFWXWZMC != '' ">#{YFWXWZMC},</if>
<if test="YWBZXLMC != null and YWBZXLMC != '' ">#{YWBZXLMC},</if>
<if test="YFTYMC != null and YFTYMC != '' ">#{YFTYMC },</if>
<if test="YWBKRYMC != null and YWBKRYMC != '' ">#{YWBKRYMC},</if>
<if test="SFZXXSMC != null and SFZXXSMC != '' ">#{SFZXXSMC},</if>
<if test="SJJSDMC != null and SJJSDMC != '' ">#{SJJSDMC },</if>
<if test="CJBSMC != null and CJBSMC != '' ">#{CJBSMC },</if>
<if test="YJDWMC != null and YJDWMC != '' ">#{YJDWMC },</if>
<if test="JJXZQHMC != null and JJXZQHMC != '' ">#{JJXZQHMC},</if>
<if test="JJGXDWMC != null and JJGXDWMC != '' ">#{JJGXDWMC},</if>
<if test="ZDYJRXM != null and ZDYJRXM != '' ">#{ZDYJRXM },</if>
<if test="ZDYJDWMC != null and ZDYJDWMC != '' ">#{ZDYJDWMC},</if>
<if test="SFBDDHMC != null and SFBDDHMC != '' ">#{SFBDDHMC},</if>
<if test="SFPJMC != null and SFPJMC != '' ">#{SFPJMC },</if>
<if test="SFFKMC != null and SFFKMC != '' ">#{SFFKMC },</if>
<if test="LHLBDMMC != null and LHLBDMMC != '' ">#{LHLBDMMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">#{WS_RKSJ },</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">#{WS_XGSJ },</if>
<if test="WS_YXX != null and WS_YXX != '' ">#{WS_YXX },</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">#{RYWKSJ },</if>
<if test="JDZB != null and JDZB != '' ">#{JDZB },</if>
<if test="WDZB != null and WDZB != '' ">#{WDZB },</if>
<if test="STATUS != null and STATUS != '' ">#{STATUS },</if>
</trim>
</insert>
<update id="updateJjxxByJJBH" parameterType="com.ssf.mysqloracletest.domain.JcjJjxxViewMysql">
update jcj_jjxx_view
<trim prefix="SET" suffixOverrides=",">
<if test="JJBH != null and JJBH != '' ">JJBH =#{JJBH },</if>
<if test="JJDBH != null and JJDBH != '' ">JJDBH =#{JJDBH },</if>
<if test="PJDBH != null and PJDBH != '' ">PJDBH =#{PJDBH },</if>
<if test="GLJJDBH != null and GLJJDBH != '' ">GLJJDBH =#{GLJJDBH },</if>
<if test="JJLYH != null and JJLYH != '' ">JJLYH =#{JJLYH },</if>
<if test="PJLYH != null and PJLYH != '' ">PJLYH =#{PJLYH },</if>
<if test="LDGBH != null and LDGBH != '' ">LDGBH =#{LDGBH },</if>
<if test="JJYXM != null and JJYXM != '' ">JJYXM =#{JJYXM },</if>
<if test="PJYXM != null and PJYXM != '' ">PJYXM =#{PJYXM },</if>
<if test="LHLBDM != null and LHLBDM != '' ">LHLBDM =#{LHLBDM },</if>
<if test="BJDHSJ != null and BJDHSJ != '' ">BJDHSJ =#{BJDHSJ },</if>
<if test="BJDH != null and BJDH != '' ">BJDH =#{BJDH },</if>
<if test="BJDHHM != null and BJDHHM != '' ">BJDHHM =#{BJDHHM },</if>
<if test="BJDHDZ != null and BJDHDZ != '' ">BJDHDZ =#{BJDHDZ },</if>
<if test="THSC != null and THSC != '' ">THSC =#{THSC },</if>
<if test="BJR != null and BJR != '' ">BJR =#{BJR },</if>
<if test="BJRXB != null and BJRXB != '' ">BJRXB =#{BJRXB },</if>
<if test="LXDH != null and LXDH != '' ">LXDH =#{LXDH },</if>
<if test="BJXS != null and BJXS != '' ">BJXS =#{BJXS },</if>
<if test="BJLX != null and BJLX != '' ">BJLX =#{BJLX },</if>
<if test="SFDD != null and SFDD != '' ">SFDD =#{SFDD },</if>
<if test="BJNR != null and BJNR != '' ">BJNR =#{BJNR },</if>
<if test="BCJJNR != null and BCJJNR != '' ">BCJJNR =#{BCJJNR },</if>
<if test="SJCPH != null and SJCPH != '' ">SJCPH =#{SJCPH },</if>
<if test="CLLX != null and CLLX != '' ">CLLX =#{CLLX },</if>
<if test="SYQX != null and SYQX != '' ">SYQX =#{SYQX },</if>
<if test="CLQX != null and CLQX != '' ">CLQX =#{CLQX },</if>
<if test="HZDJ != null and HZDJ != '' ">HZDJ =#{HZDJ },</if>
<if test="SFZDDW != null and SFZDDW != '' ">SFZDDW =#{SFZDDW },</if>
<if test="ZDDWBM != null and ZDDWBM != '' ">ZDDWBM =#{ZDDWBM },</if>
<if test="JZLB != null and JZLB != '' ">JZLB =#{JZLB },</if>
<if test="JZJG != null and JZJG != '' ">JZJG =#{JZJG },</if>
<if test="QHCS != null and QHCS != '' ">QHCS =#{QHCS },</if>
<if test="BZWQK != null and BZWQK != '' ">BZWQK =#{BZWQK },</if>
<if test="BLQK != null and BLQK != '' ">BLQK =#{BLQK },</if>
<if test="SFBW != null and SFBW != '' ">SFBW =#{SFBW },</if>
<if test="RSWXZ != null and RSWXZ != '' ">RSWXZ =#{RSWXZ },</if>
<if test="YFWXWZ != null and YFWXWZ != '' ">YFWXWZ =#{YFWXWZ },</if>
<if test="YWBZXL != null and YWBZXL != '' ">YWBZXL =#{YWBZXL },</if>
<if test="YFTY != null and YFTY != '' ">YFTY =#{YFTY },</if>
<if test="YWBKRY != null and YWBKRY != '' ">YWBKRY =#{YWBKRY },</if>
<if test="GIS_X != null and GIS_X != '' ">GIS_X =#{GIS_X },</if>
<if test="GIS_Y != null and GIS_Y != '' ">GIS_Y =#{GIS_Y },</if>
<if test="SFZXXS != null and SFZXXS != '' ">SFZXXS =#{SFZXXS },</if>
<if test="BJTDYY != null and BJTDYY != '' ">BJTDYY =#{BJTDYY },</if>
<if test="PJSJ != null and PJSJ != '' ">PJSJ =#{PJSJ },</if>
<if test="BJCJYJ != null and BJCJYJ != '' ">BJCJYJ =#{BJCJYJ },</if>
<if test="EJDDSJ != null and EJDDSJ != '' ">EJDDSJ =#{EJDDSJ },</if>
<if test="EJJSSJ != null and EJJSSJ != '' ">EJJSSJ =#{EJJSSJ },</if>
<if test="EJXFSJ != null and EJXFSJ != '' ">EJXFSJ =#{EJXFSJ },</if>
<if test="EJJSR != null and EJJSR != '' ">EJJSR =#{EJJSR },</if>
<if test="EJJSRXM != null and EJJSRXM != '' ">EJJSRXM =#{EJJSRXM },</if>
<if test="EJJSDW != null and EJJSDW != '' ">EJJSDW =#{EJJSDW },</if>
<if test="EJJSDWMC != null and EJJSDWMC != '' ">EJJSDWMC=#{EJJSDWMC},</if>
<if test="SJDDSJ != null and SJDDSJ != '' ">SJDDSJ =#{SJDDSJ },</if>
<if test="SJJSSJ != null and SJJSSJ != '' ">SJJSSJ =#{SJJSSJ },</if>
<if test="SJJSR != null and SJJSR != '' ">SJJSR =#{SJJSR },</if>
<if test="SJJSRXM != null and SJJSRXM != '' ">SJJSRXM =#{SJJSRXM },</if>
<if test="SJJSD != null and SJJSD != '' ">SJJSD =#{SJJSD },</if>
<if test="SJJSDWMC != null and SJJSDWMC != '' ">SJJSDWMC=#{SJJSDWMC},</if>
<if test="CJBS != null and CJBS != '' ">CJBS =#{CJBS },</if>
<if test="DJDW != null and DJDW != '' ">DJDW =#{DJDW },</if>
<if test="DJR != null and DJR != '' ">DJR =#{DJR },</if>
<if test="DJSJ != null and DJSJ != '' ">DJSJ =#{DJSJ },</if>
<if test="XGR != null and XGR != '' ">XGR =#{XGR },</if>
<if test="XGSJ != null and XGSJ != '' ">XGSJ =#{XGSJ },</if>
<if test="XGDW != null and XGDW != '' ">XGDW =#{XGDW },</if>
<if test="DJRXM != null and DJRXM != '' ">DJRXM =#{DJRXM },</if>
<if test="DJDWMC != null and DJDWMC != '' ">DJDWMC =#{DJDWMC },</if>
<if test="XGRXM != null and XGRXM != '' ">XGRXM =#{XGRXM },</if>
<if test="XGDWMC != null and XGDWMC != '' ">XGDWMC =#{XGDWMC },</if>
<if test="JJRQSJ != null and JJRQSJ != '' ">JJRQSJ =#{JJRQSJ },</if>
<if test="JJDW != null and JJDW != '' ">JJDW =#{JJDW },</if>
<if test="JJDWMC != null and JJDWMC != '' ">JJDWMC =#{JJDWMC },</if>
<if test="JJR != null and JJR != '' ">JJR =#{JJR },</if>
<if test="JJRXM != null and JJRXM != '' ">JJRXM =#{JJRXM },</if>
<if test="YJDW != null and YJDW != '' ">YJDW =#{YJDW },</if>
<if test="YJSJ != null and YJSJ != '' ">YJSJ =#{YJSJ },</if>
<if test="YJSM != null and YJSM != '' ">YJSM =#{YJSM },</if>
<if test="YJR != null and YJR != '' ">YJR =#{YJR },</if>
<if test="JJXZQH != null and JJXZQH != '' ">JJXZQH =#{JJXZQH },</if>
<if test="JJGXDW != null and JJGXDW != '' ">JJGXDW =#{JJGXDW },</if>
<if test="FKYQ != null and FKYQ != '' ">FKYQ =#{FKYQ },</if>
<if test="SFYFDX != null and SFYFDX != '' ">SFYFDX =#{SFYFDX },</if>
<if test="JJDXNR != null and JJDXNR != '' ">JJDXNR =#{JJDXNR },</if>
<if test="JJDXSJ != null and JJDXSJ != '' ">JJDXSJ =#{JJDXSJ },</if>
<if test="SBSJ != null and SBSJ != '' ">SBSJ =#{SBSJ },</if>
<if test="SBNR != null and SBNR != '' ">SBNR =#{SBNR },</if>
<if test="CDCLBM != null and CDCLBM != '' ">CDCLBM =#{CDCLBM },</if>
<if test="JJLX != null and JJLX != '' ">JJLX =#{JJLX },</if>
<if test="ZDYJR != null and ZDYJR != '' ">ZDYJR =#{ZDYJR },</if>
<if test="ZDYJDW != null and ZDYJDW != '' ">ZDYJDW =#{ZDYJDW },</if>
<if test="ZDYJSJ != null and ZDYJSJ != '' ">ZDYJSJ =#{ZDYJSJ },</if>
<if test="ZDYJSM != null and ZDYJSM != '' ">ZDYJSM =#{ZDYJSM },</if>
<if test="SFBDDH != null and SFBDDH != '' ">SFBDDH =#{SFBDDH },</if>
<if test="SFPJ != null and SFPJ != '' ">SFPJ =#{SFPJ },</if>
<if test="SFFK != null and SFFK != '' ">SFFK =#{SFFK },</if>
<if test="BJRXBMC != null and BJRXBMC != '' ">BJRXBMC =#{BJRXBMC },</if>
<if test="BJXSMC != null and BJXSMC != '' ">BJXSMC =#{BJXSMC },</if>
<if test="BJLXMC != null and BJLXMC != '' ">BJLXMC =#{BJLXMC },</if>
<if test="CLLXMC != null and CLLXMC != '' ">CLLXMC =#{CLLXMC },</if>
<if test="HZDJMC != null and HZDJMC != '' ">HZDJMC =#{HZDJMC },</if>
<if test="SFZDDWMC != null and SFZDDWMC != '' ">SFZDDWMC=#{SFZDDWMC},</if>
<if test="JZLBMC != null and JZLBMC != '' ">JZLBMC =#{JZLBMC },</if>
<if test="JZJGMC != null and JZJGMC != '' ">JZJGMC =#{JZJGMC },</if>
<if test="QHCSMC != null and QHCSMC != '' ">QHCSMC =#{QHCSMC },</if>
<if test="YFWXWZMC != null and YFWXWZMC != '' ">YFWXWZMC=#{YFWXWZMC},</if>
<if test="YWBZXLMC != null and YWBZXLMC != '' ">YWBZXLMC=#{YWBZXLMC},</if>
<if test="YFTYMC != null and YFTYMC != '' ">YFTYMC =#{YFTYMC },</if>
<if test="YWBKRYMC != null and YWBKRYMC != '' ">YWBKRYMC=#{YWBKRYMC},</if>
<if test="SFZXXSMC != null and SFZXXSMC != '' ">SFZXXSMC=#{SFZXXSMC},</if>
<if test="SJJSDMC != null and SJJSDMC != '' ">SJJSDMC =#{SJJSDMC },</if>
<if test="CJBSMC != null and CJBSMC != '' ">CJBSMC =#{CJBSMC },</if>
<if test="YJDWMC != null and YJDWMC != '' ">YJDWMC =#{YJDWMC },</if>
<if test="JJXZQHMC != null and JJXZQHMC != '' ">JJXZQHMC=#{JJXZQHMC},</if>
<if test="JJGXDWMC != null and JJGXDWMC != '' ">JJGXDWMC=#{JJGXDWMC},</if>
<if test="ZDYJRXM != null and ZDYJRXM != '' ">ZDYJRXM =#{ZDYJRXM },</if>
<if test="ZDYJDWMC != null and ZDYJDWMC != '' ">ZDYJDWMC=#{ZDYJDWMC},</if>
<if test="SFBDDHMC != null and SFBDDHMC != '' ">SFBDDHMC=#{SFBDDHMC},</if>
<if test="SFPJMC != null and SFPJMC != '' ">SFPJMC =#{SFPJMC },</if>
<if test="SFFKMC != null and SFFKMC != '' ">SFFKMC =#{SFFKMC },</if>
<if test="LHLBDMMC != null and LHLBDMMC != '' ">LHLBDMMC=#{LHLBDMMC},</if>
<if test="WS_RKSJ != null and WS_RKSJ != '' ">WS_RKSJ =#{WS_RKSJ },</if>
<if test="WS_XGSJ != null and WS_XGSJ != '' ">WS_XGSJ =#{WS_XGSJ },</if>
<if test="WS_YXX != null and WS_YXX != '' ">WS_YXX =#{WS_YXX },</if>
<if test="RYWKSJ != null and RYWKSJ != '' ">RYWKSJ =#{RYWKSJ },</if>
<if test="JDZB != null and JDZB != '' ">JDZB =#{JDZB },</if>
<if test="WDZB != null and WDZB != '' ">WDZB =#{WDZB },</if>
<if test="STATUS != null and STATUS != '' ">STATUS =#{STATUS },</if>
</trim>
where JJBH = #{JJBH}
</update>
<select id="selectRecordOrderByRksj" parameterType="java.lang.String" resultMap="BaseResultMap">
select *
from jcj_jjxx_view order by ws_rksj desc limit 1;
</select>
<select id="countJjxx" resultType="int">
select count(*)
from jcj_jjxx_view limit 1
</select>
</mapper>

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ssf.mysqloracletest.mapper.JcjJjxxViewOracleMapper">
<select id="countJjxx" resultType="int">
select count(*)
from SYX_JWPT.JCJ_JJXX_VIEW
</select>
<resultMap id="JjxxResultMap" type="com.ssf.mysqloracletest.domain.JcjJjxxViewOracle">
<result property="JJBH" column="JJBH" jdbcType="VARCHAR"/>
<result property="JJDBH" column="JJDBH" jdbcType="VARCHAR"/>
<result property="PJDBH" column="PJDBH" jdbcType="VARCHAR"/>
<result property="GLJJDBH" column="GLJJDBH" jdbcType="VARCHAR"/>
<result property="JJLYH" column="JJLYH" jdbcType="VARCHAR"/>
<result property="PJLYH" column="PJLYH" jdbcType="VARCHAR"/>
<result property="LDGBH" column="LDGBH" jdbcType="VARCHAR"/>
<result property="JJYXM" column="JJYXM" jdbcType="VARCHAR"/>
<result property="PJYXM" column="PJYXM" jdbcType="VARCHAR"/>
<result property="LHLBDM" column="LHLBDM" jdbcType="VARCHAR"/>
<result property="BJDHSJ" column="BJDHSJ" jdbcType="VARCHAR"/>
<result property="BJDH" column="BJDH" jdbcType="VARCHAR"/>
<result property="BJDHHM" column="BJDHHM" jdbcType="VARCHAR"/>
<result property="BJDHDZ" column="BJDHDZ" jdbcType="VARCHAR"/>
<result property="THSC" column="THSC" jdbcType="VARCHAR"/>
<result property="BJR" column="BJR" jdbcType="VARCHAR"/>
<result property="BJRXB" column="BJRXB" jdbcType="VARCHAR"/>
<result property="LXDH" column="LXDH" jdbcType="VARCHAR"/>
<result property="BJXS" column="BJXS" jdbcType="VARCHAR"/>
<result property="BJLX" column="BJLX" jdbcType="VARCHAR"/>
<result property="SFDD" column="SFDD" jdbcType="VARCHAR"/>
<result property="BJNR" column="BJNR" jdbcType="VARCHAR"/>
<result property="BCJJNR" column="BCJJNR" jdbcType="VARCHAR"/>
<result property="SJCPH" column="SJCPH" jdbcType="VARCHAR"/>
<result property="CLLX" column="CLLX" jdbcType="VARCHAR"/>
<result property="SYQX" column="SYQX" jdbcType="VARCHAR"/>
<result property="CLQX" column="CLQX" jdbcType="VARCHAR"/>
<result property="HZDJ" column="HZDJ" jdbcType="VARCHAR"/>
<result property="SFZDDW" column="SFZDDW" jdbcType="VARCHAR"/>
<result property="ZDDWBM" column="ZDDWBM" jdbcType="VARCHAR"/>
<result property="JZLB" column="JZLB" jdbcType="VARCHAR"/>
<result property="JZJG" column="JZJG" jdbcType="VARCHAR"/>
<result property="QHCS" column="QHCS" jdbcType="VARCHAR"/>
<result property="BZWQK" column="BZWQK" jdbcType="VARCHAR"/>
<result property="BLQK" column="BLQK" jdbcType="VARCHAR"/>
<result property="SFBW" column="SFBW" jdbcType="VARCHAR"/>
<result property="RSWXZ" column="RSWXZ" jdbcType="VARCHAR"/>
<result property="YFWXWZ" column="YFWXWZ" jdbcType="VARCHAR"/>
<result property="YWBZXL" column="YWBZXL" jdbcType="VARCHAR"/>
<result property="YFTY" column="YFTY" jdbcType="VARCHAR"/>
<result property="YWBKRY" column="YWBKRY" jdbcType="VARCHAR"/>
<result property="GIS_X" column="GIS_X" jdbcType="VARCHAR"/>
<result property="GIS_Y" column="GIS_Y" jdbcType="VARCHAR"/>
<result property="SFZXXS" column="SFZXXS" jdbcType="VARCHAR"/>
<result property="BJTDYY" column="BJTDYY" jdbcType="VARCHAR"/>
<result property="PJSJ" column="PJSJ" jdbcType="VARCHAR"/>
<result property="BJCJYJ" column="BJCJYJ" jdbcType="VARCHAR"/>
<result property="EJDDSJ" column="EJDDSJ" jdbcType="VARCHAR"/>
<result property="EJJSSJ" column="EJJSSJ" jdbcType="VARCHAR"/>
<result property="EJXFSJ" column="EJXFSJ" jdbcType="VARCHAR"/>
<result property="EJJSR" column="EJJSR" jdbcType="VARCHAR"/>
<result property="EJJSRXM" column="EJJSRXM" jdbcType="VARCHAR"/>
<result property="EJJSDW" column="EJJSDW" jdbcType="VARCHAR"/>
<result property="EJJSDWMC" column="EJJSDWMC" jdbcType="VARCHAR"/>
<result property="SJDDSJ" column="SJDDSJ" jdbcType="VARCHAR"/>
<result property="SJJSSJ" column="SJJSSJ" jdbcType="VARCHAR"/>
<result property="SJJSR" column="SJJSR" jdbcType="VARCHAR"/>
<result property="SJJSRXM" column="SJJSRXM" jdbcType="VARCHAR"/>
<result property="SJJSD" column="SJJSD" jdbcType="VARCHAR"/>
<result property="SJJSDWMC" column="SJJSDWMC" jdbcType="VARCHAR"/>
<result property="CJBS" column="CJBS" jdbcType="VARCHAR"/>
<result property="DJDW" column="DJDW" jdbcType="VARCHAR"/>
<result property="DJR" column="DJR" jdbcType="VARCHAR"/>
<result property="DJSJ" column="DJSJ" jdbcType="VARCHAR"/>
<result property="XGR" column="XGR" jdbcType="VARCHAR"/>
<result property="XGSJ" column="XGSJ" jdbcType="VARCHAR"/>
<result property="XGDW" column="XGDW" jdbcType="VARCHAR"/>
<result property="DJRXM" column="DJRXM" jdbcType="VARCHAR"/>
<result property="DJDWMC" column="DJDWMC" jdbcType="VARCHAR"/>
<result property="XGRXM" column="XGRXM" jdbcType="VARCHAR"/>
<result property="XGDWMC" column="XGDWMC" jdbcType="VARCHAR"/>
<result property="JJRQSJ" column="JJRQSJ" jdbcType="VARCHAR"/>
<result property="JJDW" column="JJDW" jdbcType="VARCHAR"/>
<result property="JJDWMC" column="JJDWMC" jdbcType="VARCHAR"/>
<result property="JJR" column="JJR" jdbcType="VARCHAR"/>
<result property="JJRXM" column="JJRXM" jdbcType="VARCHAR"/>
<result property="YJDW" column="YJDW" jdbcType="VARCHAR"/>
<result property="YJSJ" column="YJSJ" jdbcType="VARCHAR"/>
<result property="YJSM" column="YJSM" jdbcType="VARCHAR"/>
<result property="YJR" column="YJR" jdbcType="VARCHAR"/>
<result property="JJXZQH" column="JJXZQH" jdbcType="VARCHAR"/>
<result property="JJGXDW" column="JJGXDW" jdbcType="VARCHAR"/>
<result property="FKYQ" column="FKYQ" jdbcType="VARCHAR"/>
<result property="SFYFDX" column="SFYFDX" jdbcType="VARCHAR"/>
<result property="JJDXNR" column="JJDXNR" jdbcType="VARCHAR"/>
<result property="JJDXSJ" column="JJDXSJ" jdbcType="VARCHAR"/>
<result property="SBSJ" column="SBSJ" jdbcType="VARCHAR"/>
<result property="SBNR" column="SBNR" jdbcType="VARCHAR"/>
<result property="CDCLBM" column="CDCLBM" jdbcType="VARCHAR"/>
<result property="JJLX" column="JJLX" jdbcType="VARCHAR"/>
<result property="ZDYJR" column="ZDYJR" jdbcType="VARCHAR"/>
<result property="ZDYJDW" column="ZDYJDW" jdbcType="VARCHAR"/>
<result property="ZDYJSJ" column="ZDYJSJ" jdbcType="VARCHAR"/>
<result property="ZDYJSM" column="ZDYJSM" jdbcType="VARCHAR"/>
<result property="SFBDDH" column="SFBDDH" jdbcType="VARCHAR"/>
<result property="SFPJ" column="SFPJ" jdbcType="VARCHAR"/>
<result property="SFFK" column="SFFK" jdbcType="VARCHAR"/>
<result property="BJRXBMC" column="BJRXBMC" jdbcType="VARCHAR"/>
<result property="BJXSMC" column="BJXSMC" jdbcType="VARCHAR"/>
<result property="BJLXMC" column="BJLXMC" jdbcType="VARCHAR"/>
<result property="CLLXMC" column="CLLXMC" jdbcType="VARCHAR"/>
<result property="HZDJMC" column="HZDJMC" jdbcType="VARCHAR"/>
<result property="SFZDDWMC" column="SFZDDWMC" jdbcType="VARCHAR"/>
<result property="JZLBMC" column="JZLBMC" jdbcType="VARCHAR"/>
<result property="JZJGMC" column="JZJGMC" jdbcType="VARCHAR"/>
<result property="QHCSMC" column="QHCSMC" jdbcType="VARCHAR"/>
<result property="YFWXWZMC" column="YFWXWZMC" jdbcType="VARCHAR"/>
<result property="YWBZXLMC" column="YWBZXLMC" jdbcType="VARCHAR"/>
<result property="YFTYMC" column="YFTYMC" jdbcType="VARCHAR"/>
<result property="YWBKRYMC" column="YWBKRYMC" jdbcType="VARCHAR"/>
<result property="SFZXXSMC" column="SFZXXSMC" jdbcType="VARCHAR"/>
<result property="SJJSDMC" column="SJJSDMC" jdbcType="VARCHAR"/>
<result property="CJBSMC" column="CJBSMC" jdbcType="VARCHAR"/>
<result property="YJDWMC" column="YJDWMC" jdbcType="VARCHAR"/>
<result property="JJXZQHMC" column="JJXZQHMC" jdbcType="VARCHAR"/>
<result property="JJGXDWMC" column="JJGXDWMC" jdbcType="VARCHAR"/>
<result property="ZDYJRXM" column="ZDYJRXM" jdbcType="VARCHAR"/>
<result property="ZDYJDWMC" column="ZDYJDWMC" jdbcType="VARCHAR"/>
<result property="SFBDDHMC" column="SFBDDHMC" jdbcType="VARCHAR"/>
<result property="SFPJMC" column="SFPJMC" jdbcType="VARCHAR"/>
<result property="SFFKMC" column="SFFKMC" jdbcType="VARCHAR"/>
<result property="LHLBDMMC" column="LHLBDMMC" jdbcType="VARCHAR"/>
<result property="WS_RKSJ" column="WS_RKSJ" jdbcType="VARCHAR"/>
<result property="WS_XGSJ" column="WS_XGSJ" jdbcType="VARCHAR"/>
<result property="WS_YXX" column="WS_YXX" jdbcType="VARCHAR"/>
<result property="RYWKSJ" column="RYWKSJ" jdbcType="VARCHAR"/>
<result property="JDZB" column="JDZB" jdbcType="VARCHAR"/>
<result property="WDZB" column="WDZB" jdbcType="VARCHAR"/>
</resultMap>
<select id="getJjxxList" parameterType="java.util.Map" resultMap="JjxxResultMap">
SELECT t2.*
FROM (SELECT ROWNUM rn, t1.* FROM (SELECT * FROM SYX_JWPT.JCJ_JJXX_VIEW) t1 WHERE ROWNUM<![CDATA[ <= ]]> ${rowEnd}) t2
WHERE t2.rn <![CDATA[ >= ]]> ${rowStart}
</select>
<select id="getRealTimeRecording" parameterType="java.util.Map" resultMap="JjxxResultMap">
SELECT * FROM SYX_JWPT.JCJ_JJXX_VIEW where WS_RKSJ >#{maxTime}
</select>
</mapper>
Loading…
Cancel
Save