From 786706ca6848e48b7d16b2237a4ad06cd7d01014 Mon Sep 17 00:00:00 2001
From: 安瑾然 <107107765@qq.com>
Date: 星期一, 11 七月 2022 16:38:41 +0800
Subject: [PATCH] commit
---
src/main/java/com/example/jz/service/CaseService.java | 15
src/main/java/com/example/jz/modle/entity/Publicity.java | 97 ++
src/main/java/com/example/jz/dao/AnnouncementDao.java | 15
src/main/java/com/example/jz/modle/entity/Announcement.java | 67 ++
src/main/java/com/example/jz/service/impl/PublicityServiceImpl.java | 19
src/main/java/com/example/jz/controller/CaseController.java | 88 ++
src/main/java/com/example/jz/service/impl/GroupUserServiceImpl.java | 19
src/main/java/com/example/jz/controller/MessageController.java | 88 ++
src/main/java/com/example/jz/modle/entity/GroupUser.java | 46 +
src/main/java/com/example/jz/service/impl/GroupServiceImpl.java | 20
src/main/java/com/example/jz/service/CommonQuestionService.java | 15
src/main/java/com/example/jz/service/impl/AnnouncementServiceImpl.java | 19
src/main/java/com/example/jz/config/SwaggerConfig.java | 38 +
pom.xml | 8
src/main/java/com/example/jz/modle/entity/Group.java | 78 ++
src/main/java/com/example/jz/controller/CommonQuestionController.java | 88 ++
src/main/java/com/example/jz/modle/entity/Message.java | 77 ++
src/main/resources/application.properties | 8
src/main/java/com/example/jz/service/MessageService.java | 15
src/main/java/com/example/jz/modle/entity/CommonQuestion.java | 107 +++
src/main/java/com/example/jz/dao/GroupDao.java | 16
src/main/java/com/example/jz/service/impl/CaseServiceImpl.java | 19
src/main/java/com/example/jz/controller/UserController.java | 86 ++
src/main/java/com/example/jz/dao/CommonQuestionDao.java | 15
src/main/java/com/example/jz/controller/PublicityController.java | 88 ++
src/main/java/com/example/jz/service/GroupService.java | 16
src/main/java/com/example/jz/controller/GroupUserController.java | 88 ++
src/main/java/com/example/jz/controller/AnnouncementController.java | 88 ++
src/main/java/com/example/jz/modle/entity/Case.java | 134 ++++
src/main/java/com/example/jz/modle/entity/User.java | 167 +++++
src/main/java/com/example/jz/dao/CaseDao.java | 15
src/main/java/com/example/jz/dao/PublicityDao.java | 15
src/main/java/com/example/jz/service/UserService.java | 15
src/main/java/com/example/jz/service/AnnouncementService.java | 15
/dev/null | 12
src/main/java/com/example/jz/service/impl/UserServiceImpl.java | 19
src/main/java/com/example/jz/dao/GroupUserDao.java | 15
src/main/java/com/example/jz/service/GroupUserService.java | 15
src/main/java/com/example/jz/service/impl/MessageServiceImpl.java | 19
src/main/java/com/example/jz/service/PublicityService.java | 15
src/main/java/com/example/jz/dao/UserDao.java | 15
src/main/java/com/example/jz/controller/GroupController.java | 89 ++
src/main/java/com/example/jz/service/impl/CommonQuestionServiceImpl.java | 19
src/main/java/com/example/jz/dao/MessageDao.java | 15
44 files changed, 1,917 insertions(+), 20 deletions(-)
diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar
deleted file mode 100644
index c1dd12f..0000000
--- a/.mvn/wrapper/maven-wrapper.jar
+++ /dev/null
Binary files differ
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
deleted file mode 100644
index 22f219d..0000000
--- a/.mvn/wrapper/maven-wrapper.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-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/mvnw b/mvnw
deleted file mode 100644
index 8a8fb22..0000000
--- a/mvnw
+++ /dev/null
@@ -1,316 +0,0 @@
-#!/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/mvnw.cmd b/mvnw.cmd
deleted file mode 100644
index 1d8ab01..0000000
--- a/mvnw.cmd
+++ /dev/null
@@ -1,188 +0,0 @@
-@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/pom.xml b/pom.xml
index 13ee6d7..23a3361 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,12 +48,12 @@
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
- <version>3.0.0</version>
+ <version>2.9.2</version>
</dependency>
<dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger-ui</artifactId>
- <version>3.0.0</version>
+ <groupId>com.github.xiaoymin</groupId>
+ <artifactId>swagger-bootstrap-ui</artifactId>
+ <version>1.9.3</version>
</dependency>
</dependencies>
diff --git a/src/main/java/com/example/jz/config/SwaggerConfig.java b/src/main/java/com/example/jz/config/SwaggerConfig.java
new file mode 100644
index 0000000..1e6898e
--- /dev/null
+++ b/src/main/java/com/example/jz/config/SwaggerConfig.java
@@ -0,0 +1,38 @@
+package com.example.jz.config;
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import springfox.documentation.builders.ApiInfoBuilder;
+import springfox.documentation.builders.PathSelectors;
+import springfox.documentation.builders.RequestHandlerSelectors;
+import springfox.documentation.service.ApiInfo;
+import springfox.documentation.service.Contact;
+import springfox.documentation.spi.DocumentationType;
+import springfox.documentation.spring.web.plugins.Docket;
+import springfox.documentation.swagger2.annotations.EnableSwagger2;
+
+@Configuration
+@EnableSwagger2
+public class SwaggerConfig {
+
+ @Bean
+ public Docket createRestApi() {
+ return new Docket(DocumentationType.SWAGGER_2)
+ .apiInfo(apiInfo())
+ .select()
+ .apis(RequestHandlerSelectors.basePackage("com.school"))
+ .paths(PathSelectors.any())
+ .build();
+ }
+
+ @Bean
+ public ApiInfo apiInfo() {
+ return new ApiInfoBuilder()
+ .title("闈掔緤缁忎睛鎺ュ彛鏂囨。")
+ .description("闈掔緤缁忎睛鎺ュ彛鏂囨。Swagger鐗�")
+ .termsOfServiceUrl("https://www.baidu.com/")
+ .contact(new Contact("瀹夌懢鐒�","https://www.baidu.com/", "1070107765@qq.com"))
+ .version("1.0")
+ .build();
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/example/jz/controller/AnnouncementController.java b/src/main/java/com/example/jz/controller/AnnouncementController.java
new file mode 100644
index 0000000..833c767
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/AnnouncementController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.Announcement;
+import com.example.jz.service.AnnouncementService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 鍏憡琛�(Announcement)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:52
+ */
+@RestController
+@RequestMapping("announcement")
+public class AnnouncementController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private AnnouncementService announcementService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param announcement 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<Announcement> page, Announcement announcement) {
+ return success(this.announcementService.page(page, new QueryWrapper<>(announcement)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.announcementService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param announcement 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody Announcement announcement) {
+ return success(this.announcementService.save(announcement));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param announcement 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody Announcement announcement) {
+ return success(this.announcementService.updateById(announcement));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.announcementService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/CaseController.java b/src/main/java/com/example/jz/controller/CaseController.java
new file mode 100644
index 0000000..a4eaaac
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/CaseController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.Case;
+import com.example.jz.service.CaseService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * (Case)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+@RestController
+@RequestMapping("case")
+public class CaseController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private CaseService caseService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param case 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<Case> page, Case case) {
+ return success(this.caseService.page(page, new QueryWrapper<>(case)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.caseService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param case 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody Case case) {
+ return success(this.caseService.save(case));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param case 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody Case case) {
+ return success(this.caseService.updateById(case));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.caseService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/CommonQuestionController.java b/src/main/java/com/example/jz/controller/CommonQuestionController.java
new file mode 100644
index 0000000..c99d745
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/CommonQuestionController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.CommonQuestion;
+import com.example.jz.service.CommonQuestionService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 甯歌闂琛�(CommonQuestion)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("commonQuestion")
+public class CommonQuestionController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private CommonQuestionService commonQuestionService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param commonQuestion 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<CommonQuestion> page, CommonQuestion commonQuestion) {
+ return success(this.commonQuestionService.page(page, new QueryWrapper<>(commonQuestion)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.commonQuestionService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param commonQuestion 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody CommonQuestion commonQuestion) {
+ return success(this.commonQuestionService.save(commonQuestion));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param commonQuestion 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody CommonQuestion commonQuestion) {
+ return success(this.commonQuestionService.updateById(commonQuestion));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.commonQuestionService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/GroupController.java b/src/main/java/com/example/jz/controller/GroupController.java
new file mode 100644
index 0000000..6999861
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/GroupController.java
@@ -0,0 +1,89 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.Group;
+import com.example.jz.service.GroupService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 缇よ〃
+(Group)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("group")
+public class GroupController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private GroupService groupService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param group 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<Group> page, Group group) {
+ return success(this.groupService.page(page, new QueryWrapper<>(group)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.groupService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param group 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody Group group) {
+ return success(this.groupService.save(group));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param group 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody Group group) {
+ return success(this.groupService.updateById(group));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.groupService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/GroupUserController.java b/src/main/java/com/example/jz/controller/GroupUserController.java
new file mode 100644
index 0000000..0a42557
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/GroupUserController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.GroupUser;
+import com.example.jz.service.GroupUserService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 鐢ㄦ埛鍜岀兢涓棿琛�(GroupUser)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("groupUser")
+public class GroupUserController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private GroupUserService groupUserService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param groupUser 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<GroupUser> page, GroupUser groupUser) {
+ return success(this.groupUserService.page(page, new QueryWrapper<>(groupUser)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.groupUserService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param groupUser 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody GroupUser groupUser) {
+ return success(this.groupUserService.save(groupUser));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param groupUser 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody GroupUser groupUser) {
+ return success(this.groupUserService.updateById(groupUser));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.groupUserService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/MessageController.java b/src/main/java/com/example/jz/controller/MessageController.java
new file mode 100644
index 0000000..0b09f6e
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/MessageController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.Message;
+import com.example.jz.service.MessageService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 娑堟伅琛�(Message)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("message")
+public class MessageController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private MessageService messageService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param message 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<Message> page, Message message) {
+ return success(this.messageService.page(page, new QueryWrapper<>(message)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.messageService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param message 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody Message message) {
+ return success(this.messageService.save(message));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param message 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody Message message) {
+ return success(this.messageService.updateById(message));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.messageService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/PublicityController.java b/src/main/java/com/example/jz/controller/PublicityController.java
new file mode 100644
index 0000000..288c017
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/PublicityController.java
@@ -0,0 +1,88 @@
+package com.example.jz.controller;
+
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.Publicity;
+import com.example.jz.service.PublicityService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 鍏叡瀹d紶琛�(Publicity)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("publicity")
+public class PublicityController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private PublicityService publicityService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param publicity 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<Publicity> page, Publicity publicity) {
+ return success(this.publicityService.page(page, new QueryWrapper<>(publicity)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.publicityService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param publicity 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody Publicity publicity) {
+ return success(this.publicityService.save(publicity));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param publicity 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody Publicity publicity) {
+ return success(this.publicityService.updateById(publicity));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.publicityService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/UserController.java b/src/main/java/com/example/jz/controller/UserController.java
new file mode 100644
index 0000000..8dfb55c
--- /dev/null
+++ b/src/main/java/com/example/jz/controller/UserController.java
@@ -0,0 +1,86 @@
+package com.example.jz.controller;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.api.ApiController;
+import com.baomidou.mybatisplus.extension.api.R;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.example.jz.modle.entity.User;
+import com.example.jz.service.UserService;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * 鐢ㄦ埛琛�(User)琛ㄦ帶鍒跺眰
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@RestController
+@RequestMapping("user")
+public class UserController extends ApiController {
+ /**
+ * 鏈嶅姟瀵硅薄
+ */
+ @Resource
+ private UserService userService;
+
+ /**
+ * 鍒嗛〉鏌ヨ鎵�鏈夋暟鎹�
+ *
+ * @param page 鍒嗛〉瀵硅薄
+ * @param user 鏌ヨ瀹炰綋
+ * @return 鎵�鏈夋暟鎹�
+ */
+ @GetMapping
+ public R selectAll(Page<User> page, User user) {
+ return success(this.userService.page(page, new QueryWrapper<>(user)));
+ }
+
+ /**
+ * 閫氳繃涓婚敭鏌ヨ鍗曟潯鏁版嵁
+ *
+ * @param id 涓婚敭
+ * @return 鍗曟潯鏁版嵁
+ */
+ @GetMapping("{id}")
+ public R selectOne(@PathVariable Serializable id) {
+ return success(this.userService.getById(id));
+ }
+
+ /**
+ * 鏂板鏁版嵁
+ *
+ * @param user 瀹炰綋瀵硅薄
+ * @return 鏂板缁撴灉
+ */
+ @PostMapping
+ public R insert(@RequestBody User user) {
+ return success(this.userService.save(user));
+ }
+
+ /**
+ * 淇敼鏁版嵁
+ *
+ * @param user 瀹炰綋瀵硅薄
+ * @return 淇敼缁撴灉
+ */
+ @PutMapping
+ public R update(@RequestBody User user) {
+ return success(this.userService.updateById(user));
+ }
+
+ /**
+ * 鍒犻櫎鏁版嵁
+ *
+ * @param idList 涓婚敭缁撳悎
+ * @return 鍒犻櫎缁撴灉
+ */
+ @DeleteMapping
+ public R delete(@RequestParam("idList") List<Long> idList) {
+ return success(this.userService.removeByIds(idList));
+ }
+}
+
diff --git a/src/main/java/com/example/jz/controller/hello.java b/src/main/java/com/example/jz/controller/hello.java
deleted file mode 100644
index 3ffb55a..0000000
--- a/src/main/java/com/example/jz/controller/hello.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package com.example.jz.controller;
-
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-@RestController
-public class hello {
- @GetMapping("/hello")
- public String helloWorld(){
- return "hello,world";
- }
-}
diff --git a/src/main/java/com/example/jz/dao/AnnouncementDao.java b/src/main/java/com/example/jz/dao/AnnouncementDao.java
new file mode 100644
index 0000000..8185a36
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/AnnouncementDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.Announcement;
+
+/**
+ * 鍏憡琛�(Announcement)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:52
+ */
+public interface AnnouncementDao extends BaseMapper<Announcement> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/CaseDao.java b/src/main/java/com/example/jz/dao/CaseDao.java
new file mode 100644
index 0000000..329b3f1
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/CaseDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.Case;
+
+/**
+ * (Case)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+public interface CaseDao extends BaseMapper<Case> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/CommonQuestionDao.java b/src/main/java/com/example/jz/dao/CommonQuestionDao.java
new file mode 100644
index 0000000..b1e7821
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/CommonQuestionDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.CommonQuestion;
+
+/**
+ * 甯歌闂琛�(CommonQuestion)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface CommonQuestionDao extends BaseMapper<CommonQuestion> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/GroupDao.java b/src/main/java/com/example/jz/dao/GroupDao.java
new file mode 100644
index 0000000..7a44ce8
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/GroupDao.java
@@ -0,0 +1,16 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.Group;
+
+/**
+ * 缇よ〃
+(Group)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface GroupDao extends BaseMapper<Group> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/GroupUserDao.java b/src/main/java/com/example/jz/dao/GroupUserDao.java
new file mode 100644
index 0000000..b55c70c
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/GroupUserDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.GroupUser;
+
+/**
+ * 鐢ㄦ埛鍜岀兢涓棿琛�(GroupUser)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface GroupUserDao extends BaseMapper<GroupUser> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/MessageDao.java b/src/main/java/com/example/jz/dao/MessageDao.java
new file mode 100644
index 0000000..e9bf134
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/MessageDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.Message;
+
+/**
+ * 娑堟伅琛�(Message)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface MessageDao extends BaseMapper<Message> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/PublicityDao.java b/src/main/java/com/example/jz/dao/PublicityDao.java
new file mode 100644
index 0000000..1016f4b
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/PublicityDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.Publicity;
+
+/**
+ * 鍏叡瀹d紶琛�(Publicity)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface PublicityDao extends BaseMapper<Publicity> {
+
+}
+
diff --git a/src/main/java/com/example/jz/dao/UserDao.java b/src/main/java/com/example/jz/dao/UserDao.java
new file mode 100644
index 0000000..16e00ea
--- /dev/null
+++ b/src/main/java/com/example/jz/dao/UserDao.java
@@ -0,0 +1,15 @@
+package com.example.jz.dao;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.example.jz.modle.entity.User;
+
+/**
+ * 鐢ㄦ埛琛�(User)琛ㄦ暟鎹簱璁块棶灞�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface UserDao extends BaseMapper<User> {
+
+}
+
diff --git a/src/main/java/com/example/jz/modle/entity/Announcement.java b/src/main/java/com/example/jz/modle/entity/Announcement.java
new file mode 100644
index 0000000..1c98c27
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/Announcement.java
@@ -0,0 +1,67 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 鍏憡琛�(Announcement)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:52
+ */
+@SuppressWarnings("serial")
+public class Announcement extends Model<Announcement> {
+ //鍏憡id
+ private Integer announcementId;
+ //鍏憡鍐呭
+ private String text;
+ //缇d
+ private Integer groupId;
+ //鍒涘缓鏃堕棿
+ private Date createTime;
+
+
+ public Integer getAnnouncementId() {
+ return announcementId;
+ }
+
+ public void setAnnouncementId(Integer announcementId) {
+ this.announcementId = announcementId;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public Integer getGroupId() {
+ return groupId;
+ }
+
+ public void setGroupId(Integer groupId) {
+ this.groupId = groupId;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.announcementId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/Case.java b/src/main/java/com/example/jz/modle/entity/Case.java
new file mode 100644
index 0000000..0103815
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/Case.java
@@ -0,0 +1,134 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * (Case)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+@SuppressWarnings("serial")
+public class Case extends Model<Case> {
+ //妗堜欢ID
+ private Integer id;
+ //澶村儚鍦板潃
+ private String pic;
+ //鎶ユ浜�
+ private String reporter;
+ //鎶ユ浜烘墜鏈哄彿
+ private String mobile;
+ //鎶ユ浜鸿韩浠借瘉鍙�
+ private String idcard;
+ //鏄惁浠e姙 Y锛堜唬鍔烇級 N锛堜笉鏄唬鍔烇級
+ private String isCommission;
+ //娑夋閲戦
+ private String amountInvolved;
+ //鎶ユ鏉愭枡鍥剧墖鍦板潃 澶氫釜鐢�,鍒嗛殧
+ private String reportMaterials;
+ //鎶ユ鏂瑰紡
+ private String reportMethod
+reportMethod;
+ //鎶ユ鏃堕棿
+ private Date reportTime;
+
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getPic() {
+ return pic;
+ }
+
+ public void setPic(String pic) {
+ this.pic = pic;
+ }
+
+ public String getReporter() {
+ return reporter;
+ }
+
+ public void setReporter(String reporter) {
+ this.reporter = reporter;
+ }
+
+ public String getMobile() {
+ return mobile;
+ }
+
+ public void setMobile(String mobile) {
+ this.mobile = mobile;
+ }
+
+ public String getIdcard() {
+ return idcard;
+ }
+
+ public void setIdcard(String idcard) {
+ this.idcard = idcard;
+ }
+
+ public String getIsCommission() {
+ return isCommission;
+ }
+
+ public void setIsCommission(String isCommission) {
+ this.isCommission = isCommission;
+ }
+
+ public String getAmountInvolved() {
+ return amountInvolved;
+ }
+
+ public void setAmountInvolved(String amountInvolved) {
+ this.amountInvolved = amountInvolved;
+ }
+
+ public String getReportMaterials() {
+ return reportMaterials;
+ }
+
+ public void setReportMaterials(String reportMaterials) {
+ this.reportMaterials = reportMaterials;
+ }
+
+ public String getReportMethod
+reportMethod() {
+ return reportMethod
+reportMethod;
+ }
+
+ public void setReportMethod
+reportMethod(String reportMethod
+reportMethod) {
+ this.reportMethod
+reportMethod = reportMethod
+reportMethod;
+ }
+
+ public Date getReportTime() {
+ return reportTime;
+ }
+
+ public void setReportTime(Date reportTime) {
+ this.reportTime = reportTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.id;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/CommonQuestion.java b/src/main/java/com/example/jz/modle/entity/CommonQuestion.java
new file mode 100644
index 0000000..a695e0d
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/CommonQuestion.java
@@ -0,0 +1,107 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 甯歌闂琛�(CommonQuestion)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class CommonQuestion extends Model<CommonQuestion> {
+ //甯歌闂id
+ private Integer questionId;
+ //甯歌闂鍏抽敭瀛�
+ private String questionTitle;
+ //鐘舵�侊紝0涓烘湭鍙戝竷锛�1涓哄彂甯冿紝2涓轰笅鏋�
+ private Integer status;
+ //鍖归厤闂
+ private String matchQuestion;
+ //闂瑙g瓟
+ private String answer;
+ //鍒涘缓浜�
+ private String creator;
+ //鍒涘缓鏃堕棿
+ private Date createTime;
+ //鍙戝竷鏃堕棿
+ private Date releaseTime;
+
+
+ public Integer getQuestionId() {
+ return questionId;
+ }
+
+ public void setQuestionId(Integer questionId) {
+ this.questionId = questionId;
+ }
+
+ public String getQuestionTitle() {
+ return questionTitle;
+ }
+
+ public void setQuestionTitle(String questionTitle) {
+ this.questionTitle = questionTitle;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getMatchQuestion() {
+ return matchQuestion;
+ }
+
+ public void setMatchQuestion(String matchQuestion) {
+ this.matchQuestion = matchQuestion;
+ }
+
+ public String getAnswer() {
+ return answer;
+ }
+
+ public void setAnswer(String answer) {
+ this.answer = answer;
+ }
+
+ public String getCreator() {
+ return creator;
+ }
+
+ public void setCreator(String creator) {
+ this.creator = creator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(Date releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.questionId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/Group.java b/src/main/java/com/example/jz/modle/entity/Group.java
new file mode 100644
index 0000000..a921058
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/Group.java
@@ -0,0 +1,78 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 缇よ〃
+(Group)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class Group extends Model<Group> {
+ //缇� id
+ private Integer groupId;
+ //缇ゅ悕绉�
+ private String groupName;
+ //缇ゅ垱寤烘椂闂�
+ private Date createTime;
+ //缇や慨鏀规椂闂�
+ private Date updateTime;
+ //缇ゅ叕鍛奿d
+ private Integer groupAnnouncementId;
+
+
+ public Integer getGroupId() {
+ return groupId;
+ }
+
+ public void setGroupId(Integer groupId) {
+ this.groupId = groupId;
+ }
+
+ public String getGroupName() {
+ return groupName;
+ }
+
+ public void setGroupName(String groupName) {
+ this.groupName = groupName;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public Integer getGroupAnnouncementId() {
+ return groupAnnouncementId;
+ }
+
+ public void setGroupAnnouncementId(Integer groupAnnouncementId) {
+ this.groupAnnouncementId = groupAnnouncementId;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.groupId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/GroupUser.java b/src/main/java/com/example/jz/modle/entity/GroupUser.java
new file mode 100644
index 0000000..39ce007
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/GroupUser.java
@@ -0,0 +1,46 @@
+package com.example.jz.modle.entity;
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+
+/**
+ * 鐢ㄦ埛鍜岀兢涓棿琛�(GroupUser)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class GroupUser extends Model<GroupUser> {
+ //鐢ㄦ埛id
+ private Integer userId;
+ //缇d
+ private Integer groupId;
+ //鏄惁绂佽█(0涓哄惁1涓烘槸锛�
+ private Object banSpeech;
+
+
+ public Integer getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Integer userId) {
+ this.userId = userId;
+ }
+
+ public Integer getGroupId() {
+ return groupId;
+ }
+
+ public void setGroupId(Integer groupId) {
+ this.groupId = groupId;
+ }
+
+ public Object getBanSpeech() {
+ return banSpeech;
+ }
+
+ public void setBanSpeech(Object banSpeech) {
+ this.banSpeech = banSpeech;
+ }
+
+}
+
diff --git a/src/main/java/com/example/jz/modle/entity/Message.java b/src/main/java/com/example/jz/modle/entity/Message.java
new file mode 100644
index 0000000..cfee1b5
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/Message.java
@@ -0,0 +1,77 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 娑堟伅琛�(Message)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class Message extends Model<Message> {
+ //娑堟伅id
+ private Integer messageId;
+ //娑堟伅鍐呭
+ private String text;
+ //鐢ㄦ埛id
+ private Integer userId;
+ //缇d
+ private Integer groupId;
+
+ private Date createTime;
+
+
+ public Integer getMessageId() {
+ return messageId;
+ }
+
+ public void setMessageId(Integer messageId) {
+ this.messageId = messageId;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public Integer getUserId() {
+ return userId;
+ }
+
+ public void setUserId(Integer userId) {
+ this.userId = userId;
+ }
+
+ public Integer getGroupId() {
+ return groupId;
+ }
+
+ public void setGroupId(Integer groupId) {
+ this.groupId = groupId;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.messageId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/Publicity.java b/src/main/java/com/example/jz/modle/entity/Publicity.java
new file mode 100644
index 0000000..9f4093c
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/Publicity.java
@@ -0,0 +1,97 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 鍏叡瀹d紶琛�(Publicity)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class Publicity extends Model<Publicity> {
+ //鍏叡瀹d紶id
+ private Integer publicityId;
+ //鍏叡瀹d紶鏍囬
+ private String publicityTitle;
+ //鐘舵�侊紝0涓烘湭鍙戝竷锛�1涓哄彂甯冿紝2涓轰笅鏋�
+ private Integer status;
+ //鍐呭
+ private String text;
+ //鍒涘缓浜�
+ private String creator;
+ //鍒涘缓鏃堕棿
+ private Date createTime;
+ //鍙戝竷鏃堕棿
+ private Date releaseTime;
+
+
+ public Integer getPublicityId() {
+ return publicityId;
+ }
+
+ public void setPublicityId(Integer publicityId) {
+ this.publicityId = publicityId;
+ }
+
+ public String getPublicityTitle() {
+ return publicityTitle;
+ }
+
+ public void setPublicityTitle(String publicityTitle) {
+ this.publicityTitle = publicityTitle;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public String getCreator() {
+ return creator;
+ }
+
+ public void setCreator(String creator) {
+ this.creator = creator;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getReleaseTime() {
+ return releaseTime;
+ }
+
+ public void setReleaseTime(Date releaseTime) {
+ this.releaseTime = releaseTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.publicityId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/modle/entity/User.java b/src/main/java/com/example/jz/modle/entity/User.java
new file mode 100644
index 0000000..0311bb3
--- /dev/null
+++ b/src/main/java/com/example/jz/modle/entity/User.java
@@ -0,0 +1,167 @@
+package com.example.jz.modle.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * 鐢ㄦ埛琛�(User)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@SuppressWarnings("serial")
+public class User extends Model<User> {
+ //ID
+ private String userId;
+ //鐢ㄦ埛鏄电О
+ private String nickName;
+ //鐪熷疄濮撳悕
+ private String realName;
+ //鐧诲綍瀵嗙爜
+ private String loginPassword;
+ //鎵嬫満鍙风爜
+ private String userMobile;
+ //鐢ㄦ埛韬唤璇佸彿鐮�
+ private String userIdcard;
+ //淇敼鏃堕棿
+ private Date modifyTime;
+ //娉ㄥ唽鏃堕棿
+ private Date userRegtime;
+ //娉ㄥ唽IP
+ private String userRegip;
+ //鏈�鍚庣櫥褰曟椂闂�
+ private Date userLasttime;
+ //鏈�鍚庣櫥褰旾P
+ private String userLastip;
+ //澶囨敞
+ private String userMemo;
+ //澶村儚鍥剧墖璺緞
+ private String pic;
+ //鐘舵�� 1 姝e父 0 鏃犳晥
+ private Integer status;
+
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ public String getNickName() {
+ return nickName;
+ }
+
+ public void setNickName(String nickName) {
+ this.nickName = nickName;
+ }
+
+ public String getRealName() {
+ return realName;
+ }
+
+ public void setRealName(String realName) {
+ this.realName = realName;
+ }
+
+ public String getLoginPassword() {
+ return loginPassword;
+ }
+
+ public void setLoginPassword(String loginPassword) {
+ this.loginPassword = loginPassword;
+ }
+
+ public String getUserMobile() {
+ return userMobile;
+ }
+
+ public void setUserMobile(String userMobile) {
+ this.userMobile = userMobile;
+ }
+
+ public String getUserIdcard() {
+ return userIdcard;
+ }
+
+ public void setUserIdcard(String userIdcard) {
+ this.userIdcard = userIdcard;
+ }
+
+ public Date getModifyTime() {
+ return modifyTime;
+ }
+
+ public void setModifyTime(Date modifyTime) {
+ this.modifyTime = modifyTime;
+ }
+
+ public Date getUserRegtime() {
+ return userRegtime;
+ }
+
+ public void setUserRegtime(Date userRegtime) {
+ this.userRegtime = userRegtime;
+ }
+
+ public String getUserRegip() {
+ return userRegip;
+ }
+
+ public void setUserRegip(String userRegip) {
+ this.userRegip = userRegip;
+ }
+
+ public Date getUserLasttime() {
+ return userLasttime;
+ }
+
+ public void setUserLasttime(Date userLasttime) {
+ this.userLasttime = userLasttime;
+ }
+
+ public String getUserLastip() {
+ return userLastip;
+ }
+
+ public void setUserLastip(String userLastip) {
+ this.userLastip = userLastip;
+ }
+
+ public String getUserMemo() {
+ return userMemo;
+ }
+
+ public void setUserMemo(String userMemo) {
+ this.userMemo = userMemo;
+ }
+
+ public String getPic() {
+ return pic;
+ }
+
+ public void setPic(String pic) {
+ this.pic = pic;
+ }
+
+ public Integer getStatus() {
+ return status;
+ }
+
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.userId;
+ }
+ }
+
diff --git a/src/main/java/com/example/jz/service/AnnouncementService.java b/src/main/java/com/example/jz/service/AnnouncementService.java
new file mode 100644
index 0000000..1bcd219
--- /dev/null
+++ b/src/main/java/com/example/jz/service/AnnouncementService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.Announcement;
+
+/**
+ * 鍏憡琛�(Announcement)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+public interface AnnouncementService extends IService<Announcement> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/CaseService.java b/src/main/java/com/example/jz/service/CaseService.java
new file mode 100644
index 0000000..909bc28
--- /dev/null
+++ b/src/main/java/com/example/jz/service/CaseService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.Case;
+
+/**
+ * (Case)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+public interface CaseService extends IService<Case> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/CommonQuestionService.java b/src/main/java/com/example/jz/service/CommonQuestionService.java
new file mode 100644
index 0000000..2227cb0
--- /dev/null
+++ b/src/main/java/com/example/jz/service/CommonQuestionService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.CommonQuestion;
+
+/**
+ * 甯歌闂琛�(CommonQuestion)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface CommonQuestionService extends IService<CommonQuestion> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/GroupService.java b/src/main/java/com/example/jz/service/GroupService.java
new file mode 100644
index 0000000..f11c69b
--- /dev/null
+++ b/src/main/java/com/example/jz/service/GroupService.java
@@ -0,0 +1,16 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.Group;
+
+/**
+ * 缇よ〃
+(Group)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface GroupService extends IService<Group> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/GroupUserService.java b/src/main/java/com/example/jz/service/GroupUserService.java
new file mode 100644
index 0000000..2ea911e
--- /dev/null
+++ b/src/main/java/com/example/jz/service/GroupUserService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.GroupUser;
+
+/**
+ * 鐢ㄦ埛鍜岀兢涓棿琛�(GroupUser)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface GroupUserService extends IService<GroupUser> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/MessageService.java b/src/main/java/com/example/jz/service/MessageService.java
new file mode 100644
index 0000000..db6d184
--- /dev/null
+++ b/src/main/java/com/example/jz/service/MessageService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.Message;
+
+/**
+ * 娑堟伅琛�(Message)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface MessageService extends IService<Message> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/PublicityService.java b/src/main/java/com/example/jz/service/PublicityService.java
new file mode 100644
index 0000000..1350601
--- /dev/null
+++ b/src/main/java/com/example/jz/service/PublicityService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.Publicity;
+
+/**
+ * 鍏叡瀹d紶琛�(Publicity)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface PublicityService extends IService<Publicity> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/UserService.java b/src/main/java/com/example/jz/service/UserService.java
new file mode 100644
index 0000000..05077cf
--- /dev/null
+++ b/src/main/java/com/example/jz/service/UserService.java
@@ -0,0 +1,15 @@
+package com.example.jz.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.example.jz.modle.entity.User;
+
+/**
+ * 鐢ㄦ埛琛�(User)琛ㄦ湇鍔℃帴鍙�
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+public interface UserService extends IService<User> {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/AnnouncementServiceImpl.java b/src/main/java/com/example/jz/service/impl/AnnouncementServiceImpl.java
new file mode 100644
index 0000000..b9e29ff
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/AnnouncementServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.AnnouncementDao;
+import com.example.jz.modle.entity.Announcement;
+import com.example.jz.service.AnnouncementService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 鍏憡琛�(Announcement)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+@Service("announcementService")
+public class AnnouncementServiceImpl extends ServiceImpl<AnnouncementDao, Announcement> implements AnnouncementService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/CaseServiceImpl.java b/src/main/java/com/example/jz/service/impl/CaseServiceImpl.java
new file mode 100644
index 0000000..76dd229
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/CaseServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.CaseDao;
+import com.example.jz.modle.entity.Case;
+import com.example.jz.service.CaseService;
+import org.springframework.stereotype.Service;
+
+/**
+ * (Case)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:56
+ */
+@Service("caseService")
+public class CaseServiceImpl extends ServiceImpl<CaseDao, Case> implements CaseService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/CommonQuestionServiceImpl.java b/src/main/java/com/example/jz/service/impl/CommonQuestionServiceImpl.java
new file mode 100644
index 0000000..a6f0a3c
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/CommonQuestionServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.CommonQuestionDao;
+import com.example.jz.modle.entity.CommonQuestion;
+import com.example.jz.service.CommonQuestionService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 甯歌闂琛�(CommonQuestion)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("commonQuestionService")
+public class CommonQuestionServiceImpl extends ServiceImpl<CommonQuestionDao, CommonQuestion> implements CommonQuestionService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/GroupServiceImpl.java b/src/main/java/com/example/jz/service/impl/GroupServiceImpl.java
new file mode 100644
index 0000000..7f5d4ef
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/GroupServiceImpl.java
@@ -0,0 +1,20 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.GroupDao;
+import com.example.jz.modle.entity.Group;
+import com.example.jz.service.GroupService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 缇よ〃
+(Group)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("groupService")
+public class GroupServiceImpl extends ServiceImpl<GroupDao, Group> implements GroupService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/GroupUserServiceImpl.java b/src/main/java/com/example/jz/service/impl/GroupUserServiceImpl.java
new file mode 100644
index 0000000..6103704
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/GroupUserServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.GroupUserDao;
+import com.example.jz.modle.entity.GroupUser;
+import com.example.jz.service.GroupUserService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 鐢ㄦ埛鍜岀兢涓棿琛�(GroupUser)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("groupUserService")
+public class GroupUserServiceImpl extends ServiceImpl<GroupUserDao, GroupUser> implements GroupUserService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/MessageServiceImpl.java b/src/main/java/com/example/jz/service/impl/MessageServiceImpl.java
new file mode 100644
index 0000000..99f7e20
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/MessageServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.MessageDao;
+import com.example.jz.modle.entity.Message;
+import com.example.jz.service.MessageService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 娑堟伅琛�(Message)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("messageService")
+public class MessageServiceImpl extends ServiceImpl<MessageDao, Message> implements MessageService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/PublicityServiceImpl.java b/src/main/java/com/example/jz/service/impl/PublicityServiceImpl.java
new file mode 100644
index 0000000..ace765f
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/PublicityServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.PublicityDao;
+import com.example.jz.modle.entity.Publicity;
+import com.example.jz.service.PublicityService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 鍏叡瀹d紶琛�(Publicity)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("publicityService")
+public class PublicityServiceImpl extends ServiceImpl<PublicityDao, Publicity> implements PublicityService {
+
+}
+
diff --git a/src/main/java/com/example/jz/service/impl/UserServiceImpl.java b/src/main/java/com/example/jz/service/impl/UserServiceImpl.java
new file mode 100644
index 0000000..c0cdb29
--- /dev/null
+++ b/src/main/java/com/example/jz/service/impl/UserServiceImpl.java
@@ -0,0 +1,19 @@
+package com.example.jz.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.example.jz.dao.UserDao;
+import com.example.jz.modle.entity.User;
+import com.example.jz.service.UserService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 鐢ㄦ埛琛�(User)琛ㄦ湇鍔″疄鐜扮被
+ *
+ * @author makejava
+ * @since 2022-07-11 16:35:57
+ */
+@Service("userService")
+public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {
+
+}
+
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 8cc6e63..1c87d9b 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -3,9 +3,9 @@
### datasource
#test
-spring.datasource.url=jdbc:mysql://140.143.1.25:3306/job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
+spring.datasource.url=jdbc:mysql://42.193.1.25/:3306/job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.username=root
-spring.datasource.password=Y$c$l@1202!aa
+spring.datasource.password=321$YcYl@1970!
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
### datasource-pool
@@ -20,9 +20,9 @@
spring.datasource.hikari.connection-test-query=SELECT 1
spring.datasource.hikari.validation-timeout=1000
-# ???????
+# ???????????
spring.servlet.multipart.max-file-size=50MB
-# minio???????
+# minio??
minio.address=http://119.28.5.249:9000
minio.accessKey=minioadmin
minio.secretKey=minioadmin
--
Gitblit v1.8.0