From d4b3ee96ac6093683fce254541b113fb6a762060 Mon Sep 17 00:00:00 2001
From: hexiaohui <hexiaohui@LAPTOP-03V48RSB>
Date: 星期三, 03 四月 2019 23:07:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java
index 79fa954..babaf9e 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java
@@ -26,6 +26,23 @@
 	int updateByPrimaryKey(ThreeSale record);
 
 	int effectThreeSale(Long workerUid);
+	
+	/**
+	 * 鍒犻櫎澶辨晥
+	 * @param bossId
+	 * @param workerId
+	 * @return
+	 */
+	int deleteExpireRecord(@Param("bossId")Long bossId, @Param("workerId")Long workerId);
+	
+	/**
+	 * 澶辨晥
+	 * @param bossId
+	 * @param workerId
+	 * @return
+	 */
+	List<ThreeSale> getExpireRecord(@Param("bossId")Long bossId, @Param("workerId")Long workerId);
+	
 
 	/**
 	 * 鏌ヨ涓�搴﹂槦鍛橀泦鍚�
@@ -204,5 +221,12 @@
 	 */
 	ThreeSale getRelationshipByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId);
 	
+	/**
+	 * 鏍规嵁涓嬬骇鏌ヨ鎴愬姛鐨勯個璇峰叧绯�
+	 * @param workerId
+	 * @return
+	 */
+	ThreeSale selectSuccessByWorkerId(Long workerId);
+	
 
 }
\ No newline at end of file

--
Gitblit v1.8.0