From e4a56b57d3e10b9b46eaefe5194bbf98fcc45698 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期四, 11 七月 2019 18:41:09 +0800
Subject: [PATCH] Merge branch 'master' into div

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/taobao/TLJBuyGoodsService.java |   88 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 88 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/taobao/TLJBuyGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/taobao/TLJBuyGoodsService.java
new file mode 100644
index 0000000..945b62f
--- /dev/null
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/taobao/TLJBuyGoodsService.java
@@ -0,0 +1,88 @@
+package com.yeshi.fanli.service.inter.taobao;
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.taobao.TLJBuyGoods;
+import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
+import com.yeshi.fanli.entity.taobao.TaoKeAppInfo;
+
+/**
+ * 鑷喘绔嬪噺
+ * 
+ * @author Administrator
+ *
+ */
+public interface TLJBuyGoodsService {
+
+	/**
+	 * 娣诲姞鑷喘绔嬪噺鍟嗗搧
+	 * 
+	 * @param goods
+	 */
+	public void addTLJBuyGoods(TLJBuyGoods goods,TaoKeAppInfo taoKeAppInfo);
+
+	/**
+	 * 鏍规嵁鏃ユ湡鏌ユ壘
+	 * 
+	 * @param day
+	 * @return
+	 */
+	public List<TLJBuyGoods> listByDay(String day);
+
+	public List<TLJBuyGoods> listByDay(String day, int count);
+
+	/**
+	 * 鏍规嵁涓婚敭鍒犻櫎
+	 * 
+	 * @param id
+	 */
+	public void deleteById(String id);
+
+	/**
+	 * 鑾峰彇澶囬�夊晢鍝�
+	 * 
+	 * @return
+	 */
+	public List<TaoBaoGoodsBrief> listPreGoods(int page);
+
+	/**
+	 * 鏍规嵁鍟嗗搧id鍒犻櫎
+	 * 
+	 * @param goodsId
+	 */
+	public void deleteByGoodsId(Long goodsId);
+
+	/**
+	 * 楠岃瘉鏄惁鍙互鍒涘缓娣樼ぜ閲�
+	 * 
+	 * @param auctionId
+	 * @return
+	 */
+	public boolean verifyCanCreateTLJ(Long auctionId);
+
+	/**
+	 * 鏇存柊鍟嗗搧
+	 * 
+	 * @param goods
+	 */
+	public void updateGoods(TaoBaoGoodsBrief goods);
+
+	/**
+	 * 鍑忓幓鍓╀綑绾㈠寘鏁伴噺
+	 * 
+	 * @param auctionId
+	 * @param day
+	 * @param count
+	 */
+	public void subHongBaoLeftCount(Long auctionId, String day, int count);
+
+	/**
+	 * 鏍规嵁鍟嗗搧ID鍜屾棩鏈熸煡璇�
+	 * 
+	 * @param auctionId
+	 * @param day
+	 * @return
+	 */
+	public TLJBuyGoods selectByAuctionIdAndDay(Long auctionId, String day);
+
+}

--
Gitblit v1.8.0