From f9155fec1956d54d5b8f40cab22571215975ef88 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 02 十一月 2019 15:41:59 +0800 Subject: [PATCH] 板栗商城订单系统修改 消息机制完善 --- fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java index c329349..22a5ebe 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java @@ -24,6 +24,22 @@ public void addOrder(BanLiShopOrder order) throws BanLiShopOrderException; /** + * 浣胯鍗曞け鏁� + * + * @param id + */ + public void invalidOrderByOrderId(Long id,String desc); + + /** + * 鎷掔粷璁㈠崟 + * + * @param id + * @param msg + * @throws BanLiShopOrderException + */ + public void rejectOrder(Long id, String msg) throws BanLiShopOrderException; + + /** * 璁㈠崟鏀粯锛堢敤绾㈠寘锛� * * @param orderId @@ -38,9 +54,8 @@ * @param orderId * @throws BanLiShopOrderException */ - public void payOrderByMoney(Long orderId,BigDecimal money) throws BanLiShopOrderException; - - + public void payOrderByMoney(Long orderId, BigDecimal money) throws BanLiShopOrderException; + public BanLiShopOrder selectByPrimaryKeyForUpdate(Long id); /** -- Gitblit v1.8.0