Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
order-group-application
order-group
Commits
c9eb7780
Commit
c9eb7780
authored
Aug 03, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志修改
parent
f2af037c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
order-management/src/main/java/cn/freemud/management/adapter/McCafeCouponAdapter.java
+1
-1
order-management/src/main/java/cn/freemud/management/service/handle/CouponHandle.java
+2
-2
No files found.
order-management/src/main/java/cn/freemud/management/adapter/McCafeCouponAdapter.java
View file @
c9eb7780
...
@@ -66,7 +66,7 @@ public class McCafeCouponAdapter {
...
@@ -66,7 +66,7 @@ public class McCafeCouponAdapter {
McdNetBatchQueryResponse
mcdNetBatchQueryResponse
=
couponOfflineMCCafeClient
.
batchQuery
(
mcCafeCouponRequest
);
McdNetBatchQueryResponse
mcdNetBatchQueryResponse
=
couponOfflineMCCafeClient
.
batchQuery
(
mcCafeCouponRequest
);
if
(
mcdNetBatchQueryResponse
==
null
||
!
SUCCESS
.
equals
(
mcdNetBatchQueryResponse
.
getStatusCode
())
if
(
mcdNetBatchQueryResponse
==
null
||
!
SUCCESS
.
equals
(
mcdNetBatchQueryResponse
.
getStatusCode
())
||
CollectionUtils
.
isEmpty
(
mcdNetBatchQueryResponse
.
getCouponlist
()))
{
||
CollectionUtils
.
isEmpty
(
mcdNetBatchQueryResponse
.
getCouponlist
()))
{
logUtil
.
error
(
"获取优惠券详情失败,无法核销,mcCafeCouponRequest:{},mcdNetBatchQueryResponse:{}"
,
null
,
mcCafeCouponRequest
,
mcdNetBatchQueryResponse
);
logUtil
.
error
(
"
"
,
"
获取优惠券详情失败,无法核销,mcCafeCouponRequest:{},mcdNetBatchQueryResponse:{}"
,
null
,
mcCafeCouponRequest
,
mcdNetBatchQueryResponse
);
return
null
;
return
null
;
}
}
...
...
order-management/src/main/java/cn/freemud/management/service/handle/CouponHandle.java
View file @
c9eb7780
...
@@ -43,7 +43,7 @@ public class CouponHandle {
...
@@ -43,7 +43,7 @@ public class CouponHandle {
break
;
break
;
}
}
if
(
i
==
0
&&
!
RESPONSE_SUCCESS
.
equals
(
redeem
.
getStatusCode
()))
{
if
(
i
==
0
&&
!
RESPONSE_SUCCESS
.
equals
(
redeem
.
getStatusCode
()))
{
logUtil
.
error
(
"核销券码异常 mcCafeCouponRequest:{}, redeem:{}"
,
null
,
mcCafeCouponRequest
,
redeem
);
logUtil
.
error
(
"
"
,
"
核销券码异常 mcCafeCouponRequest:{}, redeem:{}"
,
null
,
mcCafeCouponRequest
,
redeem
);
}
}
}
}
}
}
...
@@ -65,7 +65,7 @@ public class CouponHandle {
...
@@ -65,7 +65,7 @@ public class CouponHandle {
break
;
break
;
}
}
if
(
i
==
0
&&
!
RESPONSE_SUCCESS
.
equals
(
response
.
getStatusCode
()))
{
if
(
i
==
0
&&
!
RESPONSE_SUCCESS
.
equals
(
response
.
getStatusCode
()))
{
logUtil
.
error
(
"解锁券码异常 mcCafeCouponLockRequest:{}, response:{}"
,
null
,
mcCafeCouponLockRequest
,
response
);
logUtil
.
error
(
"
"
,
"
解锁券码异常 mcCafeCouponLockRequest:{}, response:{}"
,
null
,
mcCafeCouponLockRequest
,
response
);
}
}
}
}
}
}
...
...
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