| @@ -34,4 +34,10 @@ public interface WxCouponMapper extends CommonMapper<WxCoupon, Long> { | |||||
| * @return | * @return | ||||
| */ | */ | ||||
| List<WxCoupon> findPaymentByDate(WxCoupon wxCoupon); | List<WxCoupon> findPaymentByDate(WxCoupon wxCoupon); | ||||
| Long findSaleCardCount(WxCoupon wxCoupon); | |||||
| Long findTranCardCount(WxCoupon wxCoupon); | |||||
| Long findSubsidyMoney(WxCoupon wxCoupon); | |||||
| } | } | ||||
| @@ -75,5 +75,21 @@ public interface WxCouponService { | |||||
| */ | */ | ||||
| List<WxCoupon> findPaymentByDate(WxCoupon wxCoupon); | List<WxCoupon> findPaymentByDate(WxCoupon wxCoupon); | ||||
| Long findSaleCardCount(); | |||||
| /** | |||||
| * 查询售出卡数量 | |||||
| * @return | |||||
| */ | |||||
| Long findSaleCardCount(WxCoupon wxCoupon); | |||||
| /** | |||||
| * 查询转增数量 | |||||
| * @return | |||||
| */ | |||||
| Long findTranCardCount(WxCoupon wxCoupon); | |||||
| /** | |||||
| * 查询补贴金额 | |||||
| * @return | |||||
| */ | |||||
| Long findSubsidyMoney(WxCoupon wxCoupon); | |||||
| } | } | ||||
| @@ -336,7 +336,17 @@ public class WxCouponServiceImpl implements WxCouponService { | |||||
| } | } | ||||
| @Override | @Override | ||||
| public Long findSaleCardCount() { | |||||
| public Long findSaleCardCount(WxCoupon wxCoupon) { | |||||
| return null; | |||||
| } | |||||
| @Override | |||||
| public Long findTranCardCount(WxCoupon wxCoupon) { | |||||
| return null; | |||||
| } | |||||
| @Override | |||||
| public Long findSubsidyMoney(WxCoupon wxCoupon) { | |||||
| return null; | return null; | ||||
| } | } | ||||
| } | } | ||||
| @@ -642,7 +642,12 @@ | |||||
| <result column="subsidy_num" jdbcType="INTEGER" property="subsidyNum"/> | <result column="subsidy_num" jdbcType="INTEGER" property="subsidyNum"/> | ||||
| <result column="press_limit_num" jdbcType="INTEGER" property="pressLimitNum"/> | <result column="press_limit_num" jdbcType="INTEGER" property="pressLimitNum"/> | ||||
| <result column="press_limit_hours" jdbcType="INTEGER" property="pressLimitHours"/> | <result column="press_limit_hours" jdbcType="INTEGER" property="pressLimitHours"/> | ||||
| <result column="xtime" property="xtime"/> | |||||
| <result column="sale_count" property="saleCount"/> | |||||
| <result column="transfer_count" property="transferCount"/> | |||||
| <result column="sale_amount" property="saleAmount"/> | |||||
| <result column="sum_payment" property="sumPayment"/> | |||||
| <collection column="{productId=id}" property="merchantVoList" | <collection column="{productId=id}" property="merchantVoList" | ||||
| ofType="com.iformall.domain.vo.WxMerchantVo" | ofType="com.iformall.domain.vo.WxMerchantVo" | ||||
| javaType="java.util.List" | javaType="java.util.List" | ||||