From d7f7dfe84c9b7624d74fa9c08d3563b549317ce0 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期六, 26 一月 2019 16:04:32 +0800 Subject: [PATCH] 等级更新时间 当月1号 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ThreeSaleMapper.java | 20 ++++++++++++++++++++ 1 files changed, 20 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 1af529b..79fa954 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 @@ -185,4 +185,24 @@ * @return */ List<ThreeSale> listByWorkerId(Long workerId); + + + /** + * 鑾峰彇鎴愬姛閭�璇峰叧绯绘暟閲� + * + * @param uid + * @return + */ + int getSuccessRelationshipNum(@Param("uid") Long uid); + + + /** + * 鏍规嵁閭�璇疯�匢D銆乥ossID鏌ヨ 鏈夋晥鍏崇郴 + * + * @param workerId + * @return + */ + ThreeSale getRelationshipByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId); + + } \ No newline at end of file -- Gitblit v1.8.0