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
75c6fac1
Commit
75c6fac1
authored
Nov 05, 2020
by
unset
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-chw-vehicle' into dev-chw
parents
dcb9a3a4
060b66dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
BaseOrderBiz.java
...c/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
+3
-4
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
View file @
75c6fac1
...
@@ -276,18 +276,17 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
...
@@ -276,18 +276,17 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
orderPageVo
.
setUsername
(
appUserVo
.
getRealname
());
orderPageVo
.
setUsername
(
appUserVo
.
getRealname
());
orderPageVo
.
setPositionName
(
appUserVo
.
getPositionName
());
orderPageVo
.
setPositionName
(
appUserVo
.
getPositionName
());
}
}
List
<
BranchCompany
>
branchCompanies
=
vehicleFeign
.
companyAll
(
userDTO
.
getDataAll
(),
userDTO
.
getDataCompany
(),
userDTO
.
getDataZone
());
List
<
Integer
>
companyIds
=
userDTO
.
getCompanyIds
();
List
<
Integer
>
companyIds
=
branchCompanies
.
stream
().
map
(
BranchCompany:
:
getId
).
collect
(
Collectors
.
toList
());
if
(
orderPageVo
.
getOrderRentVehicleDetail
()
!=
null
)
{
if
(
orderPageVo
.
getOrderRentVehicleDetail
()
!=
null
)
{
if
(
orderPageVo
.
getStatus
()
==
4
)
{
//未交车
if
(
orderPageVo
.
getStatus
()
==
4
)
{
//未交车
if
(
userDTO
.
getCompanyId
().
equal
s
(
orderPageVo
.
getOrderRentVehicleDetail
().
getStartCompanyId
()))
{
if
(
companyIds
.
contain
s
(
orderPageVo
.
getOrderRentVehicleDetail
().
getStartCompanyId
()))
{
orderPageVo
.
setUserCompanyStatus
(
true
);
orderPageVo
.
setUserCompanyStatus
(
true
);
}
}
getDriverInfo
(
orderPageVo
);
getDriverInfo
(
orderPageVo
);
}
else
if
(
orderPageVo
.
getStatus
()
>=
5
||
orderPageVo
.
getStatus
()
==
-
1
)
{
//出行中 已交车
}
else
if
(
orderPageVo
.
getStatus
()
>=
5
||
orderPageVo
.
getStatus
()
==
-
1
)
{
//出行中 已交车
if
(
userDTO
.
getCompanyId
().
equal
s
(
orderPageVo
.
getOrderRentVehicleDetail
().
getEndCompanyId
()))
{
if
(
companyIds
.
contain
s
(
orderPageVo
.
getOrderRentVehicleDetail
().
getEndCompanyId
()))
{
orderPageVo
.
setUserCompanyStatus
(
true
);
orderPageVo
.
setUserCompanyStatus
(
true
);
}
}
//设置违约金金额
//设置违约金金额
...
...
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