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
92b31cb9
Commit
92b31cb9
authored
Apr 21, 2023
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加网商回调
parent
163ca59f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
657 additions
and
682 deletions
+657
-682
PayNotifyController.java
src/main/java/com/egolm/shop/api/PayNotifyController.java
+1
-1
OrderService.java
src/main/java/com/egolm/shop/api/service/OrderService.java
+2
-0
CartQueryServiceImpl.java
...com/egolm/shop/api/service/impl/CartQueryServiceImpl.java
+2
-0
OrderServiceImpl.java
...ava/com/egolm/shop/api/service/impl/OrderServiceImpl.java
+652
-681
No files found.
src/main/java/com/egolm/shop/api/PayNotifyController.java
View file @
92b31cb9
...
...
@@ -87,7 +87,7 @@ public class PayNotifyController {
@ApiOperation
(
"网商银行回调通知接口"
)
@RequestMapping
(
value
=
"/mybankCallback"
,
method
=
RequestMethod
.
POST
)
public
Object
mybankCallback
(
@RequestBody
String
req
,
HttpServletResponse
resp
)
{
logger
.
info
(
"网商银行回调通知接口 {}"
,
req
);
logger
.
info
(
"
从egoPay中接收
网商银行回调通知接口 {}"
,
req
);
return
"success"
;
}
...
...
src/main/java/com/egolm/shop/api/service/OrderService.java
View file @
92b31cb9
...
...
@@ -49,4 +49,6 @@ public interface OrderService {
public
List
<
Map
<
String
,
Object
>>
payCallback
(
WxPayResponse
postData
);
public
List
<
Map
<
String
,
Object
>>
mePayCallback
(
String
req
);
public
List
<
Map
<
String
,
Object
>>
meBankCallback
(
String
req
);
}
src/main/java/com/egolm/shop/api/service/impl/CartQueryServiceImpl.java
View file @
92b31cb9
...
...
@@ -859,6 +859,8 @@ public class CartQueryServiceImpl implements CartQueryService {
+
" from tYWPromoMain a, tYWPromoDtl b "
+
" where a.sPromoPaperNO = b.sPromoPaperNO "
+
" and a.sPromoPaperNORuleID = b.sPromoPaperNO + isnull(convert(varchar,b.nRuleID),'') "
+
" and a.nTag&1=0 "
+
" and b.nTag&1=0 "
+
" ) p on p.sPromoPaperNO = c.sPromoPaperNO and p.nGoodsID = c.nGoodsID "
+
"WHERE c.sShopNO = '"
+
shopNo
+
"'"
;
String
sqlClearPromoNo
=
...
...
src/main/java/com/egolm/shop/api/service/impl/OrderServiceImpl.java
View file @
92b31cb9
This diff is collapsed.
Click to expand it.
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