feat: 优惠券返回名称字段
This commit is contained in:
parent
eee972193c
commit
4982d22e5a
|
|
@ -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.name as productName, " +
|
||||||
" inRecord.id as id," +
|
" inRecord.id as id," +
|
||||||
" inRecord.full_amount as fullAmount," +
|
" inRecord.full_amount as fullAmount," +
|
||||||
" inRecord.discount_amount as discountAmount," +
|
" inRecord.discount_amount as discountAmount," +
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,8 @@ public class TbUserCouponVo {
|
||||||
private Integer proId;
|
private Integer proId;
|
||||||
//优惠券名称
|
//优惠券名称
|
||||||
private String name;
|
private String name;
|
||||||
|
// 商品名称
|
||||||
|
private String productName;
|
||||||
//优惠券类型 1 满减 2 商品券
|
//优惠券类型 1 满减 2 商品券
|
||||||
private Integer type;
|
private Integer type;
|
||||||
//数量
|
//数量
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue