From 744594ef1a2f530fc3e86ea9dc48b62247f79420 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 19 五月 2020 17:13:23 +0800
Subject: [PATCH] 饿了么绘图,添加口碑

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopOrderService.java |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 57 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..4b28fd2 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,33 @@
 	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;
+
+	/**
 	 * 璁㈠崟鏀粯锛堢敤绾㈠寘锛�
 	 * 
 	 * @param orderId
@@ -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);
 
 	/**
@@ -62,6 +88,26 @@
 	public long countByUid(Long uid);
 
 	/**
+	 * 鏍规嵁鐢ㄦ埛ID,鐘舵�佹煡璇�
+	 * 
+	 * @param uid
+	 * @param stateList
+	 * @param page
+	 * @param pageSize
+	 * @return
+	 */
+	public List<BanLiShopOrder> listByUidAndState(Long uid, List<Integer> stateList, int page, int pageSize);
+
+	/**
+	 * 鏍规嵁鐢ㄦ埛ID,鐘舵�佹煡璇�
+	 * 
+	 * @param uid
+	 * @param stateList
+	 * @return
+	 */
+	public long countByUidAndState(Long uid, List<Integer> stateList);
+
+	/**
 	 * 鏍规嵁涓婚敭妫�绱�
 	 * 
 	 * @param id
@@ -76,4 +122,12 @@
 	 */
 	public void udpateSelectiveByPrimaryKey(BanLiShopOrder order);
 
+	/**
+	 * 鏍规嵁璁㈠崟鍙锋煡璇�
+	 * 
+	 * @param orderNo
+	 * @return
+	 */
+	public BanLiShopOrder selectByOrderNo(String orderNo);
+
 }

--
Gitblit v1.8.0