From 553e4585a5ec8e2c22b50e33a27d14ead6fd034d Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期五, 26 四月 2019 15:16:07 +0800 Subject: [PATCH] 店铺足迹删除+ 假删除 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 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 1aa616d..9102c9d 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 @@ -7,6 +7,8 @@ import org.apache.ibatis.annotations.Param; +import com.yeshi.fanli.vo.order.HongBaoV2VO; + public interface HongBaoV2CountMapper { @@ -26,6 +28,13 @@ * @return */ Integer countNumberByUidAndState(@Param("uid")Long uid, @Param("state") Integer state); + + /** + * 缁熻鐢ㄦ埛鎬荤殑绾㈠寘鏁伴噺 + * @param uid + * @return + */ + Long countNumberByUid(@Param("uid")Long uid); /** * 缁熻鎬婚噾棰� @@ -104,4 +113,25 @@ Date getLastHongBaoTime(@Param("uid") Long uid); + + /** + * 鏍规嵁娓犻亾 缁熻鏂板鐢ㄦ埛24灏忔椂鍐呬骇鐢熺殑璁㈠崟鏁伴噺 + * + * @param channel + * @return + */ + List<Map<String, Object>> count24HOderByChannel(@Param("channel") String channel, @Param("type") Integer type, + @Param("years") String years, @Param("startTime") String startTime, @Param("endTime") String endTime); + + List<HongBaoV2VO> listShareAndInviteMoney(@Param("start") long start, @Param("count") int count, + @Param("date") String date); + + + /** + * 缁熻濂栧姳鍒告�婚噾棰� + * @return + */ + BigDecimal countRebateCouponMoney(); + + } \ No newline at end of file -- Gitblit v1.8.0