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
fc7b66fb
Commit
fc7b66fb
authored
Apr 21, 2020
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单详情修改
parent
50c6beeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
BaseOrderBiz.java
...c/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
+8
-6
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
View file @
fc7b66fb
...
@@ -770,12 +770,14 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
...
@@ -770,12 +770,14 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder> implements
if
(
activeDetail
!=
null
)
{
if
(
activeDetail
!=
null
)
{
ActivityProductSpecs
activityProductSpecs
=
activityFeign
.
get
(
activeDetail
.
getSpecsId
()).
getData
();
ActivityProductSpecs
activityProductSpecs
=
activityFeign
.
get
(
activeDetail
.
getSpecsId
()).
getData
();
if
(
activityProductSpecs
!=
null
)
{
if
(
activityProductSpecs
!=
null
)
{
ObjectRestResponse
objectRestResponse
=
activityFeign
.
getCoupon
(
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
());
for
(
int
i
=
0
;
i
<
activeDetail
.
getNumber
();
i
++)
{
if
(
objectRestResponse
.
isRel
())
{
ObjectRestResponse
objectRestResponse
=
activityFeign
.
getCoupon
(
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
());
log
.
info
(
"优惠券发送成功:{}, {}, {}"
,
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
(),
objectRestResponse
.
getData
());
if
(
objectRestResponse
.
isRel
())
{
}
else
{
log
.
info
(
"优惠券发送成功:{}, {}, {}"
,
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
(),
objectRestResponse
.
getData
());
log
.
error
(
"优惠券发送失败:{}, {}"
,
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
());
}
else
{
log
.
error
(
"优惠券发送失败:{}, {}"
,
baseOrder
.
getUserId
(),
activityProductSpecs
.
getActiveId
());
}
}
}
}
}
}
}
...
...
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