Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
c6391744
Commit
c6391744
authored
Dec 04, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
15769e6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
OrderRentVehicleBiz.java
...java/com/xxfc/platform/order/biz/OrderRentVehicleBiz.java
+16
-5
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderRentVehicleBiz.java
View file @
c6391744
...
@@ -164,11 +164,22 @@ public class OrderRentVehicleBiz extends BaseBiz<OrderRentVehicleDetailMapper, O
...
@@ -164,11 +164,22 @@ public class OrderRentVehicleBiz extends BaseBiz<OrderRentVehicleDetailMapper, O
String
buyInsurePhone
=
vo
.
getAppUserDTO
().
getUsername
();
String
buyInsurePhone
=
vo
.
getAppUserDTO
().
getUsername
();
IdInformation
idInformation
=
thirdFeign
.
getOneByUserId
(
vo
.
getAppUserDTO
().
getUserid
());
IdInformation
idInformation
=
thirdFeign
.
getOneByUserId
(
vo
.
getAppUserDTO
().
getUserid
());
if
(
null
==
idInformation
)
{
if
(
null
==
idInformation
)
{
InsureUser
insureUser
=
insureUserBiz
.
selectById
(
Integer
.
valueOf
(
vo
.
getInsureUserIds
().
split
(
","
)[
0
]));
String
[]
insureUserIds
=
vo
.
getInsureUserIds
().
split
(
","
);
buyInsureIdCard
=
insureUser
.
getIdCard
();
for
(
int
i
=
0
;
i
<
insureUserIds
.
length
;
i
++)
{
buyInsureName
=
insureUser
.
getName
();
InsureUser
insureUser
=
insureUserBiz
.
selectById
(
Integer
.
valueOf
(
vo
.
getInsureUserIds
().
split
(
","
)[
i
]));
if
(
StrUtil
.
isNotBlank
(
insureUser
.
getPhone
()))
{
if
(
buyInsurePhone
.
equals
(
insureUser
.
getPhone
()))
{
buyInsurePhone
=
insureUser
.
getPhone
();
buyInsureIdCard
=
insureUser
.
getIdCard
();
buyInsureName
=
insureUser
.
getName
();
break
;
}
if
(
i
==
(
insureUserIds
.
length
-
1
))
{
if
(
StrUtil
.
isNotBlank
(
insureUser
.
getPhone
()))
{
buyInsurePhone
=
insureUser
.
getPhone
();
}
buyInsureIdCard
=
insureUser
.
getIdCard
();
buyInsureName
=
insureUser
.
getName
();
}
}
}
}
else
{
}
else
{
buyInsureIdCard
=
idInformation
.
getIdNumber
();
buyInsureIdCard
=
idInformation
.
getIdNumber
();
...
...
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