@Query("SELECT createBy,channel,count(1),createDate FROM CouponItem where delFlag = 0 and coupon.id = ?1 group by createBy,createDate")
List<Object[]> sendCount(Long couponId);
@Query("SELECT createBy,channel,count(1),createDate FROM CouponItem where delFlag = 0 and coupon.id = ?1 group by createBy,createDate")
List<Object[]> sendCount(Long couponId);
转载于:https://my.oschina.net/zhangshsURL/blog/1581601