From 598860d544e2ce515807d0d7c74b6b69206ca346 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Fri, 20 May 2022 11:56:55 +0800 Subject: [PATCH 01/26] 11 --- demo/.gitignore | 33 ++ demo/.mvn/wrapper/maven-wrapper.jar | Bin 0 -> 58727 bytes demo/.mvn/wrapper/maven-wrapper.properties | 2 + demo/mvnw | 316 ++++++++++++++++++ demo/mvnw.cmd | 188 +++++++++++ demo/pom.xml | 41 +++ .../com/example/demo/DemoApplication.java | 13 + .../src/main/resources/application.properties | 1 + .../example/demo/DemoApplicationTests.java | 13 + .../RemoteSensing/RegionVGIController.java | 0 .../AdahTestingController.java | 2 +- .../AtmosphereController.java | 2 +- .../AustraliaMiddleEastController.java | 12 +- .../ENSOController.java | 2 +- .../ForestController.java | 2 +- .../GlobalEcologyController.java | 2 +- .../controller/yada/RegionVGIController.java | 72 ++++ .../SpecialReportController.java | 2 +- .../UrbanController.java | 2 +- .../AustraliaMiddleEastVO.java | 4 +- .../{vo => domainyada}/RegionVGIVO.java | 2 +- .../AdahTestingMapper.java | 2 +- .../AtmosphereMapper.java | 2 +- .../AustraliaMiddleEastMapper.java | 4 +- .../{mapper => mapperyada}/ENSOMapper.java | 2 +- .../{mapper => mapperyada}/ForestMapper.java | 2 +- .../GlobalEcologyMapper.java | 2 +- .../RegionVGIMapper.java | 5 +- .../{mapper => mapperyada}/UrbanMapper.java | 2 +- .../IAdahTestingService.java | 2 +- .../IAtmosphereService.java | 2 +- .../IAustraliaMiddleEastService.java | 4 +- .../IENSOService.java | 2 +- .../IForestService.java | 2 +- .../IGlobalEcologyService.java | 2 +- .../IRegionVGIService.java | 19 +- .../ISpecialReportService.java | 2 +- .../IUrbanService.java | 2 +- .../impl/AdahTestingServiceimpl.java | 4 +- .../impl/AtmosphereServiceimpl.java | 4 +- .../impl/AustraliaMiddleEastServiceimpl.java | 9 +- .../impl/ENSOServiceimpl.java | 4 +- .../impl/ForestServiceimpl.java | 4 +- .../impl/GlobalEcologyServiceimpl.java | 4 +- .../impl/RegionVGIServiceimpl.java | 9 +- .../impl/SpecialReportServiceimpl.java | 4 +- .../impl/UrbanServiceimpl.java | 4 +- .../mapper/system/AdahTestingMapper.xml | 2 +- .../mapper/system/AtmosphereMapper.xml | 2 +- .../system/AustraliaMiddleEastMapper.xml | 4 +- .../resources/mapper/system/ENSOMapper.xml | 2 +- .../resources/mapper/system/ForestMapper.xml | 2 +- .../mapper/system/GlobalEcologyMapper.xml | 2 +- .../mapper/system/RegionVGIMapper.xml | 4 +- .../resources/mapper/system/UrbanMapper.xml | 2 +- 55 files changed, 759 insertions(+), 76 deletions(-) create mode 100644 demo/.gitignore create mode 100644 demo/.mvn/wrapper/maven-wrapper.jar create mode 100644 demo/.mvn/wrapper/maven-wrapper.properties create mode 100644 demo/mvnw create mode 100644 demo/mvnw.cmd create mode 100644 demo/pom.xml create mode 100644 demo/src/main/java/com/example/demo/DemoApplication.java create mode 100644 demo/src/main/resources/application.properties create mode 100644 demo/src/test/java/com/example/demo/DemoApplicationTests.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/RegionVGIController.java rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/AdahTestingController.java (71%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/AtmosphereController.java (71%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/AustraliaMiddleEastController.java (83%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/ENSOController.java (70%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/ForestController.java (69%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/GlobalEcologyController.java (86%) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/SpecialReportController.java (71%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/{RemoteSensing => yada}/UrbanController.java (69%) rename ruoyi-system/src/main/java/com/ruoyi/system/{vo => domainyada}/AustraliaMiddleEastVO.java (95%) rename ruoyi-system/src/main/java/com/ruoyi/system/{vo => domainyada}/RegionVGIVO.java (98%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/AdahTestingMapper.java (72%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/AtmosphereMapper.java (72%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/AustraliaMiddleEastMapper.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/ENSOMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/ForestMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/GlobalEcologyMapper.java (73%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/RegionVGIMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper => mapperyada}/UrbanMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IAdahTestingService.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IAtmosphereService.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IAustraliaMiddleEastService.java (80%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IENSOService.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IForestService.java (74%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IGlobalEcologyService.java (77%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IRegionVGIService.java (55%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/ISpecialReportService.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/IUrbanService.java (74%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/AdahTestingServiceimpl.java (60%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/AtmosphereServiceimpl.java (60%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/AustraliaMiddleEastServiceimpl.java (74%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/ENSOServiceimpl.java (59%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/ForestServiceimpl.java (59%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/GlobalEcologyServiceimpl.java (61%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/RegionVGIServiceimpl.java (72%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/SpecialReportServiceimpl.java (60%) rename ruoyi-system/src/main/java/com/ruoyi/system/{service => serviceyada}/impl/UrbanServiceimpl.java (59%) diff --git a/demo/.gitignore b/demo/.gitignore new file mode 100644 index 000000000..549e00a2a --- /dev/null +++ b/demo/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/demo/.mvn/wrapper/maven-wrapper.jar b/demo/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..c1dd12f17644411d6e840bd5a10c6ecda0175f18 GIT binary patch literal 58727 zcmb5W18`>1vNjyPv28mO+cqb*Z6_1kwr$(?#I}=(ZGUs`Jr}3`|DLbDUA3!L?d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} z$7galV~M`d!q(`I{;CJsq6G9>W0}H6gVY`q7S@9s8ak1r{>}*Q0JyH&f!f8(NZxhC zkn|KS64r^A1fniFel2KkxYByk%erCx9UgFLI)`yuA)X z8SU?6kj!numPNCAj}>1ipax(t{%rxU;6`(Nqt$~Z4~76TQ$9d8l`yJ}rniII%HbH= zlS_7o!qB{55at^>N!Voer%)`KMh9Yd@Z?~nc19*hs)NGN954`O9zA&&vJHbm&|D@E za(&z6A=3NfC;>I)hlI@ulP8E@W-ziGe{iCf_mHvWGldxw8{ng-hI({EtOdALnD9zG ze)fU?I(DNt)Bzdd9Cs^>!|+2!xv1SK=I zJ+y_;=Sq-zqD~GKy@{5(my&aPgFfGY&_mayR_)?dF_^Fwc-n!UAG+fQQGfjWE-1MF YM{}PByk10KD_nuQ4E7Du?}+~TKh4V)`~Uy| literal 0 HcmV?d00001 diff --git a/demo/.mvn/wrapper/maven-wrapper.properties b/demo/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 000000000..b7cb93e70 --- /dev/null +++ b/demo/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,2 @@ +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar diff --git a/demo/mvnw b/demo/mvnw new file mode 100644 index 000000000..8a8fb2282 --- /dev/null +++ b/demo/mvnw @@ -0,0 +1,316 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /usr/local/etc/mavenrc ] ; then + . /usr/local/etc/mavenrc + fi + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`\\unset -f command; \\command -v java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + $MAVEN_DEBUG_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" \ + "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/demo/mvnw.cmd b/demo/mvnw.cmd new file mode 100644 index 000000000..1d8ab018e --- /dev/null +++ b/demo/mvnw.cmd @@ -0,0 +1,188 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %* +if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\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/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + +FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% ^ + %JVM_CONFIG_MAVEN_PROPS% ^ + %MAVEN_OPTS% ^ + %MAVEN_DEBUG_OPTS% ^ + -classpath %WRAPPER_JAR% ^ + "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^ + %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat" +if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\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% + +cmd /C exit /B %ERROR_CODE% diff --git a/demo/pom.xml b/demo/pom.xml new file mode 100644 index 000000000..ddb8c5bd9 --- /dev/null +++ b/demo/pom.xml @@ -0,0 +1,41 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.0 + + + com.example + demo + 0.0.1-SNAPSHOT + demo + Demo project for Spring Boot + + 11 + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/demo/src/main/java/com/example/demo/DemoApplication.java b/demo/src/main/java/com/example/demo/DemoApplication.java new file mode 100644 index 000000000..64b538a17 --- /dev/null +++ b/demo/src/main/java/com/example/demo/DemoApplication.java @@ -0,0 +1,13 @@ +package com.example.demo; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class DemoApplication { + + public static void main(String[] args) { + SpringApplication.run(DemoApplication.class, args); + } + +} diff --git a/demo/src/main/resources/application.properties b/demo/src/main/resources/application.properties new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/demo/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/demo/src/test/java/com/example/demo/DemoApplicationTests.java b/demo/src/test/java/com/example/demo/DemoApplicationTests.java new file mode 100644 index 000000000..2778a6a7e --- /dev/null +++ b/demo/src/test/java/com/example/demo/DemoApplicationTests.java @@ -0,0 +1,13 @@ +package com.example.demo; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class DemoApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/RegionVGIController.java deleted file mode 100644 index e69de29bb..000000000 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AdahTestingController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java similarity index 71% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AdahTestingController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java index dd2902ba6..f0c0b32cf 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AdahTestingController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * 亚大综合监测 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AtmosphereController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java similarity index 71% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AtmosphereController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java index dd864858e..60f468564 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AtmosphereController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * 大气质量监测 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java similarity index 83% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AustraliaMiddleEastController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index 9040013ea..4ec59d8d1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -1,17 +1,13 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.service.IAustraliaMiddleEastService; -import com.ruoyi.system.service.IForestService; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; -import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -25,7 +21,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") public class AustraliaMiddleEastController { - // @Autowired + //@Autowired private IAustraliaMiddleEastService australiaMiddleEastService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ENSOController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ENSOController.java similarity index 70% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ENSOController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ENSOController.java index d79abbb3b..560ce93ce 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ENSOController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ENSOController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * ENSO影响监测 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ForestController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ForestController.java similarity index 69% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ForestController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ForestController.java index 43ba9c619..d58bda9ab 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/ForestController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ForestController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * 森林监测 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/GlobalEcologyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalEcologyController.java similarity index 86% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/GlobalEcologyController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalEcologyController.java index 73895658f..93dea68bf 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/GlobalEcologyController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalEcologyController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java new file mode 100644 index 000000000..0f1e81cb3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -0,0 +1,72 @@ +package com.ruoyi.web.controller.yada; + +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.serviceyada.IRegionVGIService; +import com.ruoyi.system.domainyada.RegionVGIVO; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 各区域VGI + * @Author: JinSheng Song + * @Date: 2022/5/11 9:08 + */ +@RestController +@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") +public class RegionVGIController +{ + //@Autowired + private IRegionVGIService regionVGIService; + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectRegion",method = {RequestMethod.POST}) + public AjaxResult SelectRegion(HttpServletResponse response, HttpServletRequest request) + { + List vgivost= regionVGIService.selectRegion(); + return AjaxResult.success(vgivost); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelRegion",method = {RequestMethod.POST}) + public AjaxResult DelRegion(@Param("ID") String ID) + { + int NUM = regionVGIService.DelRegion(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param vgivo + * @return + */ + @RequestMapping(value = "/IntoRegion",method = {RequestMethod.POST}) + public AjaxResult IntoRegion(RegionVGIVO vgivo) + { + int NUM = regionVGIService.IntoRegion(vgivo); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/SpecialReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java similarity index 71% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/SpecialReportController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java index b019a94d9..7953a60b2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/SpecialReportController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * 专题报告 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java similarity index 69% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/UrbanController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index 27fbf3353..fa6b510ff 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/RemoteSensing/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -1,4 +1,4 @@ -package com.ruoyi.web.controller.RemoteSensing; +package com.ruoyi.web.controller.yada; /** * 城市监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/vo/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java similarity index 95% rename from ruoyi-system/src/main/java/com/ruoyi/system/vo/AustraliaMiddleEastVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java index 20c863231..735bf4a95 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/vo/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java @@ -1,7 +1,5 @@ -package com.ruoyi.system.vo; +package com.ruoyi.system.domainyada; -import javax.xml.crypto.Data; -import java.lang.ref.PhantomReference; import java.time.LocalDate; /** diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/vo/RegionVGIVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java similarity index 98% rename from ruoyi-system/src/main/java/com/ruoyi/system/vo/RegionVGIVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java index 379df3396..6e17ed2a5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/vo/RegionVGIVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.vo; +package com.ruoyi.system.domainyada; import java.io.Serializable; import java.time.LocalDate; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AdahTestingMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AdahTestingMapper.java similarity index 72% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/AdahTestingMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AdahTestingMapper.java index bf493c8e8..041af15e3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AdahTestingMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AdahTestingMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AtmosphereMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AtmosphereMapper.java similarity index 72% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/AtmosphereMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AtmosphereMapper.java index 65c0d27c0..cc3f6c2a5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AtmosphereMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AtmosphereMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AustraliaMiddleEastMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/AustraliaMiddleEastMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java index 9293c5b94..1725f2efd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/AustraliaMiddleEastMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ENSOMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ENSOMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/ENSOMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ENSOMapper.java index d5bed2f89..9805fa16e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ENSOMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ENSOMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ForestMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ForestMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/ForestMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ForestMapper.java index 0942f03a0..60bba19e0 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/ForestMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ForestMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/GlobalEcologyMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalEcologyMapper.java similarity index 73% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/GlobalEcologyMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalEcologyMapper.java index 2cbfa8766..8bfc2bca6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/GlobalEcologyMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalEcologyMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/RegionVGIMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/RegionVGIMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java index c44334dcb..e339fd37b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/RegionVGIMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java @@ -1,7 +1,6 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; -import com.ruoyi.system.vo.RegionVGIVO; +import com.ruoyi.system.domainyada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/UrbanMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/UrbanMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java index 05cac67fc..e6840960a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/UrbanMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper; +package com.ruoyi.system.mapperyada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAdahTestingService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAdahTestingService.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IAdahTestingService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAdahTestingService.java index 507b367bf..9190c72b1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAdahTestingService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAdahTestingService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 亚大综合监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAtmosphereService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAtmosphereService.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IAtmosphereService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAtmosphereService.java index d91916e4a..f3db831d5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAtmosphereService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAtmosphereService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 大气质量监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAustraliaMiddleEastService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java similarity index 80% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IAustraliaMiddleEastService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java index 01f552567..7f0e9fa5e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IAustraliaMiddleEastService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IENSOService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IENSOService.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IENSOService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IENSOService.java index c062f4dfa..1f59b0dac 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IENSOService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IENSOService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * ENSO影响监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IForestService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IForestService.java similarity index 74% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IForestService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IForestService.java index d763f2898..214f23a86 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IForestService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IForestService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 森林监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IGlobalEcologyService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalEcologyService.java similarity index 77% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IGlobalEcologyService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalEcologyService.java index 007914e19..8d12989b5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IGlobalEcologyService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalEcologyService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 全球生态环境监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IRegionVGIService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java similarity index 55% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IRegionVGIService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java index 1cf8d34d7..7ceb2dfb1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IRegionVGIService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java @@ -1,7 +1,6 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; -import com.ruoyi.system.vo.RegionVGIVO; +import com.ruoyi.system.domainyada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,9 +11,23 @@ import java.util.List; */ public interface IRegionVGIService { + /** + * 查询 + * @return + */ public List selectRegion(); + /** + * 删除 + * @param id + * @return + */ public Integer DelRegion(@Param("id") String id); + /** + * 添加 + * @param eastVO + * @return + */ public Integer IntoRegion(RegionVGIVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISpecialReportService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/ISpecialReportService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java index 7c098d7ca..cf8a3ddc6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/ISpecialReportService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 专题报告 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IUrbanService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java similarity index 74% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/IUrbanService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java index c9d7c75bd..87d2ee389 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IUrbanService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.service; +package com.ruoyi.system.serviceyada; /** * 城市监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AdahTestingServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AdahTestingServiceimpl.java similarity index 60% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AdahTestingServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AdahTestingServiceimpl.java index 68c0c741d..faf98c3e1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AdahTestingServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AdahTestingServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IAdahTestingService; +import com.ruoyi.system.serviceyada.IAdahTestingService; /** * 亚大综合监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AtmosphereServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AtmosphereServiceimpl.java similarity index 60% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AtmosphereServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AtmosphereServiceimpl.java index 99ccb59f1..c5a8637c8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AtmosphereServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AtmosphereServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IAtmosphereService; +import com.ruoyi.system.serviceyada.IAtmosphereService; /** * 大气质量监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AustraliaMiddleEastServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java similarity index 74% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AustraliaMiddleEastServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java index 3fa866dd6..08f5bdbdc 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/AustraliaMiddleEastServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java @@ -1,9 +1,8 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.mapper.AustraliaMiddleEastMapper; -import com.ruoyi.system.mapper.SysLogininforMapper; -import com.ruoyi.system.service.IAustraliaMiddleEastService; -import com.ruoyi.system.vo.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ENSOServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ENSOServiceimpl.java similarity index 59% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ENSOServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ENSOServiceimpl.java index 490815b49..f6f06e26c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ENSOServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ENSOServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IENSOService; +import com.ruoyi.system.serviceyada.IENSOService; /** * ENSO影响监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ForestServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ForestServiceimpl.java similarity index 59% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ForestServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ForestServiceimpl.java index cd3b6e1e4..1bcddc14d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ForestServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ForestServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IForestService; +import com.ruoyi.system.serviceyada.IForestService; /** * 森林监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/GlobalEcologyServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalEcologyServiceimpl.java similarity index 61% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/GlobalEcologyServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalEcologyServiceimpl.java index 104ee944c..0dc272c6a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/GlobalEcologyServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalEcologyServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IGlobalEcologyService; +import com.ruoyi.system.serviceyada.IGlobalEcologyService; /** * 全球生态环境监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RegionVGIServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java similarity index 72% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RegionVGIServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java index 60966b5dc..c43c34507 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/RegionVGIServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java @@ -1,9 +1,8 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.mapper.AustraliaMiddleEastMapper; -import com.ruoyi.system.mapper.RegionVGIMapper; -import com.ruoyi.system.service.IRegionVGIService; -import com.ruoyi.system.vo.RegionVGIVO; +import com.ruoyi.system.mapperyada.RegionVGIMapper; +import com.ruoyi.system.serviceyada.IRegionVGIService; +import com.ruoyi.system.domainyada.RegionVGIVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SpecialReportServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java similarity index 60% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SpecialReportServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java index 7c2959511..40addc703 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SpecialReportServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.ISpecialReportService; +import com.ruoyi.system.serviceyada.ISpecialReportService; /** * 专题报告 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UrbanServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java similarity index 59% rename from ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UrbanServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java index 02417b848..5a27f5bd5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UrbanServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.service.impl; +package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.service.IUrbanService; +import com.ruoyi.system.serviceyada.IUrbanService; /** * * 城市监测 diff --git a/ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml index 7bec5b4e5..d3d0b771e 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml index 708cc972f..1a029366d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index b0de66317..f0f216d0c 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -2,8 +2,8 @@ - - + + diff --git a/ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml index b457a2528..dbf1c541c 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml index 665c6a13e..6918f0a28 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml index 51d7e8555..8126b1b1d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml index b1eb0efe3..1b062c0bc 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml @@ -2,8 +2,8 @@ - - + + diff --git a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml index 7756d3cf9..1d12cf809 100644 --- a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file From 43e3d8cfeab8b3cf7daeefc2e73304baa5cffa31 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Fri, 20 May 2022 14:19:25 +0800 Subject: [PATCH 02/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...hTestingController.java => AorestCoverageController.java} | 2 +- ...lobalEcologyController.java => GlobalTypeController.java} | 0 ...ForestController.java => OceanTemperatureController.java} | 0 .../{ENSOController.java => RegionalSystemController.java} | 0 ...hereController.java => VegetationCoverageController.java} | 2 +- .../java/com/ruoyi/system/domainyada/AorestCoverageVO.java | 5 +++++ .../main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java | 5 +++++ .../java/com/ruoyi/system/domainyada/OceanTemperatureVO.java | 5 +++++ .../java/com/ruoyi/system/domainyada/RegionalSystemVO.java | 5 +++++ .../com/ruoyi/system/domainyada/VegetationCoverageVO.java | 5 +++++ .../{AdahTestingMapper.java => AorestCoverageMapper.java} | 0 .../{GlobalEcologyMapper.java => GlobalTypeMapper.java} | 0 .../{ForestMapper.java => OceanTemperatureMapper.java} | 0 .../{ENSOMapper.java => RegionalSystemMapper.java} | 0 .../{AtmosphereMapper.java => VegetationCoverageMapper.java} | 0 ...{IAdahTestingService.java => IAorestCoverageService.java} | 0 .../{IGlobalEcologyService.java => IGlobalTypeService.java} | 0 .../{IForestService.java => IOceanTemperatureService.java} | 0 .../{IENSOService.java => IRegionalSystemService.java} | 0 ...tmosphereService.java => IVegetationCoverageService.java} | 0 ...estingServiceimpl.java => AorestCoverageServiceimpl.java} | 0 ...balEcologyServiceimpl.java => GlobalTypeServiceimpl.java} | 0 ...restServiceimpl.java => OceanTemperatureServiceimpl.java} | 0 .../{ENSOServiceimpl.java => RegionalSystemServiceimpl.java} | 0 ...reServiceimpl.java => VegetationCoverageServiceimpl.java} | 0 .../{AdahTestingMapper.xml => AorestCoverageMapper.xml} | 0 .../system/{GlobalEcologyMapper.xml => GlobalTypeMapper.xml} | 0 .../system/{ForestMapper.xml => OceanTemperatureMapper.xml} | 0 .../system/{ENSOMapper.xml => RegionalSystemMapper.xml} | 0 .../{AtmosphereMapper.xml => VegetationCoverageMapper.xml} | 0 30 files changed, 27 insertions(+), 2 deletions(-) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/{AdahTestingController.java => AorestCoverageController.java} (85%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/{GlobalEcologyController.java => GlobalTypeController.java} (100%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/{ForestController.java => OceanTemperatureController.java} (100%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/{ENSOController.java => RegionalSystemController.java} (100%) rename ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/{AtmosphereController.java => VegetationCoverageController.java} (73%) create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java rename ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/{AdahTestingMapper.java => AorestCoverageMapper.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/{GlobalEcologyMapper.java => GlobalTypeMapper.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/{ForestMapper.java => OceanTemperatureMapper.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/{ENSOMapper.java => RegionalSystemMapper.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/{AtmosphereMapper.java => VegetationCoverageMapper.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/{IAdahTestingService.java => IAorestCoverageService.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/{IGlobalEcologyService.java => IGlobalTypeService.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/{IForestService.java => IOceanTemperatureService.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/{IENSOService.java => IRegionalSystemService.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/{IAtmosphereService.java => IVegetationCoverageService.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/{AdahTestingServiceimpl.java => AorestCoverageServiceimpl.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/{GlobalEcologyServiceimpl.java => GlobalTypeServiceimpl.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/{ForestServiceimpl.java => OceanTemperatureServiceimpl.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/{ENSOServiceimpl.java => RegionalSystemServiceimpl.java} (100%) rename ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/{AtmosphereServiceimpl.java => VegetationCoverageServiceimpl.java} (100%) rename ruoyi-system/src/main/resources/mapper/system/{AdahTestingMapper.xml => AorestCoverageMapper.xml} (100%) rename ruoyi-system/src/main/resources/mapper/system/{GlobalEcologyMapper.xml => GlobalTypeMapper.xml} (100%) rename ruoyi-system/src/main/resources/mapper/system/{ForestMapper.xml => OceanTemperatureMapper.xml} (100%) rename ruoyi-system/src/main/resources/mapper/system/{ENSOMapper.xml => RegionalSystemMapper.xml} (100%) rename ruoyi-system/src/main/resources/mapper/system/{AtmosphereMapper.xml => VegetationCoverageMapper.xml} (100%) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java similarity index 85% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index f0c0b32cf..af825429d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AdahTestingController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; /** - * 亚大综合监测 + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 9:08 */ diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalEcologyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java similarity index 100% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalEcologyController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ForestController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java similarity index 100% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ForestController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ENSOController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java similarity index 100% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ENSOController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java similarity index 73% rename from ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java rename to ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 60f468564..8afabe23c 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AtmosphereController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -5,5 +5,5 @@ package com.ruoyi.web.controller.yada; * @Author: JinSheng Song * @Date: 2022/5/11 10:56 */ -public class AtmosphereController { +public class VegetationCoverageController { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java new file mode 100644 index 000000000..f8e1dd4cb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java @@ -0,0 +1,5 @@ +package com.ruoyi.system.domainyada;/** + * @Author: JinSheng Song + * @Date: 2022/5/20 14:06 + */public class AorestCoverageVo { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java new file mode 100644 index 000000000..c77caad93 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java @@ -0,0 +1,5 @@ +package com.ruoyi.system.domainyada;/** + * @Author: JinSheng Song + * @Date: 2022/5/20 14:07 + */public class GlobalTypeVO { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java new file mode 100644 index 000000000..a26ad320c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java @@ -0,0 +1,5 @@ +package com.ruoyi.system.domainyada;/** + * @Author: JinSheng Song + * @Date: 2022/5/20 14:08 + */public class OceanTemperatureVO { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java new file mode 100644 index 000000000..041ef677c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java @@ -0,0 +1,5 @@ +package com.ruoyi.system.domainyada;/** + * @Author: JinSheng Song + * @Date: 2022/5/20 14:09 + */public class RegionalSystemVO { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java new file mode 100644 index 000000000..51687d0c5 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java @@ -0,0 +1,5 @@ +package com.ruoyi.system.domainyada;/** + * @Author: JinSheng Song + * @Date: 2022/5/20 14:09 + */public class VegetationCoverageVO { +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AdahTestingMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AdahTestingMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalEcologyMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalEcologyMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ForestMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ForestMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ENSOMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/ENSOMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AtmosphereMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AtmosphereMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAdahTestingService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAdahTestingService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalEcologyService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalEcologyService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IForestService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IForestService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IENSOService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IENSOService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAtmosphereService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAtmosphereService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AdahTestingServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AdahTestingServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalEcologyServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalEcologyServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ForestServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ForestServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ENSOServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/ENSOServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AtmosphereServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java similarity index 100% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AtmosphereServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java diff --git a/ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml similarity index 100% rename from ruoyi-system/src/main/resources/mapper/system/AdahTestingMapper.xml rename to ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml similarity index 100% rename from ruoyi-system/src/main/resources/mapper/system/GlobalEcologyMapper.xml rename to ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml diff --git a/ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml similarity index 100% rename from ruoyi-system/src/main/resources/mapper/system/ForestMapper.xml rename to ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml diff --git a/ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml similarity index 100% rename from ruoyi-system/src/main/resources/mapper/system/ENSOMapper.xml rename to ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml diff --git a/ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml similarity index 100% rename from ruoyi-system/src/main/resources/mapper/system/AtmosphereMapper.xml rename to ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml From 57db36e0154f52077310c8b1e07a936859f320ee Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Fri, 20 May 2022 14:19:34 +0800 Subject: [PATCH 03/26] no message --- .../yada/AorestCoverageController.java | 64 +++++++++++++++++- .../yada/AustraliaMiddleEastController.java | 2 +- .../controller/yada/GlobalTypeController.java | 61 ++++++++++++++++- .../yada/OceanTemperatureController.java | 66 ++++++++++++++++++- .../yada/RegionalSystemController.java | 66 ++++++++++++++++++- .../web/controller/yada/UrbanController.java | 64 +++++++++++++++++- .../yada/VegetationCoverageController.java | 64 +++++++++++++++++- .../system/domainyada/AorestCoverageVO.java | 25 ++++++- .../ruoyi/system/domainyada/GlobalTypeVO.java | 8 ++- .../system/domainyada/OceanTemperatureVO.java | 8 ++- .../system/domainyada/RegionalSystemVO.java | 9 ++- .../domainyada/VegetationCoverageVO.java | 8 ++- .../mapperyada/AorestCoverageMapper.java | 13 +++- .../system/mapperyada/GlobalTypeMapper.java | 13 +++- .../mapperyada/OceanTemperatureMapper.java | 13 +++- .../mapperyada/RegionalSystemMapper.java | 13 +++- .../mapperyada/VegetationCoverageMapper.java | 13 +++- .../serviceyada/IAorestCoverageService.java | 15 ++++- .../serviceyada/IGlobalTypeService.java | 15 ++++- .../serviceyada/IOceanTemperatureService.java | 15 ++++- .../serviceyada/IRegionalSystemService.java | 15 ++++- .../IVegetationCoverageService.java | 15 ++++- .../impl/AorestCoverageServiceimpl.java | 30 ++++++++- .../impl/GlobalTypeServiceimpl.java | 31 ++++++++- .../impl/OceanTemperatureServiceimpl.java | 29 +++++++- .../impl/RegionalSystemServiceimpl.java | 31 ++++++++- .../impl/SpecialReportServiceimpl.java | 1 + .../impl/VegetationCoverageServiceimpl.java | 32 ++++++++- .../mapper/system/AorestCoverageMapper.xml | 2 +- .../mapper/system/GlobalTypeMapper.xml | 2 +- .../mapper/system/OceanTemperatureMapper.xml | 2 +- .../mapper/system/RegionalSystemMapper.xml | 2 +- .../system/VegetationCoverageMapper.xml | 2 +- 33 files changed, 695 insertions(+), 54 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index af825429d..53ec82ed7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 9:08 */ -public class AdahTestingController { +@RestController +@RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") +public class AorestCoverageController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index 4ec59d8d1..17761b99b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -18,7 +18,7 @@ import java.util.List; * @Date: 2022/5/11 9:08 */ @RestController -@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") +@RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8") public class AustraliaMiddleEastController { //@Autowired diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 93dea68bf..18fd74092 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -1,15 +1,72 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** - *全球生态环境监测 + *全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 9:05 */ @RestController @RequestMapping("/monitor/clobal") -public class GlobalEcologyController { +public class GlobalTypeController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index d58bda9ab..645e6179b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** - * 森林监测 + * 海洋表面温度监测 * @Author: JinSheng Song * @Date: 2022/5/11 9:13 */ -public class ForestController { +@RestController +@RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") +public class OceanTemperatureController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index 560ce93ce..68aca4bdc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 9:12 */ -public class ENSOController { +@RestController +@RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") +public class RegionalSystemController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index fa6b510ff..734e03acb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** - * 城市监测 + * 中国城市监测 * @Author: JinSheng Song * @Date: 2022/5/11 10:55 */ +@RestController +@RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") public class UrbanController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 8afabe23c..a66eea635 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 10:56 */ +@RestController +@RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") public class VegetationCoverageController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java index f8e1dd4cb..83b23e077 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java @@ -1,5 +1,26 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/20 14:06 - */public class AorestCoverageVo { + */ +public class AorestCoverageVO { + + private String id; + + private String particularYear; + + private String region; + + private String regionEn; + + private String protectedLands; + + private String nonProtectedLands; + + private String mountain; + + private String nonMountain; + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java index c77caad93..f80dd6efa 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/20 14:07 - */public class GlobalTypeVO { + */ +public class GlobalTypeVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java index a26ad320c..f544b37a7 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/**+ + * 海面温度监测 * @Author: JinSheng Song * @Date: 2022/5/20 14:08 - */public class OceanTemperatureVO { + */ +public class OceanTemperatureVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java index 041ef677c..8e5a71084 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java @@ -1,5 +1,10 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 - */public class RegionalSystemVO { + */ + +public class RegionalSystemVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java index 51687d0c5..fe24bd80b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 - */public class VegetationCoverageVO { + */ +public class VegetationCoverageVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java index 041af15e3..40d584ab1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ -public interface AdahTestingMapper { +public interface AorestCoverageMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java index 8bfc2bca6..4bddaa24b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface GlobalEcologyMapper { +public interface GlobalTypeMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java index 60bba19e0..e8c3c51c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface ForestMapper { +public interface OceanTemperatureMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java index 9805fa16e..55b39ac71 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface ENSOMapper { +public interface RegionalSystemMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java index cc3f6c2a5..d06a59332 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ -public interface AtmosphereMapper { +public interface VegetationCoverageMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java index 9190c72b1..1921e4d16 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 亚大综合监测 + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 11:32 */ -public interface IAdahTestingService { +public interface IAorestCoverageService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java index 8d12989b5..01940f7b4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 全球生态环境监测 + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 11:37 */ -public interface IGlobalEcologyService { +public interface IGlobalTypeService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java index 214f23a86..c8240d3d3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 森林监测 + * 海面表面温度监测 * @Author: JinSheng Song * @Date: 2022/5/11 11:38 */ -public interface IForestService { +public interface IOceanTemperatureService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java index 1f59b0dac..ee8fd34bd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 11:35 */ -public interface IENSOService { +public interface IRegionalSystemService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java index f3db831d5..735ef2b19 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 11:34 */ -public interface IAtmosphereService { +public interface IVegetationCoverageService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java index faf98c3e1..43fda2ee2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java @@ -1,11 +1,35 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IAdahTestingService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IAorestCoverageService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 亚大综合监测 + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 11:43 */ -public class AdahTestingServiceimpl implements IAdahTestingService { +public class AorestCoverageServiceimpl implements IAorestCoverageService { + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java index 0dc272c6a..850e17e9b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IGlobalEcologyService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IGlobalTypeService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 全球生态环境监测 + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ -public class GlobalEcologyServiceimpl implements IGlobalEcologyService { +public class GlobalTypeServiceimpl implements IGlobalTypeService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java index 1bcddc14d..4e2a9f246 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IForestService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IOceanTemperatureService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** * 森林监测 * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ -public class ForestServiceimpl implements IForestService { +public class OceanTemperatureServiceimpl implements IOceanTemperatureService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java index f6f06e26c..eaa8b905f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IENSOService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IRegionalSystemService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 11:46 */ -public class ENSOServiceimpl implements IENSOService { +public class RegionalSystemServiceimpl implements IRegionalSystemService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java index 40addc703..b728c81f9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java @@ -8,4 +8,5 @@ import com.ruoyi.system.serviceyada.ISpecialReportService; * @Date: 2022/5/11 11:48 */ public class SpecialReportServiceimpl implements ISpecialReportService { + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java index c5a8637c8..1a63f5445 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java @@ -1,11 +1,37 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IAtmosphereService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IVegetationCoverageService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 11:45 */ -public class AtmosphereServiceimpl implements IAtmosphereService { +public class VegetationCoverageServiceimpl implements IVegetationCoverageService { + + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index d3d0b771e..6c2bd79f3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 8126b1b1d..40c87a5be 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index 6918f0a28..291d261e3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index dbf1c541c..e72f3cc24 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index 1a029366d..809aa8bcb 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file From 6006a9f18c7723793d34c44d3384bd70204bc5d5 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Fri, 20 May 2022 14:27:08 +0800 Subject: [PATCH 04/26] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yada/AorestCoverageController.java | 4 ++-- .../yada/AustraliaMiddleEastController.java | 4 ++-- .../controller/yada/GlobalTypeController.java | 4 ++-- .../yada/OceanTemperatureController.java | 4 ++-- .../controller/yada/RegionVGIController.java | 4 ++-- .../yada/RegionalSystemController.java | 4 ++-- .../web/controller/yada/UrbanController.java | 4 ++-- .../yada/VegetationCoverageController.java | 4 ++-- .../src/main/resources/application.yml | 2 +- .../yada}/AorestCoverageVO.java | 2 +- .../yada}/AustraliaMiddleEastVO.java | 2 +- .../yada}/GlobalTypeVO.java | 2 +- .../yada}/OceanTemperatureVO.java | 2 +- .../yada}/RegionVGIVO.java | 2 +- .../yada}/RegionalSystemVO.java | 2 +- .../domain/{ => yada}/SysBaseEntity.java | 24 +++++++------------ .../yada}/VegetationCoverageVO.java | 2 +- .../yada}/AorestCoverageMapper.java | 7 +----- .../yada}/AustraliaMiddleEastMapper.java | 4 ++-- .../yada}/GlobalTypeMapper.java | 7 +----- .../yada}/OceanTemperatureMapper.java | 7 +----- .../yada}/RegionVGIMapper.java | 4 ++-- .../yada}/RegionalSystemMapper.java | 7 +----- .../yada}/UrbanMapper.java | 2 +- .../yada}/VegetationCoverageMapper.java | 7 +----- .../IAorestCoverageService.java | 4 ++-- .../IAustraliaMiddleEastService.java | 4 ++-- .../IGlobalTypeService.java | 4 ++-- .../IOceanTemperatureService.java | 4 ++-- .../IRegionVGIService.java | 4 ++-- .../IRegionalSystemService.java | 4 ++-- .../ISpecialReportService.java | 2 +- .../IUrbanService.java | 2 +- .../IVegetationCoverageService.java | 4 ++-- .../impl/AorestCoverageServiceimpl.java | 8 +++---- .../impl/AustraliaMiddleEastServiceimpl.java | 8 +++---- .../impl/GlobalTypeServiceimpl.java | 8 +++---- .../impl/OceanTemperatureServiceimpl.java | 8 +++---- .../impl/RegionVGIServiceimpl.java | 8 +++---- .../impl/RegionalSystemServiceimpl.java | 8 +++---- .../impl/SpecialReportServiceimpl.java | 4 ++-- .../impl/UrbanServiceimpl.java | 4 ++-- .../impl/VegetationCoverageServiceimpl.java | 8 +++---- .../mapper/system/AorestCoverageMapper.xml | 2 +- .../system/AustraliaMiddleEastMapper.xml | 4 ++-- .../mapper/system/GlobalTypeMapper.xml | 2 +- .../mapper/system/OceanTemperatureMapper.xml | 2 +- .../mapper/system/RegionVGIMapper.xml | 4 ++-- .../mapper/system/RegionalSystemMapper.xml | 2 +- .../resources/mapper/system/UrbanMapper.xml | 2 +- .../system/VegetationCoverageMapper.xml | 2 +- 51 files changed, 100 insertions(+), 133 deletions(-) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/AorestCoverageVO.java (90%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/AustraliaMiddleEastVO.java (98%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/GlobalTypeVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/OceanTemperatureVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/RegionVGIVO.java (98%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/RegionalSystemVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/domain/{ => yada}/SysBaseEntity.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domainyada => domain/yada}/VegetationCoverageVO.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/AorestCoverageMapper.java (62%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/AustraliaMiddleEastMapper.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/GlobalTypeMapper.java (62%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/OceanTemperatureMapper.java (62%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/RegionVGIMapper.java (77%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/RegionalSystemMapper.java (62%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/UrbanMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapperyada => mapper/yada}/VegetationCoverageMapper.java (62%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IAorestCoverageService.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IAustraliaMiddleEastService.java (80%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IGlobalTypeService.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IOceanTemperatureService.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IRegionVGIService.java (84%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IRegionalSystemService.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/ISpecialReportService.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IUrbanService.java (74%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/IVegetationCoverageService.java (80%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/AorestCoverageServiceimpl.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/AustraliaMiddleEastServiceimpl.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/GlobalTypeServiceimpl.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/OceanTemperatureServiceimpl.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/RegionVGIServiceimpl.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/RegionalSystemServiceimpl.java (76%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/SpecialReportServiceimpl.java (59%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/UrbanServiceimpl.java (59%) rename ruoyi-system/src/main/java/com/ruoyi/system/{serviceyada => service_yada}/impl/VegetationCoverageServiceimpl.java (77%) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index 53ec82ed7..6741b47a8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index 17761b99b..b94786060 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 18fd74092..b52e637af 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index 645e6179b..6da1ac27d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java index 0f1e81cb3..dc1060c4d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.serviceyada.IRegionVGIService; -import com.ruoyi.system.domainyada.RegionVGIVO; +import com.ruoyi.system.service_yada.IRegionVGIService; +import com.ruoyi.system.domain.yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index 68aca4bdc..7d50baff3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index 734e03acb..0d52b1a92 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index a66eea635..5081c8a3b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -1,8 +1,8 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 0bbaeb4f1..eda7f36e9 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -71,7 +71,7 @@ spring: # 数据库索引 database: 3 # 密码 - password: yhy_app + password: sdust2020 # 连接超时时间 timeout: 10s lettuce: diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java similarity index 90% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java index 83b23e077..f1a2121a8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; /** * 森林覆盖率 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java similarity index 98% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java index 735bf4a95..e699b78cb 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; import java.time.LocalDate; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java index f80dd6efa..e5a664897 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; /** * 全球各类型占比 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java index f544b37a7..85c26b8fc 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; /**+ * 海面温度监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java similarity index 98% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java index 6e17ed2a5..f6172ffa1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionVGIVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; import java.io.Serializable; import java.time.LocalDate; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java index 8e5a71084..4ee6f5c5a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; /** * 区域生态系统 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysBaseEntity.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/SysBaseEntity.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java index 430d60c88..5fc2fd9c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysBaseEntity.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java @@ -1,9 +1,7 @@ -package com.ruoyi.system.domain; - -import com.fasterxml.jackson.annotation.JsonFormat; +package com.ruoyi.system.domain.yada; import java.io.Serializable; -import java.util.Date; +import java.time.LocalDateTime; import java.util.HashMap; import java.util.Map; @@ -20,15 +18,13 @@ public class SysBaseEntity implements Serializable private String createBy; /** 创建时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private Date createTime; + private LocalDateTime createTime; /** 更新者 */ private String updateBy; /** 更新时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private Date updateTime; + private LocalDateTime updateTime; /** 备注 */ private String remark; @@ -46,13 +42,11 @@ public class SysBaseEntity implements Serializable this.createBy = createBy; } - public Date getCreateTime() - { + public LocalDateTime getCreateTime() { return createTime; } - public void setCreateTime(Date createTime) - { + public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; } @@ -66,13 +60,11 @@ public class SysBaseEntity implements Serializable this.updateBy = updateBy; } - public Date getUpdateTime() - { + public LocalDateTime getUpdateTime() { return updateTime; } - public void setUpdateTime(Date updateTime) - { + public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java index fe24bd80b..7ad480ba7 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domainyada; +package com.ruoyi.system.domain.yada; /** * 平均植被覆盖度和净初级生产力 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java similarity index 62% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java index 40d584ab1..f0a7188ee 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java @@ -1,9 +1,4 @@ -package com.ruoyi.system.mapperyada; - -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import org.apache.ibatis.annotations.Param; - -import java.util.List; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java index 1725f2efd..a0577cb1a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AustraliaMiddleEastMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.mapperyada; +package com.ruoyi.system.mapper.yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java similarity index 62% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java index 4bddaa24b..6086f06f2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java @@ -1,9 +1,4 @@ -package com.ruoyi.system.mapperyada; - -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import org.apache.ibatis.annotations.Param; - -import java.util.List; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java similarity index 62% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java index e8c3c51c5..abd64c795 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java @@ -1,9 +1,4 @@ -package com.ruoyi.system.mapperyada; - -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import org.apache.ibatis.annotations.Param; - -import java.util.List; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java similarity index 77% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java index e339fd37b..980722926 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionVGIMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.mapperyada; +package com.ruoyi.system.mapper.yada; -import com.ruoyi.system.domainyada.RegionVGIVO; +import com.ruoyi.system.domain.yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java similarity index 62% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java index 55b39ac71..c07b3c37b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java @@ -1,9 +1,4 @@ -package com.ruoyi.system.mapperyada; - -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import org.apache.ibatis.annotations.Param; - -import java.util.List; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java index e6840960a..563d57327 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/UrbanMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapperyada; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java similarity index 62% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java index d06a59332..6a333c090 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java @@ -1,9 +1,4 @@ -package com.ruoyi.system.mapperyada; - -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import org.apache.ibatis.annotations.Param; - -import java.util.List; +package com.ruoyi.system.mapper.yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java index 1921e4d16..007368eaf 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java similarity index 80% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java index 7f0e9fa5e..fffc04126 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAustraliaMiddleEastService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java index 01940f7b4..6f1261472 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java index c8240d3d3..df72f6dc8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java similarity index 84% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java index 7ceb2dfb1..85d489453 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionVGIService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.RegionVGIVO; +import com.ruoyi.system.domain.yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java index ee8fd34bd..470d34059 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ISpecialReportService.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ISpecialReportService.java index cf8a3ddc6..0f677a36c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/ISpecialReportService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ISpecialReportService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; /** * 专题报告 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java similarity index 74% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java index 87d2ee389..06bff3eb0 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IUrbanService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; /** * 城市监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java similarity index 80% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java index 735ef2b19..4feac0d28 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada; +package com.ruoyi.system.service_yada; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index 43fda2ee2..c24c0f843 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IAorestCoverageService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IAorestCoverageService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java index 08f5bdbdc..c3b56bad9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AustraliaMiddleEastServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java index 850e17e9b..eeaa8e3ea 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IGlobalTypeService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IGlobalTypeService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java index 4e2a9f246..db85e5e8a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IOceanTemperatureService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java index c43c34507..f96daf849 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionVGIServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.mapperyada.RegionVGIMapper; -import com.ruoyi.system.serviceyada.IRegionVGIService; -import com.ruoyi.system.domainyada.RegionVGIVO; +import com.ruoyi.system.mapper.yada.RegionVGIMapper; +import com.ruoyi.system.service_yada.IRegionVGIService; +import com.ruoyi.system.domain.yada.RegionVGIVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java similarity index 76% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java index eaa8b905f..3d157e217 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IRegionalSystemService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IRegionalSystemService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/SpecialReportServiceimpl.java similarity index 59% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/SpecialReportServiceimpl.java index b728c81f9..e96cd19b8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/SpecialReportServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.serviceyada.ISpecialReportService; +import com.ruoyi.system.service_yada.ISpecialReportService; /** * 专题报告 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java similarity index 59% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java index 5a27f5bd5..d5c77966d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/UrbanServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.serviceyada.IUrbanService; +import com.ruoyi.system.service_yada.IUrbanService; /** * * 城市监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java similarity index 77% rename from ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java rename to ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java index 1a63f5445..ce42b685c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java @@ -1,8 +1,8 @@ -package com.ruoyi.system.serviceyada.impl; +package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; -import com.ruoyi.system.serviceyada.IVegetationCoverageService; +import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index 6c2bd79f3..eb2b30cb7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index f0f216d0c..a07f1cca8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -2,8 +2,8 @@ - - + + diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 40c87a5be..9cb3c61dc 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index 291d261e3..036b0f002 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml index 1b062c0bc..6fe8d1929 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml @@ -2,8 +2,8 @@ - - + + diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index e72f3cc24..1c7e73857 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml index 1d12cf809..17f090649 100644 --- a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index 809aa8bcb..5c1c63177 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file From c6fa4153565b00444f0bac9d6b7f30d3e5001b70 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Fri, 20 May 2022 14:42:13 +0800 Subject: [PATCH 05/26] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/web/controller/yada/AorestCoverageController.java | 2 +- .../web/controller/yada/AustraliaMiddleEastController.java | 2 +- .../com/ruoyi/web/controller/yada/GlobalTypeController.java | 2 +- .../ruoyi/web/controller/yada/OceanTemperatureController.java | 2 +- .../com/ruoyi/web/controller/yada/RegionVGIController.java | 2 +- .../ruoyi/web/controller/yada/RegionalSystemController.java | 2 +- .../java/com/ruoyi/web/controller/yada/UrbanController.java | 2 +- .../web/controller/yada/VegetationCoverageController.java | 2 +- .../system/{domain/yada => domain_yada}/AorestCoverageVO.java | 2 +- .../{domain/yada => domain_yada}/AustraliaMiddleEastVO.java | 2 +- .../system/{domain/yada => domain_yada}/GlobalTypeVO.java | 2 +- .../{domain/yada => domain_yada}/OceanTemperatureVO.java | 2 +- .../system/{domain/yada => domain_yada}/RegionVGIVO.java | 2 +- .../system/{domain/yada => domain_yada}/RegionalSystemVO.java | 2 +- .../system/{domain/yada => domain_yada}/SysBaseEntity.java | 2 +- .../{domain/yada => domain_yada}/VegetationCoverageVO.java | 2 +- .../{mapper/yada => mapper_yada}/AorestCoverageMapper.java | 2 +- .../yada => mapper_yada}/AustraliaMiddleEastMapper.java | 4 ++-- .../system/{mapper/yada => mapper_yada}/GlobalTypeMapper.java | 2 +- .../{mapper/yada => mapper_yada}/OceanTemperatureMapper.java | 2 +- .../system/{mapper/yada => mapper_yada}/RegionVGIMapper.java | 4 ++-- .../{mapper/yada => mapper_yada}/RegionalSystemMapper.java | 2 +- .../system/{mapper/yada => mapper_yada}/UrbanMapper.java | 2 +- .../yada => mapper_yada}/VegetationCoverageMapper.java | 2 +- .../com/ruoyi/system/service_yada/IAorestCoverageService.java | 2 +- .../system/service_yada/IAustraliaMiddleEastService.java | 2 +- .../com/ruoyi/system/service_yada/IGlobalTypeService.java | 2 +- .../ruoyi/system/service_yada/IOceanTemperatureService.java | 2 +- .../java/com/ruoyi/system/service_yada/IRegionVGIService.java | 2 +- .../com/ruoyi/system/service_yada/IRegionalSystemService.java | 2 +- .../ruoyi/system/service_yada/IVegetationCoverageService.java | 2 +- .../system/service_yada/impl/AorestCoverageServiceimpl.java | 4 ++-- .../service_yada/impl/AustraliaMiddleEastServiceimpl.java | 4 ++-- .../ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java | 4 ++-- .../system/service_yada/impl/OceanTemperatureServiceimpl.java | 4 ++-- .../ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java | 4 ++-- .../system/service_yada/impl/RegionalSystemServiceimpl.java | 4 ++-- .../service_yada/impl/VegetationCoverageServiceimpl.java | 4 ++-- .../resources/mapper/system/AustraliaMiddleEastMapper.xml | 2 +- .../src/main/resources/mapper/system/RegionVGIMapper.xml | 2 +- 40 files changed, 49 insertions(+), 49 deletions(-) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/AorestCoverageVO.java (90%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/AustraliaMiddleEastVO.java (98%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/GlobalTypeVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/OceanTemperatureVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/RegionVGIVO.java (98%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/RegionalSystemVO.java (75%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/SysBaseEntity.java (97%) rename ruoyi-system/src/main/java/com/ruoyi/system/{domain/yada => domain_yada}/VegetationCoverageVO.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/AorestCoverageMapper.java (87%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/AustraliaMiddleEastMapper.java (79%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/GlobalTypeMapper.java (87%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/OceanTemperatureMapper.java (87%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/RegionVGIMapper.java (77%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/RegionalSystemMapper.java (87%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/UrbanMapper.java (71%) rename ruoyi-system/src/main/java/com/ruoyi/system/{mapper/yada => mapper_yada}/VegetationCoverageMapper.java (87%) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index 6741b47a8..e4c956707 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index b94786060..b5a34ba35 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -2,7 +2,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index b52e637af..3688a405b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index 6da1ac27d..a49c90257 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java index dc1060c4d..0c5dfd53d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -2,7 +2,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IRegionVGIService; -import com.ruoyi.system.domain.yada.RegionVGIVO; +import com.ruoyi.system.domain_yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index 7d50baff3..b4e368ef1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index 0d52b1a92..e37af0c41 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 5081c8a3b..9c898ed93 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -1,7 +1,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java similarity index 90% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java index f1a2121a8..697d73bc4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; /** * 森林覆盖率 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java similarity index 98% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java index e699b78cb..48f77d2fd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; import java.time.LocalDate; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java index e5a664897..4666755e3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; /** * 全球各类型占比 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java index 85c26b8fc..79d7aa622 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/OceanTemperatureVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; /**+ * 海面温度监测 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java similarity index 98% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java index f6172ffa1..49bb6f307 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionVGIVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; import java.io.Serializable; import java.time.LocalDate; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java similarity index 75% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java index 4ee6f5c5a..7f807bbb1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/RegionalSystemVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; /** * 区域生态系统 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java similarity index 97% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java index 5fc2fd9c5..bdef7faee 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/SysBaseEntity.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; import java.io.Serializable; import java.time.LocalDateTime; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java rename to ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java index 7ad480ba7..c0f8daa65 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/yada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.domain.yada; +package com.ruoyi.system.domain_yada; /** * 平均植被覆盖度和净初级生产力 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java similarity index 87% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java index f0a7188ee..ddce23614 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AustraliaMiddleEastMapper.java similarity index 79% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AustraliaMiddleEastMapper.java index a0577cb1a..3f2aceefa 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/AustraliaMiddleEastMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AustraliaMiddleEastMapper.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java similarity index 87% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java index 6086f06f2..ca10f21a6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java similarity index 87% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java index abd64c795..ff5594d07 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionVGIMapper.java similarity index 77% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionVGIMapper.java index 980722926..601e56c28 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionVGIMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionVGIMapper.java @@ -1,6 +1,6 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; -import com.ruoyi.system.domain.yada.RegionVGIVO; +import com.ruoyi.system.domain_yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java similarity index 87% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java index c07b3c37b..9fde98f60 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/RegionalSystemMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java similarity index 71% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java index 563d57327..a3e80c76c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/UrbanMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java similarity index 87% rename from ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java rename to ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java index 6a333c090..977c0d111 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/yada/VegetationCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java @@ -1,4 +1,4 @@ -package com.ruoyi.system.mapper.yada; +package com.ruoyi.system.mapper_yada; /** * @Author: JinSheng Song diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java index 007368eaf..b43289501 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java index fffc04126..ad863b16d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAustraliaMiddleEastService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java index 6f1261472..3d9787e52 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java index df72f6dc8..ce17df7ef 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java index 85d489453..489c2d448 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionVGIService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.RegionVGIVO; +import com.ruoyi.system.domain_yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java index 470d34059..9a7126571 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java index 4feac0d28..be6e70782 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java @@ -1,6 +1,6 @@ package com.ruoyi.system.service_yada; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index c24c0f843..007d88880 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -1,7 +1,7 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAorestCoverageService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java index c3b56bad9..69eaec77d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java @@ -1,8 +1,8 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java index eeaa8e3ea..905344219 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java @@ -1,7 +1,7 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IGlobalTypeService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java index db85e5e8a..5f80f27be 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java @@ -1,7 +1,7 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java index f96daf849..7218cb98b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java @@ -1,8 +1,8 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.mapper.yada.RegionVGIMapper; +import com.ruoyi.system.mapper_yada.RegionVGIMapper; import com.ruoyi.system.service_yada.IRegionVGIService; -import com.ruoyi.system.domain.yada.RegionVGIVO; +import com.ruoyi.system.domain_yada.RegionVGIVO; import org.springframework.beans.factory.annotation.Autowired; import java.util.List; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java index 3d157e217..08933a0ac 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java @@ -1,7 +1,7 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IRegionalSystemService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java index ce42b685c..62b71f4ae 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java @@ -1,7 +1,7 @@ package com.ruoyi.system.service_yada.impl; -import com.ruoyi.system.domain.yada.AustraliaMiddleEastVO; -import com.ruoyi.system.mapper.yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.springframework.beans.factory.annotation.Autowired; diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index a07f1cca8..fd27fae43 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -3,7 +3,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml index 6fe8d1929..f3e5328db 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml @@ -3,7 +3,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + From afa068f47780a71aad9f8566c1f9068504ee5730 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Fri, 20 May 2022 15:17:51 +0800 Subject: [PATCH 06/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9mapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 2 +- .../system/domain_yada/AorestCoverageVO.java | 65 ++++++++++++++++++- .../mapper/system/AorestCoverageMapper.xml | 2 +- .../system/AustraliaMiddleEastMapper.xml | 2 +- .../mapper/system/GlobalTypeMapper.xml | 2 +- .../mapper/system/OceanTemperatureMapper.xml | 2 +- .../mapper/system/RegionVGIMapper.xml | 2 +- .../mapper/system/RegionalSystemMapper.xml | 2 +- .../resources/mapper/system/UrbanMapper.xml | 2 +- .../system/VegetationCoverageMapper.xml | 2 +- 10 files changed, 73 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index eda7f36e9..0bbaeb4f1 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -71,7 +71,7 @@ spring: # 数据库索引 database: 3 # 密码 - password: sdust2020 + password: yhy_app # 连接超时时间 timeout: 10s lettuce: diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java index 697d73bc4..02fea0533 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java @@ -5,7 +5,7 @@ package com.ruoyi.system.domain_yada; * @Author: JinSheng Song * @Date: 2022/5/20 14:06 */ -public class AorestCoverageVO { +public class AorestCoverageVO extends SysBaseEntity { private String id; @@ -23,4 +23,67 @@ public class AorestCoverageVO { private String nonMountain; + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getParticularYear() { + return particularYear; + } + + public void setParticularYear(String particularYear) { + this.particularYear = particularYear; + } + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getRegionEn() { + return regionEn; + } + + public void setRegionEn(String regionEn) { + this.regionEn = regionEn; + } + + public String getProtectedLands() { + return protectedLands; + } + + public void setProtectedLands(String protectedLands) { + this.protectedLands = protectedLands; + } + + public String getNonProtectedLands() { + return nonProtectedLands; + } + + public void setNonProtectedLands(String nonProtectedLands) { + this.nonProtectedLands = nonProtectedLands; + } + + public String getMountain() { + return mountain; + } + + public void setMountain(String mountain) { + this.mountain = mountain; + } + + public String getNonMountain() { + return nonMountain; + } + + public void setNonMountain(String nonMountain) { + this.nonMountain = nonMountain; + } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index eb2b30cb7..2f5f8d371 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index fd27fae43..83a9015e8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -2,7 +2,7 @@ - + diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 9cb3c61dc..1c423e4d2 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index 036b0f002..588e289d3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml index f3e5328db..e4dea3357 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml @@ -2,7 +2,7 @@ - + diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index 1c7e73857..e1db72f9d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml index 17f090649..45ba48a7d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index 5c1c63177..da8ae0ab5 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file From a51c6872d866b1e4b6236f3aade961c2b87c0ca8 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Fri, 20 May 2022 16:59:45 +0800 Subject: [PATCH 07/26] =?UTF-8?q?=E9=A3=9E=E6=9C=BA=E2=9C=88=E4=BF=9D?= =?UTF-8?q?=E4=BD=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/RuoYiApplication.java | 2 + .../yada/ThematicMapController.java | 70 +++++++++ .../src/main/resources/application.yml | 6 +- ruoyi-admin/src/main/resources/banner.txt | 48 ++++--- .../system/domain_yada/SysBaseEntity.java | 56 ++++---- .../system/domain_yada/ThematicMapDomain.java | 133 ++++++++++++++++++ .../domain_yada/VegetationCoverageVO.java | 6 +- .../system/mapper_yada/ThematicMapMapper.java | 34 +++++ .../service_yada/ThematicMapService.java | 36 +++++ .../impl/ThematicMapServiceImpl.java | 49 +++++++ .../mapper/system/ThematicMapMapper.xml | 63 +++++++++ 11 files changed, 449 insertions(+), 54 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/ThematicMapMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ThematicMapService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/ThematicMapServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index 9639bc9c3..01606a4d8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -1,5 +1,6 @@ package com.ruoyi; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -9,6 +10,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; * * @author ruoyi */ +@MapperScan("com.ruoyi.system.mapper_yada") @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) public class RuoYiApplication { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java new file mode 100644 index 000000000..be6286759 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -0,0 +1,70 @@ +package com.ruoyi.web.controller.yada; + +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domain_yada.ThematicMapDomain; +import com.ruoyi.system.service_yada.ThematicMapService; +import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.List; + +/** + * 中国城市监测 + * @Author: JinSheng Song + * @Date: 2022/5/11 10:55 + */ +@RestController +@RequestMapping(value = "/api/thematic-map") +public class ThematicMapController { + + @Resource + private ThematicMapService thematicMapService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/get/all",method = {RequestMethod.GET}) + public AjaxResult selectAllThematicMap(HttpServletResponse response, HttpServletRequest request) + { + List res= thematicMapService.selectAll(); + return AjaxResult.success(res); + } + + /** + * 删除方法 + * @param id + * @return + */ + @RequestMapping(value = "/delete",method = {RequestMethod.DELETE}) + public AjaxResult deleteThematicMap(@Param("id") Long id) + { + int num = thematicMapService.deleteById(id); + if (num>0) { + return AjaxResult.success(); + } + return AjaxResult.error(); + } + + /** + * 新增方法 + * @param thematicMapDomain + * @return + */ + @RequestMapping(value = "/add",method = {RequestMethod.POST}) + public AjaxResult saveThematicMap(ThematicMapDomain thematicMapDomain) + { + int num = thematicMapService.save(thematicMapDomain); + if (num>0) { + return AjaxResult.success(); + } + return AjaxResult.error(); + } +} diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 0bbaeb4f1..1111fce20 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -71,7 +71,7 @@ spring: # 数据库索引 database: 3 # 密码 - password: yhy_app + password: sdust2020 # 连接超时时间 timeout: 10s lettuce: @@ -97,9 +97,9 @@ token: # MyBatis配置 mybatis: # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain + typeAliasesPackage: com.ruoyi.**.domain,com.ruoyi.**.domain_yada # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml + mapperLocations: classpath*:mapper/**/*Mapper.xml,classpath*:mapper_yada/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml diff --git a/ruoyi-admin/src/main/resources/banner.txt b/ruoyi-admin/src/main/resources/banner.txt index a02645ec3..8e65fd3ab 100644 --- a/ruoyi-admin/src/main/resources/banner.txt +++ b/ruoyi-admin/src/main/resources/banner.txt @@ -1,24 +1,34 @@ Application Version: ${ruoyi.version} Spring Boot Version: ${spring-boot.version} //////////////////////////////////////////////////////////////////// -// _ooOoo_ // -// o6666666o // -// 88" . "88 // -// (| ^_^ |) // -// O\ = /O // -// ____/`---'\____ // -// .' \\| |// `. // -// / \\||| : |||// \ // -// / _||||| -:- |||||- \ // -// | | \\\ - /// | | // -// | \_| ''\---/'' | | // -// \ .-\__ `-` ___/-. / // -// ___`. .' /--.--\ `. . ___ // -// ."" '< `.___\_<|>_/___.' >'"". // -// | | : `- \`.;`\ _ /`;.`/ - ` : | | // -// \ \ `-. \_ __\ /__ _/ .-` / / // -// ========`-.____`-.___\_____/___.-`____.-'======== // -// `=---=' // + /\ + | | + | | + .' '. + | | + | | + | /\ | + .' |__|'. + | | | | + .' | | '. + /\ | \__/ | /\ + | | | | | | | | + /| | |,-\ | | /-,| | |\ + || |,-' | | | | '-,| || + ||-' | | | | '-|| +|\ _,-' | | | | '-,_ /| +|| ,-' _ | | | | '-, || +||-' =(*)= | | | | '-|| +|| | \ / | || +|\________....--------\ || /--------....________/| + /| || |\ + / | || | \ + / | \/ | \ + / | | \ + // .| |. \\ + .' |_./ | | \._| '. + / _.-||| |||-._ \ + \__.-' \||/\||/ '-.__/ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // -// 佛祖保佑 永不宕机 永无BUG // +// 飞机保佑 永不宕机 永无BUG // //////////////////////////////////////////////////////////////////// \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java index bdef7faee..527685c9c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java @@ -15,67 +15,61 @@ public class SysBaseEntity implements Serializable private static final long serialVersionUID = 1L; /** 创建者 */ - private String createBy; + private String createdBy; /** 创建时间 */ - private LocalDateTime createTime; + private LocalDateTime createdTime; /** 更新者 */ - private String updateBy; + private String updatedBy; /** 更新时间 */ - private LocalDateTime updateTime; + private LocalDateTime updatedTime; /** 备注 */ - private String remark; + private String remarks; /** 请求参数 */ private Map params; - public String getCreateBy() - { - return createBy; + public String getCreatedBy() { + return createdBy; } - public void setCreateBy(String createBy) - { - this.createBy = createBy; + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; } - public LocalDateTime getCreateTime() { - return createTime; + public LocalDateTime getCreatedTime() { + return createdTime; } - public void setCreateTime(LocalDateTime createTime) { - this.createTime = createTime; + public void setCreatedTime(LocalDateTime createdTime) { + this.createdTime = createdTime; } - public String getUpdateBy() - { - return updateBy; + public String getUpdatedBy() { + return updatedBy; } - public void setUpdateBy(String updateBy) - { - this.updateBy = updateBy; + public void setUpdatedBy(String updatedBy) { + this.updatedBy = updatedBy; } - public LocalDateTime getUpdateTime() { - return updateTime; + public LocalDateTime getUpdatedTime() { + return updatedTime; } - public void setUpdateTime(LocalDateTime updateTime) { - this.updateTime = updateTime; + public void setUpdatedTime(LocalDateTime updatedTime) { + this.updatedTime = updatedTime; } - public String getRemark() - { - return remark; + public String getRemarks() { + return remarks; } - public void setRemark(String remark) - { - this.remark = remark; + public void setRemarks(String remarks) { + this.remarks = remarks; } public Map getParams() diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java new file mode 100644 index 000000000..49908b895 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java @@ -0,0 +1,133 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDateTime; + +/** + * 专题图实体类 + * @Author: taco chen + * @Date: 2022/5/20 14:09 + */ +public class ThematicMapDomain extends SysBaseEntity { + + private Long id; + + private String pictureZh; + + private String pictureEn; + + private String pictureName; + + private String pictureType; + + private LocalDateTime pictureTime; + + private String picturePath; + + private String remarks; + + private String createdBy; + + private LocalDateTime createdTime; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getPictureZh() { + return pictureZh; + } + + public void setPictureZh(String pictureZh) { + this.pictureZh = pictureZh; + } + + public String getPictureEn() { + return pictureEn; + } + + public void setPictureEn(String pictureEn) { + this.pictureEn = pictureEn; + } + + public String getPictureName() { + return pictureName; + } + + public void setPictureName(String pictureName) { + this.pictureName = pictureName; + } + + public String getPictureType() { + return pictureType; + } + + public void setPictureType(String pictureType) { + this.pictureType = pictureType; + } + + public LocalDateTime getPictureTime() { + return pictureTime; + } + + public void setPictureTime(LocalDateTime pictureTime) { + this.pictureTime = pictureTime; + } + + public String getPicturePath() { + return picturePath; + } + + public void setPicturePath(String picturePath) { + this.picturePath = picturePath; + } + + @Override + public String getRemarks() { + return remarks; + } + + @Override + public void setRemarks(String remarks) { + this.remarks = remarks; + } + + @Override + public String getCreatedBy() { + return createdBy; + } + + @Override + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; + } + + @Override + public LocalDateTime getCreatedTime() { + return createdTime; + } + + @Override + public void setCreatedTime(LocalDateTime createdTime) { + this.createdTime = createdTime; + } + + @Override + public String toString() { + return "ThematicMapDomain{" + + "id=" + id + + ", pictureZh='" + pictureZh + '\'' + + ", pictureEn='" + pictureEn + '\'' + + ", pictureName='" + pictureName + '\'' + + ", pictureType='" + pictureType + '\'' + + ", pictureTime=" + pictureTime + + ", picturePath='" + picturePath + '\'' + + ", remarks='" + remarks + '\'' + + ", createdBy='" + createdBy + '\'' + + ", createdTime=" + createdTime + + '}'; + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java index c0f8daa65..e23064064 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java @@ -1,9 +1,13 @@ package com.ruoyi.system.domain_yada; +import java.time.LocalDateTime; + /** * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 */ -public class VegetationCoverageVO { +public class VegetationCoverageVO extends SysBaseEntity { + + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/ThematicMapMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/ThematicMapMapper.java new file mode 100644 index 000000000..3b03a98ab --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/ThematicMapMapper.java @@ -0,0 +1,34 @@ +package com.ruoyi.system.mapper_yada; + +import com.ruoyi.system.domain_yada.ThematicMapDomain; +import org.apache.ibatis.annotations.Mapper; +import org.springframework.stereotype.Repository; + +import java.util.List; + +/** + * @author taco chen + */ +public interface ThematicMapMapper { + + /** + * 获取所有专题图 + * @return + */ + List selectAllThematicMap(); + + /** + * 删除专题图根据编号 + * @param id 编号 + * @return + */ + Integer deleteThematicMap(Long id); + + /** + * 保存专题图 + * @param thematicMapDomain + * @return + */ + Integer saveThematicMap(ThematicMapDomain thematicMapDomain); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ThematicMapService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ThematicMapService.java new file mode 100644 index 000000000..2c46ef4b6 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/ThematicMapService.java @@ -0,0 +1,36 @@ +package com.ruoyi.system.service_yada; + +import com.ruoyi.system.domain_yada.ThematicMapDomain; + +import java.util.List; + +/** + * 专题图服务 + * @Author: taco chen + * @Date: 2022/5/11 11:40 + */ +public interface ThematicMapService { + + + /** + * 获取全部专题图 + * @return + */ + List selectAll(); + + /** + * 删除专题图根据编号 + * @param id 编号 + * @return + */ + Integer deleteById(Long id); + + /** + * 保存专题图 + * @param thematicMapDomain + * @return + */ + Integer save(ThematicMapDomain thematicMapDomain); + + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/ThematicMapServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/ThematicMapServiceImpl.java new file mode 100644 index 000000000..3231ee023 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/ThematicMapServiceImpl.java @@ -0,0 +1,49 @@ +package com.ruoyi.system.service_yada.impl; + +import com.ruoyi.system.domain_yada.ThematicMapDomain; +import com.ruoyi.system.mapper_yada.ThematicMapMapper; +import com.ruoyi.system.service_yada.ThematicMapService; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.util.List; + +/** + * * 专题图服务 + * @author : taco chen + */ +@Service +public class ThematicMapServiceImpl implements ThematicMapService { + + @Resource + private ThematicMapMapper thematicMapMapper; + + /** + * 获取全部专题图 + * @return + */ + @Override + public List selectAll(){ + return thematicMapMapper.selectAllThematicMap(); + } + + /** + * 删除专题图根据编号 + * @param id 编号 + * @return + */ + @Override + public Integer deleteById(Long id){ + return thematicMapMapper.deleteThematicMap(id); + } + + /** + * 保存专题图 + * @param thematicMapDomain + * @return + */ + @Override + public Integer save(ThematicMapDomain thematicMapDomain){ + return thematicMapMapper.saveThematicMap(thematicMapDomain); + } +} diff --git a/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml new file mode 100644 index 000000000..8bc6ab2a5 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + DELETE FROM thematic_map + WHERE ID=#{id} + + + + + + + \ No newline at end of file From d262ec6b724579ffa4d373a1309fb08a073f05a2 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Mon, 23 May 2022 09:39:52 +0800 Subject: [PATCH 08/26] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/yada/ThematicMapController.java | 2 +- ruoyi-admin/src/main/resources/application.yml | 3 ++- ruoyi-ui/.env.development | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java index be6286759..3b01a3023 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -19,7 +19,7 @@ import java.util.List; * @Date: 2022/5/11 10:55 */ @RestController -@RequestMapping(value = "/api/thematic-map") +@RequestMapping(value = "/thematic-map") public class ThematicMapController { @Resource diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 1111fce20..a65a211fe 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,7 +18,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 8080 + port: 9900 servlet: # 应用的访问路径 context-path: / @@ -116,6 +116,7 @@ swagger: # 请求前缀 pathMapping: /dev-api + # 防止XSS攻击 xss: # 过滤开关 diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index 18b2a3ed4..6f3363e21 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = '/dev-api' +VUE_APP_BASE_API = 'http://192.168.2.105:9900' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true From 7cfae514eab0dfca09db2ff7107d7ba789dd7c21 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Mon, 23 May 2022 09:42:20 +0800 Subject: [PATCH 09/26] =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=99=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yada/AorestCoverageController.java | 22 ++--- .../controller/yada/GlobalTypeController.java | 22 ++--- .../yada/OceanTemperatureController.java | 20 +++-- .../yada/RegionalSystemController.java | 23 ++--- .../web/controller/yada/UrbanController.java | 22 ++--- .../yada/VegetationCoverageController.java | 22 ++--- .../src/main/resources/application.yml | 2 +- .../system/domain_yada/AorestCoverageVO.java | 24 +++--- .../domain_yada/AustraliaMiddleEastVO.java | 23 +++-- .../system/domain_yada/GlobalTypeVO.java | 62 +++++++++++++- .../domain_yada/OceanTemperatureVO.java | 55 +++++++++++- .../system/domain_yada/RegionalSystemVO.java | 72 +++++++++++++++- .../com/ruoyi/system/domain_yada/UrbanVO.java | 61 ++++++++++++++ .../domain_yada/VegetationCoverageVO.java | 84 ++++++++++++++++++- .../mapper_yada/AorestCoverageMapper.java | 15 ++-- .../system/mapper_yada/GlobalTypeMapper.java | 15 ++-- .../mapper_yada/OceanTemperatureMapper.java | 16 ++-- .../mapper_yada/RegionalSystemMapper.java | 15 ++-- .../ruoyi/system/mapper_yada/UrbanMapper.java | 12 +++ .../mapper_yada/VegetationCoverageMapper.java | 15 ++-- .../service_yada/IAorestCoverageService.java | 7 +- .../service_yada/IGlobalTypeService.java | 7 +- .../IOceanTemperatureService.java | 7 +- .../service_yada/IRegionalSystemService.java | 7 +- .../system/service_yada/IUrbanService.java | 11 +++ .../IVegetationCoverageService.java | 7 +- .../impl/AorestCoverageServiceimpl.java | 19 +++-- .../impl/GlobalTypeServiceimpl.java | 19 +++-- .../impl/OceanTemperatureServiceimpl.java | 19 +++-- .../impl/RegionalSystemServiceimpl.java | 20 +++-- .../service_yada/impl/UrbanServiceimpl.java | 25 ++++++ .../impl/VegetationCoverageServiceimpl.java | 19 +++-- .../mapper/system/AorestCoverageMapper.xml | 56 +++++++++++++ .../system/AustraliaMiddleEastMapper.xml | 2 +- .../mapper/system/GlobalTypeMapper.xml | 50 +++++++++++ .../mapper/system/OceanTemperatureMapper.xml | 47 +++++++++++ .../mapper/system/RegionalSystemMapper.xml | 52 ++++++++++++ .../resources/mapper/system/UrbanMapper.xml | 47 +++++++++++ .../system/VegetationCoverageMapper.xml | 55 ++++++++++++ 39 files changed, 904 insertions(+), 174 deletions(-) create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UrbanVO.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index e4c956707..e805a6d1b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,7 +1,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domain_yada.AorestCoverageVO; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.service_yada.IAorestCoverageService; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") public class AorestCoverageController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IAorestCoverageService service; /** * 查询方法 @@ -29,10 +31,10 @@ public class AorestCoverageController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.POST}) + public AjaxResult selectAorestCoverage(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= service.selectAorestCoverage(); return AjaxResult.success(eastVOSList); } @@ -41,10 +43,10 @@ public class AorestCoverageController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.POST}) + public AjaxResult DelAorestCoverage(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = service.DelAorestCoverage(ID); if (NUM>0) { return AjaxResult.success(); @@ -58,10 +60,10 @@ public class AorestCoverageController { * @param eastVOS * @return */ - @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + @RequestMapping(value = "/IntoAorestCoverage",method = {RequestMethod.POST}) + public AjaxResult IntoAorestCoverage(AorestCoverageVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = service.IntoAorestCoverage(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 3688a405b..13412d4f1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.GlobalTypeVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.IGlobalTypeService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping("/monitor/clobal") public class GlobalTypeController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IGlobalTypeService typeService; /** * 查询方法 @@ -29,10 +31,10 @@ public class GlobalTypeController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST}) + public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= typeService.selectGlobalType(); return AjaxResult.success(eastVOSList); } @@ -41,10 +43,10 @@ public class GlobalTypeController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelGlobalType",method = {RequestMethod.POST}) + public AjaxResult DelGlobalType(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = typeService.DelGlobalType(ID); if (NUM>0) { return AjaxResult.success(); @@ -58,10 +60,10 @@ public class GlobalTypeController { * @param eastVOS * @return */ - @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + @RequestMapping(value = "/IntoGlobalType",method = {RequestMethod.POST}) + public AjaxResult IntoGlobalType(GlobalTypeVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = typeService.IntoGlobalType(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index a49c90257..6b8be70f7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.OceanTemperatureVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") public class OceanTemperatureController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IOceanTemperatureService temperatureService; /** * 查询方法 @@ -29,10 +31,10 @@ public class OceanTemperatureController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectOcean",method = {RequestMethod.POST}) + public AjaxResult selectOcean(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= temperatureService.selectOcean(); return AjaxResult.success(eastVOSList); } @@ -41,10 +43,10 @@ public class OceanTemperatureController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelOcean",method = {RequestMethod.POST}) + public AjaxResult DelOcean(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = temperatureService.DelOcean(ID); if (NUM>0) { return AjaxResult.success(); @@ -59,9 +61,9 @@ public class OceanTemperatureController { * @return */ @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + public AjaxResult IntoOcean(OceanTemperatureVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = temperatureService.IntoOcean(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index b4e368ef1..ab07b1012 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -2,7 +2,10 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.RegionVGIVO; +import com.ruoyi.system.domain_yada.RegionalSystemVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.IRegionalSystemService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -21,7 +24,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") public class RegionalSystemController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IRegionalSystemService systemService; /** * 查询方法 @@ -29,10 +32,10 @@ public class RegionalSystemController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectRegional",method = {RequestMethod.POST}) + public AjaxResult selectRegional(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= systemService.selectRegional(); return AjaxResult.success(eastVOSList); } @@ -41,10 +44,10 @@ public class RegionalSystemController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelRegional",method = {RequestMethod.POST}) + public AjaxResult DelRegional(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = systemService.DelRegional(ID); if (NUM>0) { return AjaxResult.success(); @@ -58,10 +61,10 @@ public class RegionalSystemController { * @param eastVOS * @return */ - @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + @RequestMapping(value = "/IntoRegional",method = {RequestMethod.POST}) + public AjaxResult IntoRegional(RegionalSystemVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = systemService.IntoRegional(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index e37af0c41..b2343fc86 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.UrbanVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.IUrbanService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") public class UrbanController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IUrbanService urbanService; /** * 查询方法 @@ -29,10 +31,10 @@ public class UrbanController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectUrban",method = {RequestMethod.POST}) + public AjaxResult selectUrban(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= urbanService.selectUrban(); return AjaxResult.success(eastVOSList); } @@ -41,10 +43,10 @@ public class UrbanController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelUrban",method = {RequestMethod.POST}) + public AjaxResult DelUrban(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = urbanService.DelUrban(ID); if (NUM>0) { return AjaxResult.success(); @@ -58,10 +60,10 @@ public class UrbanController { * @param eastVOS * @return */ - @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + @RequestMapping(value = "/IntoUrban",method = {RequestMethod.POST}) + public AjaxResult IntoUrban(UrbanVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = urbanService.IntoUrban(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 9c898ed93..df651c8e5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.VegetationCoverageVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") public class VegetationCoverageController { //@Autowired - private IAustraliaMiddleEastService australiaMiddleEastService; + private IVegetationCoverageService coverageService; /** * 查询方法 @@ -29,10 +31,10 @@ public class VegetationCoverageController { * @param request * @return */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) - public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + @RequestMapping(value = "/selectVegetation",method = {RequestMethod.POST}) + public AjaxResult selectVegetation(HttpServletResponse response, HttpServletRequest request) { - List eastVOSList= australiaMiddleEastService.selectAustralia(); + List eastVOSList= coverageService.selectVegetation(); return AjaxResult.success(eastVOSList); } @@ -41,10 +43,10 @@ public class VegetationCoverageController { * @param ID * @return */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) - public AjaxResult DelAustralia(@Param("ID") String ID) + @RequestMapping(value = "/DelVegetation",method = {RequestMethod.POST}) + public AjaxResult DelVegetation(@Param("ID") String ID) { - int NUM = australiaMiddleEastService.DelAustralia(ID); + int NUM = coverageService.DelVegetation(ID); if (NUM>0) { return AjaxResult.success(); @@ -58,10 +60,10 @@ public class VegetationCoverageController { * @param eastVOS * @return */ - @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + @RequestMapping(value = "/IntoVegetation",method = {RequestMethod.POST}) + public AjaxResult IntoVegetation(VegetationCoverageVO eastVOS) { - int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + int NUM = coverageService.IntoVegetation(eastVOS); if (NUM>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 0bbaeb4f1..eda7f36e9 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -71,7 +71,7 @@ spring: # 数据库索引 database: 3 # 密码 - password: yhy_app + password: sdust2020 # 连接超时时间 timeout: 10s lettuce: diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java index 02fea0533..4129f3b7e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AorestCoverageVO.java @@ -15,13 +15,13 @@ public class AorestCoverageVO extends SysBaseEntity { private String regionEn; - private String protectedLands; + private Double protectedLands; - private String nonProtectedLands; + private Double nonProtectedLands; - private String mountain; + private Double mountain; - private String nonMountain; + private Double nonMountain; public String getId() { return id; @@ -55,35 +55,35 @@ public class AorestCoverageVO extends SysBaseEntity { this.regionEn = regionEn; } - public String getProtectedLands() { + public Double getProtectedLands() { return protectedLands; } - public void setProtectedLands(String protectedLands) { + public void setProtectedLands(Double protectedLands) { this.protectedLands = protectedLands; } - public String getNonProtectedLands() { + public Double getNonProtectedLands() { return nonProtectedLands; } - public void setNonProtectedLands(String nonProtectedLands) { + public void setNonProtectedLands(Double nonProtectedLands) { this.nonProtectedLands = nonProtectedLands; } - public String getMountain() { + public Double getMountain() { return mountain; } - public void setMountain(String mountain) { + public void setMountain(Double mountain) { this.mountain = mountain; } - public String getNonMountain() { + public Double getNonMountain() { return nonMountain; } - public void setNonMountain(String nonMountain) { + public void setNonMountain(Double nonMountain) { this.nonMountain = nonMountain; } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java index 48f77d2fd..87fe6a59d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java @@ -6,7 +6,7 @@ import java.time.LocalDate; * @Author: JinSheng Song * @Date: 2022/5/19 14:50 */ -public class AustraliaMiddleEastVO +public class AustraliaMiddleEastVO extends SysBaseEntity { private String id; @@ -22,8 +22,15 @@ public class AustraliaMiddleEastVO private String createdBy; - private String createdTime; + private LocalDate createdTime; + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } public LocalDate getYearMonth() { return yearMonth; @@ -73,19 +80,11 @@ public class AustraliaMiddleEastVO this.createdBy = createdBy; } - public String getCreatedTime() { + public LocalDate getCreatedTime() { return createdTime; } - public void setCreatedTime(String createdTime) { + public void setCreatedTime(LocalDate createdTime) { this.createdTime = createdTime; } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java index 4666755e3..a1c20a217 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java @@ -5,5 +5,65 @@ package com.ruoyi.system.domain_yada; * @Author: JinSheng Song * @Date: 2022/5/20 14:07 */ -public class GlobalTypeVO { +public class GlobalTypeVO extends SysBaseEntity { + + private String id; + + private String typeName; + + private String typeNameEn; + + private Double areaProportion; + + private String area; + + private int particularYear; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getTypeName() { + return typeName; + } + + public void setTypeName(String typeName) { + this.typeName = typeName; + } + + public String getTypeNameEn() { + return typeNameEn; + } + + public void setTypeNameEn(String typeNameEn) { + this.typeNameEn = typeNameEn; + } + + public Double getAreaProportion() { + return areaProportion; + } + + public void setAreaProportion(Double areaProportion) { + this.areaProportion = areaProportion; + } + + public String getArea() { + return area; + } + + public void setArea(String area) { + this.area = area; + } + + public int getParticularYear() { + return particularYear; + } + + public void setParticularYear(int particularYear) { + this.particularYear = particularYear; + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java index 79d7aa622..121f4ac8b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/OceanTemperatureVO.java @@ -1,9 +1,62 @@ package com.ruoyi.system.domain_yada; +import java.time.LocalDate; + /**+ * 海面温度监测 * @Author: JinSheng Song * @Date: 2022/5/20 14:08 */ -public class OceanTemperatureVO { +public class OceanTemperatureVO extends SysBaseEntity +{ + + private String id; + + private Integer ninoPhenomenon; + + private Integer laNina; + + private LocalDate startDate; + + private LocalDate endDate; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getNinoPhenomenon() { + return ninoPhenomenon; + } + + public void setNinoPhenomenon(Integer ninoPhenomenon) { + this.ninoPhenomenon = ninoPhenomenon; + } + + public Integer getLaNina() { + return laNina; + } + + public void setLaNina(Integer laNina) { + this.laNina = laNina; + } + + public LocalDate getStartDate() { + return startDate; + } + + public void setStartDate(LocalDate startDate) { + this.startDate = startDate; + } + + public LocalDate getEndDate() { + return endDate; + } + + public void setEndDate(LocalDate endDate) { + this.endDate = endDate; + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java index 7f807bbb1..3a36550b4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionalSystemVO.java @@ -6,5 +6,75 @@ package com.ruoyi.system.domain_yada; * @Date: 2022/5/20 14:09 */ -public class RegionalSystemVO { +public class RegionalSystemVO extends SysBaseEntity{ + + private String id; + + private String region; + + private String regionEn; + + private String typeConversion; + + private String typeconversionEn; + + private Double proportionOfChangedAreas; + + private String particularYear; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getRegionEn() { + return regionEn; + } + + public void setRegionEn(String regionEn) { + this.regionEn = regionEn; + } + + public String getTypeConversion() { + return typeConversion; + } + + public void setTypeConversion(String typeConversion) { + this.typeConversion = typeConversion; + } + + public String getTypeconversionEn() { + return typeconversionEn; + } + + public void setTypeconversionEn(String typeconversionEn) { + this.typeconversionEn = typeconversionEn; + } + + public Double getProportionOfChangedAreas() { + return proportionOfChangedAreas; + } + + public void setProportionOfChangedAreas(Double proportionOfChangedAreas) { + this.proportionOfChangedAreas = proportionOfChangedAreas; + } + + public String getParticularYear() { + return particularYear; + } + + public void setParticularYear(String particularYear) { + this.particularYear = particularYear; + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UrbanVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UrbanVO.java new file mode 100644 index 000000000..04ce9382d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UrbanVO.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDate; + +/** + * 城市监测 + * @Author: JinSheng Song + * @Date: 2022/5/20 16:55 + */ +public class UrbanVO extends SysBaseEntity{ + + private String id; + + private String particularYear; + + private String name; + + private String nameEn; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getParticularYear() { + return particularYear; + } + + public void setParticularYear(String particularYear) { + this.particularYear = particularYear; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNameEn() { + return nameEn; + } + + public void setNameEn(String nameEn) { + this.nameEn = nameEn; + } + + public Double getUrbanArea() { + return urbanArea; + } + + public void setUrbanArea(Double urbanArea) { + this.urbanArea = urbanArea; + } + + private Double urbanArea; +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java index c0f8daa65..ad01b1bfb 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/VegetationCoverageVO.java @@ -1,9 +1,91 @@ package com.ruoyi.system.domain_yada; +import java.time.LocalDate; + /** * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 */ -public class VegetationCoverageVO { +public class VegetationCoverageVO extends SysBaseEntity +{ + private String id; + + private String region; + + private String regionEn; + + private String particularYear; + + private Double mountain; + + private Double nonMountain; + + private Double protectedLands; + + private Double nonProtectedLands; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getRegionEn() { + return regionEn; + } + + public void setRegionEn(String regionEn) { + this.regionEn = regionEn; + } + + public String getParticularYear() { + return particularYear; + } + + public void setParticularYear(String particularYear) { + this.particularYear = particularYear; + } + + public Double getMountain() { + return mountain; + } + + public void setMountain(Double mountain) { + this.mountain = mountain; + } + + public Double getNonMountain() { + return nonMountain; + } + + public void setNonMountain(Double nonMountain) { + this.nonMountain = nonMountain; + } + + public Double getProtectedLands() { + return protectedLands; + } + + public void setProtectedLands(Double protectedLands) { + this.protectedLands = protectedLands; + } + + public Double getNonProtectedLands() { + return nonProtectedLands; + } + + public void setNonProtectedLands(Double nonProtectedLands) { + this.nonProtectedLands = nonProtectedLands; + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java index ddce23614..0931f079f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java @@ -1,14 +1,19 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.AorestCoverageVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ public interface AorestCoverageMapper { -// List selectAustralia(); -// -// Integer DelAustralia(@Param("id") String id); -// -// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + List selectAorestCoverage(); + + Integer DelAorestCoverage(@Param("id") String id); + + Integer IntoAorestCoverage(AorestCoverageVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java index ca10f21a6..c6d93ba6c 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java @@ -1,14 +1,19 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.GlobalTypeVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ public interface GlobalTypeMapper { -// List selectAustralia(); -// -// Integer DelAustralia(@Param("id") String id); -// -// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + List selectGlobalType(); + + Integer DelGlobalType(@Param("id") String id); + + Integer IntoGlobalType(GlobalTypeVO typeVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java index ff5594d07..9b7a33567 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java @@ -1,14 +1,20 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.OceanTemperatureVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ public interface OceanTemperatureMapper { -// List selectAustralia(); -// -// Integer DelAustralia(@Param("id") String id); -// -// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + List selectOcean(); + + Integer DelOcean(@Param("id") String id); + + Integer IntoOcean(OceanTemperatureVO eastVO); + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java index 9fde98f60..6f7a342d3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/RegionalSystemMapper.java @@ -1,14 +1,19 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.RegionalSystemVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ public interface RegionalSystemMapper { -// List selectAustralia(); -// -// Integer DelAustralia(@Param("id") String id); -// -// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + List selectRegional(); + + Integer DelRegional(@Param("id") String id); + + Integer IntoRegional(RegionalSystemVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java index a3e80c76c..eb3e201d6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/UrbanMapper.java @@ -1,8 +1,20 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.UrbanVO; +import com.ruoyi.system.domain_yada.VegetationCoverageVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ public interface UrbanMapper { + + List selectUrban(); + + Integer DelUrban(@Param("id") String id); + + Integer IntoUrban(UrbanVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java index 977c0d111..1b34d8d5b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/VegetationCoverageMapper.java @@ -1,14 +1,19 @@ package com.ruoyi.system.mapper_yada; +import com.ruoyi.system.domain_yada.VegetationCoverageVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ public interface VegetationCoverageMapper { -// List selectAustralia(); -// -// Integer DelAustralia(@Param("id") String id); -// -// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + List selectVegetation(); + + Integer DelVegetation(@Param("id") String id); + + Integer IntoVegetation(VegetationCoverageVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java index b43289501..938d9b3bb 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java @@ -1,5 +1,6 @@ package com.ruoyi.system.service_yada; +import com.ruoyi.system.domain_yada.AorestCoverageVO; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; @@ -12,9 +13,9 @@ import java.util.List; */ public interface IAorestCoverageService { - public List selectAustralia(); + public List selectAorestCoverage(); - public Integer DelAustralia(@Param("id") String id); + public Integer DelAorestCoverage(@Param("id") String id); - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + public Integer IntoAorestCoverage(AorestCoverageVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java index 3d9787e52..e09d8a5d3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java @@ -1,6 +1,7 @@ package com.ruoyi.system.service_yada; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.GlobalTypeVO; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,9 +13,9 @@ import java.util.List; */ public interface IGlobalTypeService { - public List selectAustralia(); + public List selectGlobalType(); - public Integer DelAustralia(@Param("id") String id); + public Integer DelGlobalType(String id); - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + public Integer IntoGlobalType(GlobalTypeVO typeVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java index ce17df7ef..7191272d1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IOceanTemperatureService.java @@ -1,6 +1,7 @@ package com.ruoyi.system.service_yada; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.OceanTemperatureVO; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,9 +13,9 @@ import java.util.List; */ public interface IOceanTemperatureService { - public List selectAustralia(); + public List selectOcean(); - public Integer DelAustralia(@Param("id") String id); + public Integer DelOcean(@Param("id") String id); - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + public Integer IntoOcean(OceanTemperatureVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java index 9a7126571..77a381a51 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IRegionalSystemService.java @@ -1,6 +1,7 @@ package com.ruoyi.system.service_yada; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.RegionalSystemVO; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,9 +13,9 @@ import java.util.List; */ public interface IRegionalSystemService { - public List selectAustralia(); + public List selectRegional(); - public Integer DelAustralia(@Param("id") String id); + public Integer DelRegional(@Param("id") String id); - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + public Integer IntoRegional(RegionalSystemVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java index 06bff3eb0..1955c293f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IUrbanService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.service_yada; +import com.ruoyi.system.domain_yada.UrbanVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * 城市监测 * @Author: JinSheng Song * @Date: 2022/5/11 11:40 */ public interface IUrbanService { + + public List selectUrban(); + + public Integer DelUrban(@Param("id") String id); + + public Integer IntoUrban(UrbanVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java index be6e70782..350d0093e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IVegetationCoverageService.java @@ -1,6 +1,7 @@ package com.ruoyi.system.service_yada; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.VegetationCoverageVO; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,9 +13,9 @@ import java.util.List; */ public interface IVegetationCoverageService { - public List selectAustralia(); + public List selectVegetation(); - public Integer DelAustralia(@Param("id") String id); + public Integer DelVegetation(String id); - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); + public Integer IntoVegetation(VegetationCoverageVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index 007d88880..c1bb6a3c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -1,6 +1,8 @@ package com.ruoyi.system.service_yada.impl; +import com.ruoyi.system.domain_yada.AorestCoverageVO; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapper_yada.AorestCoverageMapper; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAorestCoverageService; import org.springframework.beans.factory.annotation.Autowired; @@ -14,22 +16,21 @@ import java.util.List; */ public class AorestCoverageServiceimpl implements IAorestCoverageService { @Autowired - private AustraliaMiddleEastMapper australiaMiddleEastMapper; + private AorestCoverageMapper coverageMapper; + @Override - public List selectAustralia() - { - return australiaMiddleEastMapper.selectAustralia(); + public List selectAorestCoverage() { + return coverageMapper.selectAorestCoverage(); } @Override - public Integer DelAustralia(String id) { - return australiaMiddleEastMapper.DelAustralia(id); - + public Integer DelAorestCoverage(String id) { + return coverageMapper.DelAorestCoverage(id); } @Override - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { - return australiaMiddleEastMapper.IntoAustralia(eastVO); + public Integer IntoAorestCoverage(AorestCoverageVO eastVO) { + return IntoAorestCoverage(eastVO); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java index 905344219..dbf2d9560 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java @@ -1,7 +1,9 @@ package com.ruoyi.system.service_yada.impl; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.GlobalTypeVO; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.mapper_yada.GlobalTypeMapper; import com.ruoyi.system.service_yada.IGlobalTypeService; import org.springframework.beans.factory.annotation.Autowired; @@ -15,22 +17,21 @@ import java.util.List; public class GlobalTypeServiceimpl implements IGlobalTypeService { @Autowired - private AustraliaMiddleEastMapper australiaMiddleEastMapper; + private GlobalTypeMapper typeMapper; + @Override - public List selectAustralia() - { - return australiaMiddleEastMapper.selectAustralia(); + public List selectGlobalType() { + return typeMapper.selectGlobalType(); } @Override - public Integer DelAustralia(String id) { - return australiaMiddleEastMapper.DelAustralia(id); - + public Integer DelGlobalType(String id) { + return typeMapper.DelGlobalType(id); } @Override - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { - return australiaMiddleEastMapper.IntoAustralia(eastVO); + public Integer IntoGlobalType(GlobalTypeVO typeVO) { + return typeMapper.IntoGlobalType(typeVO); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java index 5f80f27be..cf4208b05 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java @@ -1,7 +1,9 @@ package com.ruoyi.system.service_yada.impl; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.OceanTemperatureVO; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.mapper_yada.OceanTemperatureMapper; import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.springframework.beans.factory.annotation.Autowired; @@ -15,22 +17,21 @@ import java.util.List; public class OceanTemperatureServiceimpl implements IOceanTemperatureService { @Autowired - private AustraliaMiddleEastMapper australiaMiddleEastMapper; + private OceanTemperatureMapper oceanMapper; + @Override - public List selectAustralia() - { - return australiaMiddleEastMapper.selectAustralia(); + public List selectOcean() { + return oceanMapper.selectOcean(); } @Override - public Integer DelAustralia(String id) { - return australiaMiddleEastMapper.DelAustralia(id); - + public Integer DelOcean(String id) { + return oceanMapper.DelOcean(id); } @Override - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { - return australiaMiddleEastMapper.IntoAustralia(eastVO); + public Integer IntoOcean(OceanTemperatureVO eastVO) { + return oceanMapper.IntoOcean(eastVO); } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java index 08933a0ac..a34d7561e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java @@ -1,7 +1,9 @@ package com.ruoyi.system.service_yada.impl; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.RegionalSystemVO; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.mapper_yada.RegionalSystemMapper; import com.ruoyi.system.service_yada.IRegionalSystemService; import org.springframework.beans.factory.annotation.Autowired; @@ -15,22 +17,22 @@ import java.util.List; public class RegionalSystemServiceimpl implements IRegionalSystemService { @Autowired - private AustraliaMiddleEastMapper australiaMiddleEastMapper; + private RegionalSystemMapper Regional; + @Override - public List selectAustralia() - { - return australiaMiddleEastMapper.selectAustralia(); + public List selectRegional() { + return Regional.selectRegional(); } @Override - public Integer DelAustralia(String id) { - return australiaMiddleEastMapper.DelAustralia(id); - + public Integer DelRegional(String id) { + return Regional.DelRegional(id); } @Override - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { - return australiaMiddleEastMapper.IntoAustralia(eastVO); + public Integer IntoRegional(RegionalSystemVO eastVO) { + return Regional.IntoRegional(eastVO); } + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java index d5c77966d..134982bfb 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java @@ -1,6 +1,12 @@ package com.ruoyi.system.service_yada.impl; +import com.ruoyi.system.domain_yada.UrbanVO; +import com.ruoyi.system.mapper_yada.AorestCoverageMapper; +import com.ruoyi.system.mapper_yada.UrbanMapper; import com.ruoyi.system.service_yada.IUrbanService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** * * 城市监测 @@ -8,4 +14,23 @@ import com.ruoyi.system.service_yada.IUrbanService; * @Date: 2022/5/11 11:49 */ public class UrbanServiceimpl implements IUrbanService { + + @Autowired + private UrbanMapper urbanMapper; + + @Override + + public List selectUrban() { + return urbanMapper.selectUrban(); + } + + @Override + public Integer DelUrban(String id) { + return urbanMapper.DelUrban(id); + } + + @Override + public Integer IntoUrban(UrbanVO eastVO) { + return urbanMapper.IntoUrban(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java index 62b71f4ae..897971389 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java @@ -1,7 +1,9 @@ package com.ruoyi.system.service_yada.impl; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.VegetationCoverageVO; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; +import com.ruoyi.system.mapper_yada.VegetationCoverageMapper; import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.springframework.beans.factory.annotation.Autowired; @@ -16,22 +18,21 @@ public class VegetationCoverageServiceimpl implements IVegetationCoverageService @Autowired - private AustraliaMiddleEastMapper australiaMiddleEastMapper; + private VegetationCoverageMapper coverageMapper; + @Override - public List selectAustralia() - { - return australiaMiddleEastMapper.selectAustralia(); + public List selectVegetation() { + return coverageMapper.selectVegetation(); } @Override - public Integer DelAustralia(String id) { - return australiaMiddleEastMapper.DelAustralia(id); - + public Integer DelVegetation(String id) { + return coverageMapper.DelVegetation(id); } @Override - public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { - return australiaMiddleEastMapper.IntoAustralia(eastVO); + public Integer IntoVegetation(VegetationCoverageVO eastVO) { + return coverageMapper.IntoVegetation(eastVO); } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index 2f5f8d371..3250666ff 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -4,5 +4,61 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + + + + DELETE FROM forest_coverage + WHERE ID=#{id} + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index 83a9015e8..731b4a8e8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{precipitationAnomolies,jdbcType=DOUBLE}, #{vaiAnomolies,jdbcType=DOUBLE}, #{createdBy,jdbcType=VARCHAR}, - #{createdTime,jdbcType=VARCHAR} + #{createdTime,jdbcType=DATE} ) ]]> diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 1c423e4d2..314d8ebae 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -4,4 +4,54 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + + DELETE FROM proportion_of_global_types + WHERE ID=#{id} + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index 588e289d3..ddd304cf8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -4,5 +4,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + DELETE FROM sea_surface_temperature_anomaly + WHERE ID=#{id} + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index e1db72f9d..cf99c5370 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -4,5 +4,57 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + + DELETE FROM proportion_of_ecosystem_type_transfer + WHERE ID=#{id} + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml index 45ba48a7d..779198a65 100644 --- a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml @@ -4,5 +4,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + DELETE FROM urban_agglomeration_china + WHERE ID=#{id} + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index da8ae0ab5..24e0e6b33 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -3,6 +3,61 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + + + + + + + + + + + + + + + + + + + + + DELETE FROM fvc_npp + WHERE ID=#{id} + + + + + \ No newline at end of file From f4caf10bd3b2ffb1ef4bcaed0c56f187ed16f2bc Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Mon, 23 May 2022 09:49:01 +0800 Subject: [PATCH 10/26] =?UTF-8?q?=E5=90=88=E5=B9=B6=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/RuoYiApplication.java | 2 - .../src/main/resources/application.yml | 7 +-- ruoyi-admin/src/main/resources/banner.txt | 48 +++++++--------- .../system/domain_yada/SysBaseEntity.java | 56 ++++++++++--------- ruoyi-ui/.env.development | 22 ++++---- 5 files changed, 64 insertions(+), 71 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index 01606a4d8..9639bc9c3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -1,6 +1,5 @@ package com.ruoyi; -import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -10,7 +9,6 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; * * @author ruoyi */ -@MapperScan("com.ruoyi.system.mapper_yada") @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) public class RuoYiApplication { diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index a65a211fe..eda7f36e9 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,7 +18,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 9900 + port: 8080 servlet: # 应用的访问路径 context-path: / @@ -97,9 +97,9 @@ token: # MyBatis配置 mybatis: # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain,com.ruoyi.**.domain_yada + typeAliasesPackage: com.ruoyi.**.domain # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml,classpath*:mapper_yada/*Mapper.xml + mapperLocations: classpath*:mapper/**/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml @@ -116,7 +116,6 @@ swagger: # 请求前缀 pathMapping: /dev-api - # 防止XSS攻击 xss: # 过滤开关 diff --git a/ruoyi-admin/src/main/resources/banner.txt b/ruoyi-admin/src/main/resources/banner.txt index 8e65fd3ab..a02645ec3 100644 --- a/ruoyi-admin/src/main/resources/banner.txt +++ b/ruoyi-admin/src/main/resources/banner.txt @@ -1,34 +1,24 @@ Application Version: ${ruoyi.version} Spring Boot Version: ${spring-boot.version} //////////////////////////////////////////////////////////////////// - /\ - | | - | | - .' '. - | | - | | - | /\ | - .' |__|'. - | | | | - .' | | '. - /\ | \__/ | /\ - | | | | | | | | - /| | |,-\ | | /-,| | |\ - || |,-' | | | | '-,| || - ||-' | | | | '-|| -|\ _,-' | | | | '-,_ /| -|| ,-' _ | | | | '-, || -||-' =(*)= | | | | '-|| -|| | \ / | || -|\________....--------\ || /--------....________/| - /| || |\ - / | || | \ - / | \/ | \ - / | | \ - // .| |. \\ - .' |_./ | | \._| '. - / _.-||| |||-._ \ - \__.-' \||/\||/ '-.__/ +// _ooOoo_ // +// o6666666o // +// 88" . "88 // +// (| ^_^ |) // +// O\ = /O // +// ____/`---'\____ // +// .' \\| |// `. // +// / \\||| : |||// \ // +// / _||||| -:- |||||- \ // +// | | \\\ - /// | | // +// | \_| ''\---/'' | | // +// \ .-\__ `-` ___/-. / // +// ___`. .' /--.--\ `. . ___ // +// ."" '< `.___\_<|>_/___.' >'"". // +// | | : `- \`.;`\ _ /`;.`/ - ` : | | // +// \ \ `-. \_ __\ /__ _/ .-` / / // +// ========`-.____`-.___\_____/___.-`____.-'======== // +// `=---=' // // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // -// 飞机保佑 永不宕机 永无BUG // +// 佛祖保佑 永不宕机 永无BUG // //////////////////////////////////////////////////////////////////// \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java index 527685c9c..bdef7faee 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/SysBaseEntity.java @@ -15,61 +15,67 @@ public class SysBaseEntity implements Serializable private static final long serialVersionUID = 1L; /** 创建者 */ - private String createdBy; + private String createBy; /** 创建时间 */ - private LocalDateTime createdTime; + private LocalDateTime createTime; /** 更新者 */ - private String updatedBy; + private String updateBy; /** 更新时间 */ - private LocalDateTime updatedTime; + private LocalDateTime updateTime; /** 备注 */ - private String remarks; + private String remark; /** 请求参数 */ private Map params; - public String getCreatedBy() { - return createdBy; + public String getCreateBy() + { + return createBy; } - public void setCreatedBy(String createdBy) { - this.createdBy = createdBy; + public void setCreateBy(String createBy) + { + this.createBy = createBy; } - public LocalDateTime getCreatedTime() { - return createdTime; + public LocalDateTime getCreateTime() { + return createTime; } - public void setCreatedTime(LocalDateTime createdTime) { - this.createdTime = createdTime; + public void setCreateTime(LocalDateTime createTime) { + this.createTime = createTime; } - public String getUpdatedBy() { - return updatedBy; + public String getUpdateBy() + { + return updateBy; } - public void setUpdatedBy(String updatedBy) { - this.updatedBy = updatedBy; + public void setUpdateBy(String updateBy) + { + this.updateBy = updateBy; } - public LocalDateTime getUpdatedTime() { - return updatedTime; + public LocalDateTime getUpdateTime() { + return updateTime; } - public void setUpdatedTime(LocalDateTime updatedTime) { - this.updatedTime = updatedTime; + public void setUpdateTime(LocalDateTime updateTime) { + this.updateTime = updateTime; } - public String getRemarks() { - return remarks; + public String getRemark() + { + return remark; } - public void setRemarks(String remarks) { - this.remarks = remarks; + public void setRemark(String remark) + { + this.remark = remark; } public Map getParams() diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index 6f3363e21..302ecd1ab 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -1,11 +1,11 @@ -# 页面标题 -VUE_APP_TITLE = 若依管理系统 - -# 开发环境配置 -ENV = 'development' - -# 若依管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.2.105:9900' - -# 路由懒加载 -VUE_CLI_BABEL_TRANSPILE_MODULES = true +# 页面标题 +VUE_APP_TITLE = 若依管理系统 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VUE_APP_BASE_API = '/dev-api' + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true From 5041f3f92f8e9599661b1a5a5fea0032355755ed Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Mon, 23 May 2022 14:17:46 +0800 Subject: [PATCH 11/26] =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/RuoYiApplication.java | 2 ++ .../controller/yada/AorestCoverageController.java | 4 +++- .../yada/AustraliaMiddleEastController.java | 4 +++- .../web/controller/yada/GlobalTypeController.java | 4 +++- .../controller/yada/OceanTemperatureController.java | 4 +++- .../web/controller/yada/RegionVGIController.java | 4 +++- .../controller/yada/RegionalSystemController.java | 4 +++- .../ruoyi/web/controller/yada/UrbanController.java | 4 +++- .../yada/VegetationCoverageController.java | 4 +++- ruoyi-admin/src/main/resources/application-druid.yml | 2 +- ruoyi-admin/src/main/resources/application.yml | 5 +++-- .../ruoyi/system/domain_yada/ThematicMapDomain.java | 12 ++++++------ .../system/mapper_yada/OceanTemperatureMapper.java | 2 ++ .../service_yada/impl/AorestCoverageServiceimpl.java | 5 ++++- .../impl/AustraliaMiddleEastServiceimpl.java | 5 ++++- .../service_yada/impl/GlobalTypeServiceimpl.java | 5 ++++- .../impl/OceanTemperatureServiceimpl.java | 5 ++++- .../service_yada/impl/RegionVGIServiceimpl.java | 5 ++++- .../service_yada/impl/RegionalSystemServiceimpl.java | 5 ++++- .../system/service_yada/impl/UrbanServiceimpl.java | 5 ++++- .../impl/VegetationCoverageServiceimpl.java | 5 ++++- 21 files changed, 70 insertions(+), 25 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index 9639bc9c3..7ecbd0496 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -1,5 +1,6 @@ package com.ruoyi; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -10,6 +11,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; * @author ruoyi */ @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) +@MapperScan("com.ruoyi.system.mapper_yada") public class RuoYiApplication { public static void main(String[] args) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index e805a6d1b..f4aae863e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -6,10 +6,12 @@ import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.service_yada.IAorestCoverageService; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RestController @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") public class AorestCoverageController { - //@Autowired + @Resource private IAorestCoverageService service; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index b5a34ba35..529e126d2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -4,10 +4,12 @@ import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -21,7 +23,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8") public class AustraliaMiddleEastController { - //@Autowired + @Resource private IAustraliaMiddleEastService australiaMiddleEastService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 13412d4f1..83fc2352e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -6,10 +6,12 @@ import com.ruoyi.system.domain_yada.GlobalTypeVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IGlobalTypeService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RestController @RequestMapping("/monitor/clobal") public class GlobalTypeController { - //@Autowired + @Resource private IGlobalTypeService typeService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index 6b8be70f7..babc6a7a3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -6,10 +6,12 @@ import com.ruoyi.system.domain_yada.OceanTemperatureVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RestController @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") public class OceanTemperatureController { - //@Autowired + @Resource private IOceanTemperatureService temperatureService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java index 0c5dfd53d..c3d33f510 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -4,11 +4,13 @@ import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IRegionVGIService; import com.ruoyi.system.domain_yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") public class RegionVGIController { - //@Autowired + @Resource private IRegionVGIService regionVGIService; /** * 查询方法 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index ab07b1012..cf6d76bc8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -7,10 +7,12 @@ import com.ruoyi.system.domain_yada.RegionalSystemVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IRegionalSystemService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -23,7 +25,7 @@ import java.util.List; @RestController @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") public class RegionalSystemController { - //@Autowired + @Resource private IRegionalSystemService systemService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index b2343fc86..612557f9b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -6,10 +6,12 @@ import com.ruoyi.system.domain_yada.UrbanVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IUrbanService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RestController @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") public class UrbanController { - //@Autowired + @Resource private IUrbanService urbanService; /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index df651c8e5..c822ad905 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -6,10 +6,12 @@ import com.ruoyi.system.domain_yada.VegetationCoverageVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.apache.ibatis.annotations.Param; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.List; @@ -22,7 +24,7 @@ import java.util.List; @RestController @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") public class VegetationCoverageController { - //@Autowired + @Resource private IVegetationCoverageService coverageService; /** diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 44ae6554a..9bff4eb18 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,7 +6,7 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://192.168.2.9:3306/nuoyi?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://192.168.2.9:3306/nuoyi?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: saas password: XKrs123. # 从库数据源 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index eda7f36e9..da6fb4a28 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -97,9 +97,9 @@ token: # MyBatis配置 mybatis: # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain + typeAliasesPackage: com.ruoyi.**.domain,com.ruoyi.**.domain_yada # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml + mapperLocations: classpath*:mapper/**/*Mapper.xml,classpath*:mapper_yada/*Mapper.xml # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml @@ -116,6 +116,7 @@ swagger: # 请求前缀 pathMapping: /dev-api + # 防止XSS攻击 xss: # 过滤开关 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java index 49908b895..949c3d0be 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java @@ -85,32 +85,32 @@ public class ThematicMapDomain extends SysBaseEntity { this.picturePath = picturePath; } - @Override + public String getRemarks() { return remarks; } - @Override + public void setRemarks(String remarks) { this.remarks = remarks; } - @Override + public String getCreatedBy() { return createdBy; } - @Override + public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } - @Override + public LocalDateTime getCreatedTime() { return createdTime; } - @Override + public void setCreatedTime(LocalDateTime createdTime) { this.createdTime = createdTime; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java index 9b7a33567..4b2c6a0a7 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/OceanTemperatureMapper.java @@ -2,6 +2,7 @@ package com.ruoyi.system.mapper_yada; import com.ruoyi.system.domain_yada.OceanTemperatureVO; import org.apache.ibatis.annotations.Param; +import org.springframework.stereotype.Repository; import java.util.List; @@ -9,6 +10,7 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ +@Repository public interface OceanTemperatureMapper { List selectOcean(); diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index c1bb6a3c5..223f89e3b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -6,7 +6,9 @@ import com.ruoyi.system.mapper_yada.AorestCoverageMapper; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAorestCoverageService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -14,8 +16,9 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:43 */ +@Service public class AorestCoverageServiceimpl implements IAorestCoverageService { - @Autowired + @Resource private AorestCoverageMapper coverageMapper; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java index 69eaec77d..d4ebed9a9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AustraliaMiddleEastServiceimpl.java @@ -4,7 +4,9 @@ import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -12,9 +14,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:43 */ +@Service public class AustraliaMiddleEastServiceimpl implements IAustraliaMiddleEastService { - @Autowired + @Resource private AustraliaMiddleEastMapper australiaMiddleEastMapper; @Override diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java index dbf2d9560..1f3f7d3b6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java @@ -6,7 +6,9 @@ import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.mapper_yada.GlobalTypeMapper; import com.ruoyi.system.service_yada.IGlobalTypeService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -14,9 +16,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ +@Service public class GlobalTypeServiceimpl implements IGlobalTypeService { - @Autowired + @Resource private GlobalTypeMapper typeMapper; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java index cf4208b05..ef5e0f0b8 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/OceanTemperatureServiceimpl.java @@ -6,7 +6,9 @@ import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.mapper_yada.OceanTemperatureMapper; import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -14,9 +16,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ +@Service public class OceanTemperatureServiceimpl implements IOceanTemperatureService { - @Autowired + @Resource private OceanTemperatureMapper oceanMapper; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java index 7218cb98b..5cdd97392 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionVGIServiceimpl.java @@ -4,7 +4,9 @@ import com.ruoyi.system.mapper_yada.RegionVGIMapper; import com.ruoyi.system.service_yada.IRegionVGIService; import com.ruoyi.system.domain_yada.RegionVGIVO; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -12,9 +14,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:45 */ +@Service public class RegionVGIServiceimpl implements IRegionVGIService { - @Autowired + @Resource private RegionVGIMapper vgiMapper; @Override diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java index a34d7561e..72121682b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/RegionalSystemServiceimpl.java @@ -6,7 +6,9 @@ import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.mapper_yada.RegionalSystemMapper; import com.ruoyi.system.service_yada.IRegionalSystemService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -14,9 +16,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:46 */ +@Service public class RegionalSystemServiceimpl implements IRegionalSystemService { - @Autowired + @Resource private RegionalSystemMapper Regional; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java index 134982bfb..bc536d5b1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/UrbanServiceimpl.java @@ -5,7 +5,9 @@ import com.ruoyi.system.mapper_yada.AorestCoverageMapper; import com.ruoyi.system.mapper_yada.UrbanMapper; import com.ruoyi.system.service_yada.IUrbanService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -13,9 +15,10 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:49 */ +@Service public class UrbanServiceimpl implements IUrbanService { - @Autowired + @Resource private UrbanMapper urbanMapper; @Override diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java index 897971389..d578a5bf3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/VegetationCoverageServiceimpl.java @@ -6,7 +6,9 @@ import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.mapper_yada.VegetationCoverageMapper; import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; import java.util.List; /** @@ -14,10 +16,11 @@ import java.util.List; * @Author: JinSheng Song * @Date: 2022/5/11 11:45 */ +@Service public class VegetationCoverageServiceimpl implements IVegetationCoverageService { - @Autowired + @Resource private VegetationCoverageMapper coverageMapper; From 9b784c99ed0f2926358cba1737bb346de5d492c7 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Mon, 23 May 2022 14:36:19 +0800 Subject: [PATCH 12/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java | 2 ++ .../com/ruoyi/system/domain_yada/ThematicMapDomain.java | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index 9639bc9c3..7ecbd0496 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -1,5 +1,6 @@ package com.ruoyi; +import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; @@ -10,6 +11,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; * @author ruoyi */ @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) +@MapperScan("com.ruoyi.system.mapper_yada") public class RuoYiApplication { public static void main(String[] args) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java index 49908b895..39fc939e4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java @@ -85,32 +85,26 @@ public class ThematicMapDomain extends SysBaseEntity { this.picturePath = picturePath; } - @Override public String getRemarks() { return remarks; } - @Override public void setRemarks(String remarks) { this.remarks = remarks; } - @Override public String getCreatedBy() { return createdBy; } - @Override public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } - @Override public LocalDateTime getCreatedTime() { return createdTime; } - @Override public void setCreatedTime(LocalDateTime createdTime) { this.createdTime = createdTime; } From 15bc756bd4502b72b81a345e718d5964fdc811be Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Mon, 23 May 2022 14:38:09 +0800 Subject: [PATCH 13/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=B2=E7=AA=81?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/domain_yada/ThematicMapDomain.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java index c9b54a0c4..39fc939e4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java @@ -89,41 +89,22 @@ public class ThematicMapDomain extends SysBaseEntity { return remarks; } -<<<<<<< HEAD -======= - ->>>>>>> 5041f3f92f8e9599661b1a5a5fea0032355755ed public void setRemarks(String remarks) { this.remarks = remarks; } -<<<<<<< HEAD -======= - ->>>>>>> 5041f3f92f8e9599661b1a5a5fea0032355755ed public String getCreatedBy() { return createdBy; } -<<<<<<< HEAD - ->>>>>>> 5041f3f92f8e9599661b1a5a5fea0032355755ed public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } -<<<<<<< HEAD -======= - ->>>>>>> 5041f3f92f8e9599661b1a5a5fea0032355755ed public LocalDateTime getCreatedTime() { return createdTime; } -<<<<<<< HEAD -======= - ->>>>>>> 5041f3f92f8e9599661b1a5a5fea0032355755ed public void setCreatedTime(LocalDateTime createdTime) { this.createdTime = createdTime; } From 264a5d910f054a6c4c87c69800b8249e47089350 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Tue, 24 May 2022 11:29:11 +0800 Subject: [PATCH 14/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yada/AorestCoverageController.java | 40 ++++++++++++------- .../yada/AustraliaMiddleEastController.java | 21 +++++----- .../controller/yada/GlobalTypeController.java | 21 +++++----- .../yada/OceanTemperatureController.java | 21 +++++----- .../controller/yada/RegionVGIController.java | 21 +++++----- .../yada/RegionalSystemController.java | 21 +++++----- .../yada/SpecialReportController.java | 2 - .../yada/ThematicMapController.java | 21 +++++----- .../web/controller/yada/UrbanController.java | 21 +++++----- .../yada/VegetationCoverageController.java | 21 +++++----- .../domain_yada/AustraliaMiddleEastVO.java | 19 --------- .../ruoyi/system/domain_yada/RegionVGIVO.java | 7 ++-- .../impl/AorestCoverageServiceimpl.java | 2 +- .../mapper/system/AorestCoverageMapper.xml | 8 ++-- .../system/AustraliaMiddleEastMapper.xml | 16 ++++---- 15 files changed, 130 insertions(+), 132 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index f4aae863e..a998f9f39 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAorestCoverageService; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -14,12 +15,13 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import javax.xml.crypto.Data; +import java.text.SimpleDateFormat; +import java.time.LocalDateTime; import java.util.List; /** * 森林覆盖率 - * @Author: JinSheng Song - * @Date: 2022/5/11 9:08 */ @RestController @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") @@ -29,9 +31,9 @@ public class AorestCoverageController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.POST}) public AjaxResult selectAorestCoverage(HttpServletResponse response, HttpServletRequest request) @@ -42,8 +44,8 @@ public class AorestCoverageController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.POST}) public AjaxResult DelAorestCoverage(@Param("ID") String ID) @@ -59,17 +61,25 @@ public class AorestCoverageController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoAorestCoverage",method = {RequestMethod.POST}) - public AjaxResult IntoAorestCoverage(AorestCoverageVO eastVOS) + public AjaxResult IntoAorestCoverage(@RequestBody AorestCoverageVO eastVOS) { - int NUM = service.IntoAorestCoverage(eastVOS); - if (NUM>0) - { - return AjaxResult.success(); + try { + eastVOS.setCreateTime(LocalDateTime.now()); + int NUM = service.IntoAorestCoverage(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); } - return AjaxResult.error(); + catch (Exception E){ + E.getMessage(); + return AjaxResult.error(); + } + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index 529e126d2..c02ec3642 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -5,6 +5,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -12,12 +13,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 澳大利亚中东部地区 - * @Author: JinSheng Song - * @Date: 2022/5/11 9:08 */ @RestController @RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8") @@ -28,9 +28,9 @@ public class AustraliaMiddleEastController /** * 查询方法 - * @param response - * @param request - * @return + * @param response 请求头 + * @param request 客户端请求 + * @return 实体类 */ @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) @@ -41,8 +41,8 @@ public class AustraliaMiddleEastController /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) public AjaxResult DelAustralia(@Param("ID") String ID) @@ -58,12 +58,13 @@ public class AustraliaMiddleEastController /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + public AjaxResult IntoAustralia(@RequestBody AustraliaMiddleEastVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 83fc2352e..860257f25 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IGlobalTypeService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** *全球各类型占比 - * @Author: JinSheng Song - * @Date: 2022/5/11 9:05 */ @RestController @RequestMapping("/monitor/clobal") @@ -29,9 +29,9 @@ public class GlobalTypeController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST}) public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request) @@ -42,8 +42,8 @@ public class GlobalTypeController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelGlobalType",method = {RequestMethod.POST}) public AjaxResult DelGlobalType(@Param("ID") String ID) @@ -59,12 +59,13 @@ public class GlobalTypeController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoGlobalType",method = {RequestMethod.POST}) - public AjaxResult IntoGlobalType(GlobalTypeVO eastVOS) + public AjaxResult IntoGlobalType(@RequestBody GlobalTypeVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = typeService.IntoGlobalType(eastVOS); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index babc6a7a3..84447d796 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IOceanTemperatureService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 海洋表面温度监测 - * @Author: JinSheng Song - * @Date: 2022/5/11 9:13 */ @RestController @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") @@ -29,9 +29,9 @@ public class OceanTemperatureController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectOcean",method = {RequestMethod.POST}) public AjaxResult selectOcean(HttpServletResponse response, HttpServletRequest request) @@ -42,8 +42,8 @@ public class OceanTemperatureController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelOcean",method = {RequestMethod.POST}) public AjaxResult DelOcean(@Param("ID") String ID) @@ -59,12 +59,13 @@ public class OceanTemperatureController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) - public AjaxResult IntoOcean(OceanTemperatureVO eastVOS) + public AjaxResult IntoOcean(@RequestBody OceanTemperatureVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = temperatureService.IntoOcean(eastVOS); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java index c3d33f510..20c4fa56e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -5,6 +5,7 @@ import com.ruoyi.system.service_yada.IRegionVGIService; import com.ruoyi.system.domain_yada.RegionVGIVO; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -13,12 +14,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 各区域VGI - * @Author: JinSheng Song - * @Date: 2022/5/11 9:08 */ @RestController @RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") @@ -28,9 +28,9 @@ public class RegionVGIController private IRegionVGIService regionVGIService; /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/SelectRegion",method = {RequestMethod.POST}) public AjaxResult SelectRegion(HttpServletResponse response, HttpServletRequest request) @@ -41,8 +41,8 @@ public class RegionVGIController /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelRegion",method = {RequestMethod.POST}) public AjaxResult DelRegion(@Param("ID") String ID) @@ -58,12 +58,13 @@ public class RegionVGIController /** * 新增方法 - * @param vgivo - * @return + * @param vgivo 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoRegion",method = {RequestMethod.POST}) - public AjaxResult IntoRegion(RegionVGIVO vgivo) + public AjaxResult IntoRegion(@RequestBody RegionVGIVO vgivo) { + vgivo.setCreatedTime(LocalDateTime.now()); int NUM = regionVGIService.IntoRegion(vgivo); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index cf6d76bc8..2e0dd5044 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -8,6 +8,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IRegionalSystemService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -15,12 +16,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 区域生态系统 - * @Author: JinSheng Song - * @Date: 2022/5/11 9:12 */ @RestController @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") @@ -30,9 +30,9 @@ public class RegionalSystemController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectRegional",method = {RequestMethod.POST}) public AjaxResult selectRegional(HttpServletResponse response, HttpServletRequest request) @@ -43,8 +43,8 @@ public class RegionalSystemController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelRegional",method = {RequestMethod.POST}) public AjaxResult DelRegional(@Param("ID") String ID) @@ -60,12 +60,13 @@ public class RegionalSystemController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoRegional",method = {RequestMethod.POST}) - public AjaxResult IntoRegional(RegionalSystemVO eastVOS) + public AjaxResult IntoRegional(@RequestBody RegionalSystemVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = systemService.IntoRegional(eastVOS); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java index 7953a60b2..51c3468b7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java @@ -2,8 +2,6 @@ package com.ruoyi.web.controller.yada; /** * 专题报告 - * @Author: JinSheng Song - * @Date: 2022/5/11 11:10 */ public class SpecialReportController { } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java index 3b01a3023..ad0e78381 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -4,6 +4,7 @@ import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.ThematicMapDomain; import com.ruoyi.system.service_yada.ThematicMapService; import org.apache.ibatis.annotations.Param; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -11,12 +12,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 中国城市监测 - * @Author: JinSheng Song - * @Date: 2022/5/11 10:55 */ @RestController @RequestMapping(value = "/thematic-map") @@ -27,9 +27,9 @@ public class ThematicMapController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/get/all",method = {RequestMethod.GET}) public AjaxResult selectAllThematicMap(HttpServletResponse response, HttpServletRequest request) @@ -40,8 +40,8 @@ public class ThematicMapController { /** * 删除方法 - * @param id - * @return + * @param id 单据id + * @return 状态码 */ @RequestMapping(value = "/delete",method = {RequestMethod.DELETE}) public AjaxResult deleteThematicMap(@Param("id") Long id) @@ -55,12 +55,13 @@ public class ThematicMapController { /** * 新增方法 - * @param thematicMapDomain - * @return + * @param thematicMapDomain 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/add",method = {RequestMethod.POST}) - public AjaxResult saveThematicMap(ThematicMapDomain thematicMapDomain) + public AjaxResult saveThematicMap(@RequestBody ThematicMapDomain thematicMapDomain) { + thematicMapDomain.setCreatedTime(LocalDateTime.now()); int num = thematicMapService.save(thematicMapDomain); if (num>0) { return AjaxResult.success(); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index 612557f9b..129f2ff55 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IUrbanService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 中国城市监测 - * @Author: JinSheng Song - * @Date: 2022/5/11 10:55 */ @RestController @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") @@ -29,9 +29,9 @@ public class UrbanController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectUrban",method = {RequestMethod.POST}) public AjaxResult selectUrban(HttpServletResponse response, HttpServletRequest request) @@ -42,8 +42,8 @@ public class UrbanController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelUrban",method = {RequestMethod.POST}) public AjaxResult DelUrban(@Param("ID") String ID) @@ -59,12 +59,13 @@ public class UrbanController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoUrban",method = {RequestMethod.POST}) - public AjaxResult IntoUrban(UrbanVO eastVOS) + public AjaxResult IntoUrban(@RequestBody UrbanVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = urbanService.IntoUrban(eastVOS); if (NUM>0) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index c822ad905..7d7db94d9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -7,6 +7,7 @@ import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IVegetationCoverageService; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @@ -14,12 +15,11 @@ import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import java.time.LocalDateTime; import java.util.List; /** * 平均植被覆盖度和净初级生产力 - * @Author: JinSheng Song - * @Date: 2022/5/11 10:56 */ @RestController @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") @@ -29,9 +29,9 @@ public class VegetationCoverageController { /** * 查询方法 - * @param response - * @param request - * @return + * @param response 响应头 + * @param request 客户端请求 + * @return 参数类 */ @RequestMapping(value = "/selectVegetation",method = {RequestMethod.POST}) public AjaxResult selectVegetation(HttpServletResponse response, HttpServletRequest request) @@ -42,8 +42,8 @@ public class VegetationCoverageController { /** * 删除方法 - * @param ID - * @return + * @param ID 单据id + * @return 状态码 */ @RequestMapping(value = "/DelVegetation",method = {RequestMethod.POST}) public AjaxResult DelVegetation(@Param("ID") String ID) @@ -59,12 +59,13 @@ public class VegetationCoverageController { /** * 新增方法 - * @param eastVOS - * @return + * @param eastVOS 新增实体类 + * @return 状态码 */ @RequestMapping(value = "/IntoVegetation",method = {RequestMethod.POST}) - public AjaxResult IntoVegetation(VegetationCoverageVO eastVOS) + public AjaxResult IntoVegetation(@RequestBody VegetationCoverageVO eastVOS) { + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = coverageService.IntoVegetation(eastVOS); if (NUM>0) { diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java index 87fe6a59d..e6e977f40 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java @@ -20,10 +20,6 @@ public class AustraliaMiddleEastVO extends SysBaseEntity private Double vaiAnomolies; - private String createdBy; - - private LocalDate createdTime; - public String getId() { return id; } @@ -72,19 +68,4 @@ public class AustraliaMiddleEastVO extends SysBaseEntity this.vaiAnomolies = vaiAnomolies; } - public String getCreatedBy() { - return createdBy; - } - - public void setCreatedBy(String createdBy) { - this.createdBy = createdBy; - } - - public LocalDate getCreatedTime() { - return createdTime; - } - - public void setCreatedTime(LocalDate createdTime) { - this.createdTime = createdTime; - } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java index 49bb6f307..c46577ce9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java @@ -2,6 +2,7 @@ package com.ruoyi.system.domain_yada; import java.io.Serializable; import java.time.LocalDate; +import java.time.LocalDateTime; /** * @Author: JinSheng Song @@ -26,7 +27,7 @@ public class RegionVGIVO implements Serializable { private String createdBy; - private LocalDate createdTime; + private LocalDateTime createdTime; public String getId() { return id; @@ -100,11 +101,11 @@ public class RegionVGIVO implements Serializable { this.createdBy = createdBy; } - public LocalDate getCreatedTime() { + public LocalDateTime getCreatedTime() { return createdTime; } - public void setCreatedTime(LocalDate createdTime) { + public void setCreatedTime(LocalDateTime createdTime) { this.createdTime = createdTime; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index 223f89e3b..0f9954891 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -34,6 +34,6 @@ public class AorestCoverageServiceimpl implements IAorestCoverageService { @Override public Integer IntoAorestCoverage(AorestCoverageVO eastVO) { - return IntoAorestCoverage(eastVO); + return coverageMapper.IntoAorestCoverage(eastVO); } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index 3250666ff..ab73ea165 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -44,19 +44,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" non_protected_lands , mountain, non_mountain, - created_by , - created_time + created_by, + created_time ) VALUES ( #{id,jdbcType=VARCHAR}, #{particularYear,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{regionEn,jdbcType=VARCHAR}, #{protectedLands,jdbcType=DOUBLE}, - #{nonProtectedLand,jdbcType=DOUBLE}, + #{nonProtectedLands,jdbcType=DOUBLE}, #{mountain,jdbcType=DOUBLE}, #{nonMountain,jdbcType=DOUBLE}, #{createBy,jdbcType=VARCHAR}, - #{createTime,jdbcType=DATE} + #{createTime,jdbcType=TIMESTAMP} ) ]]> diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index 731b4a8e8..fcceeeeaa 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -5,20 +5,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + - - + + @@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" From 498a502c023c8e33049965fa85d8ed209c4546e0 Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Tue, 24 May 2022 12:01:43 +0800 Subject: [PATCH 15/26] =?UTF-8?q?=E6=B7=BB=E5=8A=A0swagger=20=E6=96=B0?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/pom.xml | 8 ++++- .../yada/ThematicMapController.java | 13 +++++++- ruoyi-ui/src/views/tool/swagger/index.vue | 31 ++++++++++--------- 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 403482559..4f8dd03b3 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -34,7 +34,13 @@ io.swagger swagger-models - 1.6.2 + 1.6.6 + + + + com.github.xiaoymin + knife4j-spring-boot-starter + 3.0.3 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java index ad0e78381..9614dd462 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -3,6 +3,7 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.domain_yada.ThematicMapDomain; import com.ruoyi.system.service_yada.ThematicMapService; +import io.swagger.annotations.*; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -16,10 +17,12 @@ import java.time.LocalDateTime; import java.util.List; /** - * 中国城市监测 + * 专题图模块 + * @author taco chen */ @RestController @RequestMapping(value = "/thematic-map") +@Api(tags = "专题图模块") public class ThematicMapController { @Resource @@ -31,6 +34,14 @@ public class ThematicMapController { * @param request 客户端请求 * @return 参数类 */ + @ApiOperation("获取所有专题图") + @ApiImplicitParams({}) + @ApiResponses({ + @ApiResponse(code =200,message = "请求成功"), + @ApiResponse(code =401,message = "没有认证"), + @ApiResponse(code =403,message = "权限不足"), + @ApiResponse(code =404,message = "未找到") + }) @RequestMapping(value = "/get/all",method = {RequestMethod.GET}) public AjaxResult selectAllThematicMap(HttpServletResponse response, HttpServletRequest request) { diff --git a/ruoyi-ui/src/views/tool/swagger/index.vue b/ruoyi-ui/src/views/tool/swagger/index.vue index 750189115..7c57b68db 100644 --- a/ruoyi-ui/src/views/tool/swagger/index.vue +++ b/ruoyi-ui/src/views/tool/swagger/index.vue @@ -1,15 +1,16 @@ - - + + From 42e4acf3dd901f71d84b247461c45ceb356080f4 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Mon, 30 May 2022 10:11:39 +0800 Subject: [PATCH 16/26] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yada/AorestCoverageController.java | 109 ++++++++++++++++-- .../yada/AustraliaMiddleEastController.java | 14 ++- .../controller/yada/GlobalTypeController.java | 16 ++- .../yada/OceanTemperatureController.java | 15 ++- .../controller/yada/RegionVGIController.java | 14 ++- .../yada/RegionalSystemController.java | 14 ++- .../yada/ThematicMapController.java | 14 ++- .../web/controller/yada/UrbanController.java | 14 ++- .../yada/VegetationCoverageController.java | 14 ++- .../src/main/resources/application-druid.yml | 3 +- .../src/main/resources/application.yml | 2 +- .../framework/web/service/TokenService.java | 2 +- .../ruoyi/system/domain_yada/Dictionary.java | 69 +++++++++++ .../system/domain_yada/GlobalTypeVO.java | 6 +- .../system/domain_yada/ThematicMapDomain.java | 31 +++++ .../ruoyi/system/domain_yada/UploadFile.java | 60 ++++++++++ .../mapper_yada/AorestCoverageMapper.java | 8 ++ .../system/mapper_yada/GlobalTypeMapper.java | 2 +- .../service_yada/IAorestCoverageService.java | 9 ++ .../service_yada/IGlobalTypeService.java | 2 +- .../impl/AorestCoverageServiceimpl.java | 17 +++ .../impl/GlobalTypeServiceimpl.java | 6 +- .../mapper/system/AorestCoverageMapper.xml | 79 +++++++++++++ .../mapper/system/GlobalTypeMapper.xml | 10 +- .../mapper/system/ThematicMapMapper.xml | 11 +- 25 files changed, 494 insertions(+), 47 deletions(-) create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/Dictionary.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UploadFile.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index a998f9f39..6da94fe94 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,21 +1,27 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.config.RuoYiConfig; import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.system.domain_yada.AorestCoverageVO; -import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.common.utils.file.FileUploadUtils; +import com.ruoyi.common.utils.file.FileUtils; +import com.ruoyi.system.domain_yada.*; import com.ruoyi.system.service_yada.IAorestCoverageService; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; +import com.ruoyi.system.service_yada.ThematicMapService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.multipart.MultipartFile; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.xml.crypto.Data; +import java.security.Guard; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.util.List; @@ -25,17 +31,22 @@ import java.util.List; */ @RestController @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") +@Api(tags = "森林覆盖率") public class AorestCoverageController { @Resource private IAorestCoverageService service; + @Resource + private ThematicMapService thematicMapService; + /** * 查询方法 * @param response 响应头 * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.POST}) + @RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult selectAorestCoverage(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= service.selectAorestCoverage(); @@ -44,10 +55,12 @@ public class AorestCoverageController { /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.DELETE}) + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") public AjaxResult DelAorestCoverage(@Param("ID") String ID) { int NUM = service.DelAorestCoverage(ID); @@ -65,9 +78,12 @@ public class AorestCoverageController { * @return 状态码 */ @RequestMapping(value = "/IntoAorestCoverage",method = {RequestMethod.POST}) + @ApiOperation(value = "新增方法",httpMethod = "POST") public AjaxResult IntoAorestCoverage(@RequestBody AorestCoverageVO eastVOS) { try { + + eastVOS.setCreateTime(LocalDateTime.now()); int NUM = service.IntoAorestCoverage(eastVOS); if (NUM>0) @@ -80,6 +96,79 @@ public class AorestCoverageController { E.getMessage(); return AjaxResult.error(); } - } + + /** + * 上传文件 + * @return 状态码 + */ + @RequestMapping(value = "/IntoUpLoad",method = {RequestMethod.POST}) + @ApiOperation(value = "上传文件",httpMethod = "POST") + public AjaxResult IntoUpload(@RequestBody MultipartFile file) + { + UploadFile upload=new UploadFile(); + + ThematicMapDomain domain=new ThematicMapDomain(); + + UploadFile value= null; + try { + value = uploadFile(file,upload); + } catch (Exception e) { + e.printStackTrace(); + } + + int NUM = service.IntoUpload(value); + domain.setPictureCode(value.getFileId()); + +// domain.setCreatedTime(LocalDateTime.now()); +// +// +// thematicMapService.save(domain); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } + + + /** + * 文件查询 + * @param response 头 + * @param request 客户端请求 + * @return + */ + @RequestMapping(value = "/selectUpload",method = {RequestMethod.GET}) + @ApiOperation(value = "文件查询",httpMethod = "GET") + public AjaxResult selectUpload(HttpServletResponse response, HttpServletRequest request,@RequestBody UploadFile upload) + { + List eastVOSList= service.selectUpload(upload); + return AjaxResult.success(eastVOSList); + } + + + + + public UploadFile uploadFile(MultipartFile file,UploadFile upload) throws Exception + { + // 上传文件路径 + String filePath = RuoYiConfig.getUploadPath(); + // 上传并返回新文件名称 + String fileName = FileUploadUtils.upload(filePath, file); + upload.setFileId(String.valueOf(System.currentTimeMillis())); + upload.setFileName(file.getOriginalFilename()); + upload.setFilePath(fileName); + upload.setFileSize(String.valueOf(file.getSize())); + upload.setCreateTime(LocalDateTime.now()); + return upload; + } + + @RequestMapping(value = "/Dictionary") + @ApiOperation(value = "字典查询",httpMethod = "POST") + public AjaxResult Dictionary(@RequestBody Dictionary dic) + { + List diclist=service.selectDic(dic); + return AjaxResult.success(diclist); + } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index c02ec3642..d63cf544f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -3,6 +3,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -21,6 +24,7 @@ import java.util.List; */ @RestController @RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8") +@Api(tags = "澳大利亚中东部地区") public class AustraliaMiddleEastController { @Resource @@ -32,7 +36,8 @@ public class AustraliaMiddleEastController * @param request 客户端请求 * @return 实体类 */ - @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + @ApiOperation(value = "查询方法",httpMethod = "GET") + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.GET}) public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= australiaMiddleEastService.selectAustralia(); @@ -41,10 +46,12 @@ public class AustraliaMiddleEastController /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.DELETE}) + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") public AjaxResult DelAustralia(@Param("ID") String ID) { int NUM = australiaMiddleEastService.DelAustralia(ID); @@ -62,6 +69,7 @@ public class AustraliaMiddleEastController * @return 状态码 */ @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + @ApiOperation(value = "新增方法",httpMethod = "POST") public AjaxResult IntoAustralia(@RequestBody AustraliaMiddleEastVO eastVOS) { eastVOS.setCreateTime(LocalDateTime.now()); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 860257f25..60716f416 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -5,6 +5,9 @@ import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.domain_yada.GlobalTypeVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IGlobalTypeService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -23,6 +26,7 @@ import java.util.List; */ @RestController @RequestMapping("/monitor/clobal") +@Api(tags = "全球各类型占比") public class GlobalTypeController { @Resource private IGlobalTypeService typeService; @@ -34,18 +38,21 @@ public class GlobalTypeController { * @return 参数类 */ @RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST}) - public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request) + @ApiOperation(value = "查询方法",httpMethod = "POST") + public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request,@RequestBody GlobalTypeVO TypeVO) { - List eastVOSList= typeService.selectGlobalType(); + List eastVOSList= typeService.selectGlobalType(TypeVO.getTypeName(),TypeVO.getParticularYear()); return AjaxResult.success(eastVOSList); } /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelGlobalType",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelGlobalType",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) public AjaxResult DelGlobalType(@Param("ID") String ID) { int NUM = typeService.DelGlobalType(ID); @@ -62,6 +69,7 @@ public class GlobalTypeController { * @param eastVOS 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoGlobalType",method = {RequestMethod.POST}) public AjaxResult IntoGlobalType(@RequestBody GlobalTypeVO eastVOS) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index 84447d796..9d173a7f9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -5,6 +5,9 @@ import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.domain_yada.OceanTemperatureVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IOceanTemperatureService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -21,6 +24,7 @@ import java.util.List; /** * 海洋表面温度监测 */ +@Api(tags = "海洋表面温度监测") @RestController @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") public class OceanTemperatureController { @@ -33,7 +37,8 @@ public class OceanTemperatureController { * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/selectOcean",method = {RequestMethod.POST}) + @RequestMapping(value = "/selectOcean",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult selectOcean(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= temperatureService.selectOcean(); @@ -42,10 +47,13 @@ public class OceanTemperatureController { /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelOcean",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelOcean",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) + public AjaxResult DelOcean(@Param("ID") String ID) { int NUM = temperatureService.DelOcean(ID); @@ -62,6 +70,7 @@ public class OceanTemperatureController { * @param eastVOS 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) public AjaxResult IntoOcean(@RequestBody OceanTemperatureVO eastVOS) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java index 20c4fa56e..7bd772c99 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionVGIController.java @@ -3,6 +3,9 @@ package com.ruoyi.web.controller.yada; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.system.service_yada.IRegionVGIService; import com.ruoyi.system.domain_yada.RegionVGIVO; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -20,6 +23,7 @@ import java.util.List; /** * 各区域VGI */ +@Api(tags = "各区域VGI") @RestController @RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") public class RegionVGIController @@ -32,7 +36,8 @@ public class RegionVGIController * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/SelectRegion",method = {RequestMethod.POST}) + @RequestMapping(value = "/SelectRegion",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult SelectRegion(HttpServletResponse response, HttpServletRequest request) { List vgivost= regionVGIService.selectRegion(); @@ -41,10 +46,12 @@ public class RegionVGIController /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelRegion",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelRegion",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) public AjaxResult DelRegion(@Param("ID") String ID) { int NUM = regionVGIService.DelRegion(ID); @@ -61,6 +68,7 @@ public class RegionVGIController * @param vgivo 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoRegion",method = {RequestMethod.POST}) public AjaxResult IntoRegion(@RequestBody RegionVGIVO vgivo) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index 2e0dd5044..7e62948bd 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -6,6 +6,9 @@ import com.ruoyi.system.domain_yada.RegionVGIVO; import com.ruoyi.system.domain_yada.RegionalSystemVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IRegionalSystemService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -22,6 +25,7 @@ import java.util.List; /** * 区域生态系统 */ +@Api(tags = "区域生态系统") @RestController @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") public class RegionalSystemController { @@ -34,7 +38,8 @@ public class RegionalSystemController { * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/selectRegional",method = {RequestMethod.POST}) + @RequestMapping(value = "/selectRegional",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult selectRegional(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= systemService.selectRegional(); @@ -43,10 +48,12 @@ public class RegionalSystemController { /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelRegional",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelRegional",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "int", paramType = "path", dataTypeClass = Integer.class) public AjaxResult DelRegional(@Param("ID") String ID) { int NUM = systemService.DelRegional(ID); @@ -63,6 +70,7 @@ public class RegionalSystemController { * @param eastVOS 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoRegional",method = {RequestMethod.POST}) public AjaxResult IntoRegional(@RequestBody RegionalSystemVO eastVOS) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java index 9614dd462..6c4d7bec8 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/ThematicMapController.java @@ -1,6 +1,9 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.config.RuoYiConfig; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.file.FileUploadUtils; +import com.ruoyi.common.utils.file.FileUtils; import com.ruoyi.system.domain_yada.ThematicMapDomain; import com.ruoyi.system.service_yada.ThematicMapService; import io.swagger.annotations.*; @@ -9,6 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; @@ -48,13 +52,14 @@ public class ThematicMapController { List res= thematicMapService.selectAll(); return AjaxResult.success(res); } - /** * 删除方法 - * @param id 单据id + * @param id id * @return 状态码 */ @RequestMapping(value = "/delete",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "long", paramType = "path", dataTypeClass = long.class) public AjaxResult deleteThematicMap(@Param("id") Long id) { int num = thematicMapService.deleteById(id); @@ -69,9 +74,12 @@ public class ThematicMapController { * @param thematicMapDomain 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/add",method = {RequestMethod.POST}) public AjaxResult saveThematicMap(@RequestBody ThematicMapDomain thematicMapDomain) { + + thematicMapDomain.setCreatedTime(LocalDateTime.now()); int num = thematicMapService.save(thematicMapDomain); if (num>0) { @@ -79,4 +87,6 @@ public class ThematicMapController { } return AjaxResult.error(); } + + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index 129f2ff55..dda699379 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -5,6 +5,9 @@ import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.domain_yada.UrbanVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IUrbanService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -21,6 +24,7 @@ import java.util.List; /** * 中国城市监测 */ +@Api(tags = "中国城市监测") @RestController @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") public class UrbanController { @@ -33,7 +37,8 @@ public class UrbanController { * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/selectUrban",method = {RequestMethod.POST}) + @RequestMapping(value = "/selectUrban",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult selectUrban(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= urbanService.selectUrban(); @@ -42,10 +47,11 @@ public class UrbanController { /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelUrban",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelUrban",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") public AjaxResult DelUrban(@Param("ID") String ID) { int NUM = urbanService.DelUrban(ID); @@ -62,7 +68,9 @@ public class UrbanController { * @param eastVOS 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoUrban",method = {RequestMethod.POST}) + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "long", paramType = "path", dataTypeClass = long.class) public AjaxResult IntoUrban(@RequestBody UrbanVO eastVOS) { eastVOS.setCreateTime(LocalDateTime.now()); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 7d7db94d9..04cd4e870 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -5,6 +5,9 @@ import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; import com.ruoyi.system.domain_yada.VegetationCoverageVO; import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; import com.ruoyi.system.service_yada.IVegetationCoverageService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiOperation; import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; @@ -21,6 +24,7 @@ import java.util.List; /** * 平均植被覆盖度和净初级生产力 */ +@Api(tags = "平均植被覆盖度和净初级生产力") @RestController @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") public class VegetationCoverageController { @@ -33,7 +37,8 @@ public class VegetationCoverageController { * @param request 客户端请求 * @return 参数类 */ - @RequestMapping(value = "/selectVegetation",method = {RequestMethod.POST}) + @RequestMapping(value = "/selectVegetation",method = {RequestMethod.GET}) + @ApiOperation(value = "查询方法",httpMethod = "GET") public AjaxResult selectVegetation(HttpServletResponse response, HttpServletRequest request) { List eastVOSList= coverageService.selectVegetation(); @@ -42,10 +47,12 @@ public class VegetationCoverageController { /** * 删除方法 - * @param ID 单据id + * @param ID id * @return 状态码 */ - @RequestMapping(value = "/DelVegetation",method = {RequestMethod.POST}) + @RequestMapping(value = "/DelVegetation",method = {RequestMethod.DELETE}) + @ApiOperation(value = "删除方法",httpMethod = "DELETE") + @ApiImplicitParam(name = "userId", value = "用户ID", required = true, dataType = "long", paramType = "path", dataTypeClass = long.class) public AjaxResult DelVegetation(@Param("ID") String ID) { int NUM = coverageService.DelVegetation(ID); @@ -62,6 +69,7 @@ public class VegetationCoverageController { * @param eastVOS 新增实体类 * @return 状态码 */ + @ApiOperation(value = "新增方法",httpMethod = "POST") @RequestMapping(value = "/IntoVegetation",method = {RequestMethod.POST}) public AjaxResult IntoVegetation(@RequestBody VegetationCoverageVO eastVOS) { diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 9bff4eb18..9d18a7d5c 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,7 +6,8 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://192.168.2.9:3306/nuoyi?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 +# url: jdbc:mysql://192.168.2.9:3306/nuoyi?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://192.168.2.9:3306/nuoyi?AllowPublicKeyRetrieval=True&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: saas password: XKrs123. # 从库数据源 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index da6fb4a28..08ec999a1 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -92,7 +92,7 @@ token: # 令牌密钥 secret: abcdefghijklmnopqrstuvwxyz # 令牌有效期(默认30分钟) - expireTime: 30 + expireTime: 300 # MyBatis配置 mybatis: diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java index 5b4c41466..f053fb356 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java @@ -144,7 +144,7 @@ public class TokenService loginUser.setExpireTime(loginUser.getLoginTime() + expireTime * MILLIS_MINUTE); // 根据uuid将loginUser缓存 String userKey = getTokenKey(loginUser.getToken()); - redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.MINUTES); + redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.HOURS); } /** diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/Dictionary.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/Dictionary.java new file mode 100644 index 000000000..c485023aa --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/Dictionary.java @@ -0,0 +1,69 @@ +package com.ruoyi.system.domain_yada; + +/** + * @Author: JinSheng Song + * @Date: 2022/5/30 8:50 + */ +//字典表 +public class Dictionary extends SysBaseEntity +{ + private String codingType; + + private String codingType1; + + private String codingType2; + + private String dictionary; + + private String name; + + private String nameEn; + + public String getCodingType1() { + return codingType1; + } + + public void setCodingType1(String codingType1) { + this.codingType1 = codingType1; + } + + public String getCodingType2() { + return codingType2; + } + + public void setCodingType2(String codingType2) { + this.codingType2 = codingType2; + } + + public String getCodingType() { + return codingType; + } + + public void setCodingType(String codingType) { + this.codingType = codingType; + } + + public String getDictionary() { + return dictionary; + } + + public void setDictionary(String dictionary) { + this.dictionary = dictionary; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNameEn() { + return nameEn; + } + + public void setNameEn(String nameEn) { + this.nameEn = nameEn; + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java index a1c20a217..de15e7b67 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/GlobalTypeVO.java @@ -15,7 +15,7 @@ public class GlobalTypeVO extends SysBaseEntity { private Double areaProportion; - private String area; + private Double area; private int particularYear; @@ -51,11 +51,11 @@ public class GlobalTypeVO extends SysBaseEntity { this.areaProportion = areaProportion; } - public String getArea() { + public Double getArea() { return area; } - public void setArea(String area) { + public void setArea(Double area) { this.area = area; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java index 39fc939e4..11caf150e 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ThematicMapDomain.java @@ -11,6 +11,12 @@ public class ThematicMapDomain extends SysBaseEntity { private Long id; + private String pictureCode; + + private String pictureTypeOne; + + private String pictureTypeTwo; + private String pictureZh; private String pictureEn; @@ -29,6 +35,31 @@ public class ThematicMapDomain extends SysBaseEntity { private LocalDateTime createdTime; + public String getPictureCode() { + return pictureCode; + } + + public void setPictureCode(String pictureCode) { + this.pictureCode = pictureCode; + } + + public String getPictureTypeOne() { + return pictureTypeOne; + } + + public void setPictureTypeOne(String pictureTypeOne) { + this.pictureTypeOne = pictureTypeOne; + } + + public String getPictureTypeTwo() { + return pictureTypeTwo; + } + + public void setPictureTypeTwo(String pictureTypeTwo) { + this.pictureTypeTwo = pictureTypeTwo; + } + + public Long getId() { return id; } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UploadFile.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UploadFile.java new file mode 100644 index 000000000..6d0529a9f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/UploadFile.java @@ -0,0 +1,60 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDate; + +/** + * @Author: JinSheng Song + * @Date: 2022/5/24 14:24 + */ +public class UploadFile extends SysBaseEntity +{ + private String id; + + private String fileId; + + private String fileName; + + private String filePath; + + private String fileSize; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getFileId() { + return fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getFileName() { + return fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getFilePath() { + return filePath; + } + + public void setFilePath(String filePath) { + this.filePath = filePath; + } + + public String getFileSize() { + return fileSize; + } + + public void setFileSize(String fileSize) { + this.fileSize = fileSize; + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java index 0931f079f..bf9d00c02 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java @@ -1,6 +1,8 @@ package com.ruoyi.system.mapper_yada; import com.ruoyi.system.domain_yada.AorestCoverageVO; +import com.ruoyi.system.domain_yada.Dictionary; +import com.ruoyi.system.domain_yada.UploadFile; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -16,4 +18,10 @@ public interface AorestCoverageMapper { Integer DelAorestCoverage(@Param("id") String id); Integer IntoAorestCoverage(AorestCoverageVO eastVO); + + Integer IntoUpload(UploadFile file); + + List selectUpload(UploadFile file); + + List selectDic(Dictionary dic); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java index c6d93ba6c..8366c5ce6 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/GlobalTypeMapper.java @@ -11,7 +11,7 @@ import java.util.List; */ public interface GlobalTypeMapper { - List selectGlobalType(); + List selectGlobalType(@Param("typeName") String typeName, @Param("particularYear") Integer particularYear); Integer DelGlobalType(@Param("id") String id); diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java index 938d9b3bb..0e53908a9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java @@ -1,7 +1,10 @@ package com.ruoyi.system.service_yada; +import com.ruoyi.common.utils.PageUtils; import com.ruoyi.system.domain_yada.AorestCoverageVO; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.Dictionary; +import com.ruoyi.system.domain_yada.UploadFile; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -18,4 +21,10 @@ public interface IAorestCoverageService { public Integer DelAorestCoverage(@Param("id") String id); public Integer IntoAorestCoverage(AorestCoverageVO eastVO); + + public Integer IntoUpload(UploadFile file); + + public List selectUpload(UploadFile file); + + public List selectDic(Dictionary dic); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java index e09d8a5d3..08804ac47 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IGlobalTypeService.java @@ -13,7 +13,7 @@ import java.util.List; */ public interface IGlobalTypeService { - public List selectGlobalType(); + public List selectGlobalType(String typeName, Integer particularYear); public Integer DelGlobalType(String id); diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index 0f9954891..6f0271493 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -2,6 +2,8 @@ package com.ruoyi.system.service_yada.impl; import com.ruoyi.system.domain_yada.AorestCoverageVO; import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; +import com.ruoyi.system.domain_yada.Dictionary; +import com.ruoyi.system.domain_yada.UploadFile; import com.ruoyi.system.mapper_yada.AorestCoverageMapper; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAorestCoverageService; @@ -36,4 +38,19 @@ public class AorestCoverageServiceimpl implements IAorestCoverageService { public Integer IntoAorestCoverage(AorestCoverageVO eastVO) { return coverageMapper.IntoAorestCoverage(eastVO); } + + @Override + public Integer IntoUpload(UploadFile file) { + return coverageMapper.IntoUpload(file); + } + + @Override + public List selectUpload(UploadFile file) { + return coverageMapper.selectUpload(file); + } + + @Override + public List selectDic(Dictionary dic) { + return coverageMapper.selectDic(dic); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java index 1f3f7d3b6..a86b6c23f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/GlobalTypeServiceimpl.java @@ -5,6 +5,8 @@ import com.ruoyi.system.domain_yada.GlobalTypeVO; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.mapper_yada.GlobalTypeMapper; import com.ruoyi.system.service_yada.IGlobalTypeService; +import org.apache.commons.compress.archivers.dump.DumpArchiveEntry; +import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -24,8 +26,8 @@ public class GlobalTypeServiceimpl implements IGlobalTypeService { @Override - public List selectGlobalType() { - return typeMapper.selectGlobalType(); + public List selectGlobalType(String typeName, Integer particularYear) { + return typeMapper.selectGlobalType(typeName, particularYear); } @Override diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index ab73ea165..378f41646 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -61,4 +61,83 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 314d8ebae..5ed298ce6 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -21,9 +21,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" id,particular_year,type_name,type_name_en,area_proportion,area,created_by,created_time ]]> - diff --git a/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml index 8bc6ab2a5..5f796b70f 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml @@ -6,6 +6,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + @@ -19,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -40,6 +43,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" picture_en , picture_name , picture_type , + picture_type_one, + picture_type_two, + picture_code, picture_time , picture_path, remarks, @@ -51,6 +57,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{pictureEn,jdbcType=VARCHAR}}, #{pictureName,jdbcType=VARCHAR}}, #{pictureType,jdbcType=VARCHAR}}, + #{pictureTypeOne,jdbcType=VARCHAR}}, + #{pictureTypeTwo,jdbcType=VARCHAR}}, + #{pictureCode,jdbcType=VARCHAR}}, #{pictureTime,jdbcType=TIMESTAMP}, #{picturePath,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR}, From bd12230d7e70c4bc70be71ce5015d848e44a4068 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Mon, 30 May 2022 10:17:07 +0800 Subject: [PATCH 17/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9token=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/framework/web/service/TokenService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java index f053fb356..5b4c41466 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/TokenService.java @@ -144,7 +144,7 @@ public class TokenService loginUser.setExpireTime(loginUser.getLoginTime() + expireTime * MILLIS_MINUTE); // 根据uuid将loginUser缓存 String userKey = getTokenKey(loginUser.getToken()); - redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.HOURS); + redisCache.setCacheObject(userKey, loginUser, expireTime, TimeUnit.MINUTES); } /** From a4976eff139d522eb9bf79d891efbb8ea14bb2cc Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Tue, 31 May 2022 10:47:05 +0800 Subject: [PATCH 18/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E5=92=8Ctoken=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yada/AorestCoverageController.java | 8 ++--- .../src/main/resources/application.yml | 17 +++++++++++ ruoyi-framework/pom.xml | 8 +++++ .../web/service/SysLoginService.java | 8 ++--- .../mapper_yada/AorestCoverageMapper.java | 5 ++-- .../service_yada/IAorestCoverageService.java | 7 +++-- .../impl/AorestCoverageServiceimpl.java | 10 ++++--- .../mapper/system/AorestCoverageMapper.xml | 29 +++++++++---------- 8 files changed, 58 insertions(+), 34 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index 6da94fe94..00447d8ca 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -120,10 +120,6 @@ public class AorestCoverageController { int NUM = service.IntoUpload(value); domain.setPictureCode(value.getFileId()); -// domain.setCreatedTime(LocalDateTime.now()); -// -// -// thematicMapService.save(domain); if (NUM>0) { return AjaxResult.success(); @@ -142,7 +138,7 @@ public class AorestCoverageController { @ApiOperation(value = "文件查询",httpMethod = "GET") public AjaxResult selectUpload(HttpServletResponse response, HttpServletRequest request,@RequestBody UploadFile upload) { - List eastVOSList= service.selectUpload(upload); + List eastVOSList= service.selectUpload(upload.getFileId(),upload.getFileName()); return AjaxResult.success(eastVOSList); } @@ -167,7 +163,7 @@ public class AorestCoverageController { @ApiOperation(value = "字典查询",httpMethod = "POST") public AjaxResult Dictionary(@RequestBody Dictionary dic) { - List diclist=service.selectDic(dic); + List diclist=service.selectDic(dic.getCodingType(),dic.getCodingType1(), dic.getCodingType2()); return AjaxResult.success(diclist); } diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 08ec999a1..603a382ed 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -103,6 +103,23 @@ mybatis: # 加载全局的配置文件 configLocation: classpath:mybatis/mybatis-config.xml +## 滑块验证码 +#aj: +# captcha: +# # 缓存类型 +# cache-type: redis +# # blockPuzzle 滑块 clickWord 文字点选 default默认两者都实例化 +# type: blockPuzzle +# # 右下角显示字 +# water-mark: ruoyi.vip +# # 校验滑动拼图允许误差偏移量(默认5像素) +# slip-offset: 5 +# # aes加密坐标开启或者禁用(true|false) +# aes-status: true +# # 滑动干扰项(0/1/2) +# interference-options: 2 + + # PageHelper分页插件 pagehelper: helperDialect: mysql diff --git a/ruoyi-framework/pom.xml b/ruoyi-framework/pom.xml index 39b2d88cf..fd4fa2e42 100644 --- a/ruoyi-framework/pom.xml +++ b/ruoyi-framework/pom.xml @@ -35,6 +35,14 @@ druid-spring-boot-starter + + + + + + + + com.github.penggle diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java index 6f8b9aa5c..1f937ef75 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java @@ -27,7 +27,7 @@ import com.ruoyi.system.service.ISysUserService; /** * 登录校验方法 - * + * * @author ruoyi */ @Component @@ -41,7 +41,7 @@ public class SysLoginService @Autowired private RedisCache redisCache; - + @Autowired private ISysUserService userService; @@ -50,7 +50,7 @@ public class SysLoginService /** * 登录验证 - * + * * @param username 用户名 * @param password 密码 * @param code 验证码 @@ -95,7 +95,7 @@ public class SysLoginService /** * 校验验证码 - * + * * @param username 用户名 * @param code 验证码 * @param uuid 唯一标识 diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java index bf9d00c02..77aa5bbfc 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper_yada/AorestCoverageMapper.java @@ -21,7 +21,8 @@ public interface AorestCoverageMapper { Integer IntoUpload(UploadFile file); - List selectUpload(UploadFile file); + List selectUpload(@Param("fileId") String fileId,@Param("fileName") String fileName); - List selectDic(Dictionary dic); + List selectDic(@Param("codingType") String codingType,@Param("codingType1") String codingType1, + @Param("codingType2") String codingType2); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java index 0e53908a9..362f9ff7a 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/IAorestCoverageService.java @@ -18,13 +18,14 @@ public interface IAorestCoverageService { public List selectAorestCoverage(); - public Integer DelAorestCoverage(@Param("id") String id); + public Integer DelAorestCoverage(String id); public Integer IntoAorestCoverage(AorestCoverageVO eastVO); public Integer IntoUpload(UploadFile file); - public List selectUpload(UploadFile file); + public List selectUpload(String fileId,String fileName); - public List selectDic(Dictionary dic); + List selectDic(String codingType,String codingType1, + String codingType2); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java index 6f0271493..206152212 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service_yada/impl/AorestCoverageServiceimpl.java @@ -7,6 +7,7 @@ import com.ruoyi.system.domain_yada.UploadFile; import com.ruoyi.system.mapper_yada.AorestCoverageMapper; import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; import com.ruoyi.system.service_yada.IAorestCoverageService; +import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -45,12 +46,13 @@ public class AorestCoverageServiceimpl implements IAorestCoverageService { } @Override - public List selectUpload(UploadFile file) { - return coverageMapper.selectUpload(file); + public List selectUpload(String fileId, String fileName) { + return coverageMapper.selectUpload(fileId,fileName); } @Override - public List selectDic(Dictionary dic) { - return coverageMapper.selectDic(dic); + public List selectDic(String codingType,String codingType1, + String codingType2) { + return coverageMapper.selectDic(codingType,codingType1,codingType2); } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index 378f41646..ee9470fb8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -96,11 +96,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -117,26 +117,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" From 2de946adb8ad519c71cf6024ccd92dab25ba8623 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Wed, 8 Jun 2022 17:18:59 +0800 Subject: [PATCH 19/26] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=84=E4=B8=AA?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E8=A1=A8=E6=95=B0=E6=8D=AE=E4=B8=8A=E5=BA=8A?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=88=87=E6=8D=A2=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/pom.xml | 28 +- .../controller/yada/SpecialController.java | 302 ++++++++++++++++++ .../yada/SpecialReportController.java | 7 - .../src/main/resources/application-druid.yml | 21 +- .../mapper/generator/GenTableColumnMapper.xml | 4 +- .../mapper/generator/GenTableMapper.xml | 4 +- .../mapper/quartz/SysJobLogMapper.xml | 2 +- .../resources/mapper/quartz/SysJobMapper.xml | 4 +- .../domain_yada/AustraliaMiddleEastVO.java | 15 +- .../ruoyi/system/domain_yada/RegionVGIVO.java | 6 +- .../mapper/system/AorestCoverageMapper.xml | 5 +- .../system/AustraliaMiddleEastMapper.xml | 9 +- .../mapper/system/RegionVGIMapper.xml | 6 +- .../mapper/system/RegionalSystemMapper.xml | 4 +- .../mapper/system/SysConfigMapper.xml | 4 +- .../resources/mapper/system/SysDeptMapper.xml | 4 +- .../mapper/system/SysDictDataMapper.xml | 4 +- .../mapper/system/SysDictTypeMapper.xml | 4 +- .../resources/mapper/system/SysMenuMapper.xml | 12 +- .../mapper/system/SysNoticeMapper.xml | 4 +- .../mapper/system/SysOperLogMapper.xml | 2 +- .../resources/mapper/system/SysPostMapper.xml | 4 +- .../resources/mapper/system/SysRoleMapper.xml | 4 +- .../resources/mapper/system/SysUserMapper.xml | 4 +- .../system/VegetationCoverageMapper.xml | 4 +- 25 files changed, 397 insertions(+), 70 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 4f8dd03b3..5f4c2efef 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -17,7 +17,27 @@ - + + + org.apache.poi + + poi + + 4.0.1 + + + + + + org.apache.poi + + poi-ooxml + + 4.0.1 + + + + org.springframework.boot spring-boot-devtools @@ -42,6 +62,12 @@ knife4j-spring-boot-starter 3.0.3 + + + org.postgresql + postgresql + 42.2.20 + diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java new file mode 100644 index 000000000..aee5ccccb --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java @@ -0,0 +1,302 @@ +package com.ruoyi.web.controller.yada; + +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domain_yada.*; +import com.ruoyi.system.service_yada.*; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.apache.poi.ss.usermodel.Row; +import org.apache.poi.ss.usermodel.Sheet; +import org.apache.poi.ss.usermodel.Workbook; +import org.apache.poi.xssf.usermodel.XSSFSheet; +import org.apache.poi.xssf.usermodel.XSSFWorkbook; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +import javax.annotation.Resource; +import java.io.IOException; +import java.io.InputStream; +import java.math.BigDecimal; +import java.time.LocalDateTime; +import java.util.ArrayList; +import java.util.List; + +@RestController +@RequestMapping(value = "/Special") +@Api(tags = "模板导入") +public class SpecialController { + + @Resource + private IRegionVGIService regionVGIService; + + @Resource + private IAustraliaMiddleEastService australiaMiddleEastService; + + @Resource + private IAorestCoverageService service; + + @Resource + private IVegetationCoverageService coverageService; + + @Resource + private IRegionalSystemService systemService; + + /** + */ + + @RequestMapping(value = "/helpSaveExcel") + private AjaxResult helpSaveExcel(@RequestBody MultipartFile file) { + List value = saveExcel(file); + + return IntoRegion(value); + } + + /** + * 森林覆盖率模板导入 + */ + @RequestMapping(value = "/helpExcelAorest") + private AjaxResult helpExcelAorest(@RequestBody MultipartFile file) { + List value = saveExcelAorest(file); + + return IntoAorestCoverage(value); + } + + /** + *平均植被覆盖度和净初级生产力 + */ + @RequestMapping(value = "/helpExcelnpp") + private AjaxResult helpExcelnpp(@RequestBody MultipartFile file) { + List value = saveExcelnpp(file); + + return IntoVegetation(value); + } + + /** + * 澳大利亚中部地区模板导入 + */ + @RequestMapping(value = "/helpExcelAus") + private AjaxResult helpExcelAus(@RequestBody MultipartFile file) { + List value = saveExcelAus(file); + + return IntoAustralia(value); + } + + /** + * 区域生态系统类型转移 + */ + @RequestMapping(value = "/helpExcelRegion") + private AjaxResult helpExcelRegion(@RequestBody MultipartFile file) { + List value = saveExcelRegion(file); + + return IntoRegional(value); + } + + public AjaxResult IntoRegional(List eastVOS) + { + try { + for (int i = 0; i < eastVOS.size(); i++) { + eastVOS.get(i).setCreateTime(LocalDateTime.now()); + systemService.IntoRegional(eastVOS.get(i)); + } + return AjaxResult.success(); + } + catch (Exception E){ + E.getMessage(); + return AjaxResult.error(E.getMessage()); + } + } + + public AjaxResult IntoAustralia(List eastVOS) { + + for (int i = 0; i < eastVOS.size(); i++) { + eastVOS.get(i).setCreateTime(LocalDateTime.now()); + australiaMiddleEastService.IntoAustralia(eastVOS.get(i)); + } + + return AjaxResult.success(); + } + + public AjaxResult IntoRegion(List vgivo) { + for (int i = 0; i < vgivo.size(); i++) { + vgivo.get(i).setCreatedTime(LocalDateTime.now()); + + regionVGIService.IntoRegion(vgivo.get(i)); + } + + return AjaxResult.success(); + + } + + public AjaxResult IntoAorestCoverage(List eastVOS) + { + try { + for (int i = 0; i < eastVOS.size(); i++) { + eastVOS.get(i).setCreateTime(LocalDateTime.now()); + service.IntoAorestCoverage(eastVOS.get(i)); + } + return AjaxResult.success(); + } + catch (Exception E){ + E.getMessage(); + return AjaxResult.error(E.getMessage()); + } + } + + public AjaxResult IntoVegetation(List eastVOS) + { + try { + for (int i = 0; i < eastVOS.size(); i++) { + eastVOS.get(i).setCreateTime(LocalDateTime.now()); + coverageService.IntoVegetation(eastVOS.get(i)); + } + return AjaxResult.success(); + } + catch (Exception E){ + E.getMessage(); + return AjaxResult.error(E.getMessage()); + } + } + + private List saveExcel(MultipartFile file) { + + try { + List Value = new ArrayList<>(); + InputStream inputStream = file.getInputStream(); + Workbook book; + Sheet sheet; + book = new XSSFWorkbook(inputStream); + sheet = book.getSheetAt(0); + for (int i = 1; i < sheet.getLastRowNum() + 1; i++) { + RegionVGIVO value = new RegionVGIVO(); + Row row = sheet.getRow(i); + value.setCreatedTime(LocalDateTime.now()); + value.setRegion(row.getCell(0).toString()); + value.setRegionEn(row.getCell(1).toString()); + value.setForest(Double.parseDouble(row.getCell(2).toString())); + value.setGrassland(Double.parseDouble(row.getCell(3).toString())); + value.setParticularYear(row.getCell(4).toString()); + Value.add(value); + } + return Value; + } catch (IOException e) { + e.printStackTrace(); + return null; + } + + + } + + private List saveExcelAus(MultipartFile file) { + + try { + List Value = new ArrayList<>(); + InputStream inputStream = file.getInputStream(); + Workbook book; + Sheet sheet; + book = new XSSFWorkbook(inputStream); + sheet = book.getSheetAt(0); + for (int i = 1; i < sheet.getLastRowNum() + 1; i++) { + AustraliaMiddleEastVO value = new AustraliaMiddleEastVO(); + Row row = sheet.getRow(i); + value.setYearMonth(Double.parseDouble(row.getCell(0).toString())); + value.setMonth(Double.parseDouble(row.getCell(1).toString())); + value.setSstAnomalyIndex(Double.parseDouble(row.getCell(2).toString())); + value.setTemperatureAnomolies(Double.parseDouble(row.getCell(3).toString())); + value.setPrecipitationAnomolies(Double.parseDouble(row.getCell(4).toString())); + value.setVaiAnomolies(Double.parseDouble(row.getCell(5).toString())); + Value.add(value); + } + return Value; + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + + private List saveExcelAorest(MultipartFile file) { + + try { + List Value = new ArrayList<>(); + InputStream inputStream = file.getInputStream(); + Workbook book; + Sheet sheet; + book = new XSSFWorkbook(inputStream); + sheet = book.getSheetAt(0); + for (int i = 1; i < sheet.getLastRowNum() + 1; i++) { + AorestCoverageVO value = new AorestCoverageVO(); + Row row = sheet.getRow(i); + value.setRegion(row.getCell(0).toString()); + value.setRegionEn(row.getCell(1).toString()); + value.setProtectedLands(Double.parseDouble(row.getCell(2).toString())); + value.setNonProtectedLands(Double.parseDouble(row.getCell(3).toString())); + value.setMountain(Double.parseDouble(row.getCell(4).toString())); + value.setNonMountain(Double.parseDouble(row.getCell(5).toString())); + value.setCreateTime(LocalDateTime.now()); + Value.add(value); + } + return Value; + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + + private List saveExcelnpp(MultipartFile file) { + + try { + List Value = new ArrayList<>(); + InputStream inputStream = file.getInputStream(); + Workbook book; + Sheet sheet; + book = new XSSFWorkbook(inputStream); + sheet = book.getSheetAt(0); + for (int i = 1; i < sheet.getLastRowNum() + 1; i++) { + VegetationCoverageVO value = new VegetationCoverageVO(); + Row row = sheet.getRow(i); + value.setRegion(row.getCell(0).toString()); + value.setRegionEn(row.getCell(1).toString()); + value.setProtectedLands(Double.parseDouble(row.getCell(4).toString())); + value.setNonProtectedLands(Double.parseDouble(row.getCell(5).toString())); + value.setMountain(Double.parseDouble(row.getCell(2).toString())); + value.setNonMountain(Double.parseDouble(row.getCell(3).toString())); + value.setCreateTime(LocalDateTime.now()); + Value.add(value); + } + return Value; + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + + private List saveExcelRegion(MultipartFile file) { + + try { + List Value = new ArrayList<>(); + InputStream inputStream = file.getInputStream(); + Workbook book; + Sheet sheet; + book = new XSSFWorkbook(inputStream); + sheet = book.getSheetAt(0); + for (int i = 1; i < sheet.getLastRowNum() + 1; i++) { + RegionalSystemVO value = new RegionalSystemVO(); + Row row = sheet.getRow(i); + value.setRegion(row.getCell(0).toString()); + value.setRegionEn(row.getCell(1).toString()); + value.setTypeConversion(row.getCell(2).toString()); + value.setTypeconversionEn(row.getCell(3).toString()); + value.setProportionOfChangedAreas(Double.parseDouble(row.getCell(4).toString())); + value.setCreateTime(LocalDateTime.now()); + Value.add(value); + } + return Value; + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java deleted file mode 100644 index 51c3468b7..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialReportController.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.ruoyi.web.controller.yada; - -/** - * 专题报告 - */ -public class SpecialReportController { -} diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 9d18a7d5c..31dfb10a3 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -2,14 +2,16 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource - driverClassName: com.mysql.cj.jdbc.Driver +# driverClassName: com.mysql.cj.jdbc.Driver + driver-class-name: org.postgresql.Driver druid: - # 主库数据源 master: -# url: jdbc:mysql://192.168.2.9:3306/nuoyi?useUnicode=true&characterEncoding=UTF-8&useSSL=false&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - url: jdbc:mysql://192.168.2.9:3306/nuoyi?AllowPublicKeyRetrieval=True&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai - username: saas - password: XKrs123. + url: jdbc:postgresql://192.168.2.9:5432/yada?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai + username: sjs + password: song5325 +# url: jdbc:mysql://192.168.2.9:3306/nuoyi?AllowPublicKeyRetrieval=True&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai +# username: saas +# password: XKrs123. # 从库数据源 slave: # 从数据源开关/默认关闭 @@ -31,8 +33,9 @@ spring: minEvictableIdleTimeMillis: 300000 # 配置一个连接在池中最大生存的时间,单位是毫秒 maxEvictableIdleTimeMillis: 900000 - # 配置检测连接是否有效 - validationQuery: SELECT 1 FROM DUAL + # 配置检测连接是否有效select * from pg_stat_activity +# validationQuery: SELECT 1 FROM DUAL + validationQuery: SELECT version() testWhileIdle: true testOnBorrow: false testOnReturn: false @@ -55,4 +58,4 @@ spring: merge-sql: true wall: config: - multi-statement-allow: true \ No newline at end of file + multi-statement-allow: true diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml index 0bf0eea90..6ff3ef6f7 100644 --- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml +++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml @@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{dictType}, #{sort}, #{createBy}, - sysdate() + current_timestamp ) @@ -105,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" dict_type = #{dictType}, sort = #{sort}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where column_id = #{columnId} diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml index a5d014543..e99b74f32 100644 --- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml +++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableMapper.xml @@ -164,7 +164,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{genPath}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) @@ -187,7 +187,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" options = #{options}, update_by = #{updateBy}, remark = #{remark}, - update_time = sysdate() + update_time = current_timestamp where table_id = #{tableId} diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml index 588d17705..32966a1ca 100644 --- a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml +++ b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml @@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{jobMessage}, #{status}, #{exceptionInfo}, - sysdate() + current_timestamp ) diff --git a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml index 69233bdf7..15399c8ec 100644 --- a/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml +++ b/ruoyi-quartz/src/main/resources/mapper/quartz/SysJobMapper.xml @@ -75,7 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" status = #{status}, remark = #{remark}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where job_id = #{jobId} @@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java index e6e977f40..468819bd1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/AustraliaMiddleEastVO.java @@ -10,7 +10,9 @@ public class AustraliaMiddleEastVO extends SysBaseEntity { private String id; - private LocalDate yearMonth; + private Double yearMonth; + + private Double month; private Double sstAnomalyIndex; @@ -28,11 +30,11 @@ public class AustraliaMiddleEastVO extends SysBaseEntity this.id = id; } - public LocalDate getYearMonth() { + public Double getYearMonth() { return yearMonth; } - public void setYearMonth(LocalDate yearMonth) { + public void setYearMonth(Double yearMonth) { this.yearMonth = yearMonth; } @@ -68,4 +70,11 @@ public class AustraliaMiddleEastVO extends SysBaseEntity this.vaiAnomolies = vaiAnomolies; } + public Double getMonth() { + return month; + } + + public void setMonth(Double month) { + this.month = month; + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java index c46577ce9..41601576b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/RegionVGIVO.java @@ -23,7 +23,7 @@ public class RegionVGIVO implements Serializable { private Double grassland; - private Integer particularYear; + private String particularYear; private String createdBy; @@ -85,11 +85,11 @@ public class RegionVGIVO implements Serializable { this.grassland = grassland; } - public Integer getParticularYear() { + public String getParticularYear() { return particularYear; } - public void setParticularYear(Integer particularYear) { + public void setParticularYear(String particularYear) { this.particularYear = particularYear; } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index ee9470fb8..b8813301a 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -5,7 +5,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - @@ -36,7 +35,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + @@ -18,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -34,8 +35,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml index b1570e289..d14d1b9e7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml @@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{configType}, #{createBy}, #{remark}, - sysdate() + current_timestamp ) @@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" config_type = #{configType}, update_by = #{updateBy}, remark = #{remark}, - update_time = sysdate() + update_time = current_timestamp where config_id = #{configId} diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml index 984f89ccc..6a563e85e 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml @@ -109,7 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{email}, #{status}, #{createBy}, - sysdate() + current_timestamp ) @@ -125,7 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" email = #{email}, status = #{status}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where dept_id = #{deptId} diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml index 75d80a157..f7b5d5d68 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml @@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" status = #{status}, remark = #{remark}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where dict_code = #{dictCode} @@ -117,7 +117,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml index 2b44b2eee..6d65a7921 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml @@ -79,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" status = #{status}, remark = #{remark}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where dict_id = #{dictId} @@ -98,7 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml index f11402c7f..8b31b47b8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml @@ -28,7 +28,7 @@ - select menu_id, menu_name, parent_id, order_num, path, component, `query`, is_frame, is_cache, menu_type, visible, status, ifnull(perms,'') as perms, icon, create_time + select menu_id, menu_name, parent_id, order_num, path, component, `query`, is_frame, is_cache, menu_type, visible, status, nullif(perms,'') as perms, icon, create_time from sys_menu @@ -49,13 +49,13 @@ diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml index 2425ae058..8b73469a3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml @@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" status = #{status}, remark = #{remark}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where post_id = #{postId} @@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml index a8d3ede58..2a34ceef1 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -117,7 +117,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{remark}, #{createBy}, - sysdate() + current_timestamp ) @@ -133,7 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" status = #{status}, remark = #{remark}, update_by = #{updateBy}, - update_time = sysdate() + update_time = current_timestamp where role_id = #{roleId} diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 16a64c2a3..df55eda3d 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -170,7 +170,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{status}, #{createBy}, #{remark}, - sysdate() + current_timestamp ) @@ -190,7 +190,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" login_date = #{loginDate}, update_by = #{updateBy}, remark = #{remark}, - update_time = sysdate() + update_time = current_timestamp where user_id = #{userId} diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index 24e0e6b33..df3dd9245 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -35,7 +35,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" Date: Thu, 16 Jun 2022 09:24:27 +0800 Subject: [PATCH 20/26] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/RuoYiApplication.java | 1 + .../controller/system/SysLoginController.java | 19 ++- .../controller/yada/SpecialController.java | 30 ++++- ...m.anji.captcha.service.CaptchaCacheService | 1 + .../src/main/resources/application.yml | 100 ++++++++-------- .../ruoyi/common/utils/file/WeatherUtils.java | 66 +++++++++++ ruoyi-framework/pom.xml | 12 +- .../framework/config/SecurityConfig.java | 1 + .../web/service/CaptchaRedisService.java | 53 +++++++++ .../web/service/SysLoginService.java | 56 +++------ .../com/ruoyi/system/domain_yada/CastsVo.java | 110 ++++++++++++++++++ .../ruoyi/system/domain_yada/ForecastVo.java | 62 ++++++++++ .../com/ruoyi/system/domain_yada/LivesVo.java | 110 ++++++++++++++++++ .../system/domain_yada/WeatherUtilsVO.java | 85 ++++++++++++++ 14 files changed, 598 insertions(+), 108 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService create mode 100644 ruoyi-common/src/main/java/com/ruoyi/common/utils/file/WeatherUtils.java create mode 100644 ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/CaptchaRedisService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/CastsVo.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ForecastVo.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/LivesVo.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/WeatherUtilsVO.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java index 7ecbd0496..5eab88c93 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java @@ -29,4 +29,5 @@ public class RuoYiApplication " | | \\ / \\ / \n" + " ''-' `'-' `-..-' "); } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java index d959a17e0..600265f57 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java @@ -12,9 +12,11 @@ import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.domain.entity.SysMenu; import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.common.core.domain.model.LoginBody; -import com.ruoyi.common.utils.SecurityUtils; +import com.ruoyi.common.core.domain.model.LoginUser; +import com.ruoyi.common.utils.ServletUtils; import com.ruoyi.framework.web.service.SysLoginService; import com.ruoyi.framework.web.service.SysPermissionService; +import com.ruoyi.framework.web.service.TokenService; import com.ruoyi.system.service.ISysMenuService; /** @@ -34,6 +36,9 @@ public class SysLoginController @Autowired private SysPermissionService permissionService; + @Autowired + private TokenService tokenService; + /** * 登录方法 * @@ -45,8 +50,7 @@ public class SysLoginController { AjaxResult ajax = AjaxResult.success(); // 生成令牌 - String token = loginService.login(loginBody.getUsername(), loginBody.getPassword(), loginBody.getCode(), - loginBody.getUuid()); + String token = loginService.login(loginBody.getUsername(), loginBody.getPassword(), loginBody.getCode()); ajax.put(Constants.TOKEN, token); return ajax; } @@ -59,7 +63,8 @@ public class SysLoginController @GetMapping("getInfo") public AjaxResult getInfo() { - SysUser user = SecurityUtils.getLoginUser().getUser(); + LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); + SysUser user = loginUser.getUser(); // 角色集合 Set roles = permissionService.getRolePermission(user); // 权限集合 @@ -79,8 +84,10 @@ public class SysLoginController @GetMapping("getRouters") public AjaxResult getRouters() { - Long userId = SecurityUtils.getUserId(); - List menus = menuService.selectMenuTreeByUserId(userId); + LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); + // 用户信息 + SysUser user = loginUser.getUser(); + List menus = menuService.selectMenuTreeByUserId(user.getUserId()); return AjaxResult.success(menuService.buildMenus(menus)); } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java index aee5ccccb..5dce08793 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/SpecialController.java @@ -1,10 +1,14 @@ package com.ruoyi.web.controller.yada; +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.file.WeatherUtils; import com.ruoyi.system.domain_yada.*; import com.ruoyi.system.service_yada.*; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import jdk.jfr.Frequency; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; @@ -16,14 +20,20 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; +import springfox.documentation.spring.web.json.Json; import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; +import java.net.http.HttpRequest; import java.time.LocalDateTime; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; @RestController @RequestMapping(value = "/Special") @@ -55,7 +65,25 @@ public class SpecialController { return IntoRegion(value); } - /** + @RequestMapping(value = "/helpWeatherClass",method = {RequestMethod.GET}) + public AjaxResult helpWeatherClass(String city,String type) + { + String url="https://restapi.amap.com/v3/weather/weatherInfo"; + Map map=new HashMap<>(); + map.put("key","37087f0a3007dc67d37859553cd02d33"); + map.put("city",city); + if (type!=null){ map.put("extensions",type);} + map.put("output","json"); + String value= WeatherUtils.httpRequest(url,map); + WeatherUtilsVO vo = JSON.parseObject(value,WeatherUtilsVO.class); +// String value2=vo.getForecasts().substring(1,vo.getForecasts().length()-1); +// System.out.println(value2); +// vo.setForecast(JSON.parseObject(value2,ForecastVo.class)); +// JSONObject userJson=JSONObject.parseObject(value); +// WeatherUtilsVO utilsValue= JSON.toJavaObject(userJson,WeatherUtilsVO.class); + + return AjaxResult.success(vo); + } /** * 森林覆盖率模板导入 */ @RequestMapping(value = "/helpExcelAorest") diff --git a/ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService b/ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService new file mode 100644 index 000000000..b2442bc02 --- /dev/null +++ b/ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService @@ -0,0 +1 @@ +com.ruoyi.framework.web.service.CaptchaRedisService \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 603a382ed..fbf3866ad 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -3,9 +3,9 @@ ruoyi: # 名称 name: RuoYi # 版本 - version: 3.8.2 + version: 3.4.0 # 版权年份 - copyrightYear: 2022 + copyrightYear: 2021 # 实例演示开关 demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) @@ -25,13 +25,10 @@ server: tomcat: # tomcat的URI编码 uri-encoding: UTF-8 - # 连接数满后的排队数,默认为100 - accept-count: 1000 - threads: - # tomcat最大线程数,默认为200 - max: 800 - # Tomcat启动初始化的线程数,默认值10 - min-spare: 100 + # tomcat最大线程数,默认为200 + max-threads: 800 + # Tomcat启动初始化的线程数,默认值25 + min-spare-threads: 30 # 日志配置 logging: @@ -41,22 +38,19 @@ logging: # Spring配置 spring: -# config: -# activate: -# on-profile: druid - profiles: - active: druid # 资源信息 messages: # 国际化资源文件路径 basename: i18n/messages + profiles: + active: druid # 文件上传 servlet: - multipart: - # 单个文件大小 - max-file-size: 10MB - # 设置总上传的文件大小 - max-request-size: 20MB + multipart: + # 单个文件大小 + max-file-size: 10MB + # 设置总上传的文件大小 + max-request-size: 20MB # 服务模块 devtools: restart: @@ -69,9 +63,9 @@ spring: # 端口,默认为6379 port: 6379 # 数据库索引 - database: 3 + database: 0 # 密码 - password: sdust2020 + password: # 连接超时时间 timeout: 10s lettuce: @@ -87,44 +81,28 @@ spring: # token配置 token: - # 令牌自定义标识 - header: Authorization - # 令牌密钥 - secret: abcdefghijklmnopqrstuvwxyz - # 令牌有效期(默认30分钟) - expireTime: 300 - + # 令牌自定义标识 + header: Authorization + # 令牌密钥 + secret: abcdefghijklmnopqrstuvwxyz + # 令牌有效期(默认30分钟) + expireTime: 30 + # MyBatis配置 mybatis: - # 搜索指定包别名 - typeAliasesPackage: com.ruoyi.**.domain,com.ruoyi.**.domain_yada - # 配置mapper的扫描,找到所有的mapper.xml映射文件 - mapperLocations: classpath*:mapper/**/*Mapper.xml,classpath*:mapper_yada/*Mapper.xml - # 加载全局的配置文件 - configLocation: classpath:mybatis/mybatis-config.xml - -## 滑块验证码 -#aj: -# captcha: -# # 缓存类型 -# cache-type: redis -# # blockPuzzle 滑块 clickWord 文字点选 default默认两者都实例化 -# type: blockPuzzle -# # 右下角显示字 -# water-mark: ruoyi.vip -# # 校验滑动拼图允许误差偏移量(默认5像素) -# slip-offset: 5 -# # aes加密坐标开启或者禁用(true|false) -# aes-status: true -# # 滑动干扰项(0/1/2) -# interference-options: 2 - + # 搜索指定包别名 + typeAliasesPackage: com.ruoyi.**.domain + # 配置mapper的扫描,找到所有的mapper.xml映射文件 + mapperLocations: classpath*:mapper/**/*Mapper.xml + # 加载全局的配置文件 + configLocation: classpath:mybatis/mybatis-config.xml # PageHelper分页插件 -pagehelper: +pagehelper: helperDialect: mysql + reasonable: true supportMethodsArguments: true - params: count=countSql + params: count=countSql # Swagger配置 swagger: @@ -133,12 +111,26 @@ swagger: # 请求前缀 pathMapping: /dev-api +# 滑块验证码 +aj: + captcha: + cache-type: redis + # blockPuzzle 滑块 clickWord 文字点选 default默认两者都实例化 + type: blockPuzzle + # 右下角显示字 + water-mark: ruoyi.vip + # 校验滑动拼图允许误差偏移量(默认5像素) + slip-offset: 5 + # aes加密坐标开启或者禁用(true|false) + aes-status: true + # 滑动干扰项(0/1/2) + interference-options: 2 # 防止XSS攻击 xss: # 过滤开关 enabled: true # 排除链接(多个用逗号分隔) - excludes: /system/notice + excludes: /system/notice/* # 匹配链接 urlPatterns: /system/*,/monitor/*,/tool/* diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/file/WeatherUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/file/WeatherUtils.java new file mode 100644 index 000000000..a29f23031 --- /dev/null +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/file/WeatherUtils.java @@ -0,0 +1,66 @@ +package com.ruoyi.common.utils.file; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.*; +import java.net.*; +import java.util.Map; + +/** + * @Author: JinSheng Song + * @Date: 2022/6/10 9:17 + */ +public class WeatherUtils +{ + + + public static String httpRequest(String requestUrl,Map params) { + //buffer用于接受返回的字符 + StringBuffer buffer = new StringBuffer(); + try { + //建立URL,把请求地址给补全,其中urlencode()方法用于把params里的参数给取出来 + URL url = new URL(requestUrl+"?"+urlencode(params)); + //打开http连接 + HttpURLConnection httpUrlConn = (HttpURLConnection) url.openConnection(); + httpUrlConn.setDoInput(true); + httpUrlConn.setRequestMethod("GET"); + httpUrlConn.connect(); + + //获得输入 + InputStream inputStream = httpUrlConn.getInputStream(); + InputStreamReader inputStreamReader = new InputStreamReader(inputStream, "utf-8"); + BufferedReader bufferedReader = new BufferedReader(inputStreamReader); + + //将bufferReader的值给放到buffer里 + String str = null; + while ((str = bufferedReader.readLine()) != null) { + buffer.append(str); + } + //关闭bufferReader和输入流 + bufferedReader.close(); + inputStreamReader.close(); + inputStream.close(); + inputStream = null; + //断开连接 + httpUrlConn.disconnect(); + + } catch (Exception e) { + e.printStackTrace(); + } + //返回字符串 + return buffer.toString(); + } + + public static String urlencode(Mapdata) { + //将map里的参数变成像 showapi_appid=###&showapi_sign=###&的样子 + StringBuilder sb = new StringBuilder(); + for (Map.Entry i : data.entrySet()) { + try { + sb.append(i.getKey()).append("=").append(URLEncoder.encode(i.getValue()+"","UTF-8")).append("&"); + } catch (UnsupportedEncodingException e) { + e.printStackTrace(); + } + } + return sb.toString(); + } +} diff --git a/ruoyi-framework/pom.xml b/ruoyi-framework/pom.xml index fd4fa2e42..26f362e21 100644 --- a/ruoyi-framework/pom.xml +++ b/ruoyi-framework/pom.xml @@ -35,13 +35,13 @@ druid-spring-boot-starter - - - - - - + + + com.github.anji-plus + captcha-spring-boot-starter + 1.2.7 + diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index 58dd02ad0..793479b85 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -110,6 +110,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter .antMatchers("/swagger-ui.html").anonymous() .antMatchers("/swagger-resources/**").anonymous() .antMatchers("/webjars/**").anonymous() + .antMatchers("/login", "/captcha/get", "/captcha/check").permitAll() .antMatchers("/*/api-docs").anonymous() .antMatchers("/druid/**").anonymous() // 除上面外的所有请求全部需要鉴权认证 diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/CaptchaRedisService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/CaptchaRedisService.java new file mode 100644 index 000000000..01e288b7a --- /dev/null +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/CaptchaRedisService.java @@ -0,0 +1,53 @@ +package com.ruoyi.framework.web.service; + +import java.util.concurrent.TimeUnit; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import com.anji.captcha.service.CaptchaCacheService; + +/** + * 自定义redis验证码缓存实现类 + * + * @author ruoyi + */ +public class CaptchaRedisService implements CaptchaCacheService +{ + @Autowired + private StringRedisTemplate stringRedisTemplate; + + @Override + public void set(String key, String value, long expiresInSeconds) + { + stringRedisTemplate.opsForValue().set(key, value, expiresInSeconds, TimeUnit.SECONDS); + } + + @Override + public boolean exists(String key) + { + return stringRedisTemplate.hasKey(key); + } + + @Override + public void delete(String key) + { + stringRedisTemplate.delete(key); + } + + @Override + public String get(String key) + { + return stringRedisTemplate.opsForValue().get(key); + } + + @Override + public Long increment(String key, long val) + { + return stringRedisTemplate.opsForValue().increment(key, val); + } + + @Override + public String type() + { + return "redis"; + } +} \ No newline at end of file diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java index 1f937ef75..09995d987 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/SysLoginService.java @@ -2,27 +2,27 @@ package com.ruoyi.framework.web.service; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Lazy; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.stereotype.Component; +import com.anji.captcha.model.common.ResponseModel; +import com.anji.captcha.model.vo.CaptchaVO; +import com.anji.captcha.service.CaptchaService; import com.ruoyi.common.constant.Constants; import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.common.core.domain.model.LoginUser; -import com.ruoyi.common.core.redis.RedisCache; import com.ruoyi.common.exception.ServiceException; import com.ruoyi.common.exception.user.CaptchaException; -import com.ruoyi.common.exception.user.CaptchaExpireException; import com.ruoyi.common.exception.user.UserPasswordNotMatchException; import com.ruoyi.common.utils.DateUtils; import com.ruoyi.common.utils.MessageUtils; -import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.ServletUtils; import com.ruoyi.common.utils.ip.IpUtils; import com.ruoyi.framework.manager.AsyncManager; import com.ruoyi.framework.manager.factory.AsyncFactory; -import com.ruoyi.system.service.ISysConfigService; import com.ruoyi.system.service.ISysUserService; /** @@ -39,14 +39,12 @@ public class SysLoginService @Resource private AuthenticationManager authenticationManager; - @Autowired - private RedisCache redisCache; - @Autowired private ISysUserService userService; @Autowired - private ISysConfigService configService; + @Lazy + private CaptchaService captchaService; /** * 登录验证 @@ -54,16 +52,18 @@ public class SysLoginService * @param username 用户名 * @param password 密码 * @param code 验证码 - * @param uuid 唯一标识 * @return 结果 */ - public String login(String username, String password, String code, String uuid) + public String login(String username, String password, String code) { - boolean captchaOnOff = configService.selectCaptchaOnOff(); - // 验证码开关 - if (captchaOnOff) + CaptchaVO captchaVO = new CaptchaVO(); + captchaVO.setCaptchaVerification(code); + ResponseModel response = captchaService.verification(captchaVO); + if (!response.isSuccess()) { - validateCaptcha(username, code, uuid); + AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, + MessageUtils.message("user.jcaptcha.error"))); + throw new CaptchaException(); } // 用户验证 Authentication authentication = null; @@ -88,36 +88,10 @@ public class SysLoginService } AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_SUCCESS, MessageUtils.message("user.login.success"))); LoginUser loginUser = (LoginUser) authentication.getPrincipal(); - recordLoginInfo(loginUser.getUserId()); // 生成token return tokenService.createToken(loginUser); } - /** - * 校验验证码 - * - * @param username 用户名 - * @param code 验证码 - * @param uuid 唯一标识 - * @return 结果 - */ - public void validateCaptcha(String username, String code, String uuid) - { - String verifyKey = Constants.CAPTCHA_CODE_KEY + StringUtils.nvl(uuid, ""); - String captcha = redisCache.getCacheObject(verifyKey); - redisCache.deleteObject(verifyKey); - if (captcha == null) - { - AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.expire"))); - throw new CaptchaExpireException(); - } - if (!code.equalsIgnoreCase(captcha)) - { - AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.jcaptcha.error"))); - throw new CaptchaException(); - } - } - /** * 记录登录信息 * @@ -131,4 +105,4 @@ public class SysLoginService sysUser.setLoginDate(DateUtils.getNowDate()); userService.updateUserProfile(sysUser); } -} +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/CastsVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/CastsVo.java new file mode 100644 index 000000000..995efb013 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/CastsVo.java @@ -0,0 +1,110 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDate; + +/** + * @Author: JinSheng Song + * @Date: 2022/6/10 10:04 + */ +public class CastsVo +{ + private String date; + + private String week; + + private String dayweather; + + private String nightweather; + + private String daytemp; + + private String nighttemp; + + private String daywind; + + private String nightwind; + + private String daypower; + + private String nightpower; + + public String getDate() { + return date; + } + + public void setDate(String date) { + this.date = date; + } + + public String getWeek() { + return week; + } + + public void setWeek(String week) { + this.week = week; + } + + public String getDayweather() { + return dayweather; + } + + public void setDayweather(String dayweather) { + this.dayweather = dayweather; + } + + public String getNightweather() { + return nightweather; + } + + public void setNightweather(String nightweather) { + this.nightweather = nightweather; + } + + public String getDaytemp() { + return daytemp; + } + + public void setDaytemp(String daytemp) { + this.daytemp = daytemp; + } + + public String getNighttemp() { + return nighttemp; + } + + public void setNighttemp(String nighttemp) { + this.nighttemp = nighttemp; + } + + public String getDaywind() { + return daywind; + } + + public void setDaywind(String daywind) { + this.daywind = daywind; + } + + public String getNightwind() { + return nightwind; + } + + public void setNightwind(String nightwind) { + this.nightwind = nightwind; + } + + public String getDaypower() { + return daypower; + } + + public void setDaypower(String daypower) { + this.daypower = daypower; + } + + public String getNightpower() { + return nightpower; + } + + public void setNightpower(String nightpower) { + this.nightpower = nightpower; + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ForecastVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ForecastVo.java new file mode 100644 index 000000000..3ca9773f8 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/ForecastVo.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDateTime; +import java.util.List; + +/** + * @Author: JinSheng Song + * @Date: 2022/6/10 10:02 + */ +public class ForecastVo { + + private String city; + + private String adcode; + + private String province; + + private String reporttime; + + private List casts; + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getAdcode() { + return adcode; + } + + public void setAdcode(String adcode) { + this.adcode = adcode; + } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public String getReporttime() { + return reporttime; + } + + public void setReporttime(String reporttime) { + this.reporttime = reporttime; + } + + public List getCasts() { + return casts; + } + + public void setCasts(List casts) { + this.casts = casts; + } +} + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/LivesVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/LivesVo.java new file mode 100644 index 000000000..6a5d3fefb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/LivesVo.java @@ -0,0 +1,110 @@ +package com.ruoyi.system.domain_yada; + +import java.time.LocalDateTime; + +/** + * @Author: JinSheng Song + * @Date: 2022/6/10 9:57 + */ +public class LivesVo +{ + /** + * 省份名 + */ + private String province; + /** + * 城市名 + */ + private String city; + /** + * 区域编码 + */ + private String adcode; + /** + *天气现象 + */ + private String weather; + + private String temperature; + + private String winddirection; + + private String windpower; + + private String humidity; + + private LocalDateTime reporttime; + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getAdcode() { + return adcode; + } + + public void setAdcode(String adcode) { + this.adcode = adcode; + } + + public String getWeather() { + return weather; + } + + public void setWeather(String weather) { + this.weather = weather; + } + + public String getTemperature() { + return temperature; + } + + public void setTemperature(String temperature) { + this.temperature = temperature; + } + + public String getWinddirection() { + return winddirection; + } + + public void setWinddirection(String winddirection) { + this.winddirection = winddirection; + } + + public String getWindpower() { + return windpower; + } + + public void setWindpower(String windpower) { + this.windpower = windpower; + } + + public String getHumidity() { + return humidity; + } + + public void setHumidity(String humidity) { + this.humidity = humidity; + } + + public LocalDateTime getReporttime() { + return reporttime; + } + + public void setReporttime(LocalDateTime reporttime) { + this.reporttime = reporttime; + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/WeatherUtilsVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/WeatherUtilsVO.java new file mode 100644 index 000000000..e7449cc81 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/WeatherUtilsVO.java @@ -0,0 +1,85 @@ +package com.ruoyi.system.domain_yada; + +import java.util.List; + +/** + * @Author: JinSheng Song + * @Date: 2022/6/10 9:53 + */ +public class WeatherUtilsVO { + /** + * 接口返回状态 + */ + private String status; + /** + * 返回结果数量 + */ + private String count; + + private String info; + + private String infocode; + /** + * 实时天气预报 + */ + private List lives; + /** + * 预报天气 + */ + private List forecasts; + +// /** +// * 预报天气 +// */ +// private String forecasts; + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getCount() { + return count; + } + + public void setCount(String count) { + this.count = count; + } + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + + public String getInfocode() { + return infocode; + } + + public void setInfocode(String infocode) { + this.infocode = infocode; + } + + + + public List getForecasts() { + return forecasts; + } + + public void setForecasts(List forecasts) { + this.forecasts = forecasts; + } + + public List getLives() { + return lives; + } + + public void setLives(List lives) { + this.lives = lives; + } +} From e9e8ea36b74ed46fef035b8ca0b9cdc692ab3c61 Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Thu, 16 Jun 2022 09:49:27 +0800 Subject: [PATCH 21/26] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/common/CaptchaController.java | 96 ------------------- ruoyi-framework/pom.xml | 20 ++-- .../ruoyi/framework/config/CaptchaConfig.java | 83 ---------------- .../framework/config/KaptchaTextCreator.java | 75 --------------- 4 files changed, 10 insertions(+), 264 deletions(-) delete mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java delete mode 100644 ruoyi-framework/src/main/java/com/ruoyi/framework/config/CaptchaConfig.java delete mode 100644 ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java deleted file mode 100644 index 39b32ef3e..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.ruoyi.web.controller.common; - -import java.awt.image.BufferedImage; -import java.io.IOException; -import java.util.concurrent.TimeUnit; -import javax.annotation.Resource; -import javax.imageio.ImageIO; -import javax.servlet.http.HttpServletResponse; -import com.ruoyi.common.config.RuoYiConfig; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; -import org.springframework.stereotype.Service; -import org.springframework.util.FastByteArrayOutputStream; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; -import com.google.code.kaptcha.Producer; -import com.ruoyi.common.constant.Constants; -import com.ruoyi.common.core.domain.AjaxResult; -import com.ruoyi.common.core.redis.RedisCache; -import com.ruoyi.common.utils.sign.Base64; -import com.ruoyi.common.utils.uuid.IdUtils; -import com.ruoyi.system.service.ISysConfigService; - -/** - * 验证码操作处理 - * - * @author ruoyi - */ -@RestController -public class CaptchaController -{ - @Resource(name = "captchaProducer") - private Producer captchaProducer; - - @Resource(name = "captchaProducerMath") - private Producer captchaProducerMath; - - @Resource - private RedisCache redisCache; - - @Resource - private ISysConfigService configService; - /** - * 生成验证码 - */ - @GetMapping("/captchaImage") - public AjaxResult getCode(HttpServletResponse response) throws IOException - { - AjaxResult ajax = AjaxResult.success(); - boolean captchaOnOff = configService.selectCaptchaOnOff(); - ajax.put("captchaOnOff", captchaOnOff); - if (!captchaOnOff) - { - return ajax; - } - - // 保存验证码信息 - String uuid = IdUtils.simpleUUID(); - String verifyKey = Constants.CAPTCHA_CODE_KEY + uuid; - - String capStr = null, code = null; - BufferedImage image = null; - - // 生成验证码 - String captchaType = RuoYiConfig.getCaptchaType(); - if ("math".equals(captchaType)) - { - String capText = captchaProducerMath.createText(); - capStr = capText.substring(0, capText.lastIndexOf("@")); - code = capText.substring(capText.lastIndexOf("@") + 1); - image = captchaProducerMath.createImage(capStr); - } - else if ("char".equals(captchaType)) - { - capStr = code = captchaProducer.createText(); - image = captchaProducer.createImage(capStr); - } - - redisCache.setCacheObject(verifyKey, code, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES); - // 转换流信息写出 - FastByteArrayOutputStream os = new FastByteArrayOutputStream(); - try - { - ImageIO.write(image, "jpg", os); - } - catch (IOException e) - { - return AjaxResult.error(e.getMessage()); - } - - ajax.put("uuid", uuid); - ajax.put("img", Base64.encode(os.toByteArray())); - return ajax; - } -} diff --git a/ruoyi-framework/pom.xml b/ruoyi-framework/pom.xml index 26f362e21..8a18c2b25 100644 --- a/ruoyi-framework/pom.xml +++ b/ruoyi-framework/pom.xml @@ -44,16 +44,16 @@ - - com.github.penggle - kaptcha - - - javax.servlet-api - javax.servlet - - - + + + + + + + + + + diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/CaptchaConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/CaptchaConfig.java deleted file mode 100644 index 43e78aebe..000000000 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/CaptchaConfig.java +++ /dev/null @@ -1,83 +0,0 @@ -package com.ruoyi.framework.config; - -import java.util.Properties; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import com.google.code.kaptcha.impl.DefaultKaptcha; -import com.google.code.kaptcha.util.Config; -import static com.google.code.kaptcha.Constants.*; - -/** - * 验证码配置 - * - * @author ruoyi - */ -@Configuration -public class CaptchaConfig -{ - @Bean(name = "captchaProducer") - public DefaultKaptcha getKaptchaBean() - { - DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); - Properties properties = new Properties(); - // 是否有边框 默认为true 我们可以自己设置yes,no - properties.setProperty(KAPTCHA_BORDER, "yes"); - // 验证码文本字符颜色 默认为Color.BLACK - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_COLOR, "black"); - // 验证码图片宽度 默认为200 - properties.setProperty(KAPTCHA_IMAGE_WIDTH, "160"); - // 验证码图片高度 默认为50 - properties.setProperty(KAPTCHA_IMAGE_HEIGHT, "60"); - // 验证码文本字符大小 默认为40 - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_SIZE, "38"); - // KAPTCHA_SESSION_KEY - properties.setProperty(KAPTCHA_SESSION_CONFIG_KEY, "kaptchaCode"); - // 验证码文本字符长度 默认为5 - properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_LENGTH, "4"); - // 验证码文本字体样式 默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize) - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_NAMES, "Arial,Courier"); - // 图片样式 水纹com.google.code.kaptcha.impl.WaterRipple 鱼眼com.google.code.kaptcha.impl.FishEyeGimpy 阴影com.google.code.kaptcha.impl.ShadowGimpy - properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy"); - Config config = new Config(properties); - defaultKaptcha.setConfig(config); - return defaultKaptcha; - } - - @Bean(name = "captchaProducerMath") - public DefaultKaptcha getKaptchaBeanMath() - { - DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); - Properties properties = new Properties(); - // 是否有边框 默认为true 我们可以自己设置yes,no - properties.setProperty(KAPTCHA_BORDER, "yes"); - // 边框颜色 默认为Color.BLACK - properties.setProperty(KAPTCHA_BORDER_COLOR, "105,179,90"); - // 验证码文本字符颜色 默认为Color.BLACK - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_COLOR, "blue"); - // 验证码图片宽度 默认为200 - properties.setProperty(KAPTCHA_IMAGE_WIDTH, "160"); - // 验证码图片高度 默认为50 - properties.setProperty(KAPTCHA_IMAGE_HEIGHT, "60"); - // 验证码文本字符大小 默认为40 - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_SIZE, "35"); - // KAPTCHA_SESSION_KEY - properties.setProperty(KAPTCHA_SESSION_CONFIG_KEY, "kaptchaCodeMath"); - // 验证码文本生成器 - properties.setProperty(KAPTCHA_TEXTPRODUCER_IMPL, "com.ruoyi.framework.config.KaptchaTextCreator"); - // 验证码文本字符间距 默认为2 - properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_SPACE, "3"); - // 验证码文本字符长度 默认为5 - properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_LENGTH, "6"); - // 验证码文本字体样式 默认为new Font("Arial", 1, fontSize), new Font("Courier", 1, fontSize) - properties.setProperty(KAPTCHA_TEXTPRODUCER_FONT_NAMES, "Arial,Courier"); - // 验证码噪点颜色 默认为Color.BLACK - properties.setProperty(KAPTCHA_NOISE_COLOR, "white"); - // 干扰实现类 - properties.setProperty(KAPTCHA_NOISE_IMPL, "com.google.code.kaptcha.impl.NoNoise"); - // 图片样式 水纹com.google.code.kaptcha.impl.WaterRipple 鱼眼com.google.code.kaptcha.impl.FishEyeGimpy 阴影com.google.code.kaptcha.impl.ShadowGimpy - properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy"); - Config config = new Config(properties); - defaultKaptcha.setConfig(config); - return defaultKaptcha; - } -} diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java deleted file mode 100644 index 3e7458003..000000000 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.ruoyi.framework.config; - -import java.util.Random; -import com.google.code.kaptcha.text.impl.DefaultTextCreator; - -/** - * 验证码文本生成器 - * - * @author ruoyi - */ -public class KaptchaTextCreator extends DefaultTextCreator -{ - private static final String[] CNUMBERS = "0,1,2,3,4,5,6,7,8,9,10".split(","); - - @Override - public String getText() - { - Integer result = 0; - Random random = new Random(); - int x = random.nextInt(10); - int y = random.nextInt(10); - StringBuilder suChinese = new StringBuilder(); - int randomoperands = (int) Math.round(Math.random() * 2); - if (randomoperands == 0) - { - result = x * y; - suChinese.append(CNUMBERS[x]); - suChinese.append("*"); - suChinese.append(CNUMBERS[y]); - } - else if (randomoperands == 1) - { - if (!(x == 0) && y % x == 0) - { - result = y / x; - suChinese.append(CNUMBERS[y]); - suChinese.append("/"); - suChinese.append(CNUMBERS[x]); - } - else - { - result = x + y; - suChinese.append(CNUMBERS[x]); - suChinese.append("+"); - suChinese.append(CNUMBERS[y]); - } - } - else if (randomoperands == 2) - { - if (x >= y) - { - result = x - y; - suChinese.append(CNUMBERS[x]); - suChinese.append("-"); - suChinese.append(CNUMBERS[y]); - } - else - { - result = y - x; - suChinese.append(CNUMBERS[y]); - suChinese.append("-"); - suChinese.append(CNUMBERS[x]); - } - } - else - { - result = x + y; - suChinese.append(CNUMBERS[x]); - suChinese.append("+"); - suChinese.append(CNUMBERS[y]); - } - suChinese.append("=?@" + result); - return suChinese.toString(); - } -} \ No newline at end of file From 3006b3c751eddb7acbb6be85d6615c0d77f83d9b Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Thu, 16 Jun 2022 09:49:49 +0800 Subject: [PATCH 22/26] =?UTF-8?q?=E5=A2=9E=E5=8A=A0redis=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index fbf3866ad..e095e222b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -65,7 +65,7 @@ spring: # 数据库索引 database: 0 # 密码 - password: + password: sdust2020 # 连接超时时间 timeout: 10s lettuce: From 6148ca9ae8c8df495f80080bb7216741a3ec929d Mon Sep 17 00:00:00 2001 From: qdxkrs <39894542+qdxkrs@users.noreply.github.com> Date: Thu, 16 Jun 2022 10:50:51 +0800 Subject: [PATCH 23/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BB=91=E5=8A=A8?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com.anji.captcha.service.CaptchaCacheService | 0 .../main/java/com/ruoyi/framework/config/SecurityConfig.java | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename ruoyi-admin/src/main/resources/META-INF/{ => services}/com.anji.captcha.service.CaptchaCacheService (100%) diff --git a/ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService b/ruoyi-admin/src/main/resources/META-INF/services/com.anji.captcha.service.CaptchaCacheService similarity index 100% rename from ruoyi-admin/src/main/resources/META-INF/com.anji.captcha.service.CaptchaCacheService rename to ruoyi-admin/src/main/resources/META-INF/services/com.anji.captcha.service.CaptchaCacheService diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index 793479b85..cdcff26ec 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -97,7 +97,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter // 过滤请求 .authorizeRequests() // 对于登录login 注册register 验证码captchaImage 允许匿名访问 - .antMatchers("/login", "/register", "/captchaImage").anonymous() +// .antMatchers("/login", "/register", "/captchaImage").anonymous() + .antMatchers("/login", "/register", "/captcha/get", "/captcha/check").permitAll() .antMatchers( HttpMethod.GET, "/", From fafe483b531c820da4c57e1a284e77ca6fd0a5ea Mon Sep 17 00:00:00 2001 From: songjinsheng Date: Thu, 16 Jun 2022 11:58:56 +0800 Subject: [PATCH 24/26] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/system/SysLogininforMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml index 26d51fa39..cb4441247 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml @@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into sys_logininfor (user_name, status, ipaddr, login_location, browser, os, msg, login_time) - values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, sysdate()) + values (#{userName}, #{status}, #{ipaddr}, #{loginLocation}, #{browser}, #{os}, #{msg}, current_timestamp) - SELECT FROM forest_coverage; + SELECT FROM forest_coverage + WHERE 1=1 + + AND particular_year = #{particularYear} + + + AND region = #{typeName} + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml index 4078d0dbb..477653950 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AustraliaMiddleEastMapper.xml @@ -24,7 +24,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -44,8 +51,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" created_by , created_time ) VALUES ( - #{yearMonth,jdbcType=INTEGER}, - #{month,jdbcType=INTEGER}, + #{yearMonth,jdbcType=VARCHAR}, + #{month,jdbcType=VARCHAR}, #{sstAnomalyIndex,jdbcType=DOUBLE}, #{temperatureAnomolies,jdbcType=DOUBLE}, #{precipitationAnomolies,jdbcType=DOUBLE}, diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index ddd304cf8..d4484da00 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -23,6 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml index 97a102cd7..e85eed99a 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionVGIMapper.xml @@ -25,7 +25,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index 0a0b01c82..e3d7b6fc7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -25,6 +25,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml index 5f796b70f..a78000435 100644 --- a/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/ThematicMapMapper.xml @@ -14,7 +14,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - @@ -27,7 +26,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml index 779198a65..58e3e1be8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/UrbanMapper.xml @@ -23,6 +23,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index df3dd9245..6dc1a200e 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -25,6 +25,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"