Commit 92b31cb9 authored by 张永's avatar 张永

增加网商回调

parent 163ca59f
...@@ -87,7 +87,7 @@ public class PayNotifyController { ...@@ -87,7 +87,7 @@ public class PayNotifyController {
@ApiOperation("网商银行回调通知接口") @ApiOperation("网商银行回调通知接口")
@RequestMapping(value = "/mybankCallback", method = RequestMethod.POST) @RequestMapping(value = "/mybankCallback", method = RequestMethod.POST)
public Object mybankCallback(@RequestBody String req, HttpServletResponse resp) { public Object mybankCallback(@RequestBody String req, HttpServletResponse resp) {
logger.info("网商银行回调通知接口 {}",req); logger.info("从egoPay中接收网商银行回调通知接口 {}",req);
return "success"; return "success";
} }
......
...@@ -49,4 +49,6 @@ public interface OrderService { ...@@ -49,4 +49,6 @@ public interface OrderService {
public List<Map<String, Object>> payCallback(WxPayResponse postData); public List<Map<String, Object>> payCallback(WxPayResponse postData);
public List<Map<String, Object>> mePayCallback(String req); public List<Map<String, Object>> mePayCallback(String req);
public List<Map<String, Object>> meBankCallback(String req);
} }
...@@ -859,6 +859,8 @@ public class CartQueryServiceImpl implements CartQueryService { ...@@ -859,6 +859,8 @@ public class CartQueryServiceImpl implements CartQueryService {
+ " from tYWPromoMain a, tYWPromoDtl b " + " from tYWPromoMain a, tYWPromoDtl b "
+ " where a.sPromoPaperNO = b.sPromoPaperNO " + " where a.sPromoPaperNO = b.sPromoPaperNO "
+ " and a.sPromoPaperNORuleID = b.sPromoPaperNO + isnull(convert(varchar,b.nRuleID),'') " + " 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 " + " ) p on p.sPromoPaperNO = c.sPromoPaperNO and p.nGoodsID = c.nGoodsID "
+ "WHERE c.sShopNO = '" + shopNo + "'"; + "WHERE c.sShopNO = '" + shopNo + "'";
String sqlClearPromoNo = String sqlClearPromoNo =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment