From 09c716a16d02ddb06df2bc2af5e588128bc7fdb4 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期二, 05 十一月 2019 11:30:41 +0800 Subject: [PATCH] 品牌接口恢复 --- fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 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..77754af 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 @@ -3,6 +3,7 @@ import java.math.BigDecimal; import java.util.List; +import com.yeshi.fanli.entity.shop.BanLiShopGoodsSetsPay; import com.yeshi.fanli.entity.shop.BanLiShopOrder; import com.yeshi.fanli.exception.redpack.RedPackBalanceException; import com.yeshi.fanli.exception.shop.BanLiShopOrderException; @@ -22,6 +23,32 @@ * @throws BanLiShopOrderException */ public void addOrder(BanLiShopOrder order) throws BanLiShopOrderException; + + + /** + * 鏋勯�犺鍗� + * @param pay + * @param uid + * @return + * @throws BanLiShopOrderException + */ + public BanLiShopOrder createOrder(Long goodsSetPayId,String chargeAccount,Long uid) 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; /** * 璁㈠崟鏀粯锛堢敤绾㈠寘锛� @@ -38,9 +65,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