Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
shop
Commits
3ccdcf0c
Commit
3ccdcf0c
authored
Sep 25, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
53b1f210
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+13
-9
No files found.
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
3ccdcf0c
...
@@ -1874,15 +1874,19 @@ public class OrderServiceImpl implements OrderService {
...
@@ -1874,15 +1874,19 @@ public class OrderServiceImpl implements OrderService {
break
;
break
;
}
else
{
}
else
{
statusName
=
cbkJsonResult
.
containsKey
(
"err_code_des"
)?
cbkJsonResult
.
getString
(
"err_code_des"
):
cbkJsonResult
.
getString
(
"message"
);
try
{
if
(
StringUtil
.
isBlank
(
statusName
))
{
statusName
=
cbkJsonResult
.
containsKey
(
"err_code_des"
)?
cbkJsonResult
.
getString
(
"err_code_des"
):
cbkJsonResult
.
getString
(
"message"
);
statusName
=
"分账支付失败."
;
if
(
StringUtil
.
isBlank
(
statusName
))
{
}
statusName
=
"分账支付失败."
;
//支付失败
}
String
sql
=
"exec up_B2BSalesOrderPayCallBack '"
+
OutTradeNO
+
"' ,'' , '' , '' , '"
+
PayTypeID
+
"' ,1,'"
+
statusName
+
"' "
;
//支付失败
List
<
Map
<
String
,
Object
>>
returnMap
=
jdbcTemplate
.
executeMutil
(
sql
).
getDatas
().
get
(
0
);
String
sql
=
"exec up_B2BSalesOrderPayCallBack '"
+
OutTradeNO
+
"' ,'' , '' , '' , '"
+
PayTypeID
+
"' ,1,'"
+
statusName
+
"' "
;
String
returnStr
=
GsonUtil
.
toJson
(
returnMap
);
List
<
Map
<
String
,
Object
>>
returnMap
=
jdbcTemplate
.
executeMutil
(
sql
).
getDatas
().
get
(
0
);
logger
.
info
(
"第:{} 次进行扫呗分账支付失败 ,回写结果:{} "
,
ii
,
returnStr
);
String
returnStr
=
GsonUtil
.
toJson
(
returnMap
);
logger
.
info
(
"第:{} 次进行扫呗分账支付失败 ,回写结果:{} "
,
ii
,
returnStr
);
}
catch
(
Exception
e
)
{
logger
.
info
(
"第:{} 次进行扫呗分账支付失败 ,回写结果异常:{} "
,
ii
,
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