From f891e43e0de1bf07ae130b0f7f5bebeba8bb41bb Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 21 五月 2020 17:35:45 +0800 Subject: [PATCH] 团队v --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 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 11d7b0e..51c6b40 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 @@ -140,8 +140,17 @@ * @param payment * @return */ - Long countMyDirectOrderByCashArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment); + Long countMyDirectOrderByCashArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment, + @Param("type")Integer type); + /** + * 娉細1绗斾笖浠樻鎬婚噾棰濅笉灏忎簬 payment 鍏冿紙閫�娆句负澶辨晥 + * @param uid + * @param payment + * @return + */ + Long countMyDirectOrderByCashNotArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment, + @Param("type")Integer type); /** @@ -165,4 +174,30 @@ Long countOrderByTypeAndDate(@Param("orderType") Integer orderType, @Param("preDay") String preDay); + /** + * 缁熻杩戞棩鍒拌处鏀跺叆閲戦 + * @param uid + * @param day + * @return + */ + BigDecimal sumMoneyArrivalByUidAndNearDay(@Param("uid") Long uid, @Param("day") int day); + + + /** + * 缁熻缁撶畻閲戦 + * @param uid + * @param minDate + * @param maxDate + * @return + */ + BigDecimal sumMoneyBySettleTimeAndUid(@Param("uid") Long uid, @Param("minDate") Date minDate, @Param("maxDate") Date maxDate); + + /** + * 180鍐呮湭鏀惰揣鐨勯噾棰� + * @param uid + * @return + */ + BigDecimal sumMoneyByANotSettleAndUid(@Param("uid") Long uid); + + } \ No newline at end of file -- Gitblit v1.8.0