feat: 优惠券返回名称字段
This commit is contained in:
@@ -18,6 +18,7 @@ import java.util.List;
|
|||||||
public interface TbActivateInRecordMapper extends BaseMapper<TbActivateInRecord> {
|
public interface TbActivateInRecordMapper extends BaseMapper<TbActivateInRecord> {
|
||||||
|
|
||||||
@Select("SELECT" +
|
@Select("SELECT" +
|
||||||
|
" pro.cover_img as productCover, " +
|
||||||
" pro.name as productName, " +
|
" pro.name as productName, " +
|
||||||
" inRecord.id as id," +
|
" inRecord.id as id," +
|
||||||
" inRecord.full_amount as fullAmount," +
|
" inRecord.full_amount as fullAmount," +
|
||||||
|
|||||||
@@ -12,10 +12,12 @@ public class TbUserCouponVo {
|
|||||||
private BigDecimal discountAmount;
|
private BigDecimal discountAmount;
|
||||||
private Integer couponId;
|
private Integer couponId;
|
||||||
private Integer proId;
|
private Integer proId;
|
||||||
//优惠券名称
|
|
||||||
private String name;
|
|
||||||
// 商品名称
|
// 商品名称
|
||||||
private String productName;
|
private String productName;
|
||||||
|
private String productCover;
|
||||||
|
//优惠券名称
|
||||||
|
private String name;
|
||||||
|
|
||||||
//优惠券类型 1 满减 2 商品券
|
//优惠券类型 1 满减 2 商品券
|
||||||
private Integer type;
|
private Integer type;
|
||||||
//数量
|
//数量
|
||||||
|
|||||||
Reference in New Issue
Block a user