Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ajb-backend-car
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
ajb-backend-car
Commits
d35e0281
Commit
d35e0281
authored
Aug 07, 2018
by
Simon Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
铭感字段加密
parent
f830c9fe
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
1599 additions
and
75 deletions
+1599
-75
ajb-car-api/.classpath
+1
-1
ajb-car-api/.factorypath
+63
-58
ajb-car-api/src/main/java/com/ajb/car/DataController.java
+23
-0
ajb-car-api/src/main/java/com/ajb/car/UserdataController.java
+82
-0
ajb-car-api/src/main/java/com/ajb/car/quotation/QuotationController.java
+30
-0
ajb-car-api/src/main/java/com/ajb/car/user/UserdataWebService.java
+16
-0
ajb-car-api/src/main/java/com/ajb/car/user/impl/UserdataWebServiceImpl.java
+89
-0
ajb-car-api/src/main/resources/persistence.properties
+2
-0
ajb-car-entity/.classpath
+8
-1
ajb-car-entity/.project
+3
-3
ajb-car-entity/.settings/org.eclipse.wst.validation.prefs
+2
-0
ajb-car-entity/src/main/java/com/ajb/car/entity/meta/Userdata.java
+80
-0
ajb-car-jpa/.classpath
+13
-2
ajb-car-jpa/.factorypath
+100
-0
ajb-car-jpa/.settings/org.eclipse.core.resources.prefs
+1
-0
ajb-car-jpa/.settings/org.eclipse.jdt.apt.core.prefs
+2
-0
ajb-car-jpa/.settings/org.eclipse.jdt.core.prefs
+4
-3
ajb-car-jpa/.settings/org.eclipse.wst.common.component
+1
-0
ajb-car-jpa/.settings/org.eclipse.wst.common.project.facet.core.xml
+1
-1
ajb-car-jpa/.settings/org.eclipse.wst.validation.prefs
+2
-0
ajb-car-jpa/.settings/org.testng.eclipse.maven.prefs
+2
-0
ajb-car-jpa/src/main/java/com/ajb/car/metadata/repositories/UserdataRepository.java
+23
-0
ajb-car-jpa/src/main/java/com/ajb/car/metadata/service/UserdataService.java
+20
-0
ajb-car-jpa/src/main/java/com/ajb/car/metadata/service/impl/UserdataServiceImpl.java
+55
-0
ajb-car-utils/.classpath
+7
-1
ajb-car-utils/.project
+8
-2
ajb-car-utils/.settings/org.eclipse.core.resources.prefs
+1
-0
ajb-car-utils/.settings/org.eclipse.wst.validation.prefs
+2
-0
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/DESUtils.java
+90
-0
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/JPACryptoConverter.java
+64
-0
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/JPASensitiveSetting.java
+13
-0
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/MaskUtils.java
+51
-0
ajb-car-vo/.classpath
+1
-1
ajb-car-vo/.project
+2
-2
ajb-car-vo/.settings/org.eclipse.core.resources.prefs
+1
-0
ajb-car-vo/.settings/org.eclipse.wst.validation.prefs
+2
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/common/DESCommon.java
+30
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/quotation/AgPoQuotationRequestVO.java
+499
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/quotation/AgPoQuotationResponseVO.java
+39
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataDeleteRequestVO.java
+56
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataRequestVO.java
+71
-0
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataResponseVO.java
+39
-0
No files found.
ajb-car-api/.classpath
View file @
d35e0281
...
...
@@ -23,7 +23,7 @@
<attribute
name=
"org.eclipse.jst.component.dependency"
value=
"/WEB-INF/lib"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER
/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8
"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
...
...
ajb-car-api/.factorypath
View file @
d35e0281
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/fastjson/1.2.47/fastjson-1.2.47.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-core/3.7.1/aliyun-java-sdk-core-3.7.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/json/json/20140107/json-20140107.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-dysmsapi/1.1.0/aliyun-java-sdk-dysmsapi-1.1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/druid/1.1.6/druid-1.1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ajb-car/ajb-common-utils/0.0.1-SNAPSHOT/ajb-common-utils-0.0.1-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-web/1.5.3.RELEASE/spring-boot-starter-web-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter/1.5.3.RELEASE/spring-boot-starter-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-logging/1.5.3.RELEASE/spring-boot-starter-logging-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-tomcat/1.5.3.RELEASE/spring-boot-starter-tomcat-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-core/8.5.14/tomcat-embed-core-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-el/8.5.14/tomcat-embed-el-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.14/tomcat-embed-websocket-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.8.8/jackson-databind-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.8.8/jackson-core-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/4.3.8.RELEASE/spring-web-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/4.3.8.RELEASE/spring-webmvc-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okhttp3/okhttp/3.6.0/okhttp-3.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okio/okio/1.11.0/okio-1.11.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.10/commons-codec-1.10.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpmime/4.5.3/httpmime-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/ehcache/ehcache/2.10.4/ehcache-2.10.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml/3.9/poi-ooxml-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi/3.9/poi-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml-schemas/3.9/poi-ooxml-schemas-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/druid/1.1.6/druid-1.1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-data-jpa/1.5.3.RELEASE/spring-boot-starter-data-jpa-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-aop/1.5.3.RELEASE/spring-boot-starter-aop-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar" enabled="true" runInBatchMode="false"/>
...
...
@@ -25,7 +58,6 @@
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/tomcat-juli/8.5.14/tomcat-juli-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jdbc/4.3.8.RELEASE/spring-jdbc-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/antlr/antlr/2.7.7/antlr-2.7.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
...
...
@@ -39,41 +71,30 @@
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aspects/4.3.8.RELEASE/spring-aspects-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-configuration-processor/1.5.3.RELEASE/spring-boot-configuration-processor-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okhttp3/okhttp/3.6.0/okhttp-3.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okio/okio/1.11.0/okio-1.11.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpmime/4.5.3/httpmime-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/ehcache/ehcache/2.10.4/ehcache-2.10.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml/3.9/poi-ooxml-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi/3.9/poi-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml-schemas/3.9/poi-ooxml-schemas-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-tomcat/1.5.3.RELEASE/spring-boot-starter-tomcat-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-core/8.5.14/tomcat-embed-core-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-el/8.5.14/tomcat-embed-el-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.14/tomcat-embed-websocket-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.8.8/jackson-databind-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.8.8/jackson-core-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/4.3.8.RELEASE/spring-web-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/4.3.8.RELEASE/spring-webmvc-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.10/commons-codec-1.10.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-test/1.5.3.RELEASE/spring-boot-starter-test-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-test/1.5.3.RELEASE/spring-boot-test-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-test-autoconfigure/1.5.3.RELEASE/spring-boot-test-autoconfigure-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/junit/junit/4.12/junit-4.12.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/objenesis/objenesis/2.1/objenesis-2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-test/4.3.8.RELEASE/spring-test-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/druid/1.0.31/druid-1.0.31.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/googlecode/log4jdbc/log4jdbc/1.2/log4jdbc-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/swetake/util/Qrcode/1.0/Qrcode-1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-core/3.2.3/aliyun-java-sdk-core-3.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-dysmsapi/3.2.3/aliyun-java-sdk-dysmsapi-3.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-dm/3.1.0/aliyun-java-sdk-dm-3.1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/sun/mail/javax.mail/1.5.6/javax.mail-1.5.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-devtools/1.5.3.RELEASE/spring-boot-devtools-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-jasper/8.5.14/tomcat-embed-jasper-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/eclipse/jdt/core/compiler/ecj/4.6.1/ecj-4.6.1.jar" enabled="true" runInBatchMode="false"/>
...
...
@@ -86,6 +107,7 @@
<factorypathentry kind="VARJAR" id="M2_REPO/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-digester/commons-digester/2.1/commons-digester-2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar" enabled="true" runInBatchMode="false"/>
...
...
@@ -110,22 +132,5 @@
<factorypathentry kind="VARJAR" id="M2_REPO/org/quartz-scheduler/quartz/2.2.1/quartz-2.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/mobile/spring-mobile-device/1.1.5.RELEASE/spring-mobile-device-1.1.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alipay/sdk/alipay-sdk-java/3.0.0/alipay-sdk-java-3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/binarywang/weixin-java-mp/3.0.0/weixin-java-mp-3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/binarywang/weixin-java-common/3.0.0/weixin-java-common-3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/thoughtworks/xstream/xstream/1.4.9/xstream-1.4.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/20.0/guava-20.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/binarywang/weixin-java-pay/3.0.0/weixin-java-pay-3.0.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/binarywang/qrcode-utils/1.1/qrcode-utils-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/zxing/core/3.2.1/core-3.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/bouncycastle/bcpkix-jdk15on/1.59/bcpkix-jdk15on-1.59.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/jsonwebtoken/jjwt/0.6.0/jjwt-0.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
</factorypath>
ajb-car-api/src/main/java/com/ajb/car/DataController.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.ajb.car.vo.zhima.user.UserdataRequestVO
;
@RestController
public
class
DataController
{
/**
* 批处理表中的一列,多列
* @param userdataRequestVO
* @return
* @throws Exception
*/
@RequestMapping
(
"/batch"
)
public
Object
query
(
@RequestBody
UserdataRequestVO
userdataRequestVO
)
throws
Exception
{
return
null
;
}
}
ajb-car-api/src/main/java/com/ajb/car/UserdataController.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.ajb.car.user.UserdataWebService
;
import
com.ajb.car.vo.common.DESCommon
;
import
com.ajb.car.vo.common.JsonResult
;
import
com.ajb.car.vo.zhima.user.UserdataRequestVO
;
import
com.ajb.car.vo.zhima.user.UserdataResponseVO
;
import
com.ajb.common.utils.encryption.DESUtils
;
@RestController
@RequestMapping
(
"/userdata"
)
public
class
UserdataController
{
@Autowired
private
UserdataWebService
userdataWebService
;
@RequestMapping
(
"/userdataQuery"
)
public
Object
query
(
@RequestBody
UserdataRequestVO
userdataRequestVO
)
throws
Exception
{
JsonResult
result
=
new
JsonResult
();
UserdataResponseVO
userdataResponseVO
=
userdataWebService
.
userdataQuery
(
userdataRequestVO
);
result
.
setData
(
userdataResponseVO
);
return
result
;
}
@RequestMapping
(
"/userdataSave"
)
public
Object
save
(
@RequestBody
UserdataRequestVO
userdataRequestVO
)
throws
Exception
{
JsonResult
result
=
new
JsonResult
();
UserdataResponseVO
userdataResponseVO
=
userdataWebService
.
userdataSave
(
userdataRequestVO
);
result
.
setData
(
userdataResponseVO
);
return
result
;
}
@RequestMapping
(
"/userdataUpdate"
)
public
Object
update
(
@RequestBody
UserdataRequestVO
userdataRequestVO
)
throws
Exception
{
JsonResult
result
=
new
JsonResult
();
UserdataResponseVO
userdataResponseVO
=
userdataWebService
.
userdataUpdate
(
userdataRequestVO
);
result
.
setData
(
userdataResponseVO
);
return
result
;
}
@RequestMapping
(
"/userdataEncrypt"
)
public
Object
encrypt
(
@RequestBody
DESCommon
requestVO
)
throws
Exception
{
JsonResult
result
=
new
JsonResult
();
DESUtils
des
;
String
resultString
=
""
;
try
{
des
=
new
DESUtils
(
"123456789"
,
"utf-8"
);
//des = new DESUtils(jpaSensitiveSetting.sensitivekey, "utf-8");
resultString
=
des
.
encode
(
requestVO
.
getContent
());
requestVO
.
setEncrypted
(
resultString
);
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
result
.
setData
(
requestVO
);
return
result
;
}
@RequestMapping
(
"/userdataDecrypt"
)
public
Object
Decrypt
(
@RequestBody
DESCommon
requestVO
)
throws
Exception
{
JsonResult
result
=
new
JsonResult
();
DESUtils
des
;
String
content
=
""
;
try
{
des
=
new
DESUtils
(
"123456789"
,
"utf-8"
);
//des = new DESUtils(jpaSensitiveSetting.sensitivekey, "utf-8");
content
=
des
.
decode
(
requestVO
.
getEncrypted
());
requestVO
.
setContent
(
content
);;
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
result
.
setData
(
requestVO
);
return
result
;
}
}
\ No newline at end of file
ajb-car-api/src/main/java/com/ajb/car/quotation/QuotationController.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
quotation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.ui.Model
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.ajb.car.vo.quotation.AgPoQuotationRequestVO
;
import
com.ajb.common.utils.encryption.MaskUtils
;
@RestController
public
class
QuotationController
{
@Autowired
private
AgPoQuotationWebService
agPoQuotationWebService
;
@RequestMapping
(
value
=
"/quotations/{quotationId}"
,
method
=
RequestMethod
.
GET
)
public
AgPoQuotationRequestVO
queryAgPoQuotation
(
@PathVariable
String
quotationId
,
Model
model
)
throws
Exception
{
AgPoQuotationRequestVO
quotationResponse
=
agPoQuotationWebService
.
queryAgPoQuotation
(
Long
.
valueOf
(
quotationId
));
quotationResponse
.
setCustomerMobileMask
(
MaskUtils
.
maskCellphone
(
quotationResponse
.
getCustomerMobile
()));
model
.
addAttribute
(
"quotation"
,
quotationResponse
);
return
quotationResponse
;
}
}
\ No newline at end of file
ajb-car-api/src/main/java/com/ajb/car/user/UserdataWebService.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
user
;
import
com.ajb.car.vo.zhima.user.UserdataRequestVO
;
import
com.ajb.car.vo.zhima.user.UserdataResponseVO
;
public
interface
UserdataWebService
{
public
UserdataResponseVO
userdataSave
(
UserdataRequestVO
userdataRequestVO
)
throws
Exception
;
public
UserdataResponseVO
userdataUpdate
(
UserdataRequestVO
userdataRequestVO
);
public
UserdataResponseVO
userdataQuery
(
UserdataRequestVO
userdataRequestVO
);
//public boolean userdataDelete(UserdataDeleteRequestVO userdataDeleteRequestVO);
}
\ No newline at end of file
ajb-car-api/src/main/java/com/ajb/car/user/impl/UserdataWebServiceImpl.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
user
.
impl
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.ajb.car.entity.meta.Userdata
;
import
com.ajb.car.metadata.service.UserdataService
;
import
com.ajb.car.user.UserdataWebService
;
import
com.ajb.car.vo.common.CommonResult
;
import
com.ajb.car.vo.zhima.user.UserdataDeleteRequestVO
;
import
com.ajb.car.vo.zhima.user.UserdataRequestVO
;
import
com.ajb.car.vo.zhima.user.UserdataResponseVO
;
import
com.ajb.common.utils.encryption.MaskUtils
;
@Service
(
"userdataWebService"
)
public
class
UserdataWebServiceImpl
implements
UserdataWebService
{
@Autowired
private
UserdataService
userdataService
;
@Transactional
@Override
public
UserdataResponseVO
userdataSave
(
UserdataRequestVO
userdataRequestVO
)
throws
Exception
{
UserdataResponseVO
result
=
new
UserdataResponseVO
();
//TODO validate the user inputs
Userdata
tempEntity
=
new
Userdata
();
//TODO validate the user inputs
BeanUtils
.
copyProperties
(
userdataRequestVO
,
tempEntity
);
//data persistence
tempEntity
=
userdataService
.
save
(
tempEntity
);
//return success info
Boolean
success
=
true
;
String
message
=
"save success!"
;
BeanUtils
.
copyProperties
(
tempEntity
,
userdataRequestVO
);
result
.
setCommonResult
(
new
CommonResult
(
success
,
message
));
result
.
setRequestVO
(
userdataRequestVO
);
return
result
;
}
@Transactional
@Override
public
UserdataResponseVO
userdataUpdate
(
UserdataRequestVO
userdataRequestVO
)
{
// TODO Auto-generated method stub
Boolean
success
=
true
;
String
message
=
"save success!"
;
UserdataResponseVO
result
=
new
UserdataResponseVO
();
result
.
setCommonResult
(
new
CommonResult
(
success
,
message
));
return
result
;
}
@Transactional
@Override
public
UserdataResponseVO
userdataQuery
(
UserdataRequestVO
userdataRequestVO
)
{
// TODO Auto-generated method stub
Boolean
success
=
true
;
String
message
=
"save success!"
;
Userdata
tempEntity
=
new
Userdata
();
//TODO validate the user inputs
BeanUtils
.
copyProperties
(
userdataRequestVO
,
tempEntity
);
//data persistence
tempEntity
=
userdataService
.
findById
(
userdataRequestVO
.
getId
());
UserdataResponseVO
result
=
new
UserdataResponseVO
();
BeanUtils
.
copyProperties
(
tempEntity
,
userdataRequestVO
);
userdataRequestVO
.
setIdnumbermask
(
MaskUtils
.
maskIDCardNo
(
userdataRequestVO
.
getIdnumber
()));
userdataRequestVO
.
setTelephonemask
(
MaskUtils
.
maskCellphone
(
userdataRequestVO
.
getTelephone
()));
result
.
setRequestVO
(
userdataRequestVO
);
result
.
setCommonResult
(
new
CommonResult
(
success
,
message
));
return
result
;
}
}
\ No newline at end of file
ajb-car-api/src/main/resources/persistence.properties
0 → 100644
View file @
d35e0281
encryption.key
=
12345678
\ No newline at end of file
ajb-car-entity/.classpath
View file @
d35e0281
...
...
@@ -6,7 +6,7 @@
<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/jre1.8.0_121
"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
...
...
@@ -17,5 +17,12 @@
<attribute
name=
"org.eclipse.jst.component.nondependency"
value=
""
/>
</attributes>
</classpathentry>
<classpathentry
combineaccessrules=
"false"
kind=
"src"
path=
"/ajb-car-utils"
/>
<classpathentry
kind=
"src"
output=
"target/test-classes"
path=
"src/test/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
ajb-car-entity/.project
View file @
d35e0281
...
...
@@ -16,17 +16,17 @@
</arguments>
</buildCommand>
<buildCommand>
<name>
org.
eclipse.m2e.core.maven2B
uilder
</name>
<name>
org.
springframework.ide.eclipse.core.springb
uilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.
springframework.ide.eclipse.core.spring
builder
</name>
<name>
org.
eclipse.wst.validation.validation
builder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.
wst.validation.validationb
uilder
</name>
<name>
org.eclipse.
m2e.core.maven2B
uilder
</name>
<arguments>
</arguments>
</buildCommand>
...
...
ajb-car-entity/.settings/org.eclipse.wst.validation.prefs
0 → 100644
View file @
d35e0281
disabled=06target
eclipse.preferences.version=1
ajb-car-entity/src/main/java/com/ajb/car/entity/meta/Userdata.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
entity
.
meta
;
import
javax.persistence.Column
;
import
javax.persistence.Convert
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.GenerationType
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
@Entity
@Table
(
name
=
"userdata"
)
public
class
Userdata
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/** ?? 主键,???? ag_md_code_type.id */
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
@Column
(
name
=
"id"
)
private
Long
id
;
@Column
(
name
=
"username"
)
private
String
username
;
@Column
(
name
=
"pasword"
)
private
String
pasword
;
@Column
(
name
=
"encryptedpassword"
)
@Convert
(
converter
=
com
.
ajb
.
common
.
utils
.
encryption
.
JPACryptoConverter
.
class
)
private
String
encryptedpassword
;
@Column
(
name
=
"telephone"
)
@Convert
(
converter
=
com
.
ajb
.
common
.
utils
.
encryption
.
JPACryptoConverter
.
class
)
private
String
telephone
;
@Column
(
name
=
"idnumber"
)
@Convert
(
converter
=
com
.
ajb
.
common
.
utils
.
encryption
.
JPACryptoConverter
.
class
)
private
String
idnumber
;
public
String
getUsername
(){
return
this
.
username
;
}
public
void
setUsername
(
String
username
){
this
.
username
=
username
;
}
public
String
getPasword
(){
return
this
.
pasword
;
}
public
void
setPasword
(
String
pasword
){
this
.
pasword
=
pasword
;
}
public
String
getEncryptedpassword
(){
return
this
.
encryptedpassword
;
}
public
void
setEncryptedpassword
(
String
encryptedpassword
){
this
.
encryptedpassword
=
encryptedpassword
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getTelephone
()
{
return
telephone
;
}
public
void
setTelephone
(
String
telephone
)
{
this
.
telephone
=
telephone
;
}
public
String
getIdnumber
()
{
return
idnumber
;
}
public
void
setIdnumber
(
String
idnumber
)
{
this
.
idnumber
=
idnumber
;
}
}
\ No newline at end of file
ajb-car-jpa/.classpath
View file @
d35e0281
...
...
@@ -12,9 +12,20 @@
<attribute
name=
"org.eclipse.jst.component.nondependency"
value=
""
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"
con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6
"
>
<classpathentry
kind=
"
src"
output=
"target/test-classes"
path=
"src/test/java
"
>
<attributes>
<attribute
name=
"owner.project.facets"
value=
"java"
/>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
path=
".apt_generated"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
...
...
ajb-car-jpa/.factorypath
0 → 100644
View file @
d35e0281
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/fastjson/1.2.47/fastjson-1.2.47.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/druid/1.1.6/druid-1.1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-data-jpa/1.5.3.RELEASE/spring-boot-starter-data-jpa-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter/1.5.3.RELEASE/spring-boot-starter-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/1.5.3.RELEASE/spring-boot-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/1.5.3.RELEASE/spring-boot-autoconfigure-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-logging/1.5.3.RELEASE/spring-boot-starter-logging-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/log4j-over-slf4j/1.7.25/log4j-over-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/4.3.8.RELEASE/spring-core-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-aop/1.5.3.RELEASE/spring-boot-starter-aop-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/4.3.8.RELEASE/spring-aop-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-jdbc/1.5.3.RELEASE/spring-boot-starter-jdbc-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/tomcat-jdbc/8.5.14/tomcat-jdbc-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/tomcat-juli/8.5.14/tomcat-juli-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jdbc/4.3.8.RELEASE/spring-jdbc-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-core/5.0.12.Final/hibernate-core-5.0.12.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/logging/jboss-logging/3.3.1.Final/jboss-logging-3.3.1.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/antlr/antlr/2.7.7/antlr-2.7.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-entitymanager/5.0.12.Final/hibernate-entitymanager-5.0.12.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-jpa/1.11.3.RELEASE/spring-data-jpa-1.11.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/data/spring-data-commons/1.13.3.RELEASE/spring-data-commons-1.13.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-orm/4.3.8.RELEASE/spring-orm-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/4.3.8.RELEASE/spring-context-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/4.3.8.RELEASE/spring-expression-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-tx/4.3.8.RELEASE/spring-tx-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/4.3.8.RELEASE/spring-beans-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jcl-over-slf4j/1.7.25/jcl-over-slf4j-1.7.25.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aspects/4.3.8.RELEASE/spring-aspects-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.2.Final/hibernate-jpa-2.1-api-1.0.2.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-web/1.5.3.RELEASE/spring-boot-starter-web-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-tomcat/1.5.3.RELEASE/spring-boot-starter-tomcat-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-core/8.5.14/tomcat-embed-core-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-el/8.5.14/tomcat-embed-el-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.14/tomcat-embed-websocket-8.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-validator/5.3.5.Final/hibernate-validator-5.3.5.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/classmate/1.3.3/classmate-1.3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.8.8/jackson-databind-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.8.8/jackson-core-2.8.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/4.3.8.RELEASE/spring-web-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/4.3.8.RELEASE/spring-webmvc-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okhttp3/okhttp/3.6.0/okhttp-3.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/squareup/okio/okio/1.11.0/okio-1.11.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.10/commons-codec-1.10.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpmime/4.5.3/httpmime-4.5.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpcore/4.4.6/httpcore-4.4.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/ehcache/ehcache/2.10.4/ehcache-2.10.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml/3.9/poi-ooxml-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi/3.9/poi-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/poi/poi-ooxml-schemas/3.9/poi-ooxml-schemas-3.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-configuration-processor/1.5.3.RELEASE/spring-boot-configuration-processor-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-test/1.5.3.RELEASE/spring-boot-starter-test-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-test/1.5.3.RELEASE/spring-boot-test-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-test-autoconfigure/1.5.3.RELEASE/spring-boot-test-autoconfigure-1.5.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/junit/junit/4.12/junit-4.12.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/assertj/assertj-core/2.6.0/assertj-core-2.6.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/objenesis/objenesis/2.1/objenesis-2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/skyscreamer/jsonassert/1.4.0/jsonassert-1.4.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-test/4.3.8.RELEASE/spring-test-4.3.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/mysql/mysql-connector-java/5.1.41/mysql-connector-java-5.1.41.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/alibaba/druid/1.0.31/druid-1.0.31.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/googlecode/log4jdbc/log4jdbc/1.2/log4jdbc-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/swetake/util/Qrcode/1.0/Qrcode-1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-core/3.2.3/aliyun-java-sdk-core-3.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-dysmsapi/3.2.3/aliyun-java-sdk-dysmsapi-3.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/aliyun/aliyun-java-sdk-dm/3.1.0/aliyun-java-sdk-dm-3.1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/sun/mail/javax.mail/1.5.6/javax.mail-1.5.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
</factorypath>
ajb-car-jpa/.settings/org.eclipse.core.resources.prefs
View file @
d35e0281
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
encoding/pom.xml=UTF-8
ajb-car-jpa/.settings/org.eclipse.jdt.apt.core.prefs
0 → 100644
View file @
d35e0281
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
ajb-car-jpa/.settings/org.eclipse.jdt.core.prefs
View file @
d35e0281
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.
6
org.eclipse.jdt.core.compiler.compliance=1.
8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
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.source=1.6
org.eclipse.jdt.core.compiler.processAnnotations=enabled
org.eclipse.jdt.core.compiler.source=1.8
ajb-car-jpa/.settings/org.eclipse.wst.common.component
View file @
d35e0281
<?xml version="1.0" encoding="UTF-8"?>
<project-modules
id=
"moduleCoreId"
project-version=
"1.5.0"
>
<wb-module
deploy-name=
"ajb-car-jpa"
>
<wb-resource
deploy-path=
"/"
source-path=
"/src/main/java"
/>
<wb-resource
deploy-path=
"/"
source-path=
"/.apt_generated"
/>
</wb-module>
</project-modules>
ajb-car-jpa/.settings/org.eclipse.wst.common.project.facet.core.xml
View file @
d35e0281
...
...
@@ -2,5 +2,5 @@
<faceted-project>
<installed
facet=
"cloudfoundry.standalone.app"
version=
"1.0"
/>
<installed
facet=
"jst.utility"
version=
"1.0"
/>
<installed
facet=
"java"
version=
"1.
6
"
/>
<installed
facet=
"java"
version=
"1.
8
"
/>
</faceted-project>
ajb-car-jpa/.settings/org.eclipse.wst.validation.prefs
0 → 100644
View file @
d35e0281
disabled=06target
eclipse.preferences.version=1
ajb-car-jpa/.settings/org.testng.eclipse.maven.prefs
0 → 100644
View file @
d35e0281
eclipse.preferences.version=1
userprojectsettings=false
ajb-car-jpa/src/main/java/com/ajb/car/metadata/repositories/UserdataRepository.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
metadata
.
repositories
;
import
java.util.List
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.Query
;
import
org.springframework.stereotype.Repository
;
import
com.ajb.car.entity.meta.Userdata
;
@Repository
public
interface
UserdataRepository
extends
JpaRepository
<
Userdata
,
Long
>,
JpaSpecificationExecutor
<
Userdata
>
{
/***
* mock find 10
*/
@Query
(
value
=
"select * from ${context.tableName} t limit 10 "
,
nativeQuery
=
true
)
List
<
Userdata
>
findAll
();
}
\ No newline at end of file
ajb-car-jpa/src/main/java/com/ajb/car/metadata/service/UserdataService.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
metadata
.
service
;
import
java.util.List
;
import
org.springframework.data.domain.Sort
;
import
com.ajb.car.entity.meta.Userdata
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.Pageable
;
public
interface
UserdataService
{
Userdata
save
(
Userdata
userdata
);
Boolean
delete
(
Long
id
);
Userdata
update
(
Userdata
userdata
);
Userdata
findById
(
Long
id
);
Page
<
Userdata
>
findByObjPageable
(
Userdata
userdata
,
Pageable
pageable
);
List
<
Userdata
>
findByObjSortable
(
Userdata
userdata
,
Sort
sort
);
}
\ No newline at end of file
ajb-car-jpa/src/main/java/com/ajb/car/metadata/service/impl/UserdataServiceImpl.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
metadata
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.domain.Example
;
import
org.springframework.data.domain.ExampleMatcher
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.Pageable
;
import
org.springframework.data.domain.Sort
;
import
org.springframework.stereotype.Service
;
import
com.ajb.car.entity.meta.Userdata
;
import
com.ajb.car.metadata.repositories.UserdataRepository
;
import
com.ajb.car.metadata.service.UserdataService
;
@Service
(
"userdataService"
)
public
class
UserdataServiceImpl
implements
UserdataService
{
@Autowired
private
UserdataRepository
userdataRepo
;
public
Userdata
save
(
Userdata
obj
){
return
userdataRepo
.
save
(
obj
);
}
public
Boolean
delete
(
Long
id
)
{
try
{
userdataRepo
.
delete
(
id
);
}
catch
(
Exception
e
)
{
return
false
;
}
return
true
;
}
public
Userdata
update
(
Userdata
obj
)
{
return
userdataRepo
.
saveAndFlush
(
obj
);
}
public
Userdata
findById
(
Long
id
){
return
userdataRepo
.
findOne
(
id
);
}
public
Page
<
Userdata
>
findByObjPageable
(
Userdata
obj
,
Pageable
pageable
){
ExampleMatcher
matcher
=
ExampleMatcher
.
matching
();
Example
<
Userdata
>
ex
=
Example
.
of
(
obj
,
matcher
);
return
userdataRepo
.
findAll
(
ex
,
pageable
);
}
public
List
<
Userdata
>
findByObjSortable
(
Userdata
obj
,
Sort
sort
){
ExampleMatcher
matcher
=
ExampleMatcher
.
matching
();
Example
<
Userdata
>
ex
=
Example
.
of
(
obj
,
matcher
);
return
userdataRepo
.
findAll
(
ex
,
sort
);
}
}
\ No newline at end of file
ajb-car-utils/.classpath
View file @
d35e0281
...
...
@@ -6,7 +6,7 @@
<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/jre1.8.0_121
"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
...
...
@@ -17,5 +17,11 @@
<attribute
name=
"org.eclipse.jst.component.nondependency"
value=
""
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
output=
"target/test-classes"
path=
"src/test/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
ajb-car-utils/.project
View file @
d35e0281
...
...
@@ -16,17 +16,23 @@
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.
m2e.core.maven2B
uilder
</name>
<name>
org.eclipse.
wst.validation.validationb
uilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.wst.validation.validationbuilder
</name>
<name>
org.springframework.ide.eclipse.core.springbuilder
</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.jem.workbench.JavaEMFNature
</nature>
<nature>
org.eclipse.wst.common.modulecore.ModuleCoreNature
</nature>
<nature>
org.eclipse.jdt.core.javanature
</nature>
...
...
ajb-car-utils/.settings/org.eclipse.core.resources.prefs
View file @
d35e0281
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/java/com/ajb/common/utils/string/StringUtil.java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
ajb-car-utils/.settings/org.eclipse.wst.validation.prefs
0 → 100644
View file @
d35e0281
disabled=06target
eclipse.preferences.version=1
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/DESUtils.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
common
.
utils
.
encryption
;
import
java.security.Key
;
import
java.security.spec.AlgorithmParameterSpec
;
import
javax.crypto.Cipher
;
import
javax.crypto.SecretKeyFactory
;
import
javax.crypto.spec.DESKeySpec
;
import
javax.crypto.spec.IvParameterSpec
;
import
sun.misc.BASE64Decoder
;
import
sun.misc.BASE64Encoder
;
/**
* 加密/解密工具
* @author ershuai
* @date 2017年4月18日 上午11:27:36
*/
public
class
DESUtils
{
private
final
byte
[]
DESIV
=
new
byte
[]
{
0x12
,
0x34
,
0x56
,
120
,
(
byte
)
0x90
,
(
byte
)
0xab
,
(
byte
)
0xcd
,
(
byte
)
0xef
};
// 向量
private
AlgorithmParameterSpec
iv
=
null
;
// 加密算法的参数接口
private
Key
key
=
null
;
private
String
charset
=
"utf-8"
;
/**
* 初始化
* @param deSkey 密钥
* @return
* @throws Exception
*/
public
DESUtils
(
String
deSkey
,
String
charset
)
throws
Exception
{
if
(
charset
!=
null
&&
!
charset
.
isEmpty
())
{
this
.
charset
=
charset
;
}
DESKeySpec
keySpec
=
new
DESKeySpec
(
deSkey
.
getBytes
(
this
.
charset
));
// 设置密钥参数
iv
=
new
IvParameterSpec
(
DESIV
);
// 设置向量
SecretKeyFactory
keyFactory
=
SecretKeyFactory
.
getInstance
(
"DES"
);
// 获得密钥工厂
key
=
keyFactory
.
generateSecret
(
keySpec
);
// 得到密钥对象
}
/**
* 加密
* @author ershuai
* @date 2017年4月19日 上午9:40:53
* @param data
* @return
* @throws Exception
*/
public
String
encode
(
String
data
)
throws
Exception
{
Cipher
enCipher
=
Cipher
.
getInstance
(
"DES/CBC/PKCS5Padding"
);
// 得到加密对象Cipher
enCipher
.
init
(
Cipher
.
ENCRYPT_MODE
,
key
,
iv
);
// 设置工作模式为加密模式,给出密钥和向量
byte
[]
pasByte
=
enCipher
.
doFinal
(
data
.
getBytes
(
"utf-8"
));
BASE64Encoder
base64Encoder
=
new
BASE64Encoder
();
return
base64Encoder
.
encode
(
pasByte
);
}
/**
* 解密
* @author ershuai
* @date 2017年4月19日 上午9:41:01
* @param data
* @return
* @throws Exception
*/
public
String
decode
(
String
data
)
throws
Exception
{
Cipher
deCipher
=
Cipher
.
getInstance
(
"DES/CBC/PKCS5Padding"
);
deCipher
.
init
(
Cipher
.
DECRYPT_MODE
,
key
,
iv
);
BASE64Decoder
base64Decoder
=
new
BASE64Decoder
();
byte
[]
pasByte
=
deCipher
.
doFinal
(
base64Decoder
.
decodeBuffer
(
data
));
return
new
String
(
pasByte
,
"UTF-8"
);
}
public
static
void
main
(
String
[]
args
)
{
try
{
String
test
=
"ershuai"
;
String
key
=
"12345678"
;
// 自定义密钥
DESUtils
des
=
new
DESUtils
(
key
,
"utf-8"
);
System
.
out
.
println
(
"加密前的字符:"
+
test
);
System
.
out
.
println
(
"加密后的字符:"
+
des
.
encode
(
test
));
System
.
out
.
println
(
"解密后的字符:"
+
des
.
decode
(
des
.
encode
(
test
)));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/JPACryptoConverter.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
common
.
utils
.
encryption
;
import
java.util.Properties
;
import
javax.persistence.AttributeConverter
;
import
javax.persistence.Converter
;
import
org.apache.commons.lang3.StringUtils
;
@Converter
public
class
JPACryptoConverter
implements
AttributeConverter
<
String
,
String
>
{
private
static
final
String
secret_property_key
=
"encryption.key"
;
private
static
final
Properties
properties
=
new
Properties
();
private
static
String
sensitivekey
=
null
;
static
{
try
{
properties
.
load
(
JPACryptoConverter
.
class
.
getClassLoader
()
.
getResourceAsStream
(
"persistence.properties"
));
}
catch
(
Exception
e
)
{
properties
.
put
(
secret_property_key
,
"12345678"
);
}
sensitivekey
=
(
String
)
properties
.
get
(
secret_property_key
);
}
@Override
public
String
convertToDatabaseColumn
(
String
sensitive
)
{
DESUtils
des
;
String
result
=
""
;
try
{
des
=
new
DESUtils
(
sensitivekey
,
"utf-8"
);
if
(
StringUtils
.
isNotEmpty
(
sensitive
)
&&
StringUtils
.
isNoneBlank
(
sensitive
))
{
result
=
des
.
encode
(
sensitive
);
}
return
result
;
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
return
result
;
}
@Override
public
String
convertToEntityAttribute
(
String
sensitive
)
{
DESUtils
des
;
String
result
=
""
;
try
{
des
=
new
DESUtils
(
sensitivekey
,
"utf-8"
);
if
(
StringUtils
.
isNotEmpty
(
sensitive
)
&&
StringUtils
.
isNoneBlank
(
sensitive
))
{
result
=
des
.
decode
(
sensitive
);
}
return
result
;
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
return
result
;
}
}
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/JPASensitiveSetting.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
common
.
utils
.
encryption
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
/**
* jwt安全验证设置 head tag,seal封条,过期时间,发行,bypass
* @author Simon Cheng
*/
@Service
public
class
JPASensitiveSetting
{
@Value
(
"${jpa.sensitivekey}"
)
public
String
sensitivekey
;
}
ajb-car-utils/src/main/java/com/ajb/common/utils/encryption/MaskUtils.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
common
.
utils
.
encryption
;
import
org.apache.commons.lang3.StringUtils
;
/**
*
*/
public
class
MaskUtils
{
public
static
String
maskCellphone
(
String
cellphoneNo
)
{
if
((
cellphoneNo
==
null
)
||
(
cellphoneNo
.
trim
().
length
()
!=
11
))
{
return
cellphoneNo
;
}
return
cellphoneNo
.
substring
(
0
,
3
)
+
"****"
+
cellphoneNo
.
substring
(
cellphoneNo
.
length
()
-
4
);
}
public
static
String
maskEmail
(
String
email
)
{
if
(
StringUtils
.
isBlank
(
email
))
{
return
""
;
}
int
index
=
StringUtils
.
indexOf
(
email
,
"@"
);
if
(
index
<=
1
)
return
email
;
else
return
StringUtils
.
rightPad
(
StringUtils
.
left
(
email
,
1
),
index
,
"*"
)
.
concat
(
StringUtils
.
mid
(
email
,
index
,
StringUtils
.
length
(
email
)));
}
private
static
String
maskCardNo
(
String
cardNo
)
{
if
((
cardNo
==
null
)
||
(
cardNo
.
trim
().
length
()
<=
8
))
{
return
cardNo
;
}
cardNo
=
cardNo
.
trim
();
int
length
=
cardNo
.
length
();
String
firstFourNo
=
cardNo
.
substring
(
0
,
4
);
String
lastFourNo
=
cardNo
.
substring
(
length
-
4
);
String
mask
=
""
;
for
(
int
i
=
0
;
i
<
length
-
8
;
i
++)
{
mask
=
mask
+
"*"
;
}
return
firstFourNo
+
mask
+
lastFourNo
;
}
public
static
String
maskIDCardNo
(
String
idCardNo
)
{
return
maskCardNo
(
idCardNo
);
}
public
static
String
maskBankCardNo
(
String
bankCardNo
)
{
return
maskCardNo
(
bankCardNo
);
}
}
ajb-car-vo/.classpath
View file @
d35e0281
...
...
@@ -6,7 +6,7 @@
<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/
jre1.8.0_121
"
>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/
JavaSE-1.8
"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
...
...
ajb-car-vo/.project
View file @
d35e0281
...
...
@@ -16,12 +16,12 @@
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.
m2e.core.maven2B
uilder
</name>
<name>
org.eclipse.
wst.validation.validationb
uilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.
wst.validation.validationb
uilder
</name>
<name>
org.eclipse.
m2e.core.maven2B
uilder
</name>
<arguments>
</arguments>
</buildCommand>
...
...
ajb-car-vo/.settings/org.eclipse.core.resources.prefs
View file @
d35e0281
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/java/com/ajb/car/vo/common/JsonResult.java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
ajb-car-vo/.settings/org.eclipse.wst.validation.prefs
0 → 100644
View file @
d35e0281
disabled=06target
eclipse.preferences.version=1
ajb-car-vo/src/main/java/com/ajb/car/vo/common/DESCommon.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
common
;
import
java.io.Serializable
;
public
class
DESCommon
implements
Serializable
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
private
String
content
;
private
String
encrypted
;
public
String
getContent
()
{
return
content
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
String
getEncrypted
()
{
return
encrypted
;
}
public
void
setEncrypted
(
String
encrypt
)
{
encrypted
=
encrypt
;
}
}
ajb-car-vo/src/main/java/com/ajb/car/vo/quotation/AgPoQuotationRequestVO.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
quotation
;
import
java.util.Date
;
import
java.math.BigDecimal
;
/**
报价单表
*/
public
class
AgPoQuotationRequestVO
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
Long
id
;
// 报价单号
private
String
quoteNo
;
// 报价单
private
Date
quoteVersion
;
// 报价车辆id, FK ag_po_quotation_vehicle.id
private
Long
quoteVehicleId
;
// 1:YES=新保, 2:No=续保
private
Integer
isRenewal
;
// 0:单商业,1:单交强,2:关联出单
private
Integer
quoteType
;
// 0=open临时报价 1=confirm确认报价 2=completed保险公司确认 3=cancelled 4=overdue 9=error
private
Integer
quoteStatus
;
// I=Insurer V=Vendor O=Other
private
String
quoteProviderType
;
// FK ag_acl_insurer.id or ag_acl_vendor.id
private
Long
quoteProviderId
;
// 请求报价客户id
private
Long
customerId
;
// 车牌号
private
String
plateNo
;
// 客户手机
private
String
customerMobile
;
private
String
customerMobileMask
;
// 客户名称
private
String
customerName
;
// 币种
private
String
currency
;
// 总保费
private
BigDecimal
totalPremium
;
// 总折扣金额
private
BigDecimal
totalDiscount
;
// 总佣金
private
BigDecimal
totalCharge
;
// 车船税
private
BigDecimal
vehicleTax
;
// 交强险状态0 无报价1 正常报价2 无法报价
private
Integer
compulsoryStatus
;
// 交强险报价信息说明
private
String
compulsoryMessage
;
// 交强险保费
private
BigDecimal
compulsoryPremium
;
// 交强险折扣金额
private
BigDecimal
compulsoryDiscount
;
// 交强险期开始日期
private
Date
compulsoryStart
;
// 交强险期截止日期
private
Date
compulsoryEnd
;
// 交强险佣金
private
BigDecimal
compulsoryCharge
;
// 商业险状态0 无报价1 正常报价2 无法报价
private
Integer
businessInsuranceStatus
;
// 商业险报价信息说明
private
String
businessInsuranceMessage
;
// 商业险保费
private
BigDecimal
businessInsurancePremium
;
// 商业险费率
private
BigDecimal
businessInsuranceFloatingRate
;
// 商业险折扣金额
private
BigDecimal
businessInsuranceDiscount
;
// 商业险开始日期
private
Date
businessInsuranceStart
;
// 商业险截止日期
private
Date
businessInsuranceEnd
;
// 商业险佣金
private
BigDecimal
businessInsuranceCharge
;
// 归属部门
private
String
departmentBelong
;
// 归属人
private
String
departmentBelonger
;
// 经办人
private
String
operator
;
// 渠道代码
private
String
channelCode
;
// 团单号
private
String
groupNumber
;
// 出单机构
private
String
issueAssociation
;
// 创建时间
private
Date
createdAt
;
// 创建人
private
Long
createdBy
;
// 修改时间
private
Date
updatedAt
;
// 修改人
private
Long
updatedBy
;
public
void
setId
(
Long
id
){
this
.
id
=
id
;
}
public
Long
getId
(){
return
this
.
id
;
}
/** ?? 报价单号,???? ag_po_quotation.quote_no */
public
void
setQuoteNo
(
String
quoteNo
){
this
.
quoteNo
=
quoteNo
;
}
/** ?? 报价单号,???? ag_po_quotation.quote_no */
public
String
getQuoteNo
(){
return
this
.
quoteNo
;
}
/** ?? 报价单,???? ag_po_quotation.quote_version */
public
void
setQuoteVersion
(
Date
quoteVersion
){
this
.
quoteVersion
=
quoteVersion
;
}
/** ?? 报价单,???? ag_po_quotation.quote_version */
public
Date
getQuoteVersion
(){
return
this
.
quoteVersion
;
}
/** ?? 报价车辆id, FK ag_po_quotation_vehicle.id,???? ag_po_quotation.quote_vehicle_id */
public
void
setQuoteVehicleId
(
Long
quoteVehicleId
){
this
.
quoteVehicleId
=
quoteVehicleId
;
}
/** ?? 报价车辆id, FK ag_po_quotation_vehicle.id,???? ag_po_quotation.quote_vehicle_id */
public
Long
getQuoteVehicleId
(){
return
this
.
quoteVehicleId
;
}
/** ?? 1:YES=新保, 2:No=续保,???? ag_po_quotation.is_renewal */
public
void
setIsRenewal
(
Integer
isRenewal
){
this
.
isRenewal
=
isRenewal
;
}
/** ?? 1:YES=新保, 2:No=续保,???? ag_po_quotation.is_renewal */
public
Integer
getIsRenewal
(){
return
this
.
isRenewal
;
}
/** ?? 0:单商业,1:单交强,2:关联出单,???? ag_po_quotation.quote_type */
public
void
setQuoteType
(
Integer
quoteType
){
this
.
quoteType
=
quoteType
;
}
/** ?? 0:单商业,1:单交强,2:关联出单,???? ag_po_quotation.quote_type */
public
Integer
getQuoteType
(){
return
this
.
quoteType
;
}
/** ?? 0=open临时报价 1=confirm确认报价 2=completed保险公司确认 3=cancelled 4=overdue 9=error,???? ag_po_quotation.quote_status */
public
void
setQuoteStatus
(
Integer
quoteStatus
){
this
.
quoteStatus
=
quoteStatus
;
}
/** ?? 0=open临时报价 1=confirm确认报价 2=completed保险公司确认 3=cancelled 4=overdue 9=error,???? ag_po_quotation.quote_status */
public
Integer
getQuoteStatus
(){
return
this
.
quoteStatus
;
}
/** ?? I=Insurer V=Vendor O=Other,???? ag_po_quotation.quote_provider_type */
public
void
setQuoteProviderType
(
String
quoteProviderType
){
this
.
quoteProviderType
=
quoteProviderType
;
}
/** ?? I=Insurer V=Vendor O=Other,???? ag_po_quotation.quote_provider_type */
public
String
getQuoteProviderType
(){
return
this
.
quoteProviderType
;
}
/** ?? FK ag_acl_insurer.id or ag_acl_vendor.id,???? ag_po_quotation.quote_provider_id */
public
void
setQuoteProviderId
(
Long
quoteProviderId
){
this
.
quoteProviderId
=
quoteProviderId
;
}
/** ?? FK ag_acl_insurer.id or ag_acl_vendor.id,???? ag_po_quotation.quote_provider_id */
public
Long
getQuoteProviderId
(){
return
this
.
quoteProviderId
;
}
/** ?? 请求报价客户id,???? ag_po_quotation.customer_id */
public
void
setCustomerId
(
Long
customerId
){
this
.
customerId
=
customerId
;
}
/** ?? 请求报价客户id,???? ag_po_quotation.customer_id */
public
Long
getCustomerId
(){
return
this
.
customerId
;
}
/** ?? 车牌号,???? ag_po_quotation.plate_no */
public
void
setPlateNo
(
String
plateNo
){
this
.
plateNo
=
plateNo
;
}
/** ?? 车牌号,???? ag_po_quotation.plate_no */
public
String
getPlateNo
(){
return
this
.
plateNo
;
}
/** ?? 客户手机,???? ag_po_quotation.customer_mobile */
public
void
setCustomerMobile
(
String
customerMobile
){
this
.
customerMobile
=
customerMobile
;
}
/** ?? 客户手机,???? ag_po_quotation.customer_mobile */
public
String
getCustomerMobile
(){
return
this
.
customerMobile
;
}
/** ?? 客户名称,???? ag_po_quotation.customer_name */
public
void
setCustomerName
(
String
customerName
){
this
.
customerName
=
customerName
;
}
/** ?? 客户名称,???? ag_po_quotation.customer_name */
public
String
getCustomerName
(){
return
this
.
customerName
;
}
/** ?? 币种,???? ag_po_quotation.currency */
public
void
setCurrency
(
String
currency
){
this
.
currency
=
currency
;
}
/** ?? 币种,???? ag_po_quotation.currency */
public
String
getCurrency
(){
return
this
.
currency
;
}
/** ?? 总保费,???? ag_po_quotation.total_premium */
public
void
setTotalPremium
(
BigDecimal
totalPremium
){
this
.
totalPremium
=
totalPremium
;
}
/** ?? 总保费,???? ag_po_quotation.total_premium */
public
BigDecimal
getTotalPremium
(){
return
this
.
totalPremium
;
}
/** ?? 总折扣金额,???? ag_po_quotation.total_discount */
public
void
setTotalDiscount
(
BigDecimal
totalDiscount
){
this
.
totalDiscount
=
totalDiscount
;
}
/** ?? 总折扣金额,???? ag_po_quotation.total_discount */
public
BigDecimal
getTotalDiscount
(){
return
this
.
totalDiscount
;
}
/** ?? 总佣金,???? ag_po_quotation.total_charge */
public
void
setTotalCharge
(
BigDecimal
totalCharge
){
this
.
totalCharge
=
totalCharge
;
}
/** ?? 总佣金,???? ag_po_quotation.total_charge */
public
BigDecimal
getTotalCharge
(){
return
this
.
totalCharge
;
}
/** ?? 车船税,???? ag_po_quotation.vehicle_tax */
public
void
setVehicleTax
(
BigDecimal
vehicleTax
){
this
.
vehicleTax
=
vehicleTax
;
}
/** ?? 车船税,???? ag_po_quotation.vehicle_tax */
public
BigDecimal
getVehicleTax
(){
return
this
.
vehicleTax
;
}
/** ?? 交强险状态0 无报价1 正常报价2 无法报价
,???? ag_po_quotation.compulsory_status */
public
void
setCompulsoryStatus
(
Integer
compulsoryStatus
){
this
.
compulsoryStatus
=
compulsoryStatus
;
}
/** ?? 交强险状态0 无报价1 正常报价2 无法报价
,???? ag_po_quotation.compulsory_status */
public
Integer
getCompulsoryStatus
(){
return
this
.
compulsoryStatus
;
}
/** ?? 交强险报价信息说明,???? ag_po_quotation.compulsory_message */
public
void
setCompulsoryMessage
(
String
compulsoryMessage
){
this
.
compulsoryMessage
=
compulsoryMessage
;
}
/** ?? 交强险报价信息说明,???? ag_po_quotation.compulsory_message */
public
String
getCompulsoryMessage
(){
return
this
.
compulsoryMessage
;
}
/** ?? 交强险保费,???? ag_po_quotation.compulsory_premium */
public
void
setCompulsoryPremium
(
BigDecimal
compulsoryPremium
){
this
.
compulsoryPremium
=
compulsoryPremium
;
}
/** ?? 交强险保费,???? ag_po_quotation.compulsory_premium */
public
BigDecimal
getCompulsoryPremium
(){
return
this
.
compulsoryPremium
;
}
/** ?? 交强险折扣金额,???? ag_po_quotation.compulsory_discount */
public
void
setCompulsoryDiscount
(
BigDecimal
compulsoryDiscount
){
this
.
compulsoryDiscount
=
compulsoryDiscount
;
}
/** ?? 交强险折扣金额,???? ag_po_quotation.compulsory_discount */
public
BigDecimal
getCompulsoryDiscount
(){
return
this
.
compulsoryDiscount
;
}
/** ?? 交强险期开始日期,???? ag_po_quotation.compulsory_start */
public
void
setCompulsoryStart
(
Date
compulsoryStart
){
this
.
compulsoryStart
=
compulsoryStart
;
}
/** ?? 交强险期开始日期,???? ag_po_quotation.compulsory_start */
public
Date
getCompulsoryStart
(){
return
this
.
compulsoryStart
;
}
/** ?? 交强险期截止日期,???? ag_po_quotation.compulsory_end */
public
void
setCompulsoryEnd
(
Date
compulsoryEnd
){
this
.
compulsoryEnd
=
compulsoryEnd
;
}
/** ?? 交强险期截止日期,???? ag_po_quotation.compulsory_end */
public
Date
getCompulsoryEnd
(){
return
this
.
compulsoryEnd
;
}
/** ?? 交强险佣金,???? ag_po_quotation.compulsory_charge */
public
void
setCompulsoryCharge
(
BigDecimal
compulsoryCharge
){
this
.
compulsoryCharge
=
compulsoryCharge
;
}
/** ?? 交强险佣金,???? ag_po_quotation.compulsory_charge */
public
BigDecimal
getCompulsoryCharge
(){
return
this
.
compulsoryCharge
;
}
/** ?? 商业险状态0 无报价1 正常报价2 无法报价
,???? ag_po_quotation.business_insurance_status */
public
void
setBusinessInsuranceStatus
(
Integer
businessInsuranceStatus
){
this
.
businessInsuranceStatus
=
businessInsuranceStatus
;
}
/** ?? 商业险状态0 无报价1 正常报价2 无法报价
,???? ag_po_quotation.business_insurance_status */
public
Integer
getBusinessInsuranceStatus
(){
return
this
.
businessInsuranceStatus
;
}
/** ?? 商业险报价信息说明,???? ag_po_quotation.business_insurance_message */
public
void
setBusinessInsuranceMessage
(
String
businessInsuranceMessage
){
this
.
businessInsuranceMessage
=
businessInsuranceMessage
;
}
/** ?? 商业险报价信息说明,???? ag_po_quotation.business_insurance_message */
public
String
getBusinessInsuranceMessage
(){
return
this
.
businessInsuranceMessage
;
}
/** ?? 商业险保费,???? ag_po_quotation.business_insurance_premium */
public
void
setBusinessInsurancePremium
(
BigDecimal
businessInsurancePremium
){
this
.
businessInsurancePremium
=
businessInsurancePremium
;
}
/** ?? 商业险保费,???? ag_po_quotation.business_insurance_premium */
public
BigDecimal
getBusinessInsurancePremium
(){
return
this
.
businessInsurancePremium
;
}
/** ?? 商业险费率,???? ag_po_quotation.business_insurance_floating_rate */
public
void
setBusinessInsuranceFloatingRate
(
BigDecimal
businessInsuranceFloatingRate
){
this
.
businessInsuranceFloatingRate
=
businessInsuranceFloatingRate
;
}
/** ?? 商业险费率,???? ag_po_quotation.business_insurance_floating_rate */
public
BigDecimal
getBusinessInsuranceFloatingRate
(){
return
this
.
businessInsuranceFloatingRate
;
}
/** ?? 商业险折扣金额,???? ag_po_quotation.business_insurance_discount */
public
void
setBusinessInsuranceDiscount
(
BigDecimal
businessInsuranceDiscount
){
this
.
businessInsuranceDiscount
=
businessInsuranceDiscount
;
}
/** ?? 商业险折扣金额,???? ag_po_quotation.business_insurance_discount */
public
BigDecimal
getBusinessInsuranceDiscount
(){
return
this
.
businessInsuranceDiscount
;
}
/** ?? 商业险开始日期,???? ag_po_quotation.business_insurance_start */
public
void
setBusinessInsuranceStart
(
Date
businessInsuranceStart
){
this
.
businessInsuranceStart
=
businessInsuranceStart
;
}
/** ?? 商业险开始日期,???? ag_po_quotation.business_insurance_start */
public
Date
getBusinessInsuranceStart
(){
return
this
.
businessInsuranceStart
;
}
/** ?? 商业险截止日期,???? ag_po_quotation.business_insurance_end */
public
void
setBusinessInsuranceEnd
(
Date
businessInsuranceEnd
){
this
.
businessInsuranceEnd
=
businessInsuranceEnd
;
}
/** ?? 商业险截止日期,???? ag_po_quotation.business_insurance_end */
public
Date
getBusinessInsuranceEnd
(){
return
this
.
businessInsuranceEnd
;
}
/** ?? 商业险佣金,???? ag_po_quotation.business_insurance_charge */
public
void
setBusinessInsuranceCharge
(
BigDecimal
businessInsuranceCharge
){
this
.
businessInsuranceCharge
=
businessInsuranceCharge
;
}
/** ?? 商业险佣金,???? ag_po_quotation.business_insurance_charge */
public
BigDecimal
getBusinessInsuranceCharge
(){
return
this
.
businessInsuranceCharge
;
}
/** ?? 归属部门,???? ag_po_quotation.department_belong */
public
void
setDepartmentBelong
(
String
departmentBelong
){
this
.
departmentBelong
=
departmentBelong
;
}
/** ?? 归属部门,???? ag_po_quotation.department_belong */
public
String
getDepartmentBelong
(){
return
this
.
departmentBelong
;
}
/** ?? 归属人,???? ag_po_quotation.department_belonger */
public
void
setDepartmentBelonger
(
String
departmentBelonger
){
this
.
departmentBelonger
=
departmentBelonger
;
}
/** ?? 归属人,???? ag_po_quotation.department_belonger */
public
String
getDepartmentBelonger
(){
return
this
.
departmentBelonger
;
}
/** ?? 经办人,???? ag_po_quotation.operator */
public
void
setOperator
(
String
operator
){
this
.
operator
=
operator
;
}
/** ?? 经办人,???? ag_po_quotation.operator */
public
String
getOperator
(){
return
this
.
operator
;
}
/** ?? 渠道代码,???? ag_po_quotation.channel_code */
public
void
setChannelCode
(
String
channelCode
){
this
.
channelCode
=
channelCode
;
}
/** ?? 渠道代码,???? ag_po_quotation.channel_code */
public
String
getChannelCode
(){
return
this
.
channelCode
;
}
/** ?? 团单号,???? ag_po_quotation.group_number */
public
void
setGroupNumber
(
String
groupNumber
){
this
.
groupNumber
=
groupNumber
;
}
/** ?? 团单号,???? ag_po_quotation.group_number */
public
String
getGroupNumber
(){
return
this
.
groupNumber
;
}
/** ?? 出单机构,???? ag_po_quotation.issue_association */
public
void
setIssueAssociation
(
String
issueAssociation
){
this
.
issueAssociation
=
issueAssociation
;
}
/** ?? 出单机构,???? ag_po_quotation.issue_association */
public
String
getIssueAssociation
(){
return
this
.
issueAssociation
;
}
/** ?? 创建时间,???? ag_po_quotation.created_at */
public
void
setCreatedAt
(
Date
createdAt
){
this
.
createdAt
=
createdAt
;
}
/** ?? 创建时间,???? ag_po_quotation.created_at */
public
Date
getCreatedAt
(){
return
this
.
createdAt
;
}
/** ?? 创建人,???? ag_po_quotation.created_by */
public
void
setCreatedBy
(
Long
createdBy
){
this
.
createdBy
=
createdBy
;
}
/** ?? 创建人,???? ag_po_quotation.created_by */
public
Long
getCreatedBy
(){
return
this
.
createdBy
;
}
/** ?? 修改时间,???? ag_po_quotation.updated_at */
public
void
setUpdatedAt
(
Date
updatedAt
){
this
.
updatedAt
=
updatedAt
;
}
/** ?? 修改时间,???? ag_po_quotation.updated_at */
public
Date
getUpdatedAt
(){
return
this
.
updatedAt
;
}
/** ?? 修改人,???? ag_po_quotation.updated_by */
public
void
setUpdatedBy
(
Long
updatedBy
){
this
.
updatedBy
=
updatedBy
;
}
/** ?? 修改人,???? ag_po_quotation.updated_by */
public
Long
getUpdatedBy
(){
return
this
.
updatedBy
;
}
public
String
getCustomerMobileMask
()
{
return
customerMobileMask
;
}
public
void
setCustomerMobileMask
(
String
customerMobileMask
)
{
this
.
customerMobileMask
=
customerMobileMask
;
}
}
\ No newline at end of file
ajb-car-vo/src/main/java/com/ajb/car/vo/quotation/AgPoQuotationResponseVO.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
quotation
;
import
com.ajb.car.vo.common.CommonResult
;
public
class
AgPoQuotationResponseVO
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
Long
id
;
private
CommonResult
commonResult
;
private
AgPoQuotationRequestVO
vo
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
CommonResult
getCommonResult
()
{
return
commonResult
;
}
public
void
setCommonResult
(
CommonResult
commonResult
)
{
this
.
commonResult
=
commonResult
;
}
public
AgPoQuotationRequestVO
getRequestVO
()
{
return
vo
;
}
public
void
setRequestVO
(
AgPoQuotationRequestVO
vo
)
{
this
.
vo
=
vo
;
}
}
\ No newline at end of file
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataDeleteRequestVO.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
zhima
.
user
;
public
class
UserdataDeleteRequestVO
implements
java
.
io
.
Serializable
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
private
Long
id
;
private
String
username
;
private
String
pasword
;
private
String
encryptedpassword
;
private
String
telephone
;
private
String
idnumber
;
public
void
setUsername
(
String
username
){
this
.
username
=
username
;
}
public
String
getUsername
(){
return
this
.
username
;
}
public
void
setPasword
(
String
pasword
){
this
.
pasword
=
pasword
;
}
public
String
getPasword
(){
return
this
.
pasword
;
}
public
void
setEncryptedpassword
(
String
encryptedpassword
){
this
.
encryptedpassword
=
encryptedpassword
;
}
public
String
getEncryptedpassword
(){
return
this
.
encryptedpassword
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getTelephone
()
{
return
telephone
;
}
public
void
setTelephone
(
String
telephone
)
{
this
.
telephone
=
telephone
;
}
public
String
getIdnumber
()
{
return
idnumber
;
}
public
void
setIdnumber
(
String
idnumber
)
{
this
.
idnumber
=
idnumber
;
}
}
\ No newline at end of file
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataRequestVO.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
zhima
.
user
;
public
class
UserdataRequestVO
implements
java
.
io
.
Serializable
{
/**
* 用户数据
*/
private
static
final
long
serialVersionUID
=
1L
;
private
Long
id
;
private
String
username
;
private
String
pasword
;
private
String
encryptedpassword
;
private
String
telephone
;
private
String
idnumber
;
private
String
telephonemask
;
private
String
idnumbermask
;
public
void
setUsername
(
String
username
){
this
.
username
=
username
;
}
public
String
getUsername
(){
return
this
.
username
;
}
public
void
setPasword
(
String
pasword
){
this
.
pasword
=
pasword
;
}
public
String
getPasword
(){
return
this
.
pasword
;
}
public
void
setEncryptedpassword
(
String
encryptedpassword
){
this
.
encryptedpassword
=
encryptedpassword
;
}
public
String
getEncryptedpassword
(){
return
this
.
encryptedpassword
;
}
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getTelephone
()
{
return
telephone
;
}
public
void
setTelephone
(
String
telephone
)
{
this
.
telephone
=
telephone
;
}
public
String
getIdnumber
()
{
return
idnumber
;
}
public
void
setIdnumber
(
String
idnumber
)
{
this
.
idnumber
=
idnumber
;
}
public
String
getTelephonemask
()
{
return
telephonemask
;
}
public
void
setTelephonemask
(
String
telephonemask
)
{
this
.
telephonemask
=
telephonemask
;
}
public
String
getIdnumbermask
()
{
return
idnumbermask
;
}
public
void
setIdnumbermask
(
String
idnumbermask
)
{
this
.
idnumbermask
=
idnumbermask
;
}
}
\ No newline at end of file
ajb-car-vo/src/main/java/com/ajb/car/vo/zhima/user/UserdataResponseVO.java
0 → 100644
View file @
d35e0281
package
com
.
ajb
.
car
.
vo
.
zhima
.
user
;
import
com.ajb.car.vo.common.CommonResult
;
public
class
UserdataResponseVO
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
Long
id
;
private
CommonResult
commonResult
;
private
UserdataRequestVO
vo
;
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
CommonResult
getCommonResult
()
{
return
commonResult
;
}
public
void
setCommonResult
(
CommonResult
commonResult
)
{
this
.
commonResult
=
commonResult
;
}
public
UserdataRequestVO
getRequestVO
()
{
return
vo
;
}
public
void
setRequestVO
(
UserdataRequestVO
vo
)
{
this
.
vo
=
vo
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment