Compare commits
No commits in common. 'main' and 'master' have entirely different histories.
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
|
<attribute name="optional" value="true"/>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
|
</classpath>
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
*.md linguist-language=Java
|
||||||
|
*.yml linguist-language=Java
|
||||||
|
*.html linguist-language=Java
|
||||||
|
*.js linguist-language=Java
|
||||||
|
*.xml linguist-language=Java
|
||||||
|
*.css linguist-language=Java
|
||||||
|
*.sql linguist-language=Java
|
||||||
|
*.uml linguist-language=Java
|
||||||
|
*.cmd linguist-language=Java
|
||||||
@ -0,0 +1 @@
|
|||||||
|
/target/
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="web" name="Web">
|
||||||
|
<configuration>
|
||||||
|
<descriptors>
|
||||||
|
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
|
||||||
|
</descriptors>
|
||||||
|
<webroots>
|
||||||
|
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
|
||||||
|
</webroots>
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="company-financial-management-main" />
|
||||||
|
<module name="ssm3d8m9" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/webapp/admin/dist/fonts/element-icons.535877f5.woff" charset="GBK" />
|
||||||
|
<file url="PROJECT" charset="UTF-8" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
|
<component name="FrameworkDetectionExcludesConfiguration">
|
||||||
|
<file type="web" url="file://$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||||
|
</project>
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,46 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>spring</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.springframework.ide.eclipse.core.springbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.springframework.ide.eclipse.core.springnature</nature>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||||
|
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="src" path="src/main/webapp"/>
|
||||||
|
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="target/m2e-wtp/web-resources"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||||
|
<attributes>
|
||||||
|
<attribute name="hide" value="true"/>
|
||||||
|
</attributes>
|
||||||
|
</classpathentry>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||||
|
<classpathentry kind="output" path=""/>
|
||||||
|
</classpath>
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
encoding//src/main/java=UTF-8
|
||||||
|
encoding//src/main/resources=UTF-8
|
||||||
|
encoding//src/test/java=UTF-8
|
||||||
|
encoding/<project>=UTF-8
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||||
|
org.eclipse.jdt.core.compiler.release=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.7
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
activeProfiles=
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
resolveWorkspaceProjects=true
|
||||||
|
version=1
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
|
<wb-module deploy-name="spring-schema">
|
||||||
|
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||||
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
|
<property name="java-output-path" value="/mybatisplus-spring-mvc/target/classes"/>
|
||||||
|
<property name="context-root" value="spring-schema"/>
|
||||||
|
</wb-module>
|
||||||
|
</project-modules>
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<faceted-project>
|
||||||
|
<fixed facet="wst.jsdt.web"/>
|
||||||
|
<installed facet="java" version="1.7"/>
|
||||||
|
<installed facet="jst.web" version="3.0"/>
|
||||||
|
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||||
|
</faceted-project>
|
||||||
@ -0,0 +1 @@
|
|||||||
|
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
||||||
@ -0,0 +1 @@
|
|||||||
|
Window
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
disabled=06target
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
After Width: | Height: | Size: 1009 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 489 KiB |
@ -0,0 +1,272 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>com.jlwl</groupId>
|
||||||
|
<artifactId>ssm3d8m9</artifactId>
|
||||||
|
<packaging>war</packaging>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<spring.version>5.0.0.RELEASE</spring.version>
|
||||||
|
<junit.version>4.12</junit.version>
|
||||||
|
<druid.version>1.1.0</druid.version>
|
||||||
|
<fastjson.version>1.2.8</fastjson.version>
|
||||||
|
<mybaitsplus.version>2.3</mybaitsplus.version>
|
||||||
|
<mysql.version>5.1.38</mysql.version>
|
||||||
|
<log4j.version>1.2.17</log4j.version>
|
||||||
|
<slf4j.version>1.7.19</slf4j.version>
|
||||||
|
<aspectjweaver.version>1.8.8</aspectjweaver.version>
|
||||||
|
<fileupload.version>1.3.1</fileupload.version>
|
||||||
|
<jstl.version>1.2</jstl.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!-- JUnit -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Spring -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-core</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-context</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-context-support</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-tx</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-aop</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-beans</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-jdbc</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Spring MVC -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-web</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-webmvc</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<type>jar</type>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- AOP -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.aspectj</groupId>
|
||||||
|
<artifactId>aspectjweaver</artifactId>
|
||||||
|
<version>${aspectjweaver.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- FileUpload -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-fileupload</groupId>
|
||||||
|
<artifactId>commons-fileupload</artifactId>
|
||||||
|
<version>${fileupload.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.servlet</groupId>
|
||||||
|
<artifactId>jstl</artifactId>
|
||||||
|
<version>${jstl.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Mybatis-Plus -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.baomidou</groupId>
|
||||||
|
<artifactId>mybatis-plus</artifactId>
|
||||||
|
<version>${mybaitsplus.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Mysql -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
|
<version>${mysql.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.microsoft.sqlserver</groupId>
|
||||||
|
<artifactId>sqljdbc4</artifactId>
|
||||||
|
<scope>4.0</scope>
|
||||||
|
<version>4.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.microsoft.sqlserver</groupId>
|
||||||
|
<artifactId>mssql-jdbc</artifactId>
|
||||||
|
<version>6.2.0.jre8</version>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Druid -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>druid</artifactId>
|
||||||
|
<version>${druid.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- FastJson -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>fastjson</artifactId>
|
||||||
|
<version>${fastjson.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Log -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>log4j</groupId>
|
||||||
|
<artifactId>log4j</artifactId>
|
||||||
|
<version>${log4j.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-api</artifactId>
|
||||||
|
<version>${slf4j.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.slf4j</groupId>
|
||||||
|
<artifactId>slf4j-log4j12</artifactId>
|
||||||
|
<version>${slf4j.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-test</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-lang3</artifactId>
|
||||||
|
<version>3.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.validation</groupId>
|
||||||
|
<artifactId>validation-api</artifactId>
|
||||||
|
<version>2.0.1.Final</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-io</groupId>
|
||||||
|
<artifactId>commons-io</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>cn.hutool</groupId>
|
||||||
|
<artifactId>hutool-all</artifactId>
|
||||||
|
<version>4.0.12</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- https://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.tomcat.embed</groupId>
|
||||||
|
<artifactId>tomcat-embed-core</artifactId>
|
||||||
|
<version>9.0.29</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-beanutils</groupId>
|
||||||
|
<artifactId>commons-beanutils</artifactId>
|
||||||
|
<version>1.8.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 百度人工智能 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.baidu.aip</groupId>
|
||||||
|
<artifactId>java-sdk</artifactId>
|
||||||
|
<version>4.4.1</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-annotations</artifactId>
|
||||||
|
<version>2.10.1</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-databind</artifactId>
|
||||||
|
<version>2.10.1</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.jackson</groupId>
|
||||||
|
<artifactId>jackson-mapper-asl</artifactId>
|
||||||
|
<version>1.9.13</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<!-- 项目访问名称 -->
|
||||||
|
<finalName>ssm3d8m9</finalName>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin-3.1</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>1.7</source>
|
||||||
|
<target>1.7</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>7</source>
|
||||||
|
<target>7</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,151 @@
|
|||||||
|
|
||||||
|
package com.controller;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import com.annotation.IgnoreAuth;
|
||||||
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||||
|
import com.entity.ConfigEntity;
|
||||||
|
import com.service.ConfigService;
|
||||||
|
import com.utils.PageUtils;
|
||||||
|
import com.utils.R;
|
||||||
|
import com.utils.ValidatorUtils;
|
||||||
|
|
||||||
|
|
||||||
|
// 登录相关
|
||||||
|
// 该控制器类主要处理与系统配置相关的业务逻辑,包括配置信息的查询、保存、修改和删除等操作。
|
||||||
|
|
||||||
|
@RequestMapping("config")
|
||||||
|
@RestController
|
||||||
|
public class ConfigController {
|
||||||
|
|
||||||
|
// 自动注入配置服务类的实例,用于调用配置相关的业务逻辑方法
|
||||||
|
@Autowired
|
||||||
|
private ConfigService configService;
|
||||||
|
|
||||||
|
|
||||||
|
// 获取配置信息列表(支持分页)
|
||||||
|
// @param params 请求参数,包含分页、排序等信息
|
||||||
|
// @param config 配置实体,可用于构建查询条件(当前未实际使用)
|
||||||
|
// @return R 响应对象,包含操作结果和分页后的配置信息数据
|
||||||
|
|
||||||
|
@RequestMapping("/page")
|
||||||
|
public R page(@RequestParam Map<String, Object> params, ConfigEntity config) {
|
||||||
|
// 创建一个实体包装器,用于构建 SQL 查询条件(当前未添加具体条件)
|
||||||
|
EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>();
|
||||||
|
// 调用配置服务类的查询分页方法,传入请求参数
|
||||||
|
PageUtils page = configService.queryPage(params);
|
||||||
|
// 返回成功响应,并将分页后的配置信息数据放入响应结果中
|
||||||
|
return R.ok().put("data", page);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//获取配置信息列表(支持分页,无需身份验证)
|
||||||
|
//@param params 请求参数,包含分页、排序等信息
|
||||||
|
// @param config 配置实体,可用于构建查询条件(当前未实际使用)
|
||||||
|
// @return R 响应对象,包含操作结果和分页后的配置信息数据
|
||||||
|
|
||||||
|
@IgnoreAuth
|
||||||
|
@RequestMapping("/list")
|
||||||
|
public R list(@RequestParam Map<String, Object> params, ConfigEntity config) {
|
||||||
|
// 创建一个实体包装器,用于构建 SQL 查询条件(当前未添加具体条件)
|
||||||
|
EntityWrapper<ConfigEntity> ew = new EntityWrapper<ConfigEntity>();
|
||||||
|
// 调用配置服务类的查询分页方法,传入请求参数
|
||||||
|
PageUtils page = configService.queryPage(params);
|
||||||
|
// 返回成功响应,并将分页后的配置信息数据放入响应结果中
|
||||||
|
return R.ok().put("data", page);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//根据 ID 获取配置信息详情
|
||||||
|
//@param id 配置信息的 ID
|
||||||
|
// @return R 响应对象,包含操作结果和指定 ID 的配置信息数据
|
||||||
|
|
||||||
|
@RequestMapping("/info/{id}")
|
||||||
|
public R info(@PathVariable("id") String id) {
|
||||||
|
// 根据 ID 查询配置实体
|
||||||
|
ConfigEntity config = configService.selectById(id);
|
||||||
|
// 返回成功响应,并将配置信息数据放入响应结果中
|
||||||
|
return R.ok().put("data", config);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 根据 ID 获取配置信息详情(无需身份验证)
|
||||||
|
// @param id 配置信息的 ID
|
||||||
|
//@return R 响应对象,包含操作结果和指定 ID 的配置信息数据
|
||||||
|
|
||||||
|
@IgnoreAuth
|
||||||
|
@RequestMapping("/detail/{id}")
|
||||||
|
public R detail(@PathVariable("id") String id) {
|
||||||
|
// 根据 ID 查询配置实体
|
||||||
|
ConfigEntity config = configService.selectById(id);
|
||||||
|
// 返回成功响应,并将配置信息数据放入响应结果中
|
||||||
|
return R.ok().put("data", config);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//根据配置名称获取配置信息
|
||||||
|
// @param name 配置名称
|
||||||
|
// @return R 响应对象,包含操作结果和指定名称的配置信息数据
|
||||||
|
|
||||||
|
@RequestMapping("/info")
|
||||||
|
public R infoByName(@RequestParam String name) {
|
||||||
|
// 创建实体包装器,设置查询条件为配置名称等于指定名称
|
||||||
|
// 注意:此处代码写死了查询名称为 "faceFile",与传入的 name 参数无关,可能存在逻辑错误
|
||||||
|
ConfigEntity config = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));
|
||||||
|
// 返回成功响应,并将配置信息数据放入响应结果中
|
||||||
|
return R.ok().put("data", config);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 保存配置信息
|
||||||
|
// @param config 要保存的配置实体
|
||||||
|
// @return R 响应对象,包含操作结果
|
||||||
|
|
||||||
|
@PostMapping("/save")
|
||||||
|
public R save(@RequestBody ConfigEntity config) {
|
||||||
|
// 注释掉的验证实体方法,可用于验证配置实体数据的合法性
|
||||||
|
// ValidatorUtils.validateEntity(config);
|
||||||
|
// 调用配置服务类的插入方法,保存配置信息
|
||||||
|
configService.insert(config);
|
||||||
|
// 返回成功响应
|
||||||
|
return R.ok();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 修改配置信息
|
||||||
|
// @param config 要修改的配置实体
|
||||||
|
// @return R 响应对象,包含操作结果
|
||||||
|
|
||||||
|
@RequestMapping("/update")
|
||||||
|
public R update(@RequestBody ConfigEntity config) {
|
||||||
|
// 注释掉的验证实体方法,可用于验证配置实体数据的合法性
|
||||||
|
// ValidatorUtils.validateEntity(config);
|
||||||
|
// 调用配置服务类的更新方法,根据 ID 更新配置信息(全部更新)
|
||||||
|
configService.updateById(config);
|
||||||
|
// 返回成功响应
|
||||||
|
return R.ok();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 删除配置信息(批量删除)
|
||||||
|
// @param ids 要删除的配置信息的 ID 数组
|
||||||
|
//@return R 响应对象,包含操作结果
|
||||||
|
|
||||||
|
@RequestMapping("/delete")
|
||||||
|
public R delete(@RequestBody Long[] ids) {
|
||||||
|
// 调用配置服务类的批量删除方法,根据 ID 列表删除配置信息
|
||||||
|
configService.deleteBatchIds(Arrays.asList(ids));
|
||||||
|
// 返回成功响应
|
||||||
|
return R.ok();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,115 @@
|
|||||||
|
package com.controller;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
import org.apache.commons.io.FileUtils;
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
|
import com.annotation.IgnoreAuth;
|
||||||
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||||
|
import com.entity.ConfigEntity;
|
||||||
|
import com.entity.EIException;
|
||||||
|
import com.service.ConfigService;
|
||||||
|
import com.utils.R;
|
||||||
|
|
||||||
|
|
||||||
|
// 上传文件映射表
|
||||||
|
// 该控制器类主要用于处理文件的上传和下载操作,提供了与文件相关的接口。
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("file")
|
||||||
|
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||||
|
public class FileController {
|
||||||
|
// 自动注入配置服务类的实例,用于操作配置相关数据
|
||||||
|
@Autowired
|
||||||
|
private ConfigService configService;
|
||||||
|
|
||||||
|
|
||||||
|
// 上传文件
|
||||||
|
// 该方法用于处理文件上传请求,将上传的文件保存到服务器指定目录,并根据条件更新配置信息。
|
||||||
|
// @param file 上传的文件,通过 @RequestParam 注解绑定到 MultipartFile 对象
|
||||||
|
// @param type 文件类型标识,用于判断是否需要更新配置信息
|
||||||
|
// @param request HTTP 请求对象,用于获取服务器相关路径信息
|
||||||
|
// @return R 响应对象,包含操作结果和上传后的文件名
|
||||||
|
// @throws Exception 可能抛出的异常,如文件上传过程中的异常
|
||||||
|
|
||||||
|
@RequestMapping("/upload")
|
||||||
|
public R upload(@RequestParam("file") MultipartFile file, String type, HttpServletRequest request) throws Exception {
|
||||||
|
// 检查文件是否为空
|
||||||
|
if (file.isEmpty()) {
|
||||||
|
// 如果文件为空,抛出自定义异常
|
||||||
|
throw new EIException("上传文件不能为空");
|
||||||
|
}
|
||||||
|
// 获取文件扩展名
|
||||||
|
String fileExt = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".") + 1);
|
||||||
|
// 生成新的文件名,由当前时间戳和文件扩展名组成
|
||||||
|
String fileName = new Date().getTime() + "." + fileExt;
|
||||||
|
// 创建目标文件对象,指定文件保存路径为服务器的 /upload 目录下
|
||||||
|
File dest = new File(request.getSession().getServletContext().getRealPath("/upload") + "/" + fileName);
|
||||||
|
// 将上传的文件保存到目标路径
|
||||||
|
file.transferTo(dest);
|
||||||
|
// 如果 type 不为空且等于 "1",则进行配置信息的更新操作
|
||||||
|
if (StringUtils.isNotBlank(type) && type.equals("1")) {
|
||||||
|
// 根据配置名称 "faceFile" 查询配置实体
|
||||||
|
ConfigEntity configEntity = configService.selectOne(new EntityWrapper<ConfigEntity>().eq("name", "faceFile"));
|
||||||
|
// 如果配置实体不存在,则创建一个新的配置实体
|
||||||
|
if (configEntity == null) {
|
||||||
|
configEntity = new ConfigEntity();
|
||||||
|
configEntity.setName("faceFile");
|
||||||
|
configEntity.setValue(fileName);
|
||||||
|
} else {
|
||||||
|
// 如果配置实体存在,则更新其值为上传后的文件名
|
||||||
|
configEntity.setValue(fileName);
|
||||||
|
}
|
||||||
|
// 插入或更新配置实体
|
||||||
|
configService.insertOrUpdate(configEntity);
|
||||||
|
}
|
||||||
|
// 返回成功响应,并将上传后的文件名放入响应结果中
|
||||||
|
return R.ok().put("file", fileName);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 下载文件
|
||||||
|
// 该方法用于处理文件下载请求,将指定文件从服务器下载到客户端。
|
||||||
|
// @param fileName 要下载的文件名,通过 @RequestParam 注解获取
|
||||||
|
// @param request HTTP 请求对象,用于获取服务器相关路径信息
|
||||||
|
// @param response HTTP 响应对象,用于设置响应头和输出文件内容
|
||||||
|
|
||||||
|
@IgnoreAuth
|
||||||
|
@RequestMapping("/download")
|
||||||
|
public void download(@RequestParam String fileName, HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
try {
|
||||||
|
// 创建要下载的文件对象,指定文件路径为服务器的 /upload 目录下
|
||||||
|
File file = new File(request.getSession().getServletContext().getRealPath("/upload") + "/" + fileName);
|
||||||
|
// 检查文件是否存在
|
||||||
|
if (file.exists()) {
|
||||||
|
// 重置响应
|
||||||
|
response.reset();
|
||||||
|
// 设置响应头,指定文件为附件并设置文件名
|
||||||
|
response.setHeader("Content-Disposition", "attachment; filename=\"" + fileName + "\"");
|
||||||
|
// 设置缓存控制,不缓存文件
|
||||||
|
response.setHeader("Cache-Control", "no-cache");
|
||||||
|
// 设置允许跨域携带凭证
|
||||||
|
response.setHeader("Access-Control-Allow-Credentials", "true");
|
||||||
|
// 设置响应内容类型为二进制流
|
||||||
|
response.setContentType("application/octet-stream; charset=UTF-8");
|
||||||
|
// 将文件内容写入响应输出流,实现文件下载
|
||||||
|
IOUtils.write(FileUtils.readFileToByteArray(file), response.getOutputStream());
|
||||||
|
}
|
||||||
|
} catch (IOException e) {
|
||||||
|
// 如果发生 I/O 异常,打印异常堆栈信息
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
package com.dao;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||||
|
import com.baomidou.mybatisplus.mapper.Wrapper;
|
||||||
|
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
|
||||||
|
import com.entity.UserEntity;
|
||||||
|
|
||||||
|
|
||||||
|
// 用户
|
||||||
|
// 该接口主要用于与数据库中的用户表进行交互,继承自 MyBatis-Plus 的 BaseMapper 接口,
|
||||||
|
//具备对 UserEntity 实体对象的基本增删改查功能。
|
||||||
|
|
||||||
|
public interface UserDao extends BaseMapper<UserEntity> {
|
||||||
|
|
||||||
|
|
||||||
|
//根据传入的查询条件包装器 wrapper 查询用户实体列表。
|
||||||
|
// @param wrapper 用于构建查询条件的包装器,可设置如等于、大于、小于等各种查询条件。
|
||||||
|
// @return 符合查询条件的用户实体列表,若没有符合条件的记录则返回空列表。
|
||||||
|
|
||||||
|
List<UserEntity> selectListView(@Param("ew") Wrapper<UserEntity> wrapper);
|
||||||
|
|
||||||
|
|
||||||
|
// 根据传入的分页信息 page 和查询条件包装器 wrapper 进行分页查询用户实体列表。
|
||||||
|
//@param page 分页对象,包含当前页码、每页显示的记录数等分页信息。
|
||||||
|
// @param wrapper 用于构建查询条件的包装器。
|
||||||
|
// @return 当前页符合查询条件的用户实体列表,若没有符合条件的记录则返回空列表。
|
||||||
|
|
||||||
|
List<UserEntity> selectListView(Pagination page, @Param("ew") Wrapper<UserEntity> wrapper);
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,179 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 成本结余
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
//@author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("chengbenjieyu")
|
||||||
|
public class ChengbenjieyuEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public ChengbenjieyuEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public ChengbenjieyuEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
// 成本名称
|
||||||
|
|
||||||
|
private String chengbenmingcheng;
|
||||||
|
|
||||||
|
//收入项目
|
||||||
|
|
||||||
|
|
||||||
|
private String shouruxiangmu;
|
||||||
|
|
||||||
|
// 收入金额
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shourujine;
|
||||||
|
|
||||||
|
// 支出项目
|
||||||
|
|
||||||
|
|
||||||
|
private String zhichuxiangmu;
|
||||||
|
|
||||||
|
//支出金额
|
||||||
|
|
||||||
|
|
||||||
|
private Integer zhichujine;
|
||||||
|
|
||||||
|
//结余金额
|
||||||
|
|
||||||
|
|
||||||
|
private String jieyujine;
|
||||||
|
|
||||||
|
// 日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date riqi;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:成本名称
|
||||||
|
|
||||||
|
public void setChengbenmingcheng(String chengbenmingcheng) {
|
||||||
|
this.chengbenmingcheng = chengbenmingcheng;
|
||||||
|
}
|
||||||
|
// 获取:成本名称
|
||||||
|
|
||||||
|
public String getChengbenmingcheng() {
|
||||||
|
return chengbenmingcheng;
|
||||||
|
}
|
||||||
|
// 设置:收入项目
|
||||||
|
|
||||||
|
public void setShouruxiangmu(String shouruxiangmu) {
|
||||||
|
this.shouruxiangmu = shouruxiangmu;
|
||||||
|
}
|
||||||
|
// 获取:收入项目
|
||||||
|
|
||||||
|
public String getShouruxiangmu() {
|
||||||
|
return shouruxiangmu;
|
||||||
|
}
|
||||||
|
// 设置:收入金额
|
||||||
|
|
||||||
|
public void setShourujine(Integer shourujine) {
|
||||||
|
this.shourujine = shourujine;
|
||||||
|
}
|
||||||
|
// 获取:收入金额
|
||||||
|
|
||||||
|
public Integer getShourujine() {
|
||||||
|
return shourujine;
|
||||||
|
}
|
||||||
|
// 设置:支出项目
|
||||||
|
|
||||||
|
public void setZhichuxiangmu(String zhichuxiangmu) {
|
||||||
|
this.zhichuxiangmu = zhichuxiangmu;
|
||||||
|
}
|
||||||
|
// 获取:支出项目
|
||||||
|
|
||||||
|
public String getZhichuxiangmu() {
|
||||||
|
return zhichuxiangmu;
|
||||||
|
}
|
||||||
|
// 设置:支出金额
|
||||||
|
|
||||||
|
public void setZhichujine(Integer zhichujine) {
|
||||||
|
this.zhichujine = zhichujine;
|
||||||
|
}
|
||||||
|
// 获取:支出金额
|
||||||
|
|
||||||
|
public Integer getZhichujine() {
|
||||||
|
return zhichujine;
|
||||||
|
}
|
||||||
|
// 设置:结余金额
|
||||||
|
|
||||||
|
public void setJieyujine(String jieyujine) {
|
||||||
|
this.jieyujine = jieyujine;
|
||||||
|
}
|
||||||
|
// 获取:结余金额
|
||||||
|
|
||||||
|
public String getJieyujine() {
|
||||||
|
return jieyujine;
|
||||||
|
}
|
||||||
|
// 设置:日期
|
||||||
|
|
||||||
|
public void setRiqi(Date riqi) {
|
||||||
|
this.riqi = riqi;
|
||||||
|
}
|
||||||
|
// 获取:日期
|
||||||
|
|
||||||
|
public Date getRiqi() {
|
||||||
|
return riqi;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,50 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
// 类说明 :
|
||||||
|
|
||||||
|
@TableName("config")
|
||||||
|
public class ConfigEntity implements Serializable{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
// key
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
// value
|
||||||
|
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(String value) {
|
||||||
|
this.value = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,194 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 发票信息
|
||||||
|
//数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
//@email
|
||||||
|
//@date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("fapiaoxinxi")
|
||||||
|
public class FapiaoxinxiEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public FapiaoxinxiEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public FapiaoxinxiEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 发票编号
|
||||||
|
|
||||||
|
|
||||||
|
private String fapiaobianhao;
|
||||||
|
|
||||||
|
// 客户姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String kehuxingming;
|
||||||
|
|
||||||
|
// 商品名称
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinmingcheng;
|
||||||
|
|
||||||
|
// 商品单价
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shangpindanjia;
|
||||||
|
|
||||||
|
//商品数量
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shangpinshuliang;
|
||||||
|
|
||||||
|
//总金额
|
||||||
|
|
||||||
|
|
||||||
|
private String zongjine;
|
||||||
|
|
||||||
|
// 开票日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date kaipiaoriqi;
|
||||||
|
|
||||||
|
//备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:发票编号
|
||||||
|
|
||||||
|
public void setFapiaobianhao(String fapiaobianhao) {
|
||||||
|
this.fapiaobianhao = fapiaobianhao;
|
||||||
|
}
|
||||||
|
// 获取:发票编号
|
||||||
|
|
||||||
|
public String getFapiaobianhao() {
|
||||||
|
return fapiaobianhao;
|
||||||
|
}
|
||||||
|
// 设置:客户姓名
|
||||||
|
|
||||||
|
public void setKehuxingming(String kehuxingming) {
|
||||||
|
this.kehuxingming = kehuxingming;
|
||||||
|
}
|
||||||
|
// 获取:客户姓名
|
||||||
|
|
||||||
|
public String getKehuxingming() {
|
||||||
|
return kehuxingming;
|
||||||
|
}
|
||||||
|
//设置:商品名称
|
||||||
|
|
||||||
|
public void setShangpinmingcheng(String shangpinmingcheng) {
|
||||||
|
this.shangpinmingcheng = shangpinmingcheng;
|
||||||
|
}
|
||||||
|
//获取:商品名称
|
||||||
|
|
||||||
|
public String getShangpinmingcheng() {
|
||||||
|
return shangpinmingcheng;
|
||||||
|
}
|
||||||
|
//设置:商品单价
|
||||||
|
|
||||||
|
public void setShangpindanjia(Integer shangpindanjia) {
|
||||||
|
this.shangpindanjia = shangpindanjia;
|
||||||
|
}
|
||||||
|
// 获取:商品单价
|
||||||
|
|
||||||
|
public Integer getShangpindanjia() {
|
||||||
|
return shangpindanjia;
|
||||||
|
}
|
||||||
|
// 设置:商品数量
|
||||||
|
|
||||||
|
public void setShangpinshuliang(Integer shangpinshuliang) {
|
||||||
|
this.shangpinshuliang = shangpinshuliang;
|
||||||
|
}
|
||||||
|
// 获取:商品数量
|
||||||
|
|
||||||
|
public Integer getShangpinshuliang() {
|
||||||
|
return shangpinshuliang;
|
||||||
|
}
|
||||||
|
// 设置:总金额
|
||||||
|
|
||||||
|
public void setZongjine(String zongjine) {
|
||||||
|
this.zongjine = zongjine;
|
||||||
|
}
|
||||||
|
//获取:总金额
|
||||||
|
|
||||||
|
public String getZongjine() {
|
||||||
|
return zongjine;
|
||||||
|
}
|
||||||
|
// 设置:开票日期
|
||||||
|
|
||||||
|
public void setKaipiaoriqi(Date kaipiaoriqi) {
|
||||||
|
this.kaipiaoriqi = kaipiaoriqi;
|
||||||
|
}
|
||||||
|
// 获取:开票日期
|
||||||
|
|
||||||
|
public Date getKaipiaoriqi() {
|
||||||
|
return kaipiaoriqi;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
//获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,194 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 供应商信息
|
||||||
|
//数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("gongyingshangxinxi")
|
||||||
|
public class GongyingshangxinxiEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public GongyingshangxinxiEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public GongyingshangxinxiEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 供应商姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String gongyingshangxingming;
|
||||||
|
|
||||||
|
// 公司名称
|
||||||
|
|
||||||
|
|
||||||
|
private String gongsimingcheng;
|
||||||
|
|
||||||
|
//公司地址
|
||||||
|
|
||||||
|
|
||||||
|
private String gongsidizhi;
|
||||||
|
|
||||||
|
// 供应产品
|
||||||
|
|
||||||
|
|
||||||
|
private String gongyingchanpin;
|
||||||
|
|
||||||
|
// 联系电话
|
||||||
|
|
||||||
|
|
||||||
|
private String lianxidianhua;
|
||||||
|
|
||||||
|
//合作时长
|
||||||
|
|
||||||
|
|
||||||
|
private String hezuoshizhang;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
//登记日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date dengjiriqi;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
//设置:供应商姓名
|
||||||
|
|
||||||
|
public void setGongyingshangxingming(String gongyingshangxingming) {
|
||||||
|
this.gongyingshangxingming = gongyingshangxingming;
|
||||||
|
}
|
||||||
|
// 获取:供应商姓名
|
||||||
|
|
||||||
|
public String getGongyingshangxingming() {
|
||||||
|
return gongyingshangxingming;
|
||||||
|
}
|
||||||
|
// 设置:公司名称
|
||||||
|
|
||||||
|
public void setGongsimingcheng(String gongsimingcheng) {
|
||||||
|
this.gongsimingcheng = gongsimingcheng;
|
||||||
|
}
|
||||||
|
// 获取:公司名称
|
||||||
|
|
||||||
|
public String getGongsimingcheng() {
|
||||||
|
return gongsimingcheng;
|
||||||
|
}
|
||||||
|
// 设置:公司地址
|
||||||
|
|
||||||
|
public void setGongsidizhi(String gongsidizhi) {
|
||||||
|
this.gongsidizhi = gongsidizhi;
|
||||||
|
}
|
||||||
|
// 获取:公司地址
|
||||||
|
|
||||||
|
public String getGongsidizhi() {
|
||||||
|
return gongsidizhi;
|
||||||
|
}
|
||||||
|
//设置:供应产品
|
||||||
|
|
||||||
|
public void setGongyingchanpin(String gongyingchanpin) {
|
||||||
|
this.gongyingchanpin = gongyingchanpin;
|
||||||
|
}
|
||||||
|
// 获取:供应产品
|
||||||
|
|
||||||
|
public String getGongyingchanpin() {
|
||||||
|
return gongyingchanpin;
|
||||||
|
}
|
||||||
|
//设置:联系电话
|
||||||
|
|
||||||
|
public void setLianxidianhua(String lianxidianhua) {
|
||||||
|
this.lianxidianhua = lianxidianhua;
|
||||||
|
}
|
||||||
|
// 获取:联系电话
|
||||||
|
|
||||||
|
public String getLianxidianhua() {
|
||||||
|
return lianxidianhua;
|
||||||
|
}
|
||||||
|
//设置:合作时长
|
||||||
|
|
||||||
|
public void setHezuoshizhang(String hezuoshizhang) {
|
||||||
|
this.hezuoshizhang = hezuoshizhang;
|
||||||
|
}
|
||||||
|
//获取:合作时长
|
||||||
|
|
||||||
|
public String getHezuoshizhang() {
|
||||||
|
return hezuoshizhang;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
//设置:登记日期
|
||||||
|
|
||||||
|
public void setDengjiriqi(Date dengjiriqi) {
|
||||||
|
this.dengjiriqi = dengjiriqi;
|
||||||
|
}
|
||||||
|
// 获取:登记日期
|
||||||
|
|
||||||
|
public Date getDengjiriqi() {
|
||||||
|
return dengjiriqi;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,179 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 记账凭证
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("jizhangpingzheng")
|
||||||
|
public class JizhangpingzhengEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public JizhangpingzhengEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public JizhangpingzhengEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
//凭证编号
|
||||||
|
|
||||||
|
|
||||||
|
private String pingzhengbianhao;
|
||||||
|
|
||||||
|
// 凭证名称
|
||||||
|
|
||||||
|
|
||||||
|
private String pingzhengmingcheng;
|
||||||
|
|
||||||
|
// 类型
|
||||||
|
|
||||||
|
|
||||||
|
private String leixing;
|
||||||
|
|
||||||
|
//凭证内容
|
||||||
|
|
||||||
|
|
||||||
|
private String pingzhengneirong;
|
||||||
|
|
||||||
|
// 登记日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date dengjiriqi;
|
||||||
|
|
||||||
|
// 附件
|
||||||
|
|
||||||
|
|
||||||
|
private String fujian;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:凭证编号
|
||||||
|
|
||||||
|
public void setPingzhengbianhao(String pingzhengbianhao) {
|
||||||
|
this.pingzhengbianhao = pingzhengbianhao;
|
||||||
|
}
|
||||||
|
// 获取:凭证编号
|
||||||
|
|
||||||
|
public String getPingzhengbianhao() {
|
||||||
|
return pingzhengbianhao;
|
||||||
|
}
|
||||||
|
//设置:凭证名称
|
||||||
|
|
||||||
|
public void setPingzhengmingcheng(String pingzhengmingcheng) {
|
||||||
|
this.pingzhengmingcheng = pingzhengmingcheng;
|
||||||
|
}
|
||||||
|
// 获取:凭证名称
|
||||||
|
|
||||||
|
public String getPingzhengmingcheng() {
|
||||||
|
return pingzhengmingcheng;
|
||||||
|
}
|
||||||
|
//设置:类型
|
||||||
|
|
||||||
|
public void setLeixing(String leixing) {
|
||||||
|
this.leixing = leixing;
|
||||||
|
}
|
||||||
|
// 获取:类型
|
||||||
|
|
||||||
|
public String getLeixing() {
|
||||||
|
return leixing;
|
||||||
|
}
|
||||||
|
// 设置:凭证内容
|
||||||
|
|
||||||
|
public void setPingzhengneirong(String pingzhengneirong) {
|
||||||
|
this.pingzhengneirong = pingzhengneirong;
|
||||||
|
}
|
||||||
|
// 获取:凭证内容
|
||||||
|
|
||||||
|
public String getPingzhengneirong() {
|
||||||
|
return pingzhengneirong;
|
||||||
|
}
|
||||||
|
// 设置:登记日期
|
||||||
|
|
||||||
|
public void setDengjiriqi(Date dengjiriqi) {
|
||||||
|
this.dengjiriqi = dengjiriqi;
|
||||||
|
}
|
||||||
|
// 获取:登记日期
|
||||||
|
|
||||||
|
public Date getDengjiriqi() {
|
||||||
|
return dengjiriqi;
|
||||||
|
}
|
||||||
|
// 设置:附件
|
||||||
|
|
||||||
|
public void setFujian(String fujian) {
|
||||||
|
this.fujian = fujian;
|
||||||
|
}
|
||||||
|
//获取:附件
|
||||||
|
|
||||||
|
public String getFujian() {
|
||||||
|
return fujian;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,194 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
//客户信息
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("kehuxinxi")
|
||||||
|
public class KehuxinxiEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public KehuxinxiEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public KehuxinxiEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
//客户姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String kehuxingming;
|
||||||
|
|
||||||
|
// 公司名称
|
||||||
|
|
||||||
|
|
||||||
|
private String gongsimingcheng;
|
||||||
|
|
||||||
|
// 公司地址
|
||||||
|
|
||||||
|
|
||||||
|
private String gongsidizhi;
|
||||||
|
|
||||||
|
//合作项目
|
||||||
|
|
||||||
|
|
||||||
|
private String hezuoxiangmu;
|
||||||
|
|
||||||
|
//合作时长
|
||||||
|
|
||||||
|
|
||||||
|
private String hezuoshizhang;
|
||||||
|
|
||||||
|
// 联系电话
|
||||||
|
|
||||||
|
|
||||||
|
private String lianxidianhua;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 登记日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date dengjiriqi;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:客户姓名
|
||||||
|
|
||||||
|
public void setKehuxingming(String kehuxingming) {
|
||||||
|
this.kehuxingming = kehuxingming;
|
||||||
|
}
|
||||||
|
// 获取:客户姓名
|
||||||
|
|
||||||
|
public String getKehuxingming() {
|
||||||
|
return kehuxingming;
|
||||||
|
}
|
||||||
|
// 设置:公司名称
|
||||||
|
|
||||||
|
public void setGongsimingcheng(String gongsimingcheng) {
|
||||||
|
this.gongsimingcheng = gongsimingcheng;
|
||||||
|
}
|
||||||
|
// 获取:公司名称
|
||||||
|
|
||||||
|
public String getGongsimingcheng() {
|
||||||
|
return gongsimingcheng;
|
||||||
|
}
|
||||||
|
// 设置:公司地址
|
||||||
|
|
||||||
|
public void setGongsidizhi(String gongsidizhi) {
|
||||||
|
this.gongsidizhi = gongsidizhi;
|
||||||
|
}
|
||||||
|
// 获取:公司地址
|
||||||
|
|
||||||
|
public String getGongsidizhi() {
|
||||||
|
return gongsidizhi;
|
||||||
|
}
|
||||||
|
// 设置:合作项目
|
||||||
|
|
||||||
|
public void setHezuoxiangmu(String hezuoxiangmu) {
|
||||||
|
this.hezuoxiangmu = hezuoxiangmu;
|
||||||
|
}
|
||||||
|
// 获取:合作项目
|
||||||
|
|
||||||
|
public String getHezuoxiangmu() {
|
||||||
|
return hezuoxiangmu;
|
||||||
|
}
|
||||||
|
// 设置:合作时长
|
||||||
|
|
||||||
|
public void setHezuoshizhang(String hezuoshizhang) {
|
||||||
|
this.hezuoshizhang = hezuoshizhang;
|
||||||
|
}
|
||||||
|
// 获取:合作时长
|
||||||
|
|
||||||
|
public String getHezuoshizhang() {
|
||||||
|
return hezuoshizhang;
|
||||||
|
}
|
||||||
|
// 设置:联系电话
|
||||||
|
|
||||||
|
public void setLianxidianhua(String lianxidianhua) {
|
||||||
|
this.lianxidianhua = lianxidianhua;
|
||||||
|
}
|
||||||
|
// 获取:联系电话
|
||||||
|
|
||||||
|
public String getLianxidianhua() {
|
||||||
|
return lianxidianhua;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
// 设置:登记日期
|
||||||
|
|
||||||
|
public void setDengjiriqi(Date dengjiriqi) {
|
||||||
|
this.dengjiriqi = dengjiriqi;
|
||||||
|
}
|
||||||
|
// 获取:登记日期
|
||||||
|
|
||||||
|
public Date getDengjiriqi() {
|
||||||
|
return dengjiriqi;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,193 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
//日记账
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("rijizhang")
|
||||||
|
public class RijizhangEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public RijizhangEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public RijizhangEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 序号
|
||||||
|
|
||||||
|
private String xuhao;
|
||||||
|
|
||||||
|
// 日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date riqi;
|
||||||
|
|
||||||
|
// 摘要
|
||||||
|
|
||||||
|
|
||||||
|
private String zhaiyao;
|
||||||
|
|
||||||
|
// 收入
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shouru;
|
||||||
|
|
||||||
|
// 支出
|
||||||
|
|
||||||
|
|
||||||
|
private Integer zhichu;
|
||||||
|
|
||||||
|
//金额
|
||||||
|
|
||||||
|
|
||||||
|
private String jine;
|
||||||
|
|
||||||
|
// 管理工号
|
||||||
|
|
||||||
|
|
||||||
|
private String guanligonghao;
|
||||||
|
|
||||||
|
//管理姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String guanlixingming;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:序号
|
||||||
|
|
||||||
|
public void setXuhao(String xuhao) {
|
||||||
|
this.xuhao = xuhao;
|
||||||
|
}
|
||||||
|
// 获取:序号
|
||||||
|
|
||||||
|
public String getXuhao() {
|
||||||
|
return xuhao;
|
||||||
|
}
|
||||||
|
//设置:日期
|
||||||
|
|
||||||
|
public void setRiqi(Date riqi) {
|
||||||
|
this.riqi = riqi;
|
||||||
|
}
|
||||||
|
//获取:日期
|
||||||
|
|
||||||
|
public Date getRiqi() {
|
||||||
|
return riqi;
|
||||||
|
}
|
||||||
|
// 设置:摘要
|
||||||
|
|
||||||
|
public void setZhaiyao(String zhaiyao) {
|
||||||
|
this.zhaiyao = zhaiyao;
|
||||||
|
}
|
||||||
|
//获取:摘要
|
||||||
|
|
||||||
|
public String getZhaiyao() {
|
||||||
|
return zhaiyao;
|
||||||
|
}
|
||||||
|
//设置:收入
|
||||||
|
|
||||||
|
public void setShouru(Integer shouru) {
|
||||||
|
this.shouru = shouru;
|
||||||
|
}
|
||||||
|
//获取:收入
|
||||||
|
|
||||||
|
public Integer getShouru() {
|
||||||
|
return shouru;
|
||||||
|
}
|
||||||
|
//设置:支出
|
||||||
|
|
||||||
|
public void setZhichu(Integer zhichu) {
|
||||||
|
this.zhichu = zhichu;
|
||||||
|
}
|
||||||
|
// 获取:支出
|
||||||
|
|
||||||
|
public Integer getZhichu() {
|
||||||
|
return zhichu;
|
||||||
|
}
|
||||||
|
// 设置:金额
|
||||||
|
|
||||||
|
public void setJine(String jine) {
|
||||||
|
this.jine = jine;
|
||||||
|
}
|
||||||
|
// 获取:金额
|
||||||
|
|
||||||
|
public String getJine() {
|
||||||
|
return jine;
|
||||||
|
}
|
||||||
|
// 设置:管理工号
|
||||||
|
|
||||||
|
public void setGuanligonghao(String guanligonghao) {
|
||||||
|
this.guanligonghao = guanligonghao;
|
||||||
|
}
|
||||||
|
// 获取:管理工号
|
||||||
|
|
||||||
|
public String getGuanligonghao() {
|
||||||
|
return guanligonghao;
|
||||||
|
}
|
||||||
|
// 设置:管理姓名
|
||||||
|
|
||||||
|
public void setGuanlixingming(String guanlixingming) {
|
||||||
|
this.guanlixingming = guanlixingming;
|
||||||
|
}
|
||||||
|
// 获取:管理姓名
|
||||||
|
|
||||||
|
public String getGuanlixingming() {
|
||||||
|
return guanlixingming;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,224 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
//商品出库
|
||||||
|
//数据库通用操作实体类(普通增删改查)
|
||||||
|
//@author
|
||||||
|
//@email
|
||||||
|
//@date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("shangpinchuku")
|
||||||
|
public class ShangpinchukuEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public ShangpinchukuEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public ShangpinchukuEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 商品名称
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinmingcheng;
|
||||||
|
|
||||||
|
//商品类型
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinleixing;
|
||||||
|
|
||||||
|
//客户姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String kehuxingming;
|
||||||
|
|
||||||
|
// 商品数量
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shangpinshuliang;
|
||||||
|
|
||||||
|
//出库时间
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date chukushijian;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
// 员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
// 是否审核
|
||||||
|
|
||||||
|
|
||||||
|
private String sfsh;
|
||||||
|
|
||||||
|
// 审核回复
|
||||||
|
|
||||||
|
|
||||||
|
private String shhf;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:商品名称
|
||||||
|
|
||||||
|
public void setShangpinmingcheng(String shangpinmingcheng) {
|
||||||
|
this.shangpinmingcheng = shangpinmingcheng;
|
||||||
|
}
|
||||||
|
//获取:商品名称
|
||||||
|
|
||||||
|
public String getShangpinmingcheng() {
|
||||||
|
return shangpinmingcheng;
|
||||||
|
}
|
||||||
|
// 设置:商品类型
|
||||||
|
|
||||||
|
public void setShangpinleixing(String shangpinleixing) {
|
||||||
|
this.shangpinleixing = shangpinleixing;
|
||||||
|
}
|
||||||
|
//获取:商品类型
|
||||||
|
|
||||||
|
public String getShangpinleixing() {
|
||||||
|
return shangpinleixing;
|
||||||
|
}
|
||||||
|
// 设置:客户姓名
|
||||||
|
|
||||||
|
public void setKehuxingming(String kehuxingming) {
|
||||||
|
this.kehuxingming = kehuxingming;
|
||||||
|
}
|
||||||
|
// 获取:客户姓名
|
||||||
|
|
||||||
|
public String getKehuxingming() {
|
||||||
|
return kehuxingming;
|
||||||
|
}
|
||||||
|
// 设置:商品数量
|
||||||
|
|
||||||
|
public void setShangpinshuliang(Integer shangpinshuliang) {
|
||||||
|
this.shangpinshuliang = shangpinshuliang;
|
||||||
|
}
|
||||||
|
//获取:商品数量
|
||||||
|
|
||||||
|
public Integer getShangpinshuliang() {
|
||||||
|
return shangpinshuliang;
|
||||||
|
}
|
||||||
|
// 设置:出库时间
|
||||||
|
|
||||||
|
public void setChukushijian(Date chukushijian) {
|
||||||
|
this.chukushijian = chukushijian;
|
||||||
|
}
|
||||||
|
// 获取:出库时间
|
||||||
|
|
||||||
|
public Date getChukushijian() {
|
||||||
|
return chukushijian;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
// 设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
//获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
// 设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
// 获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
// 设置:是否审核
|
||||||
|
|
||||||
|
public void setSfsh(String sfsh) {
|
||||||
|
this.sfsh = sfsh;
|
||||||
|
}
|
||||||
|
// 获取:是否审核
|
||||||
|
|
||||||
|
public String getSfsh() {
|
||||||
|
return sfsh;
|
||||||
|
}
|
||||||
|
// 设置:审核回复
|
||||||
|
|
||||||
|
public void setShhf(String shhf) {
|
||||||
|
this.shhf = shhf;
|
||||||
|
}
|
||||||
|
//获取:审核回复
|
||||||
|
|
||||||
|
public String getShhf() {
|
||||||
|
return shhf;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,179 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 商品库存
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("shangpinkucun")
|
||||||
|
public class ShangpinkucunEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public ShangpinkucunEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public ShangpinkucunEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 商品名称
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinmingcheng;
|
||||||
|
|
||||||
|
//商品类型
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinleixing;
|
||||||
|
|
||||||
|
// 商品数量
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shangpinshuliang;
|
||||||
|
|
||||||
|
// 商品详情
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinxiangqing;
|
||||||
|
|
||||||
|
//存放位置
|
||||||
|
|
||||||
|
|
||||||
|
private String cunfangweizhi;
|
||||||
|
|
||||||
|
// 是否完好
|
||||||
|
|
||||||
|
|
||||||
|
private String shifouwanhao;
|
||||||
|
|
||||||
|
// 登记日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date dengjiriqi;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:商品名称
|
||||||
|
|
||||||
|
public void setShangpinmingcheng(String shangpinmingcheng) {
|
||||||
|
this.shangpinmingcheng = shangpinmingcheng;
|
||||||
|
}
|
||||||
|
//获取:商品名称
|
||||||
|
|
||||||
|
public String getShangpinmingcheng() {
|
||||||
|
return shangpinmingcheng;
|
||||||
|
}
|
||||||
|
// 设置:商品类型
|
||||||
|
|
||||||
|
public void setShangpinleixing(String shangpinleixing) {
|
||||||
|
this.shangpinleixing = shangpinleixing;
|
||||||
|
}
|
||||||
|
// 获取:商品类型
|
||||||
|
|
||||||
|
public String getShangpinleixing() {
|
||||||
|
return shangpinleixing;
|
||||||
|
}
|
||||||
|
//设置:商品数量
|
||||||
|
|
||||||
|
public void setShangpinshuliang(Integer shangpinshuliang) {
|
||||||
|
this.shangpinshuliang = shangpinshuliang;
|
||||||
|
}
|
||||||
|
//获取:商品数量
|
||||||
|
|
||||||
|
public Integer getShangpinshuliang() {
|
||||||
|
return shangpinshuliang;
|
||||||
|
}
|
||||||
|
// 设置:商品详情
|
||||||
|
|
||||||
|
public void setShangpinxiangqing(String shangpinxiangqing) {
|
||||||
|
this.shangpinxiangqing = shangpinxiangqing;
|
||||||
|
}
|
||||||
|
// 获取:商品详情
|
||||||
|
|
||||||
|
public String getShangpinxiangqing() {
|
||||||
|
return shangpinxiangqing;
|
||||||
|
}
|
||||||
|
//设置:存放位置
|
||||||
|
|
||||||
|
public void setCunfangweizhi(String cunfangweizhi) {
|
||||||
|
this.cunfangweizhi = cunfangweizhi;
|
||||||
|
}
|
||||||
|
// 获取:存放位置
|
||||||
|
|
||||||
|
public String getCunfangweizhi() {
|
||||||
|
return cunfangweizhi;
|
||||||
|
}
|
||||||
|
//设置:是否完好
|
||||||
|
|
||||||
|
public void setShifouwanhao(String shifouwanhao) {
|
||||||
|
this.shifouwanhao = shifouwanhao;
|
||||||
|
}
|
||||||
|
//获取:是否完好
|
||||||
|
|
||||||
|
public String getShifouwanhao() {
|
||||||
|
return shifouwanhao;
|
||||||
|
}
|
||||||
|
// 设置:登记日期
|
||||||
|
|
||||||
|
public void setDengjiriqi(Date dengjiriqi) {
|
||||||
|
this.dengjiriqi = dengjiriqi;
|
||||||
|
}
|
||||||
|
// 获取:登记日期
|
||||||
|
|
||||||
|
public Date getDengjiriqi() {
|
||||||
|
return dengjiriqi;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,239 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 商品入库
|
||||||
|
//数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("shangpinruku")
|
||||||
|
public class ShangpinrukuEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public ShangpinrukuEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public ShangpinrukuEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
//商品名称
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinmingcheng;
|
||||||
|
|
||||||
|
// 商品类型
|
||||||
|
|
||||||
|
|
||||||
|
private String shangpinleixing;
|
||||||
|
|
||||||
|
// 供应商姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String gongyingshangxingming;
|
||||||
|
|
||||||
|
// 商品数量
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shangpinshuliang;
|
||||||
|
|
||||||
|
// 入库时间
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date rukushijian;
|
||||||
|
|
||||||
|
// 是否完好
|
||||||
|
|
||||||
|
|
||||||
|
private String shifouwanhao;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
// 员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
// 是否审核
|
||||||
|
|
||||||
|
|
||||||
|
private String sfsh;
|
||||||
|
|
||||||
|
// 审核回复
|
||||||
|
|
||||||
|
|
||||||
|
private String shhf;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
//设置:商品名称
|
||||||
|
|
||||||
|
public void setShangpinmingcheng(String shangpinmingcheng) {
|
||||||
|
this.shangpinmingcheng = shangpinmingcheng;
|
||||||
|
}
|
||||||
|
// 获取:商品名称
|
||||||
|
|
||||||
|
public String getShangpinmingcheng() {
|
||||||
|
return shangpinmingcheng;
|
||||||
|
}
|
||||||
|
//设置:商品类型
|
||||||
|
|
||||||
|
public void setShangpinleixing(String shangpinleixing) {
|
||||||
|
this.shangpinleixing = shangpinleixing;
|
||||||
|
}
|
||||||
|
// 获取:商品类型
|
||||||
|
|
||||||
|
public String getShangpinleixing() {
|
||||||
|
return shangpinleixing;
|
||||||
|
}
|
||||||
|
// 设置:供应商姓名
|
||||||
|
|
||||||
|
public void setGongyingshangxingming(String gongyingshangxingming) {
|
||||||
|
this.gongyingshangxingming = gongyingshangxingming;
|
||||||
|
}
|
||||||
|
// 获取:供应商姓名
|
||||||
|
|
||||||
|
public String getGongyingshangxingming() {
|
||||||
|
return gongyingshangxingming;
|
||||||
|
}
|
||||||
|
// 设置:商品数量
|
||||||
|
|
||||||
|
public void setShangpinshuliang(Integer shangpinshuliang) {
|
||||||
|
this.shangpinshuliang = shangpinshuliang;
|
||||||
|
}
|
||||||
|
// 获取:商品数量
|
||||||
|
|
||||||
|
public Integer getShangpinshuliang() {
|
||||||
|
return shangpinshuliang;
|
||||||
|
}
|
||||||
|
//设置:入库时间
|
||||||
|
|
||||||
|
public void setRukushijian(Date rukushijian) {
|
||||||
|
this.rukushijian = rukushijian;
|
||||||
|
}
|
||||||
|
// 获取:入库时间
|
||||||
|
|
||||||
|
public Date getRukushijian() {
|
||||||
|
return rukushijian;
|
||||||
|
}
|
||||||
|
// 设置:是否完好
|
||||||
|
|
||||||
|
public void setShifouwanhao(String shifouwanhao) {
|
||||||
|
this.shifouwanhao = shifouwanhao;
|
||||||
|
}
|
||||||
|
// 获取:是否完好
|
||||||
|
|
||||||
|
public String getShifouwanhao() {
|
||||||
|
return shifouwanhao;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
// 设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
//获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
//设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
// 获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
// 设置:是否审核
|
||||||
|
|
||||||
|
public void setSfsh(String sfsh) {
|
||||||
|
this.sfsh = sfsh;
|
||||||
|
}
|
||||||
|
// 获取:是否审核
|
||||||
|
|
||||||
|
public String getSfsh() {
|
||||||
|
return sfsh;
|
||||||
|
}
|
||||||
|
// 设置:审核回复
|
||||||
|
|
||||||
|
public void setShhf(String shhf) {
|
||||||
|
this.shhf = shhf;
|
||||||
|
}
|
||||||
|
// 获取:审核回复
|
||||||
|
|
||||||
|
public String getShhf() {
|
||||||
|
return shhf;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,158 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
// 导入 Serializable 接口,实现该接口的类的对象可进行序列化和反序列化操作
|
||||||
|
import java.io.Serializable;
|
||||||
|
// 导入 Date 类,用于处理日期和时间
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
// 导入 MyBatis-Plus 的 TableId 注解,用于指定主键
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
// 导入 MyBatis-Plus 的 TableName 注解,用于指定实体类对应的数据库表名
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
// 导入 MyBatis-Plus 的 IdType 枚举,用于指定主键的生成类型
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
// token表
|
||||||
|
// 该类作为 token 表的实体类,用于映射数据库中 token 表的字段和操作
|
||||||
|
|
||||||
|
// 使用 TableName 注解指定该实体类对应的数据库表名为 "token"
|
||||||
|
@TableName("token")
|
||||||
|
public class TokenEntity implements Serializable {
|
||||||
|
// 定义序列化版本号,用于在反序列化时验证类的版本一致性
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
// 使用 TableId 注解指定该字段为主键,且主键生成类型为自动递增
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
// 用户id
|
||||||
|
|
||||||
|
private Long userid;
|
||||||
|
|
||||||
|
// 用户名
|
||||||
|
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
//表名
|
||||||
|
|
||||||
|
private String tablename;
|
||||||
|
|
||||||
|
// 角色
|
||||||
|
|
||||||
|
private String role;
|
||||||
|
|
||||||
|
// token
|
||||||
|
|
||||||
|
private String token;
|
||||||
|
|
||||||
|
// 过期时间
|
||||||
|
|
||||||
|
private Date expiratedtime;
|
||||||
|
|
||||||
|
// 新增时间
|
||||||
|
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
// 获取主键 ID 的方法
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置主键 ID 的方法
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户 ID 的方法
|
||||||
|
public Long getUserid() {
|
||||||
|
return userid;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户 ID 的方法
|
||||||
|
public void setUserid(Long userid) {
|
||||||
|
this.userid = userid;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户角色的方法
|
||||||
|
public String getRole() {
|
||||||
|
return role;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户角色的方法
|
||||||
|
public void setRole(String role) {
|
||||||
|
this.role = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取 token 的方法
|
||||||
|
public String getToken() {
|
||||||
|
return token;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取表名的方法
|
||||||
|
public String getTablename() {
|
||||||
|
return tablename;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置表名的方法
|
||||||
|
public void setTablename(String tablename) {
|
||||||
|
this.tablename = tablename;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置 token 的方法
|
||||||
|
public void setToken(String token) {
|
||||||
|
this.token = token;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取 token 过期时间的方法
|
||||||
|
public Date getExpiratedtime() {
|
||||||
|
return expiratedtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置 token 过期时间的方法
|
||||||
|
public void setExpiratedtime(Date expiratedtime) {
|
||||||
|
this.expiratedtime = expiratedtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取新增时间的方法
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置新增时间的方法
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户名的方法
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户名的方法
|
||||||
|
public void setUsername(String username) {
|
||||||
|
this.username = username;
|
||||||
|
}
|
||||||
|
|
||||||
|
//有参构造函数
|
||||||
|
// @param userid 用户 ID
|
||||||
|
//@param username 用户名
|
||||||
|
//@param tablename 表名
|
||||||
|
// @param role 用户角色
|
||||||
|
//@param token token 值
|
||||||
|
// @param expiratedtime token 过期时间
|
||||||
|
|
||||||
|
public TokenEntity(Long userid, String username, String tablename, String role, String token, Date expiratedtime) {
|
||||||
|
super();
|
||||||
|
this.userid = userid;
|
||||||
|
this.username = username;
|
||||||
|
this.tablename = tablename;
|
||||||
|
this.role = role;
|
||||||
|
this.token = token;
|
||||||
|
this.expiratedtime = expiratedtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 无参构造函数
|
||||||
|
|
||||||
|
public TokenEntity() {
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,92 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
// 导入 Serializable 接口,实现该接口的类的对象可以进行序列化和反序列化操作
|
||||||
|
import java.io.Serializable;
|
||||||
|
// 导入 Date 类,用于表示日期和时间
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
// 导入 MyBatis-Plus 的 TableId 注解,用于指定主键
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
// 导入 MyBatis-Plus 的 TableName 注解,用于指定实体类对应的数据库表名
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
// 导入 MyBatis-Plus 的 IdType 枚举,用于指定主键的生成类型
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
// 用户
|
||||||
|
//该类是一个实体类,用于映射数据库中的用户信息表
|
||||||
|
|
||||||
|
// 使用 TableName 注解指定该实体类对应的数据库表名为 "users"
|
||||||
|
@TableName("users")
|
||||||
|
public class UserEntity implements Serializable {
|
||||||
|
// 定义序列化版本号,用于在反序列化时验证类的版本一致性
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
// 使用 TableId 注解指定该字段为主键,且主键生成类型为自动递增
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
// 用户账号
|
||||||
|
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
// 密码
|
||||||
|
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
//用户类型
|
||||||
|
|
||||||
|
private String role;
|
||||||
|
|
||||||
|
// 用户信息添加时间
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
// 获取用户账号的方法
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户账号的方法
|
||||||
|
public void setUsername(String username) {
|
||||||
|
this.username = username;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户密码的方法
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户密码的方法
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户类型的方法
|
||||||
|
public String getRole() {
|
||||||
|
return role;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户类型的方法
|
||||||
|
public void setRole(String role) {
|
||||||
|
this.role = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户信息添加时间的方法
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户信息添加时间的方法
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取用户主键 ID 的方法
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 设置用户主键 ID 的方法
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,192 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 员工
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("yuangong")
|
||||||
|
public class YuangongEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public YuangongEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public YuangongEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
//员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
// 密码
|
||||||
|
|
||||||
|
|
||||||
|
private String mima;
|
||||||
|
|
||||||
|
//员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
//性别
|
||||||
|
|
||||||
|
|
||||||
|
private String xingbie;
|
||||||
|
|
||||||
|
//部门
|
||||||
|
|
||||||
|
|
||||||
|
private String bumen;
|
||||||
|
|
||||||
|
// 手机
|
||||||
|
|
||||||
|
|
||||||
|
private String shouji;
|
||||||
|
|
||||||
|
//邮箱
|
||||||
|
|
||||||
|
|
||||||
|
private String youxiang;
|
||||||
|
|
||||||
|
//身份证
|
||||||
|
|
||||||
|
|
||||||
|
private String shenfenzheng;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
//设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
// 获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
// 设置:密码
|
||||||
|
|
||||||
|
public void setMima(String mima) {
|
||||||
|
this.mima = mima;
|
||||||
|
}
|
||||||
|
//获取:密码
|
||||||
|
|
||||||
|
public String getMima() {
|
||||||
|
return mima;
|
||||||
|
}
|
||||||
|
// 设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
// 获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
//设置:性别
|
||||||
|
|
||||||
|
public void setXingbie(String xingbie) {
|
||||||
|
this.xingbie = xingbie;
|
||||||
|
}
|
||||||
|
// 获取:性别
|
||||||
|
|
||||||
|
public String getXingbie() {
|
||||||
|
return xingbie;
|
||||||
|
}
|
||||||
|
//设置:部门
|
||||||
|
|
||||||
|
public void setBumen(String bumen) {
|
||||||
|
this.bumen = bumen;
|
||||||
|
}
|
||||||
|
// 获取:部门
|
||||||
|
|
||||||
|
public String getBumen() {
|
||||||
|
return bumen;
|
||||||
|
}
|
||||||
|
// 设置:手机
|
||||||
|
|
||||||
|
public void setShouji(String shouji) {
|
||||||
|
this.shouji = shouji;
|
||||||
|
}
|
||||||
|
//获取:手机
|
||||||
|
|
||||||
|
public String getShouji() {
|
||||||
|
return shouji;
|
||||||
|
}
|
||||||
|
//设置:邮箱
|
||||||
|
|
||||||
|
public void setYouxiang(String youxiang) {
|
||||||
|
this.youxiang = youxiang;
|
||||||
|
}
|
||||||
|
// 获取:邮箱
|
||||||
|
|
||||||
|
public String getYouxiang() {
|
||||||
|
return youxiang;
|
||||||
|
}
|
||||||
|
// 设置:身份证
|
||||||
|
|
||||||
|
public void setShenfenzheng(String shenfenzheng) {
|
||||||
|
this.shenfenzheng = shenfenzheng;
|
||||||
|
}
|
||||||
|
// 获取:身份证
|
||||||
|
|
||||||
|
public String getShenfenzheng() {
|
||||||
|
return shenfenzheng;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,208 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
//员工报销
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
//@author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("yuangongbaoxiao")
|
||||||
|
public class YuangongbaoxiaoEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public YuangongbaoxiaoEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public YuangongbaoxiaoEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
//员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
//员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
// 报销项目
|
||||||
|
|
||||||
|
|
||||||
|
private String baoxiaoxiangmu;
|
||||||
|
|
||||||
|
// 报销金额
|
||||||
|
|
||||||
|
private Integer baoxiaojine;
|
||||||
|
|
||||||
|
// 申请日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date shenqingriqi;
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 管理工号
|
||||||
|
|
||||||
|
|
||||||
|
private String guanligonghao;
|
||||||
|
|
||||||
|
// 管理姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String guanlixingming;
|
||||||
|
|
||||||
|
// 是否支付
|
||||||
|
|
||||||
|
|
||||||
|
private String ispay;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
//获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
//设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
// 获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
// 设置:报销项目
|
||||||
|
|
||||||
|
public void setBaoxiaoxiangmu(String baoxiaoxiangmu) {
|
||||||
|
this.baoxiaoxiangmu = baoxiaoxiangmu;
|
||||||
|
}
|
||||||
|
// 获取:报销项目
|
||||||
|
|
||||||
|
public String getBaoxiaoxiangmu() {
|
||||||
|
return baoxiaoxiangmu;
|
||||||
|
}
|
||||||
|
// 设置:报销金额
|
||||||
|
|
||||||
|
public void setBaoxiaojine(Integer baoxiaojine) {
|
||||||
|
this.baoxiaojine = baoxiaojine;
|
||||||
|
}
|
||||||
|
//获取:报销金额
|
||||||
|
|
||||||
|
public Integer getBaoxiaojine() {
|
||||||
|
return baoxiaojine;
|
||||||
|
}
|
||||||
|
// 设置:申请日期
|
||||||
|
|
||||||
|
public void setShenqingriqi(Date shenqingriqi) {
|
||||||
|
this.shenqingriqi = shenqingriqi;
|
||||||
|
}
|
||||||
|
//获取:申请日期
|
||||||
|
|
||||||
|
public Date getShenqingriqi() {
|
||||||
|
return shenqingriqi;
|
||||||
|
}
|
||||||
|
// 设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
// 获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
// 设置:管理工号
|
||||||
|
|
||||||
|
public void setGuanligonghao(String guanligonghao) {
|
||||||
|
this.guanligonghao = guanligonghao;
|
||||||
|
}
|
||||||
|
//获取:管理工号
|
||||||
|
|
||||||
|
public String getGuanligonghao() {
|
||||||
|
return guanligonghao;
|
||||||
|
}
|
||||||
|
// 设置:管理姓名
|
||||||
|
|
||||||
|
public void setGuanlixingming(String guanlixingming) {
|
||||||
|
this.guanlixingming = guanlixingming;
|
||||||
|
}
|
||||||
|
// 获取:管理姓名
|
||||||
|
|
||||||
|
public String getGuanlixingming() {
|
||||||
|
return guanlixingming;
|
||||||
|
}
|
||||||
|
//设置:是否支付
|
||||||
|
|
||||||
|
public void setIspay(String ispay) {
|
||||||
|
this.ispay = ispay;
|
||||||
|
}
|
||||||
|
//获取:是否支付
|
||||||
|
|
||||||
|
public String getIspay() {
|
||||||
|
return ispay;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,192 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 员工管理
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("yuangongguanli")
|
||||||
|
public class YuangongguanliEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public YuangongguanliEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public YuangongguanliEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 管理工号
|
||||||
|
|
||||||
|
|
||||||
|
private String guanligonghao;
|
||||||
|
|
||||||
|
// 密码
|
||||||
|
|
||||||
|
|
||||||
|
private String mima;
|
||||||
|
|
||||||
|
// 管理姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String guanlixingming;
|
||||||
|
|
||||||
|
// 性别
|
||||||
|
|
||||||
|
|
||||||
|
private String xingbie;
|
||||||
|
|
||||||
|
// 职位
|
||||||
|
|
||||||
|
|
||||||
|
private String zhiwei;
|
||||||
|
|
||||||
|
// 手机
|
||||||
|
|
||||||
|
|
||||||
|
private String shouji;
|
||||||
|
|
||||||
|
//邮箱
|
||||||
|
|
||||||
|
|
||||||
|
private String youxiang;
|
||||||
|
|
||||||
|
// 身份证
|
||||||
|
|
||||||
|
|
||||||
|
private String shenfenzheng;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:管理工号
|
||||||
|
|
||||||
|
public void setGuanligonghao(String guanligonghao) {
|
||||||
|
this.guanligonghao = guanligonghao;
|
||||||
|
}
|
||||||
|
// 获取:管理工号
|
||||||
|
|
||||||
|
public String getGuanligonghao() {
|
||||||
|
return guanligonghao;
|
||||||
|
}
|
||||||
|
// 设置:密码
|
||||||
|
|
||||||
|
public void setMima(String mima) {
|
||||||
|
this.mima = mima;
|
||||||
|
}
|
||||||
|
//获取:密码
|
||||||
|
|
||||||
|
public String getMima() {
|
||||||
|
return mima;
|
||||||
|
}
|
||||||
|
// 设置:管理姓名
|
||||||
|
|
||||||
|
public void setGuanlixingming(String guanlixingming) {
|
||||||
|
this.guanlixingming = guanlixingming;
|
||||||
|
}
|
||||||
|
//获取:管理姓名
|
||||||
|
|
||||||
|
public String getGuanlixingming() {
|
||||||
|
return guanlixingming;
|
||||||
|
}
|
||||||
|
// 设置:性别
|
||||||
|
|
||||||
|
public void setXingbie(String xingbie) {
|
||||||
|
this.xingbie = xingbie;
|
||||||
|
}
|
||||||
|
//获取:性别
|
||||||
|
|
||||||
|
public String getXingbie() {
|
||||||
|
return xingbie;
|
||||||
|
}
|
||||||
|
// 设置:职位
|
||||||
|
|
||||||
|
public void setZhiwei(String zhiwei) {
|
||||||
|
this.zhiwei = zhiwei;
|
||||||
|
}
|
||||||
|
//获取:职位
|
||||||
|
|
||||||
|
public String getZhiwei() {
|
||||||
|
return zhiwei;
|
||||||
|
}
|
||||||
|
//设置:手机
|
||||||
|
|
||||||
|
public void setShouji(String shouji) {
|
||||||
|
this.shouji = shouji;
|
||||||
|
}
|
||||||
|
// 获取:手机
|
||||||
|
|
||||||
|
public String getShouji() {
|
||||||
|
return shouji;
|
||||||
|
}
|
||||||
|
// 设置:邮箱
|
||||||
|
|
||||||
|
public void setYouxiang(String youxiang) {
|
||||||
|
this.youxiang = youxiang;
|
||||||
|
}
|
||||||
|
//获取:邮箱
|
||||||
|
|
||||||
|
public String getYouxiang() {
|
||||||
|
return youxiang;
|
||||||
|
}
|
||||||
|
// 设置:身份证
|
||||||
|
|
||||||
|
public void setShenfenzheng(String shenfenzheng) {
|
||||||
|
this.shenfenzheng = shenfenzheng;
|
||||||
|
}
|
||||||
|
//获取:身份证
|
||||||
|
|
||||||
|
public String getShenfenzheng() {
|
||||||
|
return shenfenzheng;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,239 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 员工缴款
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
// @author
|
||||||
|
// @email
|
||||||
|
// @date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("yuangongjiaokuan")
|
||||||
|
public class YuangongjiaokuanEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public YuangongjiaokuanEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public YuangongjiaokuanEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
// 员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
// 缴费名称
|
||||||
|
|
||||||
|
|
||||||
|
private String jiaofeimingcheng;
|
||||||
|
|
||||||
|
// 缴款金额
|
||||||
|
|
||||||
|
|
||||||
|
private Integer jiaokuanjine;
|
||||||
|
|
||||||
|
// 缴款日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date jiaokuanriqi;
|
||||||
|
|
||||||
|
//备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 管理工号
|
||||||
|
|
||||||
|
|
||||||
|
private String guanligonghao;
|
||||||
|
|
||||||
|
// 管理姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String guanlixingming;
|
||||||
|
|
||||||
|
// 是否审核
|
||||||
|
|
||||||
|
|
||||||
|
private String sfsh;
|
||||||
|
|
||||||
|
// 审核回复
|
||||||
|
|
||||||
|
|
||||||
|
private String shhf;
|
||||||
|
|
||||||
|
//是否支付
|
||||||
|
|
||||||
|
|
||||||
|
private String ispay;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
// 获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
//设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
//获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
// 设置:缴费名称
|
||||||
|
|
||||||
|
public void setJiaofeimingcheng(String jiaofeimingcheng) {
|
||||||
|
this.jiaofeimingcheng = jiaofeimingcheng;
|
||||||
|
}
|
||||||
|
//获取:缴费名称
|
||||||
|
|
||||||
|
public String getJiaofeimingcheng() {
|
||||||
|
return jiaofeimingcheng;
|
||||||
|
}
|
||||||
|
//设置:缴款金额
|
||||||
|
|
||||||
|
public void setJiaokuanjine(Integer jiaokuanjine) {
|
||||||
|
this.jiaokuanjine = jiaokuanjine;
|
||||||
|
}
|
||||||
|
// 获取:缴款金额
|
||||||
|
|
||||||
|
public Integer getJiaokuanjine() {
|
||||||
|
return jiaokuanjine;
|
||||||
|
}
|
||||||
|
// 设置:缴款日期
|
||||||
|
|
||||||
|
public void setJiaokuanriqi(Date jiaokuanriqi) {
|
||||||
|
this.jiaokuanriqi = jiaokuanriqi;
|
||||||
|
}
|
||||||
|
//获取:缴款日期
|
||||||
|
|
||||||
|
public Date getJiaokuanriqi() {
|
||||||
|
return jiaokuanriqi;
|
||||||
|
}
|
||||||
|
//设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
//获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
//设置:管理工号
|
||||||
|
|
||||||
|
public void setGuanligonghao(String guanligonghao) {
|
||||||
|
this.guanligonghao = guanligonghao;
|
||||||
|
}
|
||||||
|
//获取:管理工号
|
||||||
|
|
||||||
|
public String getGuanligonghao() {
|
||||||
|
return guanligonghao;
|
||||||
|
}
|
||||||
|
// 设置:管理姓名
|
||||||
|
|
||||||
|
public void setGuanlixingming(String guanlixingming) {
|
||||||
|
this.guanlixingming = guanlixingming;
|
||||||
|
}
|
||||||
|
//获取:管理姓名
|
||||||
|
|
||||||
|
public String getGuanlixingming() {
|
||||||
|
return guanlixingming;
|
||||||
|
}
|
||||||
|
// 设置:是否审核
|
||||||
|
|
||||||
|
public void setSfsh(String sfsh) {
|
||||||
|
this.sfsh = sfsh;
|
||||||
|
}
|
||||||
|
// 获取:是否审核
|
||||||
|
|
||||||
|
public String getSfsh() {
|
||||||
|
return sfsh;
|
||||||
|
}
|
||||||
|
//设置:审核回复
|
||||||
|
|
||||||
|
public void setShhf(String shhf) {
|
||||||
|
this.shhf = shhf;
|
||||||
|
}
|
||||||
|
//获取:审核回复
|
||||||
|
|
||||||
|
public String getShhf() {
|
||||||
|
return shhf;
|
||||||
|
}
|
||||||
|
//设置:是否支付
|
||||||
|
|
||||||
|
public void setIspay(String ispay) {
|
||||||
|
this.ispay = ispay;
|
||||||
|
}
|
||||||
|
// 获取:是否支付
|
||||||
|
|
||||||
|
public String getIspay() {
|
||||||
|
return ispay;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,254 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
//员工薪酬
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
//@author
|
||||||
|
//@email
|
||||||
|
//@date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("yuangongxinchou")
|
||||||
|
public class YuangongxinchouEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public YuangongxinchouEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public YuangongxinchouEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 员工工号
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangonggonghao;
|
||||||
|
|
||||||
|
//员工姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String yuangongxingming;
|
||||||
|
|
||||||
|
// 基本工资
|
||||||
|
|
||||||
|
|
||||||
|
private Integer jibengongzi;
|
||||||
|
|
||||||
|
// 全勤奖励
|
||||||
|
|
||||||
|
|
||||||
|
private Integer quanqinjiangli;
|
||||||
|
|
||||||
|
// 绩效奖励
|
||||||
|
|
||||||
|
|
||||||
|
private Integer jixiaojiangli;
|
||||||
|
|
||||||
|
// 社保补助
|
||||||
|
|
||||||
|
|
||||||
|
private Integer shebaobuzhu;
|
||||||
|
|
||||||
|
// 扣款金额
|
||||||
|
|
||||||
|
|
||||||
|
private Integer koukuanjine;
|
||||||
|
|
||||||
|
//扣款事项
|
||||||
|
|
||||||
|
|
||||||
|
private String koukuanshixiang;
|
||||||
|
|
||||||
|
// 实发工资
|
||||||
|
|
||||||
|
|
||||||
|
private String shifagongzi;
|
||||||
|
|
||||||
|
// 日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date riqi;
|
||||||
|
|
||||||
|
// 管理工号
|
||||||
|
|
||||||
|
|
||||||
|
private String guanligonghao;
|
||||||
|
|
||||||
|
// 管理姓名
|
||||||
|
|
||||||
|
|
||||||
|
private String guanlixingming;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:员工工号
|
||||||
|
|
||||||
|
public void setYuangonggonghao(String yuangonggonghao) {
|
||||||
|
this.yuangonggonghao = yuangonggonghao;
|
||||||
|
}
|
||||||
|
//获取:员工工号
|
||||||
|
|
||||||
|
public String getYuangonggonghao() {
|
||||||
|
return yuangonggonghao;
|
||||||
|
}
|
||||||
|
// 设置:员工姓名
|
||||||
|
|
||||||
|
public void setYuangongxingming(String yuangongxingming) {
|
||||||
|
this.yuangongxingming = yuangongxingming;
|
||||||
|
}
|
||||||
|
// 获取:员工姓名
|
||||||
|
|
||||||
|
public String getYuangongxingming() {
|
||||||
|
return yuangongxingming;
|
||||||
|
}
|
||||||
|
// 设置:基本工资
|
||||||
|
|
||||||
|
public void setJibengongzi(Integer jibengongzi) {
|
||||||
|
this.jibengongzi = jibengongzi;
|
||||||
|
}
|
||||||
|
// 获取:基本工资
|
||||||
|
|
||||||
|
public Integer getJibengongzi() {
|
||||||
|
return jibengongzi;
|
||||||
|
}
|
||||||
|
// 设置:全勤奖励
|
||||||
|
|
||||||
|
public void setQuanqinjiangli(Integer quanqinjiangli) {
|
||||||
|
this.quanqinjiangli = quanqinjiangli;
|
||||||
|
}
|
||||||
|
//获取:全勤奖励
|
||||||
|
|
||||||
|
public Integer getQuanqinjiangli() {
|
||||||
|
return quanqinjiangli;
|
||||||
|
}
|
||||||
|
// 设置:绩效奖励
|
||||||
|
|
||||||
|
public void setJixiaojiangli(Integer jixiaojiangli) {
|
||||||
|
this.jixiaojiangli = jixiaojiangli;
|
||||||
|
}
|
||||||
|
//获取:绩效奖励
|
||||||
|
|
||||||
|
public Integer getJixiaojiangli() {
|
||||||
|
return jixiaojiangli;
|
||||||
|
}
|
||||||
|
// 设置:社保补助
|
||||||
|
|
||||||
|
public void setShebaobuzhu(Integer shebaobuzhu) {
|
||||||
|
this.shebaobuzhu = shebaobuzhu;
|
||||||
|
}
|
||||||
|
// 获取:社保补助
|
||||||
|
|
||||||
|
public Integer getShebaobuzhu() {
|
||||||
|
return shebaobuzhu;
|
||||||
|
}
|
||||||
|
//设置:扣款金额
|
||||||
|
|
||||||
|
public void setKoukuanjine(Integer koukuanjine) {
|
||||||
|
this.koukuanjine = koukuanjine;
|
||||||
|
}
|
||||||
|
// 获取:扣款金额
|
||||||
|
|
||||||
|
public Integer getKoukuanjine() {
|
||||||
|
return koukuanjine;
|
||||||
|
}
|
||||||
|
//设置:扣款事项
|
||||||
|
|
||||||
|
public void setKoukuanshixiang(String koukuanshixiang) {
|
||||||
|
this.koukuanshixiang = koukuanshixiang;
|
||||||
|
}
|
||||||
|
// 获取:扣款事项
|
||||||
|
|
||||||
|
public String getKoukuanshixiang() {
|
||||||
|
return koukuanshixiang;
|
||||||
|
}
|
||||||
|
// 设置:实发工资
|
||||||
|
|
||||||
|
public void setShifagongzi(String shifagongzi) {
|
||||||
|
this.shifagongzi = shifagongzi;
|
||||||
|
}
|
||||||
|
// 获取:实发工资
|
||||||
|
|
||||||
|
public String getShifagongzi() {
|
||||||
|
return shifagongzi;
|
||||||
|
}
|
||||||
|
//设置:日期
|
||||||
|
|
||||||
|
public void setRiqi(Date riqi) {
|
||||||
|
this.riqi = riqi;
|
||||||
|
}
|
||||||
|
// 获取:日期
|
||||||
|
|
||||||
|
public Date getRiqi() {
|
||||||
|
return riqi;
|
||||||
|
}
|
||||||
|
//设置:管理工号
|
||||||
|
|
||||||
|
public void setGuanligonghao(String guanligonghao) {
|
||||||
|
this.guanligonghao = guanligonghao;
|
||||||
|
}
|
||||||
|
// 获取:管理工号
|
||||||
|
|
||||||
|
public String getGuanligonghao() {
|
||||||
|
return guanligonghao;
|
||||||
|
}
|
||||||
|
// 设置:管理姓名
|
||||||
|
|
||||||
|
public void setGuanlixingming(String guanlixingming) {
|
||||||
|
this.guanlixingming = guanlixingming;
|
||||||
|
}
|
||||||
|
//获取:管理姓名
|
||||||
|
|
||||||
|
public String getGuanlixingming() {
|
||||||
|
return guanlixingming;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,163 @@
|
|||||||
|
package com.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import org.apache.commons.beanutils.BeanUtils;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableField;
|
||||||
|
import com.baomidou.mybatisplus.enums.FieldFill;
|
||||||
|
import com.baomidou.mybatisplus.enums.IdType;
|
||||||
|
|
||||||
|
|
||||||
|
// 支票信息
|
||||||
|
// 数据库通用操作实体类(普通增删改查)
|
||||||
|
//@author
|
||||||
|
// @email
|
||||||
|
//@date 2021-04-24 15:19:31
|
||||||
|
|
||||||
|
@TableName("zhipiaoxinxi")
|
||||||
|
public class ZhipiaoxinxiEntity<T> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
||||||
|
public ZhipiaoxinxiEntity() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public ZhipiaoxinxiEntity(T t) {
|
||||||
|
try {
|
||||||
|
BeanUtils.copyProperties(this, t);
|
||||||
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 主键id
|
||||||
|
|
||||||
|
@TableId
|
||||||
|
private Long id;
|
||||||
|
// 支票号
|
||||||
|
|
||||||
|
|
||||||
|
private String zhipiaohao;
|
||||||
|
|
||||||
|
// 收款单位
|
||||||
|
|
||||||
|
private String shoukuandanwei;
|
||||||
|
|
||||||
|
// 金额
|
||||||
|
|
||||||
|
|
||||||
|
private Integer jine;
|
||||||
|
|
||||||
|
// 用途
|
||||||
|
|
||||||
|
|
||||||
|
private String yongtu;
|
||||||
|
|
||||||
|
//备注
|
||||||
|
|
||||||
|
|
||||||
|
private String beizhu;
|
||||||
|
|
||||||
|
// 开票日期
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date kaipiaoriqi;
|
||||||
|
|
||||||
|
|
||||||
|
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat
|
||||||
|
private Date addtime;
|
||||||
|
|
||||||
|
public Date getAddtime() {
|
||||||
|
return addtime;
|
||||||
|
}
|
||||||
|
public void setAddtime(Date addtime) {
|
||||||
|
this.addtime = addtime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Long id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
// 设置:支票号
|
||||||
|
|
||||||
|
public void setZhipiaohao(String zhipiaohao) {
|
||||||
|
this.zhipiaohao = zhipiaohao;
|
||||||
|
}
|
||||||
|
// 获取:支票号
|
||||||
|
|
||||||
|
public String getZhipiaohao() {
|
||||||
|
return zhipiaohao;
|
||||||
|
}
|
||||||
|
// 设置:收款单位
|
||||||
|
|
||||||
|
public void setShoukuandanwei(String shoukuandanwei) {
|
||||||
|
this.shoukuandanwei = shoukuandanwei;
|
||||||
|
}
|
||||||
|
//获取:收款单位
|
||||||
|
|
||||||
|
public String getShoukuandanwei() {
|
||||||
|
return shoukuandanwei;
|
||||||
|
}
|
||||||
|
//设置:金额
|
||||||
|
|
||||||
|
public void setJine(Integer jine) {
|
||||||
|
this.jine = jine;
|
||||||
|
}
|
||||||
|
// 获取:金额
|
||||||
|
|
||||||
|
public Integer getJine() {
|
||||||
|
return jine;
|
||||||
|
}
|
||||||
|
//设置:用途
|
||||||
|
|
||||||
|
public void setYongtu(String yongtu) {
|
||||||
|
this.yongtu = yongtu;
|
||||||
|
}
|
||||||
|
//获取:用途
|
||||||
|
|
||||||
|
public String getYongtu() {
|
||||||
|
return yongtu;
|
||||||
|
}
|
||||||
|
//设置:备注
|
||||||
|
|
||||||
|
public void setBeizhu(String beizhu) {
|
||||||
|
this.beizhu = beizhu;
|
||||||
|
}
|
||||||
|
//获取:备注
|
||||||
|
|
||||||
|
public String getBeizhu() {
|
||||||
|
return beizhu;
|
||||||
|
}
|
||||||
|
//设置:开票日期
|
||||||
|
|
||||||
|
public void setKaipiaoriqi(Date kaipiaoriqi) {
|
||||||
|
this.kaipiaoriqi = kaipiaoriqi;
|
||||||
|
}
|
||||||
|
//获取:开票日期
|
||||||
|
|
||||||
|
public Date getKaipiaoriqi() {
|
||||||
|
return kaipiaoriqi;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue