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
f5e12cc9
Commit
f5e12cc9
authored
Sep 17, 2021
by
徐康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库字段长度调整
parent
76402e33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
order-application-service/src/main/java/cn/freemud/service/impl/MCCafeOrderServiceImpl.java
+14
-2
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/MCCafeOrderServiceImpl.java
View file @
f5e12cc9
...
@@ -2598,7 +2598,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
...
@@ -2598,7 +2598,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
pushMccafeOrder
.
setStoreId
(
orderInfoReqs
.
getStoreId
());
pushMccafeOrder
.
setStoreId
(
orderInfoReqs
.
getStoreId
());
if
(!
"SUCCESS"
.
equals
(
responseDto
.
getCode
()))
{
if
(!
"SUCCESS"
.
equals
(
responseDto
.
getCode
()))
{
pushMccafeOrder
.
setStatus
(
0
);
pushMccafeOrder
.
setStatus
(
0
);
pushMccafeOrder
.
setFailReason
(
JSON
.
toJSONString
(
responseDto
));
pushMccafeOrder
.
setFailReason
(
subLongString
(
JSON
.
toJSONString
(
responseDto
)
));
}
else
{
}
else
{
pushMccafeOrder
.
setStatus
(
1
);
pushMccafeOrder
.
setStatus
(
1
);
}
}
...
@@ -2624,7 +2624,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
...
@@ -2624,7 +2624,7 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
pushMccafeOrder
.
setPartnerId
(
orderInfoReqs
.
getPartnerId
());
pushMccafeOrder
.
setPartnerId
(
orderInfoReqs
.
getPartnerId
());
pushMccafeOrder
.
setStoreId
(
orderInfoReqs
.
getStoreId
());
pushMccafeOrder
.
setStoreId
(
orderInfoReqs
.
getStoreId
());
pushMccafeOrder
.
setStatus
(
0
);
pushMccafeOrder
.
setStatus
(
0
);
pushMccafeOrder
.
setFailReason
(
ExceptionUtils
.
getExceptionInfo
(
e
));
pushMccafeOrder
.
setFailReason
(
subLongString
(
ExceptionUtils
.
getExceptionInfo
(
e
)
));
pushMccafeOrderManager
.
insertOrder
(
pushMccafeOrder
);
pushMccafeOrderManager
.
insertOrder
(
pushMccafeOrder
);
}
}
...
@@ -2638,6 +2638,18 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
...
@@ -2638,6 +2638,18 @@ public class MCCafeOrderServiceImpl implements MCCafeOrderService {
return
baseResponse
;
return
baseResponse
;
}
}
public
String
subLongString
(
String
s
)
{
if
(
StringUtils
.
isNotBlank
(
s
))
{
if
(
s
.
length
()
>
15000
)
{
return
s
.
substring
(
0
,
15000
);
}
else
{
return
s
;
}
}
else
{
return
""
;
}
}
public
BaseResponse
mcCafePushOrderMakeUp
(
McCafeQueryOrderVo
queryOrderVo
)
{
public
BaseResponse
mcCafePushOrderMakeUp
(
McCafeQueryOrderVo
queryOrderVo
)
{
executor
.
submit
(()
->
{
executor
.
submit
(()
->
{
...
...
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