|
@@ -36,7 +36,7 @@ public interface LifeDiscountCouponStoreFriendMapper extends BaseMapper<LifeDisc
|
|
|
IPage<LifeDiscountCouponVo> selectPage(IPage<LifeDiscountCouponStoreFriendVo> iPage, @Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponStoreFriendVo> friendLifeDiscountCouponQueryWrapper);
|
|
IPage<LifeDiscountCouponVo> selectPage(IPage<LifeDiscountCouponStoreFriendVo> iPage, @Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponStoreFriendVo> friendLifeDiscountCouponQueryWrapper);
|
|
|
|
|
|
|
|
/** 好友赠我 - 优惠券 */
|
|
/** 好友赠我 - 优惠券 */
|
|
|
- @Select("select ldcsf.created_time endDate,ldc.valid_date validDate,ldc.nominal_value nominalValue,ldc.minimum_spending_amount minimumSpendingAmount,\n" +
|
|
|
|
|
|
|
+ @Select("select ldc.valid_date endDate,ldc.valid_date validDate,ldc.nominal_value nominalValue,ldc.minimum_spending_amount minimumSpendingAmount,\n" +
|
|
|
"si.store_name storeName,\n" +
|
|
"si.store_name storeName,\n" +
|
|
|
"si.id storeId,\n" +
|
|
"si.id storeId,\n" +
|
|
|
"ldc.name couponName,\n" +
|
|
"ldc.name couponName,\n" +
|
|
@@ -53,7 +53,7 @@ public interface LifeDiscountCouponStoreFriendMapper extends BaseMapper<LifeDisc
|
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponList(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponList(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
|
|
|
|
|
|
/** 好友赠我 - 代金券(type=4) */
|
|
/** 好友赠我 - 代金券(type=4) */
|
|
|
- @Select("select ldcsf.created_time endDate,lc.end_date validDate,CAST(lc.price AS DECIMAL(10,2)) nominalValue,null minimumSpendingAmount,\n" +
|
|
|
|
|
|
|
+ @Select("select lc.end_date endDate,lc.end_date validDate,CAST(lc.price AS DECIMAL(10,2)) nominalValue,null minimumSpendingAmount,\n" +
|
|
|
"si.store_name storeName,\n" +
|
|
"si.store_name storeName,\n" +
|
|
|
"si.id storeId,\n" +
|
|
"si.id storeId,\n" +
|
|
|
"lc.name couponName,\n" +
|
|
"lc.name couponName,\n" +
|
|
@@ -68,7 +68,7 @@ public interface LifeDiscountCouponStoreFriendMapper extends BaseMapper<LifeDisc
|
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponListVoucher(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponListVoucher(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
|
|
|
|
|
|
/** 我赠好友 - 优惠券 */
|
|
/** 我赠好友 - 优惠券 */
|
|
|
- @Select("select ldcsf.created_time endDate,ldc.valid_date validDate,ldc.nominal_value nominalValue,ldc.minimum_spending_amount minimumSpendingAmount,\n" +
|
|
|
|
|
|
|
+ @Select("select ldc.valid_date endDate,ldc.valid_date validDate,ldc.nominal_value nominalValue,ldc.minimum_spending_amount minimumSpendingAmount,\n" +
|
|
|
"si.store_name storeName,\n" +
|
|
"si.store_name storeName,\n" +
|
|
|
"si.id storeId,\n" +
|
|
"si.id storeId,\n" +
|
|
|
"ldc.name couponName,\n" +
|
|
"ldc.name couponName,\n" +
|
|
@@ -87,7 +87,7 @@ public interface LifeDiscountCouponStoreFriendMapper extends BaseMapper<LifeDisc
|
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponListwzhy(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
List<LifeDiscountCouponFriendRuleVo> getReceivedSendFriendCouponListwzhy(@Param(Constants.WRAPPER) QueryWrapper<LifeDiscountCouponFriendRuleVo> lifeDiscountCouponFriendRuleVoQueryWrapper);
|
|
|
|
|
|
|
|
/** 我赠好友 - 代金券(type=4) */
|
|
/** 我赠好友 - 代金券(type=4) */
|
|
|
- @Select("select ldcsf.created_time endDate,lc.end_date validDate,CAST(lc.price AS DECIMAL(10,2)) nominalValue,null minimumSpendingAmount,\n" +
|
|
|
|
|
|
|
+ @Select("select lc.end_date endDate,lc.end_date validDate,CAST(lc.price AS DECIMAL(10,2)) nominalValue,null minimumSpendingAmount,\n" +
|
|
|
"si.store_name storeName,\n" +
|
|
"si.store_name storeName,\n" +
|
|
|
"si.id storeId,\n" +
|
|
"si.id storeId,\n" +
|
|
|
"lc.name couponName,\n" +
|
|
"lc.name couponName,\n" +
|