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
8aaf5f86
Commit
8aaf5f86
authored
Sep 25, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
0ee95297
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+9
-1
No files found.
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
8aaf5f86
...
@@ -1688,6 +1688,14 @@ public class OrderServiceImpl implements OrderService {
...
@@ -1688,6 +1688,14 @@ public class OrderServiceImpl implements OrderService {
boolean
isHave170
=
false
;
//是否有扫呗分账支付
boolean
isHave170
=
false
;
//是否有扫呗分账支付
String
lcswcbdkTimesSql
=
"SELECT sValue4 FROM tSystemCtrl WHERE sCode = 'LcswCBKMasterAccount'"
;
//扫呗分账重试次数
int
cbkTimes
=
3
;
try
{
cbkTimes
=
jdbcTemplate
.
queryForInt
(
lcswcbdkTimesSql
);
}
catch
(
Exception
e
)
{
}
String
sqlOrderQuery
=
"select\r\n"
+
String
sqlOrderQuery
=
"select\r\n"
+
" OrderStatus = nOrderStatus, OrderStatusName = sOrderStatusName,\r\n"
+
" OrderStatus = nOrderStatus, OrderStatusName = sOrderStatusName,\r\n"
+
" TotalRealSaleAmount = nTotalSaleAmount,\r\n"
+
" TotalRealSaleAmount = nTotalSaleAmount,\r\n"
+
...
@@ -1855,7 +1863,7 @@ public class OrderServiceImpl implements OrderService {
...
@@ -1855,7 +1863,7 @@ public class OrderServiceImpl implements OrderService {
boolean
isPay_170_flag
=
false
;
//170分账是否支付成功,true为成功,false为失败
boolean
isPay_170_flag
=
false
;
//170分账是否支付成功,true为成功,false为失败
String
statusName
=
""
;
String
statusName
=
""
;
for
(
int
ii
=
1
;
ii
<=
100
;
ii
++)
{
//需求 #17427 失败了遍历100次,
for
(
int
ii
=
1
;
ii
<=
cbkTimes
;
ii
++)
{
//需求 #17427 失败了遍历100次,
logger
.
info
(
"第:{} 次进行扫呗分账支付 ,请求:{} "
,
ii
,
payObj
.
toString
());
logger
.
info
(
"第:{} 次进行扫呗分账支付 ,请求:{} "
,
ii
,
payObj
.
toString
());
String
cbkResult
=
payClient
.
post
(
"/lcsw/fz_cbk_dotrans_f"
,
params
,
map
.
get
(
"trace_id"
)+
""
);
String
cbkResult
=
payClient
.
post
(
"/lcsw/fz_cbk_dotrans_f"
,
params
,
map
.
get
(
"trace_id"
)+
""
);
logger
.
info
(
"第:{} 次进行扫呗分账支付 ,结果:{} "
,
ii
,
cbkResult
);
logger
.
info
(
"第:{} 次进行扫呗分账支付 ,结果:{} "
,
ii
,
cbkResult
);
...
...
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