feat: 优惠券返回名称字段

This commit is contained in:
张松 2024-11-06 10:42:32 +08:00
parent 4982d22e5a
commit b2823c5966
2 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,7 @@ import java.util.List;
public interface TbActivateInRecordMapper extends BaseMapper<TbActivateInRecord> {
@Select("SELECT" +
" pro.cover_img as productCover, " +
" pro.name as productName, " +
" inRecord.id as id," +
" inRecord.full_amount as fullAmount," +

View File

@ -12,10 +12,12 @@ public class TbUserCouponVo {
private BigDecimal discountAmount;
private Integer couponId;
private Integer proId;
//优惠券名称
private String name;
// 商品名称
private String productName;
private String productCover;
//优惠券名称
private String name;
//优惠券类型 1 满减 2 商品券
private Integer type;
//数量