Commit c82414e3 by yuquan.zhu Committed by chenzg

transfer

parent 20beba4c
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/
### VS Code ###
.vscode/
/*
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.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.util.Properties;
public class MavenWrapperDownloader {
/**
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
*/
private static final String DEFAULT_DOWNLOAD_URL =
"https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar";
/**
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
* use instead of the default one.
*/
private static final String MAVEN_WRAPPER_PROPERTIES_PATH =
".mvn/wrapper/maven-wrapper.properties";
/**
* Path where the maven-wrapper.jar will be saved to.
*/
private static final String MAVEN_WRAPPER_JAR_PATH =
".mvn/wrapper/maven-wrapper.jar";
/**
* Name of the property which should be used to override the default download url for the wrapper.
*/
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
public static void main(String args[]) {
System.out.println("- Downloader started");
File baseDirectory = new File(args[0]);
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
// If the maven-wrapper.properties exists, read it and check if it contains a custom
// wrapperUrl parameter.
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
String url = DEFAULT_DOWNLOAD_URL;
if(mavenWrapperPropertyFile.exists()) {
FileInputStream mavenWrapperPropertyFileInputStream = null;
try {
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
Properties mavenWrapperProperties = new Properties();
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
} catch (IOException e) {
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
} finally {
try {
if(mavenWrapperPropertyFileInputStream != null) {
mavenWrapperPropertyFileInputStream.close();
}
} catch (IOException e) {
// Ignore ...
}
}
}
System.out.println("- Downloading from: : " + url);
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
if(!outputFile.getParentFile().exists()) {
if(!outputFile.getParentFile().mkdirs()) {
System.out.println(
"- ERROR creating output direcrory '" + outputFile.getParentFile().getAbsolutePath() + "'");
}
}
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
try {
downloadFileFromURL(url, outputFile);
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.exit(1);
}
}
private static void downloadFileFromURL(String urlString, File destination) throws Exception {
URL website = new URL(urlString);
ReadableByteChannel rbc;
rbc = Channels.newChannel(website.openStream());
FileOutputStream fos = new FileOutputStream(destination);
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
fos.close();
rbc.close();
}
}
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
{
{
"RootName": "DataModels",
"CTVER": "43543231",
"TableCount": 4,
"Count": 1,
"items": [{
"ID": 74,
"Name": "组织管理更新版",
"OrderNo": 1,
"ConfigStr": "DrawerWidth=2120\nDrawerHeight=2880\nWorkAreaColor=12639424\nSelectedColor=-16777203\nDefaultObjectColor=15921906\nDefaultTitleColor=255\nDefaultPKColor=16711935\nDefaultFKColor=16711680\nDefaultBorderColor=12632256\nDefaultLineColor=16711680\nShowFieldType=1\nShowFieldIcon=1\nShowPhyFieldName=2\nDatabaseEngine=\nGenFKIndexesSQL=0\n",
"Tables": {
"Count": 4,
"items": [
{
"ID": 4,
"Name": "zzgl_bmgw_m",
"Caption": "部门岗位表",
"Memo": "部门岗位表",
"OrderNo": 1,
"GraphDesc": "Left=23.00\r\nTop=58.00",
"MetaFields": {
"Count": 11,
"items": [
{
"ID": 1,
"Name": "id",
"Memo": " ",
"OrderNo": 1,
"DisplayName": "编号",
"DataType": 2,
"KeyFieldType": 1
},
{
"ID": 426,
"Name": "up_dept_id",
"OrderNo": 2,
"DisplayName": "上级部门id",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 7
},
{
"ID": 227,
"Name": "name",
"OrderNo": 3,
"DisplayName": "名称",
"DataType": 1,
"Nullable": true,
"DataLength": 255
},
{
"ID": 228,
"Name": "status",
"Memo": "状态 0:正常1:关闭",
"OrderNo": 4,
"DisplayName": "状态",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 287,
"Name": "is_admin",
"Memo": "0:超管;1:管理员;2:员工",
"OrderNo": 5,
"DisplayName": "是否管理者",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 277,
"Name": "is_update",
"Memo": "是否可修改 0:否 1:是",
"OrderNo": 6,
"DisplayName": "是否可修改",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 542,
"Name": "add_way",
"Memo": "0:单个添加;1:批量导入",
"OrderNo": 7,
"DisplayName": "添加方式",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 355,
"Name": "remark",
"OrderNo": 8,
"DisplayName": "备注",
"DataType": 1,
"Nullable": true,
"DataLength": 255
},
{
"ID": 429,
"Name": "tier",
"OrderNo": 9,
"DisplayName": "层级",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 334,
"Name": "type",
"Memo": "0:部门;1:岗位",
"OrderNo": 10,
"DisplayName": "类型",
"DataType": 2,
"Nullable": true,
"DataLength": 2
},
{
"ID": 230,
"Name": "org_code",
"Memo": "企业中心(企业信息id)",
"OrderNo": 11,
"DisplayName": "组织机构代码",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 8
}
]
}
},
{
"Name": "zzgl_asso_ygbmgwglb",
"Caption": "员工与部门岗位关联表",
"Memo": "员工与部门岗位关联表",
"OrderNo": 2,
"GraphDesc": "Left=451.00\r\nTop=45.00",
"MetaFields": {
"Count": 4,
"items": [
{
"ID": 1,
"Name": "id",
"OrderNo": 1,
"DisplayName": "主键",
"DataType": 2,
"KeyFieldType": 1
},
{
"ID": 2,
"Name": "emp_num",
"Memo": "员工工号",
"OrderNo": 2,
"DisplayName": "员工工号",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 9
},
{
"ID": 3,
"Name": "dept_post_id",
"Memo": "部门岗位id",
"OrderNo": 3,
"DisplayName": "部门岗位id",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 7
},
{
"ID": 1000,
"Name": "org_code",
"OrderNo": 4,
"DisplayName": "组织机构代码",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 8
}
]
}
},
{
"ID": 6,
"Name": "zzgl_log_dgjl",
"Caption": "调岗记录",
"Memo": "调岗记录",
"OrderNo": 3,
"GraphDesc": "Left=236.00\r\nTop=58.00",
"MetaFields": {
"Count": 8,
"items": [
{
"ID": 1,
"Name": "id",
"OrderNo": 1,
"DisplayName": "编号",
"DataType": 2,
"KeyFieldType": 1
},
{
"ID": 2,
"Name": "emp_num",
"OrderNo": 2,
"DisplayName": "员工工号",
"DataType": 1,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 9
},
{
"ID": 3,
"Name": "obmgw_id",
"OrderNo": 3,
"DisplayName": "原部门id",
"DataType": 2,
"Nullable": true,
"DataLength": 7
},
{
"ID": 513,
"Name": "nbmgw_id",
"OrderNo": 4,
"DisplayName": "现部门id",
"DataType": 2,
"Nullable": true,
"DataLength": 7
},
{
"ID": 960,
"Name": "org_code",
"OrderNo": 5,
"DisplayName": "组织机构代码",
"DataType": 2,
"KeyFieldType": 3,
"Nullable": true,
"DataLength": 8
},
{
"ID": 6,
"Name": "create_time",
"OrderNo": 6,
"DisplayName": "创建时间",
"DataType": 4,
"Nullable": true
},
{
"ID": 7,
"Name": "comment",
"OrderNo": 7,
"DisplayName": "评语",
"DataType": 1,
"Nullable": true,
"DataLength": 255
},
{
"ID": 8,
"Name": "update_id",
"OrderNo": 8,
"DisplayName": "修改人的id",
"DataType": 2,
"Nullable": true,
"DataLength": 11
}
]
}
},
{
"ID": 4,
"Name": "zzgl_auth",
"Caption": "部门权限表+",
"CreateDate": "2019-11-29 13:32:04",
"OrderNo": 4,
"GraphDesc": "Left=249.00\r\nTop=231.00",
"MetaFields": {
"Count": 3,
"items": [
{
"ID": 1,
"Name": "menu_id",
"CreateDate": "2019-11-29 13:32:04",
"OrderNo": 1,
"DisplayName": "菜单编号",
"DataType": 1,
"Nullable": true
},
{
"ID": 5,
"Name": "bmgw_id",
"CreateDate": "2019-11-29 13:32:04",
"OrderNo": 2,
"DisplayName": "部门岗位编号",
"DataType": 2,
"Nullable": true
},
{
"ID": 6,
"Name": "org_code",
"CreateDate": "2019-11-29 13:32:04",
"OrderNo": 3,
"DisplayName": "企业编号",
"DataType": 2,
"Nullable": true
}
]
}
}
]
}
}]
}
\ No newline at end of file
#!/bin/sh
# ----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# Maven2 Start Up Batch script
#
# Required ENV vars:
# ------------------
# JAVA_HOME - location of a JDK home dir
#
# Optional ENV vars
# -----------------
# M2_HOME - location of maven2's installed home dir
# MAVEN_OPTS - parameters passed to the Java VM when running Maven
# e.g. to debug Maven itself, use
# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
# ----------------------------------------------------------------------------
if [ -z "$MAVEN_SKIP_RC" ] ; then
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "$HOME/.mavenrc" ] ; then
. "$HOME/.mavenrc"
fi
fi
# OS specific support. $var _must_ be set to either true or false.
cygwin=false;
darwin=false;
mingw=false
case "`uname`" in
CYGWIN*) cygwin=true ;;
MINGW*) mingw=true;;
Darwin*) darwin=true
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html
if [ -z "$JAVA_HOME" ]; then
if [ -x "/usr/libexec/java_home" ]; then
export JAVA_HOME="`/usr/libexec/java_home`"
else
export JAVA_HOME="/Library/Java/Home"
fi
fi
;;
esac
if [ -z "$JAVA_HOME" ] ; then
if [ -r /etc/gentoo-release ] ; then
JAVA_HOME=`java-config --jre-home`
fi
fi
if [ -z "$M2_HOME" ] ; then
## resolve links - $0 may be a link to maven's home
PRG="$0"
# need this for relative symlinks
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG="`dirname "$PRG"`/$link"
fi
done
saveddir=`pwd`
M2_HOME=`dirname "$PRG"`/..
# make it fully qualified
M2_HOME=`cd "$M2_HOME" && pwd`
cd "$saveddir"
# echo Using m2 at $M2_HOME
fi
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --unix "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
fi
# For Mingw, ensure paths are in UNIX format before anything is touched
if $mingw ; then
[ -n "$M2_HOME" ] &&
M2_HOME="`(cd "$M2_HOME"; pwd)`"
[ -n "$JAVA_HOME" ] &&
JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
# TODO classpath?
fi
if [ -z "$JAVA_HOME" ]; then
javaExecutable="`which javac`"
if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
# readlink(1) is not available as standard on Solaris 10.
readLink=`which readlink`
if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
if $darwin ; then
javaHome="`dirname \"$javaExecutable\"`"
javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
else
javaExecutable="`readlink -f \"$javaExecutable\"`"
fi
javaHome="`dirname \"$javaExecutable\"`"
javaHome=`expr "$javaHome" : '\(.*\)/bin'`
JAVA_HOME="$javaHome"
export JAVA_HOME
fi
fi
fi
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD="`which java`"
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly." >&2
echo " We cannot execute $JAVACMD" >&2
exit 1
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
fi
CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
# traverses directory structure from process work directory to filesystem root
# first directory with .mvn subdirectory is considered project base directory
find_maven_basedir() {
if [ -z "$1" ]
then
echo "Path not specified to find_maven_basedir"
return 1
fi
basedir="$1"
wdir="$1"
while [ "$wdir" != '/' ] ; do
if [ -d "$wdir"/.mvn ] ; then
basedir=$wdir
break
fi
# workaround for JBEAP-8937 (on Solaris 10/Sparc)
if [ -d "${wdir}" ]; then
wdir=`cd "$wdir/.."; pwd`
fi
# end of workaround
done
echo "${basedir}"
}
# concatenates all lines of a file
concat_lines() {
if [ -f "$1" ]; then
echo "$(tr -s '\n' ' ' < "$1")"
fi
}
BASE_DIR=`find_maven_basedir "$(pwd)"`
if [ -z "$BASE_DIR" ]; then
exit 1;
fi
##########################################################################################
# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
# This allows using the maven wrapper in projects that prohibit checking in binary data.
##########################################################################################
if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found .mvn/wrapper/maven-wrapper.jar"
fi
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
fi
jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
while IFS="=" read key value; do
case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
esac
done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
if [ "$MVNW_VERBOSE" = true ]; then
echo "Downloading from: $jarUrl"
fi
wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
if command -v wget > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found wget ... using wget"
fi
wget "$jarUrl" -O "$wrapperJarPath"
elif command -v curl > /dev/null; then
if [ "$MVNW_VERBOSE" = true ]; then
echo "Found curl ... using curl"
fi
curl -o "$wrapperJarPath" "$jarUrl"
else
if [ "$MVNW_VERBOSE" = true ]; then
echo "Falling back to using Java to download"
fi
javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
if [ -e "$javaClass" ]; then
if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Compiling MavenWrapperDownloader.java ..."
fi
# Compiling the Java class
("$JAVA_HOME/bin/javac" "$javaClass")
fi
if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
# Running the downloader
if [ "$MVNW_VERBOSE" = true ]; then
echo " - Running MavenWrapperDownloader.java ..."
fi
("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
fi
fi
fi
fi
##########################################################################################
# End of extension
##########################################################################################
export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
if [ "$MVNW_VERBOSE" = true ]; then
echo $MAVEN_PROJECTBASEDIR
fi
MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
[ -n "$M2_HOME" ] &&
M2_HOME=`cygpath --path --windows "$M2_HOME"`
[ -n "$JAVA_HOME" ] &&
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
[ -n "$CLASSPATH" ] &&
CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
[ -n "$MAVEN_PROJECTBASEDIR" ] &&
MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
fi
WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
exec "$JAVACMD" \
$MAVEN_OPTS \
-classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
"-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF licenses this file
@REM to you under the Apache License, Version 2.0 (the
@REM "License"); you may not use this file except in compliance
@REM with the License. You may obtain a copy of the License at
@REM
@REM https://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing,
@REM software distributed under the License is distributed on an
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@REM KIND, either express or implied. See the License for the
@REM specific language governing permissions and limitations
@REM under the License.
@REM ----------------------------------------------------------------------------
@REM ----------------------------------------------------------------------------
@REM Maven2 Start Up Batch script
@REM
@REM Required ENV vars:
@REM JAVA_HOME - location of a JDK home dir
@REM
@REM Optional ENV vars
@REM M2_HOME - location of maven2's installed home dir
@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
@REM e.g. to debug Maven itself, use
@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
@REM ----------------------------------------------------------------------------
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
@REM set %HOME% to equivalent of $HOME
if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
@REM Execute a user defined script before this one
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
@REM check for pre script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
:skipRcPre
@setlocal
set ERROR_CODE=0
@REM To isolate internal variables from possible post scripts, we use another setlocal
@setlocal
@REM ==== START VALIDATION ====
if not "%JAVA_HOME%" == "" goto OkJHome
echo.
echo Error: JAVA_HOME not found in your environment. >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
:OkJHome
if exist "%JAVA_HOME%\bin\java.exe" goto init
echo.
echo Error: JAVA_HOME is set to an invalid directory. >&2
echo JAVA_HOME = "%JAVA_HOME%" >&2
echo Please set the JAVA_HOME variable in your environment to match the >&2
echo location of your Java installation. >&2
echo.
goto error
@REM ==== END VALIDATION ====
:init
@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
@REM Fallback to current working directory if not found.
set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
set EXEC_DIR=%CD%
set WDIR=%EXEC_DIR%
:findBaseDir
IF EXIST "%WDIR%"\.mvn goto baseDirFound
cd ..
IF "%WDIR%"=="%CD%" goto baseDirNotFound
set WDIR=%CD%
goto findBaseDir
:baseDirFound
set MAVEN_PROJECTBASEDIR=%WDIR%
cd "%EXEC_DIR%"
goto endDetectBaseDir
:baseDirNotFound
set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
cd "%EXEC_DIR%"
:endDetectBaseDir
IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
@setlocal EnableExtensions EnableDelayedExpansion
for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
:endReadAdditionalConfig
SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar"
FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO (
IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
)
@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
if exist %WRAPPER_JAR% (
echo Found %WRAPPER_JAR%
) else (
echo Couldn't find %WRAPPER_JAR%, downloading it ...
echo Downloading from: %DOWNLOAD_URL%
powershell -Command "(New-Object Net.WebClient).DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"
echo Finished downloading %WRAPPER_JAR%
)
@REM End of extension
%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
if ERRORLEVEL 1 goto error
goto end
:error
set ERROR_CODE=1
:end
@endlocal & set ERROR_CODE=%ERROR_CODE%
if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
@REM check for post script, once with legacy .bat ending and once with .cmd ending
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
:skipRcPost
@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
exit /B %ERROR_CODE%
This diff is collapsed. Click to expand it.
package cn.timer.api;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestTemplate;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.support.config.FastJsonConfig;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
@MapperScan("cn.timer.api.dao") // 扫描的mapper
//@ComponentScan(basePackages = {"cn.timer.api.controller"})
@SpringBootApplication
@EnableScheduling
@EnableTransactionManagement
public class Application{
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
/**
* 配置FastJson方式二
*
* @return HttpMessageConverters
*/
@Bean
public HttpMessageConverters fastJsonHttpMessageConverters() {
// 1.定义一个converters转换消息的对象
FastJsonHttpMessageConverter fastConverter = new FastJsonHttpMessageConverter();
// 2.添加fastjson的配置信息,比如: 是否需要格式化返回的json数据
FastJsonConfig fastJsonConfig = new FastJsonConfig();
fastJsonConfig.setDateFormat("yyyy-MM-dd HH:mm:ss");
fastJsonConfig.setSerializerFeatures(SerializerFeature.PrettyFormat);
// 3.在converter中添加配置信息
fastConverter.setFastJsonConfig(fastJsonConfig);
// 4.将converter赋值给HttpMessageConverter
HttpMessageConverter<?> converter = fastConverter;
// 5.返回HttpMessageConverters对象
return new HttpMessageConverters(converter);
}
// extends SpringBootServletInitializer
@Autowired
private RestTemplateBuilder restTemplateBuilder;
@Bean
public RestTemplate getRestTemplate() {
return restTemplateBuilder.build();
}
// @Override
// protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
// return builder.sources(Application.class);
// }
}
/**
* @date 2019年12月7日
* @author 翁东州
* @方法中文名称:
*/
package cn.timer.api.bean.clazz;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @date 2019年12月7日
* @author 翁东州
* @方法中文名称:
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="city_clazz")
@ApiModel("城市类")
public class CityClazz extends Model<CityClazz>{
@Id
@GeneratedValue
@TableId (type = IdType.AUTO)
@ApiModelProperty(value="id",example="")
private Integer id;
@ApiModelProperty(value="data",example="")
private byte[] data;
}
package cn.timer.api.bean.dzht;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_cjlc")
@ApiModel("e签宝创建签署流程")
public class DzhtAssoCjlc extends Model<DzhtAssoCjlc> {
private static final long serialVersionUID = 2598410643156906220L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "文件主题(必填)", example = "(必填参数)")
private String businessScene;
// @ApiModelProperty(value = "签署人,逗号分隔", example = "")
// private String singerAccountId;
@ApiModelProperty(value = "是否自动归档,默认false", example = "false")
private Boolean autoArchive;
@ApiModelProperty(value = "回调通知地址", example = "回调通知地址 ,默认取项目配置通知地址")
private String noticeDeveloperUrl;
@ApiModelProperty(value = "通知方式", example = "通知方式,逗号分割,1-短信,2-邮件 。默认值1,请务必请选择一个通知方式,"
+ "否则客户将接收不到流程的签署通知和审批通知,如果流程需要审批,将导致审批无法完成;如果客户需要不通知,可以设置noticeType=\"\"")
private String noticeType;
@ApiModelProperty(value = "签署完成重定向地址", example = "签署完成重定向地址,默认签署完成停在当前页面")
private String redirectUrl;
@ApiModelProperty(value = "签署平台", example = "签署平台,逗号分割,1-开放服务h5,2-支付宝签 ,默认值1")
private String signPlatform;
@ApiModelProperty(value = "文件有效截止日期", example = "文件有效截止日期,毫秒,默认不失效;若时间到了该参数设置的时间,则会触发【流程文件过期通知】")
private Long contractValidity;
@ApiModelProperty(value = "文件到期前,提前多少小时回调提醒续签", example = "文件到期前,提前多少小时回调提醒续签,小时(时间区间:1小时——15天),"
+ "默认不提醒;若时间到了该参数设置的时间,则会触发【流程文件过期前通知】")
private Integer contractRemind;
@ApiModelProperty(value = "签署有效截止日期,毫秒", example = "签署有效截止日期,毫秒,默认不失效;若时间到了该参数设置的时间,则会触发【流程结束回调通知】")
private Long signValidity;
@ApiModelProperty(value = "发起人账户id", example = "发起人账户id,即发起本次签署的操作人个人账号id;如不传,默认由对接平台发起")
private String initiatorAccountId;
@ApiModelProperty(value = "发起方主体id", example = "发起方主体id,如存在个人代机构发起签约,则需传入机构id;如不传,则默认是对接平台")
private String initiatorAuthorizedAccountId;
@ApiModelProperty(value = "签署流程id", example = "(返回的参数 不用填)")
private String flowId;
@ApiModelProperty(value = "创建人", example = "")
private Integer creater;
@ApiModelProperty(value = "创建时间", example = "")
private Date createdTime;
@ApiModelProperty(value = "机构id", example = "117")
private Integer orgCode;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-21
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_dkrz")
@ApiModel("e签宝打款信息表")
public class DzhtAssoDkrz extends Model<DzhtAssoDkrz> {
private static final long serialVersionUID = 5096336833752192712L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "认证流程Id", example = "66")
private String flowId;
@ApiModelProperty(value = "对公账号开户行总行名称", example = "101")
private String bank;
@ApiModelProperty(value = "对公账号开户行所在省份名称", example = "101")
private String province;
@ApiModelProperty(value = "对公账号开户行所在城市名称", example = "101")
private String city;
@ApiModelProperty(value = "对公账号开户行支行名称全称", example = "101")
private String subbranch;
@ApiModelProperty(value = "银行卡号信息", example = "101")
private String cardNo;
@ApiModelProperty(value = "联行号(名词解释) 可通过 查询打款银行信息 获取,或第三方数据库获取", example = "101")
private String cnapsCode;
@ApiModelProperty(value = "对接方业务上下文id,将在异步通知及跳转时携带返回对接方", example = "101")
private String contextId;
@ApiModelProperty(value = "认证结束后异步通知地址,具体见\"异步通知\"章节说明", example = "101")
private String notifyUrl;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2020-03-13
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_grrz")
@ApiModel("e签宝个人认证信息表")
public class DzhtAssoGrrz extends Model<DzhtAssoGrrz> {
private static final long serialVersionUID = 5438551440725664700L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "认证类型", example = "0手机号,1银行,2刷脸")
private Integer type;
@ApiModelProperty(value = "个人账号id(要实名认证的个人id)", example = "")
private String AccountId;
@ApiModelProperty(value = "用户员工号(8小时系统)", example = "11677")
private Integer empNum;
@ApiModelProperty(value = "用户公司(8小时系统)", example = "117")
private Integer orgCode;
@ApiModelProperty(value = "手机号(仅限大陆三大运营商)", example = "13888888101")
private String mobileNo;
@ApiModelProperty(value = "人脸认证方式", example = "TENCENT腾讯微众银行认证,ZHIMACREDIT支付宝芝麻信用认证")
private String faceauthMode;
@ApiModelProperty(value = "认证完成后业务重定向地址(仅人脸)", example = "")
private String callbackUrl;
@ApiModelProperty(value = "银行卡号,仅限大陆银联银行卡", example = "")
private String bankCardNo;
@ApiModelProperty(value = "是否允许重复实名", example = "默认true")
private Boolean repetition;
@ApiModelProperty(value = "对接方业务上下文id,将在异步通知及跳转时携带返回对接方", example = "101")
private String contextId;
@ApiModelProperty(value = "认证结束后异步通知地址,具体见\"异步通知\"章节说明", example = "101")
private String notifyUrl;
@ApiModelProperty(value = "实名流程Id")
private String flowId;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-20
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_grzc")
@ApiModel("e签宝个人注册表")
public class DzhtAssoGrzc extends Model<DzhtAssoGrzc> {
private static final long serialVersionUID = 2528742825397835708L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号", example = "101")
private Integer id;
@ApiModelProperty(value = "用户唯一标识,可传入第三方平台的个人用户id、证件号、手机号、邮箱等,如果设置则作为账号唯一性字段,相同信息不可重复创建。(个人用户与机构的唯一标识不可重复)", example = "101")
private String thirdPartyUserId;
@ApiModelProperty(value = "姓名", example = "101")
private String name;
@ApiModelProperty(value = "证件类型,详见个人证件类型说明 ,默认CRED_PSN_CH_IDCARD", example = "101")
private String idType;
@ApiModelProperty(value = "证件号,默认为空,发起签署前需确保补齐证件号", example = "101")
private String idNumber;
@ApiModelProperty(value = "手机号码,默认空,手机号为空时无法使用短信意愿认证", example = "101")
private String mobile;
@ApiModelProperty(value = "邮箱地址,默认空", example = "101")
private String email;
@ApiModelProperty(value = "个人账号id", example = "101")
private String accountId;
@ApiModelProperty(value = "员工号", example = "101")
private Integer empNum;
@ApiModelProperty(value = "组织机构id", example = "101")
private Integer orgCode;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_htcsr")
@ApiModel("e签宝合同抄送人")
public class DzhtAssoHtcsr extends Model<DzhtAssoHtcsr> {
private static final long serialVersionUID = -6138189371585023602L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "抄送人id", example = "")
private String signerAccountId;
@ApiModelProperty(value = "员工id", example = "")
private Integer empNum;
@ApiModelProperty(value = "模板id", example = "返回的参数")
private String templateId;
@ApiModelProperty(value = "文件主题", example = "签署文件的主题")
private String businessScene;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_htcyr")
@ApiModel("e签宝合同参与人")
public class DzhtAssoHtcyr extends Model<DzhtAssoHtcyr> {
private static final long serialVersionUID = -6138189371585023602L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "签署人id", example = "")
private String signerAccountId;
@ApiModelProperty(value = "员工id", example = "")
private Integer empNum;
@ApiModelProperty(value = "是否填写", example = "默认0-否 1-是")
private Boolean isTx;
@ApiModelProperty(value = "是否签署", example = "默认0-否 1-是")
private Boolean isQs;
@ApiModelProperty(value = "模板id", example = "返回的参数")
private String templateId;
@ApiModelProperty(value = "文件主题", example = "签署文件的主题")
private String businessScene;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-24
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_htmb")
@ApiModel("e签宝合同模板")
public class DzhtAssoHtmb extends Model<DzhtAssoHtmb> {
private static final long serialVersionUID = 1331463911635625730L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "模板文件md5值", example = "66")
private String contentMd5;
@ApiModelProperty(value = "文件路径", example = "66")
private String filePath;
@ApiModelProperty(value = "目标文件的MIME类型", example = "application/pdf")
private String contentType;
@ApiModelProperty(value = "文件名称", example = "66")
private String fileName;
@ApiModelProperty(value = "模板名称", example = "合同模板")
private String mbmc;
@ApiModelProperty(value = "oss地址", example = "")
private String ossUrl;
@Transient
@TableField(exist = false) // 是否转换
private Boolean convert2Pdf;
@ApiModelProperty(value = "模板id", example = "1")
private String templateId;
@ApiModelProperty(value = "文件直传地址", example = "文件直传地址,需要用此上传地址使用put方式上传文件,只有文件上传后模板才可用")
private String uploadUrl;
@ApiModelProperty(value = "empNum", example = "11677")
private Integer empNum;
@ApiModelProperty(value = "org_code", example = "117")
private Integer orgCode;
@ApiModelProperty(value = "创建时间", example = "")
private Date createdTime;
@ApiModelProperty(value = "是否删除 0-否 1-是", example = "0")
private Integer isDel;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-27
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_htwj")
@ApiModel("e签宝合同文件")
public class DzhtAssoHtwj extends Model<DzhtAssoHtwj> {
private static final long serialVersionUID = 1331463911635625730L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "文件名", example = "")
private String name;
@ApiModelProperty(value = "模板id", example = "")
private String templateId;
@ApiModelProperty(value = "文件id", example = "")
private String fileId;
@Transient
@TableField(exist = false)
@ApiModelProperty(value = "键值对参数", example = "")
private Object simpleFormFields;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_mbzj")
@ApiModel("e签宝合同模板组件")
public class DzhtAssoMbzj extends Model<DzhtAssoMbzj> {
private static final long serialVersionUID = 9021145858921994828L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "模板id", example = "")
private String templateId;
@ApiModelProperty(value = "组件id", example = "")
private String zjid;
@ApiModelProperty(value = "组件key", example = "")
private String zjkey;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-21
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_qyrz")
@ApiModel("e签宝企业认证表")
public class DzhtAssoQyrz extends Model<DzhtAssoQyrz> {
private static final long serialVersionUID = -8454074160107961801L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "组织机构id", example = "101")
private Integer orgCode;
@ApiModelProperty(value = "公司账号id(要实名认证的组织id)", example = "")
private String AccountId;
@ApiModelProperty(value = "代理人账号id(已完成实名认证的个人id)", example = "")
private String agentAccountId;
@ApiModelProperty(value = "是否允许重复实名", example = "默认true")
private Boolean repetition;
@ApiModelProperty(value = "对接方业务上下文id,将在异步通知及跳转时携带返回对接方", example = "101")
private String contextId;
@ApiModelProperty(value = "认证结束后异步通知地址,具体见\"异步通知\"章节说明", example = "101")
private String notifyUrl;
@ApiModelProperty(value = "实名流程Id")
private String flowId;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_qyyz")
@ApiModel("e签宝企业印章")
public class DzhtAssoQyyz extends Model<DzhtAssoQyyz> {
private static final long serialVersionUID = -8073799927152662232L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "企业Id", example = "66")
private String orgId;
@ApiModelProperty(value = "第三方印章别名", example = "101")
private String alias;
@ApiModelProperty(value = "颜色", example = "RED-红色,BLUE-蓝色,BLACK-黑色")
private String color;//必填
@ApiModelProperty(value = "高度", example = "默认159px")
private Integer height;
@ApiModelProperty(value = "宽度", example = "默认159px")
private Integer width;
@ApiModelProperty(value = "横向文", example = "101")
private String htext;
@ApiModelProperty(value = "下弦文", example = "101")
private String qtext;
@ApiModelProperty(value = "企业唯一标识", example = "101")
private String thirdPartyUserId;
@ApiModelProperty(value = "模板类型", example = "TEMPLATE_ROUND-圆章 TEMPLATE_OVAL-椭圆章")
private String type;//必填
@ApiModelProperty(value = "中心图案类型", example = "STAR-圆形有五角星 NONE-圆形无五角星")
private String central;//必填
// 返回参数
@ApiModelProperty(value = "印章fileKey", example = "101")
private String fileKey;
@ApiModelProperty(value = "印章id", example = "101")
private String sealId;
// @ApiModelProperty(value = "下载地址,保存一小时", example = "101")
// private String url;
@ApiModelProperty(value = "是否默认", example = "0否 1是")
private Integer isMr;
@ApiModelProperty(value = "创建时间", example = "101")
private Date createTime;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-21
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_qyzc")
@ApiModel("e签宝企业注册表")
public class DzhtAssoQyzc extends Model<DzhtAssoQyzc> {
private static final long serialVersionUID = 6896535273257356696L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号", example = "1")
private Integer id;
@ApiModelProperty(value = "机构唯一标识,可传入第三方平台机构id、企业证件号、企业邮箱等如果设置则作为账号唯一性字段,相同id不可重复创建。(个人用户与机构的唯一标识不可重复)", example = "101")
private String thirdPartyUserId;
@ApiModelProperty(value = "创建人个人账号id(调用个人账号创建接口返回的accountId)", example = "1")
private String creator;
@ApiModelProperty(value = "机构名称", example = "101")
private String name;
@ApiModelProperty(value = "证件类型,详见机构证件类型说明 ,默认CRED_ORG_USCC", example = "101")
private String idType;
@ApiModelProperty(value = "证件号,默认为空,发起签署前需确保补齐证件号", example = "101")
private String idNumber;
@ApiModelProperty(value = "企业法人证件号", example = "101")
private String orgLegalIdNumber;
@ApiModelProperty(value = "企业法人名称", example = "101")
private String orgLegalName;
@ApiModelProperty(value = "组织机构id", example = "101")
private Integer orgCode;
@ApiModelProperty(value = "机构账号id", example = "101")
private String orgId;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_sdgzq")
@ApiModel("e签宝添加手动盖章区")
public class DzhtAssoSdgzq extends Model<DzhtAssoSdgzq> {
private static final long serialVersionUID = 7548358737989822037L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
@ApiModelProperty(value = "流程id", example = "")
private String flowId;
@ApiModelProperty(value = "文件主题", example = "")
private String businessScene;
@ApiModelProperty(value = "文件file id", example = "")
private String fileId;
@ApiModelProperty(value = "签署操作人个人账号", example = "即操作本次签署的个人,如需e签宝通知用户签署,则系统向该账号下绑定的手机、邮箱发送签署链接")
private String signerAccountId;
@ApiModelProperty(value = "签署人员工号", example = "")
private Integer signerEmpNum;
@ApiModelProperty(value = "签约主体账号标识", example = "即本次签署对应任务的归属方,如传入机构id,则签署完成后,本任务可在企业账号下进行管理,默认是签署操作人个人")
private String authorizedAccountId;
@ApiModelProperty(value = "机构签约类别", example = "机构签约类别,当签约主体为机构时必传:2-机构盖章,3-法定代表人盖章 ")
private Integer actorIndentityType;
@ApiModelProperty(value = "是否指定位置", example = "是否指定位置,如指定位置则posBean不可为空;一旦设置为TRUE,表示用户签署时不允许更新位置")
private Boolean assignedPosbean;
@ApiModelProperty(value = "签署区顺序", example = "默认1,且不小于1,顺序越小越先处理")
private Integer signOrder;
@ApiModelProperty(value = "页码信息", example = "当签署区signType为2时, 页码可以-分割, 其他情况只能是数字")
private String posPage;
@ApiModelProperty(value = "x坐标,默认空", example = "")
private Float posX;
@ApiModelProperty(value = "y坐标", example = "")
private Float posY;
@ApiModelProperty(value = "签署区宽,默认印章宽度", example = "")
private Float width;
@ApiModelProperty(value = "是否添加签署时间戳", example = " 默认不添加,格式 2019-03-11 10:12:12")
private Boolean addSignTime;
@ApiModelProperty(value = "签署方式", example = "个人签署时支持多种签署方式,0-手绘签名 ,1-个人签章盖章,多种类型时逗号分割,为空不限制")
private String sealType;
@ApiModelProperty(value = "签署类型", example = "签署类型,0-不限,1-单页签署,2-骑缝签署,默认1")
private Integer signType;
@ApiModelProperty(value = "第三方业务流水号id", example = "保证相同签署人、相同签约主体、相同签署顺序的任务,对应的第三方业务流水id唯一,默认空")
private String thirdOrderNo;
// 返回的参数
@ApiModelProperty(value = "签署区id", example = "")
private String signfieldId;
@ApiModelProperty(value = "操作人", example = "")
private Integer creater;
@ApiModelProperty(value = "创建时间", example = "")
private Date createdTime;
@ApiModelProperty(value = "机构id", example = "")
private Integer orgCode;
}
\ No newline at end of file
package cn.timer.api.bean.dzht;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-30
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "dzht_asso_tpyz")
@ApiModel("e签宝创建个人/机构图片印章")
public class DzhtAssoTpyz extends Model<DzhtAssoTpyz> {
private static final long serialVersionUID = 6123257052008288652L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号")
private Integer id;
// 必填
@ApiModelProperty(required = true, value = "个人账户id", example = "")
private String accountId;
@ApiModelProperty(value = "数据类型", example = "")
private String type;
@ApiModelProperty(value = "数据", example = "")
private String data;
@ApiModelProperty(required = true, value = "文件路径", example = "")
private String filePath;
@ApiModelProperty(required = true, value = "oss请求路径", example = "")
private String ossUrl;
// 选填
@ApiModelProperty(value = "印章别名", example = "")
private String alias;
@ApiModelProperty(value = "高度", example = "")
private Integer height;
@ApiModelProperty(value = "宽度", example = "")
private Integer width;
@ApiModelProperty(value = "透明化处理", example = "")
private Boolean transparentFlag;
// 返回参数
@ApiModelProperty(value = "印章fileKey", example = "")
private String fileKey;
@ApiModelProperty(value = "印章id", example = "")
private String sealId;
@ApiModelProperty(value = "创建时间", example = "")
private Date createdTime;
@ApiModelProperty(value = "员工号", example = "")
private Integer empNum;
@ApiModelProperty(value = "机构id", example = "")
private Integer orgCode;
}
\ No newline at end of file
package cn.timer.api.bean.htzz;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-04
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "htzz_admin_zzda")
@ApiModel("合同证照档案表")
public class HtzzAdminZzda extends Model<HtzzAdminZzda> {
private static final long serialVersionUID = 7917787062761005000L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号", example = "101")
private Integer id;
@ApiModelProperty(value = "证件名称 ", example = "证件名称")
private String zjmc;
@ApiModelProperty(value = "证件编号 ", example = "证件编号")
private String zjbh;
@ApiModelProperty(value = "持证人 ", example = "持证人")
private String czry;
@ApiModelProperty(value = "持证人电话 ", example = "持证人电话")
private String czrdh;
@ApiModelProperty(value = "发证机构 ", example = "发证机构")
private String fzjg;
@ApiModelProperty(value = "发证日期 ", example = "发证日期")
private Date fzrq;
@ApiModelProperty(value = "有效期开始日 ", example = "有效期开始日")
private Date yxksr;
@ApiModelProperty(value = "有效期到期日 ", example = "有效期到期日")
private Date yxdqr;
// @ApiModelProperty(value = "提醒组id ", example = "提醒组")
// private Integer txzid;
@ApiModelProperty(value = "提醒开关", example = "0 关 1开")
private Integer txkgType;
@ApiModelProperty(value = "证件附件 ", example = "证件附件")
private String zjfj;
// @ApiModelProperty(value = "通知人 ", example = "通知人")
// private String tzr;
@ApiModelProperty(value = "录入人--用户id", example = "101")
private Integer lrrid;
@TableField(fill = FieldFill.INSERT)
@ApiModelProperty(value = "录入时间 ", example = "录入时间")
private Date lrsjTime;
@ApiModelProperty(value = "公司id", example = "101")
private Integer orgCode;
@ApiModelProperty(value = "是否删除", example = "0-否 1-是")
private Integer isDelete;
@Transient
@TableField(exist = false)
private Integer[] ids;
}
\ No newline at end of file
package cn.timer.api.bean.htzz;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-18
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "htzz_asso_htgx")
@ApiModel("合同关系表")
public class HtzzAssoHtgx extends Model<HtzzAssoHtgx> {
private static final long serialVersionUID = -6848380658212835558L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号", example = "101")
private Integer id;
@ApiModelProperty(value = "通知人id", example = "101")
private Integer tzrid;
@ApiModelProperty(value = "通知人姓名", example = "101")
private String name;
@ApiModelProperty(value = "通知人手机号", example = "101")
private String phone;
@ApiModelProperty(value = "合同id", example = "101")
private Integer htid;
@ApiModelProperty(value = "公司id", example = "101")
private Integer orgCode;
}
\ No newline at end of file
package cn.timer.api.bean.htzz;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author dsc 2019-12-04
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "htzz_asso_zztx")
@ApiModel("证照提醒表")
public class HtzzAssoZztx extends Model<HtzzAssoZztx> {
private static final long serialVersionUID = -7868665259110743401L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "编号", example = "101")
private Integer id;
@ApiModelProperty(value = "名称 ", example = "名称")
private String name;
// @ApiModelProperty(value = "提醒方式 ", example = "提醒方式")
// private String txfs;
// @ApiModelProperty(value = "优先级 ", example = "优先级")
// private String yxj;
@ApiModelProperty(value = "重复方式 ", example = "0-不重复 1-每天 2-每3天 3-每周")
private Integer cffs;
@ApiModelProperty(value = "提醒时间周期 ", example = "0-到期提醒 1-提前一天 2-提前三天 3-提前一周 4-提前一个月")
private Integer txsj;
@ApiModelProperty(value = "短信提醒", example = "0-关闭 1-开启")
private Integer isMessage;
@ApiModelProperty(value = "邮箱提醒 ", example = "0-关闭 1-开启")
private Integer isEmail;
@ApiModelProperty(value = "企业id ", example = "企业id")
private Integer orgCode;
@ApiModelProperty(value = "录入人员 ", example = "录入人员")
private Integer lrrid;
@TableField(fill = FieldFill.INSERT)
@ApiModelProperty(value = "录入时间 ", example = "录入时间")
private Date lrsjTime;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-02
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_admin_jcsz")
@ApiModel("基础设置")
public class JxglAdminJcsz extends Model<JxglAdminJcsz> {
/**
*
*/
private static final long serialVersionUID = 8687909529181749192L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "OKR开关 0:关;1:开(目标(Objectives)与关键成果法(Key Results))", example = "101")
private Integer isOrk;
@ApiModelProperty(value = "绩效考核开关 0:关;1:开(支持KPI、BSC、360互评等多种考核方式)", example = "101")
private Integer isJxkh;
@ApiModelProperty(value = "计算规则 0:量化指标和行为价值观指标合并计算;1:量化指标和行为价值观指标分开计算", example = "101")
private Integer jsgz;
@ApiModelProperty(value = "量化指标 0:数字型;1:文本型", example = "101")
private Integer lhzb;
@ApiModelProperty(value = "总分自动加和开关 0:关;1:开", example = "101")
private Integer lhzbZfzdjh;
@ApiModelProperty(value = "录入方式 0:文本框输入;1:下拉选择", example = "101")
private Integer lhzbLrfs;
@ApiModelProperty(value = "行为价值观指标 0:数字型;1:文本型", example = "101")
private Integer xwjzgzb;
@ApiModelProperty(value = "总分自动加和开关 0:关;1:开", example = "101")
private Integer xwjzgzbZfzdjh;
@ApiModelProperty(value = "录入方式 0:文本框输入;1:下拉选择", example = "101")
private Integer xwjzgzbLrfs;
@ApiModelProperty(value = "绩效等级开关 0:关;1:开", example = "101")
private Integer jxdjkg;
@ApiModelProperty(value = "绩效等级类型 0:强制正态分布;1:分数区间对应", example = "101")
private Integer jxdjtype;
@ApiModelProperty(value = "对接人事管理开关 0:关;1:开", example = "101")
private Integer djrsgl;
@ApiModelProperty(value = "待办自动提醒开关 0:关;1:开", example = "101")
private Integer dbzdtx;
@ApiModelProperty(value = "分制名称 ", example = "分制名称")
private String fzmc;
@ApiModelProperty(value = "满分 ", example = "满分")
private String manfen;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
@ApiModelProperty(value = "添加人员ID 添加人员ID", example = "101")
private Integer tjryid;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-08
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_admin_kpzsz")
@ApiModel("考评组设置")
public class JxglAdminKpzsz extends Model<JxglAdminKpzsz> {
/**
*
*/
private static final long serialVersionUID = 3542750698820133341L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "考评组名称 ", example = "考评组名称")
private String kpzmc;
@ApiModelProperty(value = "周期类型 0:月度;1:季度;2:半年度;3:年度;4:试用期;5:日;6:自定义;", example = "101")
private Integer zqtype;
@ApiModelProperty(value = "评分说明必填开关 0:关;1:开", example = "101")
private Integer pfsmbt;
@ApiModelProperty(value = "指标评分计算方式 1:指标评分加和计算;2:指标评分加权计算(指标评分加和计算:评分=指标1评分+指标2评分+... | 指标评分加权计算 :评分=指标1评分*指标1权重+指标2评分*指标2权重+...)", example = "101")
private Integer zbpfjs;
@ApiModelProperty(value = "流程设计类型 0:按评分人设置流程;1:按指标设置流程", example = "101")
private Integer lcsjtype;
@ApiModelProperty(value = "目标制定人类型 1:被考核人;2:主管;3:自定;4:系统【目标制定】", example = "101")
private Integer mbzdrtype;
@ApiModelProperty(value = "目标制定指定人id 【目标制定】", example = "101")
private String mbzdrid;
@ApiModelProperty(value = "目标确认人类型 0:关:1:被考核人;2:主管;3:指定成员【目标确认】", example = "101")
private Integer mbqrr;
@ApiModelProperty(value = "目标确认指定人id 【目标确认】", example = "101")
private String mbqrzdr;
@ApiModelProperty(value = "自评配置开关 0:关;1:开", example = "101")
private Integer zppz;
@ApiModelProperty(value = "自评权重 ", example = "自评权重")
private String zpweight;
@ApiModelProperty(value = "互评配置开关 0:关;1:开", example = "101")
private Integer hppz;
@ApiModelProperty(value = "互评权重 ", example = "互评权重")
private String hpweight;
@ApiModelProperty(value = "互评匿名开关 0:关;1:开【互评】", example = "101")
private Integer hpnmkg;
@ApiModelProperty(value = "互评多人时的处理方式 0:各自评分(计算时取平均值);1:任一评分(任一评分人评分即可)【互评】", example = "101")
private Integer hpdrclfs;
@ApiModelProperty(value = "评分人去重 0:关;1:开【评分全局配置】", example = "101")
private Integer pfrqc;
@ApiModelProperty(value = "评分人手动评级 0:关;1:开【评分全局配置】", example = "101")
private Integer pfrsdpj;
@ApiModelProperty(value = "上级评分配置开关 0:关;1:开", example = "101")
private Integer sjpfpz;
@ApiModelProperty(value = "上级评分权重 ", example = "上级评分权重")
private String sjweight;
@ApiModelProperty(value = "上级评分多人时的处理方式 0:各自评分(计算时取平均值);1:任一评分(任一评分人评分即可)【上级评分】", example = "101")
private Integer spdrclfs;
@ApiModelProperty(value = "代评分 若该级处理人空缺,由其在通讯录中的上级主管代评分 ===> 0:关;1:开【上级评分】", example = "101")
private Integer dpf;
@ApiModelProperty(value = "允许转交 0:关;1:开【上级评分】", example = "101")
private Integer yxzj;
@ApiModelProperty(value = "评分规则 0:评分人需要对每个指标进行评分;1:评分人不需要对每个指标进行评分,只需评一个总的得分", example = "101")
private Integer pfgz;
@ApiModelProperty(value = "参与人数", example = "101")
private Integer cyrs;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-06
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="jxgl_admin_zbk")
@ApiModel("指标库")
public class JxglAdminZbk extends Model<JxglAdminZbk> {
/**
*
*/
private static final long serialVersionUID = 2558055045569841060L;
@Id
@GeneratedValue
@TableId (type = IdType.AUTO)
@ApiModelProperty(value="id id",example="101")
private Integer id;
@ApiModelProperty(value="指标名称 ",example="指标名称")
private String zbmc;
@ApiModelProperty(value="指标类型 1:量化指标;2:行为价值指标;3:加分项;4:扣分项",example="101")
private Integer zbtype;
@ApiModelProperty(value="考核标准 ",example="考核标准")
private String khbz;
@ApiModelProperty(value="权重 ",example="权重")
private String quanz;
@ApiModelProperty(value="备注 ",example="备注")
private String remarks;
@ApiModelProperty(value="评分方式 1:直接输入分数;2:评分公式计算",example="101")
private Integer pfsf;
@ApiModelProperty(value="评分公式 ",example="评分公式")
private String pfgs;
@ApiModelProperty(value="结果值数据来源 1:被考核让人;2:指定成员",example="101")
private Integer jgzsjly;
@ApiModelProperty(value="指定成员ID 结果值数据来源为“2”时",example="101")
private Integer zdcyid;
@ApiModelProperty(value="必选标签开关 0:关;1:开",example="101")
private Integer bxbqkg;
@ApiModelProperty(value="指定评分人开关 0:关;1:开",example="101")
private Integer zdpfrkg;
@ApiModelProperty(value="设定评分人ID 指定评分人开关为“1”时",example="101")
private Integer sdpfrid;
@ApiModelProperty(value="标签 ",example="标签")
private String label;
@ApiModelProperty(value="加分标准 ",example="加分标准")
private String jfbz;
@ApiModelProperty(value="加分上限 ",example="加分上限")
private String jfsx;
@ApiModelProperty(value="扣分标准 ",example="扣分标准")
private String kfbz;
@ApiModelProperty(value="扣分上限 ",example="扣分上限")
private String kfsx;
@ApiModelProperty(value="企业id 企业id",example="101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-06
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="jxgl_asso_fbzbk")
@ApiModel("指标库量化指标")
public class JxglAssoFbzbk extends Model<JxglAssoFbzbk> {
/**
*
*/
private static final long serialVersionUID = 2052434463054119049L;
@Id
@GeneratedValue
@TableId (type = IdType.AUTO)
@ApiModelProperty(value="id id",example="101")
private Integer id;
@ApiModelProperty(value="指标库id 指标库id",example="101")
private Integer zbkid;
@ApiModelProperty(value="指标字段设置id 指标字段设置id",example="101")
private Integer zbzdszid;
@ApiModelProperty(value="指标字段值 ",example="指标字段值")
private String value;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-02
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_asso_jxdj")
@ApiModel("绩效等级")
public class JxglAssoJxdj extends Model<JxglAssoJxdj> {
/**
*
*/
private static final long serialVersionUID = -1705525475344521687L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "绩效等级类型 1:强制正态分布;2:分数区间对应;", example = "101")
private Integer type;
@ApiModelProperty(value = "等级名称 ", example = "等级名称")
private String djmc;
@ApiModelProperty(value = "占比区间(%) ", example = "占比区间(%)")
private String zbqj;
@ApiModelProperty(value = "分数区间范围开始 ", example = "2:分数区间对应")
private String fsqjks;
@ApiModelProperty(value = "分数区间范围结束 ", example = "2:分数区间对应")
private String fzqjjs;
@ApiModelProperty(value = "设置id 设置id", example = "101")
private Integer jcszid;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-08
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="jxgl_asso_kpzry")
@ApiModel("考评组管理员/被考核人员")
public class JxglAssoKpzry extends Model<JxglAssoKpzry> {
/**
*
*/
private static final long serialVersionUID = -7561458217477289939L;
@Id
@GeneratedValue
@TableId (type = IdType.AUTO)
@ApiModelProperty(value="id id",example="101")
private Integer id;
@ApiModelProperty(value="考评组设置ID 考评组设置ID",example="101")
private Integer kpzszid;
@ApiModelProperty(value="类型 1:考评组管理员;2:被考核人员",example="101")
private Integer type;
@ApiModelProperty(value="员工编号 员工编号",example="101")
private Integer usernum;
@ApiModelProperty(value="企业id 企业id",example="101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-08
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_asso_mbsz")
@ApiModel("模板设计")
public class JxglAssoMbsz extends Model<JxglAssoMbsz> {
/**
*
*/
private static final long serialVersionUID = 3349081275918939640L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "维度名称 ", example = "维度名称")
private String name;
@ApiModelProperty(value = "维度类型 1:量化指标;2:行为价值指标;3:加分项;4:扣分项", example = "101")
private Integer type;
@ApiModelProperty(value = "所含指标数量 -1:不限量;>-1:自定义", example = "101")
private Integer shzbsl;
@ApiModelProperty(value = "所含指标总权重 -1:不限量;>-1:自定义", example = "101")
private Integer shzbzqz;
@ApiModelProperty(value = "可在指定目标时增加指标开关 0:关;1:开", example = "101")
private Integer kzzjzb;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
@ApiModelProperty(value = "考评组设置id 考评组设置id", example = "101")
private Integer kpzsz;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-08
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_asso_wdzbgl")
@ApiModel("维度指标关联")
public class JxglAssoWdzbgl extends Model<JxglAssoWdzbgl> {
/**
*
*/
private static final long serialVersionUID = -7635823382897700557L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "模板设计ID 模板设计ID", example = "101")
private Integer mbszid;
@ApiModelProperty(value = "指标库id 指标库id", example = "101")
private Integer zbkid;
@ApiModelProperty(value = "输入值 ", example = "输入值")
private String wdsrz;
}
\ No newline at end of file
package cn.timer.api.bean.jxgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author LAL 2020-01-02
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "jxgl_asso_zbzdsz")
@ApiModel("指标字段设置")
public class JxglAssoZbzdsz extends Model<JxglAssoZbzdsz> {
/**
*
*/
private static final long serialVersionUID = -7704484193612123538L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "id id", example = "101")
private Integer id;
@ApiModelProperty(value = "字段名称 ", example = "字段名称")
private String name;
@ApiModelProperty(value = "字段类型 1:数字/文本(如果指标的公式计算使用此变量,则强制指标的此变量和录入结果值为数字类型)", example = "101")
private Integer type;
@ApiModelProperty(value = "是否启用 0:否;1:是", example = "101")
private Integer isSfqy;
@ApiModelProperty(value = "是否开启公式变量 0:否;1:是(开启后,可以作为变量用于指标的公式计算)", example = "101")
private Integer isGsbl;
@ApiModelProperty(value = "设置id 设置id", example = "101")
private Integer jcszid;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author Administrator
* 考勤日历提醒
*/
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "kqgl_asso_rltx")
@ApiModel("考勤日历提醒")
public class AttCalendarAlarm implements Serializable{
private static final long serialVersionUID = 2233696431114175503L;
@Id
@GeneratedValue
@ApiModelProperty(value = "id",example = "id")
private Integer id;
@ApiModelProperty(value = "提醒日期",example = "提醒日期")
private String remindtime;// 提醒日期
@ApiModelProperty(value = "提醒内容",example = "提醒内容")
private String content;// 内容
@ApiModelProperty(value = "进度",example = "0或者1或者2")
private Integer state;// 类型 0:未完成 1:已完成 2:逾期
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 打卡方式
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("打卡方式")
public class AttClockMethod implements Serializable{
private static final long serialVersionUID = 1495564336178422116L;
private String name;// 打卡名称
private String mac;// wifi【wifi】
private Integer attrange;// 范围【地址】
private Integer type;// 类型(1:考勤机;2:地址;3:WIFI)
private double longitude;// 经度【地址】
private double latitude;// 纬度【地址】
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("时间")
public class AttConditions implements Serializable{
private static final long serialVersionUID = -1454880808583533243L;
private String date;
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttGroupBinPunchMode implements Serializable{
private static final long serialVersionUID = 1122554695079643750L;
private Integer id;
private Integer dkfsid;// 考勤机、地址、WIFI的id
private Integer kqzId;// 考勤组ID
private Integer type;// 1:考勤机;2:地址;3:WIFI
private Integer qyid;// 企业id
private Integer state;// 0:停用;1:启用
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 晚走晚到
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttLateLate implements Serializable{
private static final long serialVersionUID = 5733260865781069938L;
private String latewalk;// 晚走
private String arrivelate;// 晚到
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 考勤班次
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttSchedule implements Serializable{
private static final long serialVersionUID = 2301555360668389960L;
private Integer id;
private Integer sort;// 1:上班;2:下班; 3:上班;4:下班;5:上班;6:下班
private Long time;
private Long starttime;
private Long endtime;
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttScheduling implements Serializable{
private static final long serialVersionUID = 5519260557957197035L;
private Integer qyid;
private String date;
private Integer kqzid;
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceAssistant implements Serializable{
private static final long serialVersionUID = -3561517817976805144L;
String name;// 考勤组名称 *
String remarks;// 备注 *
String[] attmachines;// 考勤机
String[] attadds;// 办公地点考勤
String[] attwifis;// WiFi考勤
String[] attuserids;// 考勤成员
int atttype;// 考勤类型:1-固定排班、2-排班制、3-自由工时 *
int legalholidays;// 是否开启法定节假日:0-否、1-是 *
String[] attWeekdays;// 周工作日【固定排班】
String[] attWeekdaysShifts;// 周工作日班次【固定排班】
String[] attMustPunchData;// 必须打卡的日期【固定排班】
String[] attMustPunchShifid;// 必须打卡的班次id【固定排班】
String[] attNonPunchData;// 不用打卡的日期【固定排班】
String[] attShifts;// 排班制 选择的班次【排班制】
int attRemind;// 是否开启提醒:0-否、1-是【排班制】
String[] attRemindUserids;// 提醒人员【排班制】
int advanceDays;// 提前多少天数提醒【排班制】
int remCycleDays;// 提醒循环天数【排班制】
String reminderTime;// 提醒时间【排班制】
String[] promptingMode;// 提醒方式:PC端、APP客户端、短信、邮件【排班制】
Schedule[] schedules;// 排班日期【排班制】--班次id、日期
// SchedulesUserids[] schedulesUserids;// 排班【排班制】----用户id
int optscheduling;// 未排班时,员工可选择班次打卡
String newAttTime;// 每天几点开始新的考勤【自由工时】
String[] attFreeWorkdays;// 周工作日【自由工时】
String leastworkTime;// 至少需工作时间【自由工时】
String normalWorkTime;// 正常工作时长【自由工时】
String maxOvertimeTime;// 加班最大时长【自由工时】
String attgroupid;
int fieldpersonnel;//外勤
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq
* 考勤日历
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceCalendar implements Serializable{
private static final long serialVersionUID = 1970140909630348971L;
private Integer attshouldmade = 0;// 应出勤
private Integer attendance = 0;// 已出勤
private Integer absenceduty = 0;// 缺勤
private Integer gomiscard = 0;// 上班缺卡
private Integer offmiscard = 0;// 下班缺卡
private Integer overtime = 0;// 加班
private Integer breakoff = 0;// 调休
private Integer businesstravel = 0;// 出差
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceCardList implements Serializable{
private static final long serialVersionUID = -5736914818628419342L;
private List<AttSchedule> attsch = new ArrayList<AttSchedule>();// 考勤班次
private boolean attmachine;// 考勤机
private boolean attaddress;// 考勤地址
private boolean attwifi;// 考勤WIFI
private List<AttClockMethod> machine = new ArrayList<AttClockMethod>();// 详细打卡方式
private List<PunchRecord> attpr = new ArrayList<PunchRecord>();// 打卡记录
private boolean optscheduling;// 未排班时,员工可选择班次打卡
private boolean fieldpersonnel;// 外勤 true:开 false:关
private Long stapclotime;// 自由排班开始时间
private double canpunchworkdate;// 上班打卡后多久大下班卡
private boolean noclockout;// 下班不用打卡
private Integer allowlate;// 允许迟到分钟数
private Integer seriouslate;// 严重迟到分钟数
private Integer absenteeismlate;// 旷工迟到分钟数
private boolean islatelate;// 晚走晚到
private List<AttLateLate> attlat = new ArrayList<AttLateLate>();// 晚走晚到时间
private String latetime;// 前一天晚走小时****
private List<SystemShift> ssfh = new ArrayList<SystemShift>();// 无排班时获取的系统班次
private Integer attgrouptype;// 1:固定排班;2:自由排班;3:自由工时
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 考勤详情查询条件
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceDetails implements Serializable{
private static final long serialVersionUID = 550411533014703893L;
private Integer qyid;
private String start;
private String end;
private String text;
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceGroup implements Serializable{
private static final long serialVersionUID = -5573272776427338217L;
private Integer id;
private String name;// 名称
private String kqbz;// 考勤备注
private Integer pbfs;// 排班方式 1:固定排班;2:自由排班;3:自由工时
private Integer qyid;// 企业id
private Integer isFdjjr;// 是否开启法定节假日休息
private String kqkssjTime;// 考勤开始时间【自由工时专用】
private String zsgzsc;// 至少工作时长【自由工时专用】
private String zcgzsc;// 正常工作时长【自由工时专用】
private String jbzdsc;// 加班最大时长【自由工时专用】
private Integer isDqtx;// 是否开启到期提醒 [排班制专用]0:否;1:是
private String txry;// 提醒人员 [排班制专用]
private Integer txfs;// 提醒天数提醒 [排班制专用]
private Integer txxhts;// 提醒循环天数 [排班制专用]
private String txsjTime;// 提醒时间 [排班制专用]
private String tsfs;// 提示方式 [排班制专用]PC端、APP客户端、短信、邮件 以[“,”]连接 json数组
private Integer isWpbsdk;// 是否开启未排班时打卡 [排班制专用]0:否;1:是;未排班时,员工可以选择班次打卡
private String sybc;// 使用班次【排班制使用】
private Integer isXzbcdk;// 是否开启未排班时,员工可选择班次打卡
private Integer kqznum;// 考勤组人员数
private String pbfsnm;// 排班方式
private String dkfs;// 打卡方式
private Integer isWq;//外勤
private Integer kqjid;
private List<AttGroupBinPunchMode> kqzdkfslist = new ArrayList<AttGroupBinPunchMode>();
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "kqgl_asso_kqj")
@ApiModel("考勤机")
public class AttendanceMachine implements Serializable{
private static final long serialVersionUID = -1990665648865566089L;
@Id
@GeneratedValue
@ApiModelProperty(name = "id",example = "id")
private Integer id;
@ApiModelProperty(name = "名称",example = "xx打卡机")
private String name;
@ApiModelProperty(name = "设备编码",example = "123456")
private String code;
@ApiModelProperty(name = "企业id",example = "1")
private Integer qyid;
@ApiModelProperty(name = "录入时间",example = "Date")
private Long lusjTime;
@ApiModelProperty(name = "录入人",example = "张三")
private Integer luryid;
@ApiModelProperty(name = "类型",example = "xxx")
private Integer type;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 考勤报表列表
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceReport implements Serializable{
private static final long serialVersionUID = -5433010763591172589L;
private Integer id;
private String name;// 姓名
private String dept;// 部门
private Integer jobnumber;// 工号
private String post;// 职位
private int answerday;// 应出勤天数**
private int actualday;// 实际出勤天数**
private int restday;// 休息天数**
private int workhours;// 工作时长**
private int latenum;// 迟到次数
private int latehours;// 迟到时长
private int seriouslatenum;// 严重迟到次数
private String seriouslatehours;// 严重迟到时长
private int minerday;// 矿工天数**
private int leanum;// 早退次数
private int leahours;// 早退时长
private int goworkmissingcard;// 上班缺卡次数**
private int offworkmissingcard;// 下班缺卡次数**
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttendanceWeeklySch implements Serializable{
private static final long serialVersionUID = -4282148429954410537L;
private Integer id;
private Integer kqzid;
private Integer type;
private Integer bcid;
private String bcname;
private String sbdk1;
private String xbdk1;
private String sbdk2;
private String xbdk2;
private String sbdk3;
private String xbdk3;
private String weektime;
private String wekmc;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 考勤日历提醒
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CalendarAlarm implements Serializable{
private static final long serialVersionUID = -8035674392623067175L;
private Integer id;
private Integer userid;// 用户id
private Long remindtime;// 提醒时间
private String content;// 内容
private Integer state;// 状态(0:未完成,1:已完成,2:已过期)
private Long addtime;// 添加时间
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq APP 打卡数据
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClockCollectData implements Serializable{
private static final long serialVersionUID = -7658009549305902379L;
private Integer userid;// 用户id
private Integer type;// 打卡类型,1:上班1 2:下班1 3:上班2 4:下班2 5:上班3 6:下班3......
private String punchtime;// 打卡时间
private String punchcardtime;// 应打卡时间 ""
private Integer punchcardtype;// 打卡类型(1:GPS,2:WIFI,3:考勤机,4:外勤)
private String lat;// 纬度
private String lon;// 经度
private String address;// 地址
private String mac;// WIFI mac地址
private String macname;// WIFI名称
private Integer shifid;// 班次id(无排班时 为“0”)
private Integer status;// 打卡状态(状态,1:正常 2:异常 3:补卡 4:请假)
private String registrationid;// 手机唯一ID
private Integer differ;// 1:打卡 2:更新打卡
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomRosterSchedule implements Serializable{
private static final long serialVersionUID = -617685521579328117L;
private Integer id;
private Integer userid;
private String data;
private Integer bcid;
private Integer kqzid;
}
package cn.timer.api.bean.kqgl;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lal 2019-12-24
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "kqgl_asso_kqjgly")
@ApiModel("考勤机管理员")
public class KqglAssoKqjgly extends Model<KqglAssoKqjgly> {
/**
*
*/
private static final long serialVersionUID = -5427672967314553674L;
@Id
@GeneratedValue
@TableId(type = IdType.AUTO)
@ApiModelProperty(value = "ID ID", example = "101")
private Integer id;
@ApiModelProperty(value = "考勤机id 考勤机id", example = "101")
private Integer kqjid;
@ApiModelProperty(value = "管理员编号 管理员编号", example = "101")
private Integer glybh;
@ApiModelProperty(value = "管理员名称", example = "101")
private String gluxm;
@ApiModelProperty(value = "原用户id 原用户id", example = "101")
private Integer userid;
@ApiModelProperty(value = "添加人员 添加人员", example = "101")
private Integer tjry;
@ApiModelProperty(value = "企业id 企业id", example = "101")
private Integer qyid;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KqrlAttendanceCalendar implements Serializable{
private static final long serialVersionUID = 5977428373429581447L;
private Integer usernum;
private Integer qycode;
private String data;
private String starttime;//开始时间
private String endtime;//结束时间
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KqzAttendanceGroupSearch implements Serializable{
private static final long serialVersionUID = 4927912739465404926L;
private String overall;
private Integer qyid;
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PunchCardAddress implements Serializable{
private static final long serialVersionUID = 2918613810090095518L;
private Integer id;
private String name;
private String address;
private Integer dkfw;
private Double lon;
private Double lat;
private Integer qyid;
private Long lusjTime;
private Integer luryid;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
@AllArgsConstructor
@NoArgsConstructor
public class PunchCardWiFi implements Serializable{
private static final long serialVersionUID = -5358705317670975115L;
private Integer id;
private String name;
private String mac;
private Integer qyid;
private Long lusjTime;
private Integer luryid;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public Integer getQyid() {
return qyid;
}
public void setQyid(Integer qyid) {
this.qyid = qyid;
}
public Long getLusjTime() {
return lusjTime;
}
public void setLusjTime(Long lusjTime) {
this.lusjTime = lusjTime;
}
public Integer getLuryid() {
return luryid;
}
public void setLuryid(Integer luryid) {
this.luryid = luryid;
}
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
/**
* @author lalqq 打卡记录
*/
@AllArgsConstructor
@NoArgsConstructor
public class PunchRecord implements Serializable {
private static final long serialVersionUID = -1674107232385310352L;
private Integer id;
private Long dktime;// 打卡时间
private String Strdktime = "";//
private Double lon;// 经度
private Double lat;// 纬度
private String address;// 定位地址
private Integer results;// 打卡结果
private Integer userId;// 用户id
private Integer type;// 类型(类型 0:无排班打卡 1:上班 2:下班)
private Integer status;// 状态(0:打卡无效:此记录已被更新 1:正常 2:异常 3:迟到 4:早退 5:补卡 6:请假 7:加班 8:请假迟到 9:请假早退 10:调休)',
private Integer sort;// 序号
private Integer cardType;// 打卡类型(1:GPS,2:WIFI,3:考勤机)
private String mac;// mac地址
private String macname;// WIFI名称
private Integer qyid;// 企业id
private String attdate;// 考勤日期
private Long attime;// 考勤时间
private String Strattime = "";//
private Integer dkmxid;// 打卡明细id
private Integer bcid;// 班次id
private String remarks;// 考勤备注
private Integer punchmode;// 考勤机打卡方式==>1:指紋;2:人脸;3:密码;4:ID卡
private String punchequipment;// 打卡设备
private String username = "";
private String dept = "";
private String post = "";
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Long getDktime() {
return dktime;
}
public void setDktime(Long dktime) {
this.dktime = dktime;
if (dktime != null && !dktime.equals("")) {
this.Strdktime = format.format(dktime);
}
}
public String getStrdktime() {
return Strdktime;
}
public void setStrdktime(String strdktime) {
Strdktime = strdktime;
}
public Double getLon() {
return lon;
}
public void setLon(Double lon) {
this.lon = lon;
}
public Double getLat() {
return lat;
}
public void setLat(Double lat) {
this.lat = lat;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address == null ? "" : address.trim();
}
public Integer getResults() {
return results;
}
public void setResults(Integer results) {
this.results = results;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Integer getCardType() {
return cardType;
}
public void setCardType(Integer cardType) {
this.cardType = cardType;
}
public String getMacname() {
return macname;
}
public void setMacname(String macname) {
this.macname = macname == null ? "" : macname.trim();
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac == null ? "" : mac.trim();
}
public Integer getQyid() {
return qyid;
}
public void setQyid(Integer qyid) {
this.qyid = qyid;
}
public String getAttdate() {
return attdate;
}
public void setAttdate(String attdate) {
this.attdate = attdate == null ? "" : attdate.trim();
}
public Long getAttime() {
return attime;
}
public void setAttime(Long attime) {
this.attime = attime;
if (attime != null && !attime.equals("")) {
this.Strattime = format.format(attime);
}
}
public String getStrattime() {
return Strattime;
}
public void setStrattime(String strattime) {
Strattime = strattime;
}
public Integer getDkmxid() {
return dkmxid;
}
public void setDkmxid(Integer dkmxid) {
this.dkmxid = dkmxid;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public Integer getBcid() {
return bcid;
}
public void setBcid(Integer bcid) {
this.bcid = bcid;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Integer getPunchmode() {
return punchmode;
}
public void setPunchmode(Integer punchmode) {
this.punchmode = punchmode;
}
public String getPunchequipment() {
return punchequipment;
}
public void setPunchequipment(String punchequipment) {
this.punchequipment = punchequipment;
}
public String getDept() {
return dept;
}
public void setDept(String dept) {
this.dept = dept;
}
public String getPost() {
return post;
}
public void setPost(String post) {
this.post = post;
}
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReminderAuxiliary implements Serializable{
private static final long serialVersionUID = -718198785702439521L;
private Integer id;
private String remindtime;
private String content;
private Integer type;// 1:新增 2:修改 3:标记已完成
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Schedule implements Serializable{
private static final long serialVersionUID = 1812917998421017488L;
private Integer id;
private Integer userid;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date data;
private Integer bcid;
private Integer kqzid;
private String username;
private String bcname;
private String yemo;
private String xsrq;
private String sbdk1;
private String sbqjks1;
private String sbqjjs1;
private String xbdk1;
private String xbqjks1;
private String xbqjjs1;
private String sbdk2;
private String sbqjks2;
private String sbqjjs2;
private String xbdk2;
private String xbqjks2;
private String xbqjjs2;
private String sbdk3;
private String sbqjks3;
private String sbqjjs3;
private String xbdk3;
private String xbqjks3;
private String xbqjjs3;
private Integer isxbdk;
private Integer sxbcs;
private List<PunchRecord> attpr = new ArrayList<PunchRecord>();// 打卡记录
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScheduleAux implements Serializable{
private static final long serialVersionUID = -1533524734463370979L;
private Integer id;
private Integer userid;
private String data;
private Integer bcid;
private Integer kqzid;
private List<PunchRecord> attpr = new ArrayList<PunchRecord>();// 打卡记录
private List<AttSchedule> attsch = new ArrayList<AttSchedule>();// 考勤班次
private List<AttCalendarAlarm> remind = new ArrayList<AttCalendarAlarm>();// 提醒
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq APP获取班次详情
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShiftDetails implements Serializable{
private static final long serialVersionUID = -5211484030748487748L;
private List<AttSchedule> attsch = new ArrayList<AttSchedule>();// 考勤班次
private boolean noclockout;// 下班不用打卡
private Integer allowlate;// 允许迟到分钟数
private Integer seriouslate;// 严重迟到分钟数
private Integer absenteeismlate;// 旷工迟到分钟数
private boolean islatelate;// 晚走晚到
private List<AttLateLate> attlat = new ArrayList<AttLateLate>();// 晚走晚到时间
private List<PunchRecord> attpr = new ArrayList<PunchRecord>();// 打卡记录
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
@AllArgsConstructor
@NoArgsConstructor
public class ShiftManagement implements Serializable{
private static final long serialVersionUID = -4271326100147000353L;
private Integer id;
private String name;
private String sbdk1;
private String sbqjks1;
private String sbqjjs1;
private String xbdk1;
private String xbqjks1;
private String xbqjjs1;
private String sbdk2;
private String sbqjks2;
private String sbqjjs2;
private String xbdk2;
private String xbqjks2;
private String xbqjjs2;
private String sbdk3;
private String sbqjks3;
private String sbqjjs3;
private String xbdk3;
private String xbqjks3;
private String xbqjjs3;
private Integer sxbcs;//上下班次数(1/2/3 最大值为3)
private Integer isXbdk;//是否允许下班打卡(0:否;1:是)
private Integer yxcdfzs;//允许迟到分钟数
private Integer yzcdfzs;//严重迟到分钟数
private Integer kgcdfzs;//旷工迟到分钟数
private Integer isWzwd;//是否开启晚走晚到(0:否;1:是)
private String xbwz1;
private String sbwd1;
private String xbwz2;
private String sbwd2;
private String xbwz3;
private String sbwd3;
private String beiz;//备注
private Integer qyid;//企业id
private Long lusjTime;//录入时间
private Integer luryid;//录入人员
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
public String getSbdk1() {
return sbdk1;
}
public void setSbdk1(String sbdk1) {
this.sbdk1 = sbdk1 == null ? null : sbdk1.trim();
}
public String getSbqjks1() {
return sbqjks1;
}
public void setSbqjks1(String sbqjks1) {
this.sbqjks1 = sbqjks1 == null ? null : sbqjks1.trim();
}
public String getSbqjjs1() {
return sbqjjs1;
}
public void setSbqjjs1(String sbqjjs1) {
this.sbqjjs1 = sbqjjs1 == null ? null : sbqjjs1.trim();
}
public String getXbdk1() {
return xbdk1;
}
public void setXbdk1(String xbdk1) {
this.xbdk1 = xbdk1 == null ? null : xbdk1.trim();
}
public String getXbqjks1() {
return xbqjks1;
}
public void setXbqjks1(String xbqjks1) {
this.xbqjks1 = xbqjks1 == null ? null : xbqjks1.trim();
}
public String getXbqjjs1() {
return xbqjjs1;
}
public void setXbqjjs1(String xbqjjs1) {
this.xbqjjs1 = xbqjjs1 == null ? null : xbqjjs1.trim();
}
public String getSbdk2() {
return sbdk2;
}
public void setSbdk2(String sbdk2) {
this.sbdk2 = sbdk2 == null ? null : sbdk2.trim();
}
public String getSbqjks2() {
return sbqjks2;
}
public void setSbqjks2(String sbqjks2) {
this.sbqjks2 = sbqjks2 == null ? null : sbqjks2.trim();
}
public String getSbqjjs2() {
return sbqjjs2;
}
public void setSbqjjs2(String sbqjjs2) {
this.sbqjjs2 = sbqjjs2 == null ? null : sbqjjs2.trim();
}
public String getXbdk2() {
return xbdk2;
}
public void setXbdk2(String xbdk2) {
this.xbdk2 = xbdk2 == null ? null : xbdk2.trim();
}
public String getXbqjks2() {
return xbqjks2;
}
public void setXbqjks2(String xbqjks2) {
this.xbqjks2 = xbqjks2 == null ? null : xbqjks2.trim();
}
public String getXbqjjs2() {
return xbqjjs2;
}
public void setXbqjjs2(String xbqjjs2) {
this.xbqjjs2 = xbqjjs2 == null ? null : xbqjjs2.trim();
}
public String getSbdk3() {
return sbdk3;
}
public void setSbdk3(String sbdk3) {
this.sbdk3 = sbdk3 == null ? null : sbdk3.trim();
}
public String getSbqjks3() {
return sbqjks3;
}
public void setSbqjks3(String sbqjks3) {
this.sbqjks3 = sbqjks3 == null ? null : sbqjks3.trim();
}
public String getSbqjjs3() {
return sbqjjs3;
}
public void setSbqjjs3(String sbqjjs3) {
this.sbqjjs3 = sbqjjs3 == null ? null : sbqjjs3.trim();
}
public String getXbdk3() {
return xbdk3;
}
public void setXbdk3(String xbdk3) {
this.xbdk3 = xbdk3 == null ? null : xbdk3.trim();
}
public String getXbqjks3() {
return xbqjks3;
}
public void setXbqjks3(String xbqjks3) {
this.xbqjks3 = xbqjks3 == null ? null : xbqjks3.trim();
}
public String getXbqjjs3() {
return xbqjjs3;
}
public void setXbqjjs3(String xbqjjs3) {
this.xbqjjs3 = xbqjjs3 == null ? null : xbqjjs3.trim();
}
public Integer getSxbcs() {
return sxbcs;
}
public void setSxbcs(Integer sxbcs) {
this.sxbcs = sxbcs;
}
public Integer getIsXbdk() {
return isXbdk;
}
public void setIsXbdk(Integer isXbdk) {
this.isXbdk = isXbdk;
}
public Integer getYxcdfzs() {
return yxcdfzs;
}
public void setYxcdfzs(Integer yxcdfzs) {
this.yxcdfzs = yxcdfzs;
}
public Integer getYzcdfzs() {
return yzcdfzs;
}
public void setYzcdfzs(Integer yzcdfzs) {
this.yzcdfzs = yzcdfzs;
}
public Integer getKgcdfzs() {
return kgcdfzs;
}
public void setKgcdfzs(Integer kgcdfzs) {
this.kgcdfzs = kgcdfzs;
}
public Integer getIsWzwd() {
return isWzwd;
}
public void setIsWzwd(Integer isWzwd) {
this.isWzwd = isWzwd;
}
public String getXbwz1() {
return xbwz1;
}
public void setXbwz1(String xbwz1) {
this.xbwz1 = xbwz1 == null ? null : xbwz1.trim();
}
public String getSbwd1() {
return sbwd1;
}
public void setSbwd1(String sbwd1) {
this.sbwd1 = sbwd1 == null ? null : sbwd1.trim();
}
public String getXbwz2() {
return xbwz2;
}
public void setXbwz2(String xbwz2) {
this.xbwz2 = xbwz2 == null ? null : xbwz2.trim();
}
public String getSbwd2() {
return sbwd2;
}
public void setSbwd2(String sbwd2) {
this.sbwd2 = sbwd2 == null ? null : sbwd2.trim();
}
public String getXbwz3() {
return xbwz3;
}
public void setXbwz3(String xbwz3) {
this.xbwz3 = xbwz3 == null ? null : xbwz3.trim();
}
public String getSbwd3() {
return sbwd3;
}
public void setSbwd3(String sbwd3) {
this.sbwd3 = sbwd3 == null ? null : sbwd3.trim();
}
public String getBeiz() {
return beiz;
}
public void setBeiz(String beiz) {
this.beiz = beiz == null ? null : beiz.trim();
}
public Integer getQyid() {
return qyid;
}
public void setQyid(Integer qyid) {
this.qyid = qyid;
}
public Long getLusjTime() {
return lusjTime;
}
public void setLusjTime(Long lusjTime) {
this.lusjTime = lusjTime;
}
public Integer getLuryid() {
return luryid;
}
public void setLuryid(Integer luryid) {
this.luryid = luryid;
}
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
/**
* @author lalqq
*
*/
@AllArgsConstructor
@NoArgsConstructor
public class SpecialDate implements Serializable{
private static final long serialVersionUID = 465028562478360263L;
private Integer id;
private Integer kqzid;// 考勤组id
private String tsrq;// 日期
private Integer bcid;// 班次id
private Long lusjTime;// 录入时间
private Integer luryid;// 录入人员
private Integer type;// 类型 1:必须打卡日期;2:不用打卡日期(扩展字段)
private String bcname;
private String sbdk1;
private String xbdk1;
private String sbdk2;
private String xbdk2;
private String sbdk3;
private String xbdk3;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getKqzid() {
return kqzid;
}
public void setKqzid(Integer kqzid) {
this.kqzid = kqzid;
}
public String getTsrq() {
return tsrq;
}
public void setTsrq(String tsrq) {
this.tsrq = tsrq == null ? null : tsrq.trim();
}
public Integer getBcid() {
return bcid;
}
public void setBcid(Integer bcid) {
this.bcid = bcid;
}
public Long getLusjTime() {
return lusjTime;
}
public void setLusjTime(Long lusjTime) {
this.lusjTime = lusjTime;
}
public Integer getLuryid() {
return luryid;
}
public void setLuryid(Integer luryid) {
this.luryid = luryid;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public String getBcname() {
return bcname;
}
public void setBcname(String bcname) {
this.bcname = bcname;
}
public String getSbdk1() {
return sbdk1;
}
public void setSbdk1(String sbdk1) {
this.sbdk1 = sbdk1;
}
public String getXbdk1() {
return xbdk1;
}
public void setXbdk1(String xbdk1) {
this.xbdk1 = xbdk1;
}
public String getSbdk2() {
return sbdk2;
}
public void setSbdk2(String sbdk2) {
this.sbdk2 = sbdk2;
}
public String getXbdk2() {
return xbdk2;
}
public void setXbdk2(String xbdk2) {
this.xbdk2 = xbdk2;
}
public String getSbdk3() {
return sbdk3;
}
public void setSbdk3(String sbdk3) {
this.sbdk3 = sbdk3;
}
public String getXbdk3() {
return xbdk3;
}
public void setXbdk3(String xbdk3) {
this.xbdk3 = xbdk3;
}
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lalqq 无排班时 返回班次
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemShift implements Serializable{
private static final long serialVersionUID = -1558779986672010849L;
private Integer id;
private String context;
}
package cn.timer.api.bean.kqgl;
/**
* 操作员向机器发出的指令代码和执行状态
*
* @author Administrator
*
*/
public class TBlFkcmdTrans {
private String transId;// 为跟踪操作员向机器发出的指令的用于唯一识别号码。 这个字段的价必须唯一对每一条记录
private String deviceId;// 为识别接受指令的机器的识别号码
private String cmdCode;// 操作员发出的指令代码。(例如 SET_TIME, GET_ENROLL_DATA 等)
private String returnCode;// 机器上传的指令执行结果代码
private String status;// 指令的执行状态。 (‘WAIT’, ‘RUN’, ‘RESULT’, ‘CANCELLED’)
private String updateTime;// 最后修改指令状态的时间
public String getTransId() {
return transId;
}
public void setTransId(String transId) {
this.transId = transId;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getCmdCode() {
return cmdCode;
}
public void setCmdCode(String cmdCode) {
this.cmdCode = cmdCode;
}
public String getReturnCode() {
return returnCode;
}
public void setReturnCode(String returnCode) {
this.returnCode = returnCode;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getUpdateTime() {
return updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
}
package cn.timer.api.bean.kqgl;
/**
* 操作员向机器发出的指令时执行指令所需的参数数据
*
* @author Administrator
*
*/
public class TBlFkcmdTransCmdParam {
private String transId;// 为跟踪操作员向机器发出的指令的用于唯一识别号码。 这个字段的价必须唯一对每一条记录
private String deviceId;// 为识别接受指令的机器的识别号码
private byte[] cmdParam;// 保存指令参数数据。有些指令的参数数据的长度很大。
// (SET_ENROLL_DATA,SET_USER_INFO)
// 所以这字段的类型设计成二进制数据
public String getTransId() {
return transId;
}
public void setTransId(String transId) {
this.transId = transId;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public byte[] getCmdParam() {
return cmdParam;
}
public void setCmdParam(byte[] cmdParam) {
this.cmdParam = cmdParam;
}
}
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserAttendanceRel implements Serializable{
private static final long serialVersionUID = 8904448757565309401L;
private Integer id;
private Integer kqzid;
private Integer userid;
private Integer qyid;
private String empnum;
}
\ No newline at end of file
package cn.timer.api.bean.kqgl;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEquiRelation implements Serializable{
private static final long serialVersionUID = -3817222897928763305L;
private Integer id;
private Integer userId;
private Integer kqjid;
private Integer type;
private Integer isGly;
}
\ No newline at end of file
package cn.timer.api.bean.kqjg;
import java.util.Date;
import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* @author lal 2019-12-24
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="kqjg_realtime_enroll_data")
@ApiModel("机器上传的实时登记数据")
public class KqjgRealtimeEnrollData extends Model<KqjgRealtimeEnrollData> {
/**
*
*/
private static final long serialVersionUID = -2002607279902017749L;
@Id
@GeneratedValue
@ApiModelProperty(value="该记录被修改的最后时间 ",example="该记录被修改的最后时间")
private String updateTime;
@ApiModelProperty(value="机器的识别号码 ",example="机器的识别号码")
private String deviceId;
@ApiModelProperty(value="在机器登记的用户的识别码 ",example="在机器登记的用户的识别码")
private String userId;
@ApiModelProperty(value="登记数据 ",example="登记数据")
private String userData;
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment