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
03aff56a
Commit
03aff56a
authored
Aug 15, 2018
by
Simon Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试框架
parent
e2b90c04
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
13 deletions
+23
-13
ajb-car-api/.classpath
+1
-0
ajb-car-api/pom.xml
+11
-2
ajb-car-api/src/main/java/com/ajb/web/MetaDataController.java
+1
-1
ajb-car-api/src/main/java/com/ajb/web/zhima/impl/ZhimaDataSyncServiceImpl.java
+5
-5
ajb-car-entity/src/main/java/com/ajb/car/entity/quotation/AgPoQuotationVehicle.java
+5
-5
No files found.
ajb-car-api/.classpath
View file @
03aff56a
...
...
@@ -33,5 +33,6 @@
<attribute
name=
"optional"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.testng.TESTNG_CONTAINER"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
ajb-car-api/pom.xml
View file @
03aff56a
...
...
@@ -120,10 +120,19 @@
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<version>
1.5.1.RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-test
</artifactId>
<version>
4.3.6.RELEASE
</version>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.7
</version>
<scope>
test
</scope>
<version>
4.12
</version>
</dependency>
</dependencies>
...
...
ajb-car-api/src/main/java/com/ajb/web/MetaDataController.java
View file @
03aff56a
...
...
@@ -41,7 +41,7 @@ public class MetaDataController {
* @return
* @throws Exception
*/
@RequestMapping
(
value
=
"/querybrand/{keyword}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/querybrand
modellist
/{keyword}"
,
method
=
RequestMethod
.
GET
)
public
Object
queryBrand
(
@PathVariable
String
keyword
)
throws
Exception
{
//ProvinceResponse quotationResponse = new ProvinceResponse();
//TODO
...
...
ajb-car-api/src/main/java/com/ajb/web/zhima/impl/ZhimaDataSyncServiceImpl.java
View file @
03aff56a
...
...
@@ -156,11 +156,11 @@ public class ZhimaDataSyncServiceImpl implements ZhimaDataSyncService{
vsltax
=
vsltax
.
add
(
BigDecimal
.
valueOf
(
list
.
get
(
i
).
getVsltax
()));
allCharge
=
allCharge
.
add
(
BigDecimal
.
valueOf
(
list
.
get
(
i
).
getAllCharge
()));
System
.
out
.
print
(
"getTotalPremium,"
+
list
.
get
(
i
).
getTotalPremium
());
System
.
out
.
print
(
"getBzPremium,"
+
list
.
get
(
i
).
getBzPremium
());
System
.
out
.
print
(
"getTcPremium,"
+
list
.
get
(
i
).
getTcPremium
());
System
.
out
.
print
(
"getVsltax,"
+
list
.
get
(
i
).
getVsltax
());
System
.
out
.
println
(
"
getAllCharge,"
+
list
.
get
(
i
).
getAllCharge
());
System
.
out
.
print
(
"
,
getTotalPremium,"
+
list
.
get
(
i
).
getTotalPremium
());
System
.
out
.
print
(
"
,
getBzPremium,"
+
list
.
get
(
i
).
getBzPremium
());
System
.
out
.
print
(
"
,
getTcPremium,"
+
list
.
get
(
i
).
getTcPremium
());
System
.
out
.
print
(
"
,
getVsltax,"
+
list
.
get
(
i
).
getVsltax
());
//System.out.println(",
getAllCharge," + list.get(i).getAllCharge());
//检查是否已经存在
AgPoQuotation
one
=
agPoQuotationService
.
findByQuoteNo
(
policyCode
);
...
...
ajb-car-entity/src/main/java/com/ajb/car/entity/quotation/AgPoQuotationVehicle.java
View file @
03aff56a
...
...
@@ -310,7 +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
)
//
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public
String
getEngineNo
(){
return
this
.
engineNo
;
}
...
...
@@ -320,7 +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
)
//
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public
String
getVinNo
(){
return
this
.
vinNo
;
}
...
...
@@ -330,7 +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
)
//
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public
String
getFrameNumber
(){
return
this
.
frameNumber
;
}
...
...
@@ -520,7 +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
)
//
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public
String
getOwnerCertiCode
(){
return
this
.
ownerCertiCode
;
}
...
...
@@ -645,7 +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
)
//
@Convert(converter = com.ajb.common.utils.encryption.JPACryptoConverter.class)
public
String
getPlatformModelCode
(){
return
this
.
platformModelCode
;
}
...
...
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