优惠券 返回shopId

This commit is contained in:
2024-11-08 16:49:01 +08:00
parent b2e228b83a
commit 46d2eff3aa
2 changed files with 2 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ public class TbUserCouponVo {
private BigDecimal fullAmount; private BigDecimal fullAmount;
private BigDecimal discountAmount; private BigDecimal discountAmount;
private Integer couponId; private Integer couponId;
private Integer shopId;
private Integer proId; private Integer proId;
//优惠券名称 //优惠券名称
private String name; private String name;

View File

@@ -42,6 +42,7 @@ id, vip_user_id, coupon_id, name, type, pro_id, full_amount, discount_amount, nu
inRecord.full_amount as fullAmount, inRecord.full_amount as fullAmount,
inRecord.discount_amount as discountAmount, inRecord.discount_amount as discountAmount,
inRecord.coupon_id as couponId, inRecord.coupon_id as couponId,
inRecord.shop_id as shopId,
pro.id as proId, pro.id as proId,
CASE CASE
WHEN inRecord.type = 1 THEN inRecord.NAME WHEN inRecord.type = 1 THEN inRecord.NAME