From 32f8ab2806fb088335e24983477f5179064ada9d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 29 十一月 2019 17:37:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java index 405429c..aa40d8d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java @@ -101,6 +101,10 @@ // 绱鎻愭垚璁㈠崟鏁伴噺锛堝寘鍚棤鏁堣鍗曪級 int getTotalTiChengCount(Long uid); + + + // 绱鎻愭垚绾㈠寘鏁伴噺锛堝寘鍚棤鏁堬級 + long getHongBaoCount(@Param("uid") Long uid, @Param("type") Integer type); /** * 缁熻鏈け鏁堣鍗曟暟閲� @@ -203,7 +207,19 @@ * @param list 绫诲瀷 * @return */ - long countValidOrderTeamUserByUid(@Param("uid") Long uid, @Param("date") String date, + long countValidOrderTeamUserByUid(@Param("uid") Long uid, @Param("time") Long time, @Param("payment") BigDecimal payment); + + + /** + * 鏌ヨ鐢ㄦ埛涓被鍨嬮璁″閲� + * @param uid + * @param dateType 鏃ユ湡绫诲瀷 + * @param hbType 绾㈠寘绫诲瀷 + * @return + */ + BigDecimal getRewardMoneyByDate(@Param("uid") Long uid, @Param("day")Integer dateType, + @Param("type") Integer hbType, @Param("orderState") Integer orderState); + } \ No newline at end of file -- Gitblit v1.8.0