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
d7470227
Commit
d7470227
authored
Nov 05, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-chw' of
http://113.105.137.151:22280/youjj/cloud-platform
into dev-chw
parents
71d34d89
6991b4bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
OrderVehicleCrosstownBiz.java
...com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
+11
-9
OrderPayBiz.java
...ain/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
+1
-1
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/OrderVehicleCrosstownBiz.java
View file @
d7470227
...
...
@@ -110,15 +110,15 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
}
List
<
OrderVehicleCrosstownDto
>
list
=
mapper
.
selectByOrderId
(
orderVehicleCrosstownDto
);
for
(
OrderVehicleCrosstownDto
value
:
list
)
{
//
if (value != null && value.getOrperaterId() != null && value.getType() != 1) {
//
UserDTO userDTO = userFeign.userinfoByUid(value.getOrperaterId()).getData();
//
if (userDTO != null) {
//
CompanyDetail branchCompany = vehicleFeign.getCompanyDetail(userDTO.getCompanyId()).getData();
//
if (branchCompany != null) {
//
value.setCustomerPhone(branchCompany.getVehiceServicePhone());
//
}
//
}
//
}
if
(
value
!=
null
&&
value
.
getOrperaterId
()
!=
null
&&
value
.
getType
()
!=
1
)
{
UserDTO
userDTO
=
userFeign
.
userinfoByUid
(
value
.
getOrperaterId
()).
getData
();
if
(
userDTO
!=
null
)
{
CompanyDetail
branchCompany
=
vehicleFeign
.
getCompanyDetail
(
userDTO
.
getCompanyId
()).
getData
();
if
(
branchCompany
!=
null
)
{
value
.
setCustomerPhone
(
branchCompany
.
getVehiceServicePhone
());
}
}
}
if
(
value
.
getType
()
==
2
||
value
.
getType
()
==
3
)
{
List
<
Coupon
>
c
=
baseOrderBiz
.
getReturnCouponByOrderId
(
value
.
getOrderId
());
...
...
@@ -256,10 +256,12 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
if
(
null
==
userDTO
.
getCompanyIds
()
||
!
userDTO
.
getCompanyIds
().
contains
(
orderRentVehicleDetail
.
getStartCompanyId
()))
{
return
ObjectRestResponse
.
createFailedResult
(
3501
,
"无交车权限"
);
}
userDTO
.
setCompanyId
(
orderRentVehicleDetail
.
getStartCompanyId
());
}
else
{
if
(
null
==
userDTO
.
getCompanyIds
()
||
!
userDTO
.
getCompanyIds
().
contains
(
orderRentVehicleDetail
.
getEndCompanyId
()))
{
return
ObjectRestResponse
.
createFailedResult
(
3503
,
"无收车权限"
);
}
userDTO
.
setCompanyId
(
orderRentVehicleDetail
.
getEndCompanyId
());
}
Vehicle
vehicle
=
null
;
RestResponse
<
Vehicle
>
vehicleRestResponse
=
vehicleFeign
.
findById
(
orderRentVehicleDetail
.
getVehicleId
());
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
View file @
d7470227
...
...
@@ -271,7 +271,7 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay>{
AlipayClient
alipayClient
=
getAlipayClient
();
//实例化具体API对应的request类,类名称和接口名称对应,当前调用接口名称:alipay.trade.app.pay
try
{
return
fundAuthOrderAppFreeze
(
alipayClient
,
orderPayVo
,
notifyUrl
);
return
appOrderPay
(
alipayClient
,
orderPayVo
,
notifyUrl
);
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);;
}
...
...
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