Commit f830c9fe by Simon Cheng

铭感字段加密

parent 4ed2a051
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="src/main/webapp"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/main/resources/application-dev.properties=UTF-8
encoding//src/main/resources/application-local.properties=UTF-8
encoding//src/main/resources/application-prod.properties=UTF-8
encoding//src/main/resources/application-stage.properties=UTF-8
encoding//src/main/resources/application.properties=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
encoding/pom.xml=UTF-8
eclipse.preferences.version=1
line.separator=\r\n
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
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.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
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.processAnnotations=enabled
org.eclipse.jdt.core.compiler.source=1.8
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="synch">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_generated"/>
<dependent-module archiveName="ajb-car-vo-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-vo/ajb-car-vo">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ajb-car-entity-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-entity/ajb-car-entity">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ajb-car-utils-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-utils/ajb-car-utils">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ajb-car-jpa-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-jpa/ajb-car-jpa">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/ajb-car-api/target/classes"/>
<property name="context-root" value="synch"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="ajb-api">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_generated"/>
<dependent-module archiveName="ajb-car-vo-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-vo/ajb-car-vo">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ajb-car-entity-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-entity/ajb-car-entity">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="ajb-car-jpa-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ajb-car-jpa/ajb-car-jpa">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="/ajb-api/target/classes"/>
<property name="context-root" value="ajb-api"/>
</wb-module>
</project-modules>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="cloudfoundry.standalone.app" version="1.0"/>
<installed facet="java" version="1.8"/>
<installed facet="jst.web" version="3.1"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
disabled=06target
eclipse.preferences.version=1
eclipse.preferences.version=1
org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true
org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=true
org.springframework.ide.eclipse.core.enable.project.preferences=false
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.boot.bootvalidator=true
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.data.core.datavalidator=true
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.autowire.autowire-org.springframework.ide.eclipse.beans.core.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.toolAnnotation-org.springframework.ide.eclipse.beans.core.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.RefElementRule-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.bestpractices.legacyxmlusage.jndiobjectfactory-org.springframework.ide.eclipse.bestpractices.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.boot.missingConfigurationProcessor-org.springframework.ide.eclipse.boot.bootvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.data.core.invalidDerivedQuery-org.springframework.ide.eclipse.data.core.datavalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.data.core.invalidParameterType-org.springframework.ide.eclipse.data.core.datavalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
......@@ -3,11 +3,14 @@ package com.ajb.car.quotation;
import java.util.Date;
import com.ajb.car.entity.quotation.AgPoQuotation;
import com.ajb.car.vo.quotation.AgPoQuotationRequestVO;
import com.ajb.car.vo.zhima.quotation.ConfirmInfo;
import com.ajb.car.vo.zhima.quotation.Priceinfo;
public interface AgPoQuotationWebService {
public AgPoQuotationRequestVO queryAgPoQuotation(Long quotationId);
public AgPoQuotation saveAgPoQuotation(Date quotationDate,Priceinfo priceinfo);
public void saveAgPoQuotationConfirm(ConfirmInfo confirmInfo,AgPoQuotation quotation);
......
......@@ -21,6 +21,7 @@ import com.ajb.car.quotation.service.AgPoQuotationConfirmService;
import com.ajb.car.quotation.service.AgPoQuotationVehicleService;
import com.ajb.car.quotation.service.AgPoQuotationCoverService;
import com.ajb.car.quotation.service.AgPoQuotationVehicleRelationService;
import com.ajb.car.vo.quotation.AgPoQuotationRequestVO;
import com.ajb.car.vo.zhima.quotation.Applicant;
import com.ajb.car.vo.zhima.quotation.BzCoverages;
import com.ajb.car.vo.zhima.quotation.CarBodyPaintCoverage;
......@@ -434,4 +435,14 @@ public class AgPoQuotationWebServiceImpl implements AgPoQuotationWebService {
// TODO Auto-generated method stub
saveAgPoQuotationConfirmNoTrans(confirmInfo,quotation);
}
@Override
public AgPoQuotationRequestVO queryAgPoQuotation(Long quotationId) {
AgPoQuotationRequestVO agPoQuotationRequestVO = new AgPoQuotationRequestVO();
AgPoQuotation agPoQuotation = agPoQuotationService.findById(quotationId);
BeanUtils.copyProperties(agPoQuotation, agPoQuotationRequestVO);
return agPoQuotationRequestVO;
}
}
\ No newline at end of file
#tomcat 端口号
server.port=8080
server.context-path=/synch
server.port=8081
server.context-path=/carapi
# \u9875\u9762\u9ED8\u8BA4\u524D\u7F00\u76EE\u5F55
spring.mvc.view.prefix=/
# \u54CD\u5E94\u9875\u9762\u9ED8\u8BA4\u540E\u7F00
......@@ -56,7 +56,7 @@ spring.jpa.properties.hibernate.format_sql=false
spring.jpa.properties.hibernate.use_sql_comments=false
# Hibernate ddl auto (create, create-drop, update)
spring.jpa.hibernate.ddl-auto = none
spring.jpa.hibernate.ddl-auto = update
# Naming strategy
#[org.hibernate.cfg.ImprovedNamingStrategy #org.hibernate.cfg.DefaultNamingStrategy]
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
......@@ -72,5 +72,5 @@ jwt.issuer:zuihuibi
jwt.bypass:TEST
#jwt.bypass:/user/loginDemo,/auth/token,/login,/register
jpa.sensitivekey:12345678
......@@ -2,12 +2,15 @@ package com.ajb.car.entity.quotation;
import java.math.BigDecimal;
import java.util.Date;
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;
import org.hibernate.annotations.ColumnTransformer;
/**
报价单表
*/
......@@ -249,6 +252,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 客户手机,???? ag_po_quotation.customer_mobile */
@Column(name="customer_mobile")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getCustomerMobile(){
return this.customerMobile;
}
......
......@@ -2,6 +2,7 @@ package com.ajb.car.entity.quotation;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
......@@ -148,6 +149,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 投保人证件号,???? ag_po_quotation_confirm.applicant_certcode */
@Column(name="applicant_certcode")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getApplicantCertcode(){
return this.applicantCertcode;
}
......@@ -157,6 +159,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 投保人,???? ag_po_quotation_confirm.applicant_tel */
@Column(name="applicant_tel")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getApplicantTel(){
return this.applicantTel;
}
......@@ -184,6 +187,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 被保人证件号,???? ag_po_quotation_confirm.insured_certcode */
@Column(name="insured_certcode")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getInsuredCertcode(){
return this.insuredCertcode;
}
......@@ -211,6 +215,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 权益人证件号,???? ag_po_quotation_confirm.claimant_certcode */
@Column(name="claimant_certcode")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getClaimantCertcode(){
return this.claimantCertcode;
}
......@@ -256,6 +261,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 银行账户,???? ag_po_quotation_confirm.invoice_bankcard_id */
@Column(name="invoice_bankcard_id")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getInvoiceBankcardId(){
return this.invoiceBankcardId;
}
......@@ -274,6 +280,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 登记电话,???? ag_po_quotation_confirm.invoice_tel */
@Column(name="invoice_tel")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getInvoiceTel(){
return this.invoiceTel;
}
......@@ -292,6 +299,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 收件人电话,???? ag_po_quotation_confirm.receiver_tel */
@Column(name="receiver_tel")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getReceiverTel(){
return this.receiverTel;
}
......
......@@ -3,6 +3,7 @@ package com.ajb.car.entity.quotation;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
......@@ -137,6 +138,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 电话,???? ag_po_quotation_tax.telephone */
@Column(name="telephone")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getTelephone(){
return this.telephone;
}
......@@ -187,6 +189,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 证件号码,???? ag_po_quotation_tax.cert_code */
@Column(name="cert_code")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getCertCode(){
return this.certCode;
}
......
......@@ -2,6 +2,7 @@ package com.ajb.car.entity.quotation;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
......@@ -309,6 +310,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 发动机号,???? ag_po_quotation_vehicle.engine_no */
@Column(name="engine_no")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getEngineNo(){
return this.engineNo;
}
......@@ -318,6 +320,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? VIN编号,???? ag_po_quotation_vehicle.vin_no */
@Column(name="vin_no")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getVinNo(){
return this.vinNo;
}
......@@ -327,6 +330,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 车架号,???? ag_po_quotation_vehicle.frame_number */
@Column(name="frame_number")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getFrameNumber(){
return this.frameNumber;
}
......@@ -516,6 +520,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 证件号,???? ag_po_quotation_vehicle.owner_certi_code */
@Column(name="owner_certi_code")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getOwnerCertiCode(){
return this.ownerCertiCode;
}
......@@ -640,6 +645,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 平台型号编码,???? ag_po_quotation_vehicle.platform_model_code */
@Column(name="platform_model_code")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getPlatformModelCode(){
return this.platformModelCode;
}
......
......@@ -2,6 +2,7 @@ package com.ajb.car.entity.quotation;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
......@@ -159,6 +160,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 证件编号,???? ag_po_quotation_vehicle_relation.id_no */
@Column(name="id_no")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getIdNo(){
return this.idNo;
}
......@@ -168,6 +170,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 移动电话,???? ag_po_quotation_vehicle_relation.mobile_phone */
@Column(name="mobile_phone")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getMobilePhone(){
return this.mobilePhone;
}
......@@ -240,6 +243,7 @@ private static final long serialVersionUID = 1L;
}
/** ?? 固定电话,???? ag_po_quotation_vehicle_relation.telephone */
@Column(name="telephone")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getTelephone(){
return this.telephone;
}
......@@ -278,6 +282,7 @@ private static final long serialVersionUID = 1L;
this.versionNo = versionNo;
}
@Column(name="email")
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public String getEmail(){
return this.email;
}
......
......@@ -166,7 +166,13 @@
<version>3.9</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!-- Compiler 插件, 设定JDK版本 -->
<plugin>
......
......@@ -19,7 +19,17 @@
<groupId>ajb-car-app</groupId>
<artifactId>ajb-car-vo</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.hibernate.javax.persistence/hibernate-jpa-2.1-api -->
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.2.Final</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<!-- SpringBoot Web 依赖 -->
<dependency>
......
......@@ -21,6 +21,7 @@
<artifactId>fastjson</artifactId>
<version>1.2.47</version>
</dependency>
</dependencies>
<build>
<plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment