You've already forked FrameTour-BE
优惠券加两字段
This commit is contained in:
@@ -19,6 +19,12 @@ public class CouponEntity {
|
||||
// 新增优惠券名称字段
|
||||
private String name;
|
||||
|
||||
// 优惠券描述
|
||||
private String description;
|
||||
|
||||
// 倒计时字段(仅用于展示)
|
||||
private String countdown;
|
||||
|
||||
/**
|
||||
* 优惠券类别,0:普通优惠券;1:第一次推送;2:第二次;3:第三次
|
||||
*/
|
||||
|
@@ -13,6 +13,12 @@ public class CouponRespVO {
|
||||
// 新增优惠券名称字段
|
||||
private String name;
|
||||
|
||||
// 优惠券描述
|
||||
private String description;
|
||||
|
||||
// 倒计时字段(仅用于展示)
|
||||
private String countdown;
|
||||
|
||||
/**
|
||||
* 优惠券类别,0:普通优惠券;1:第一次推送;2:第二次;3:第三次
|
||||
*/
|
||||
|
@@ -11,7 +11,7 @@
|
||||
<select id="selectByQuery" resultType="com.ycwl.basic.model.pc.coupon.resp.CouponRespVO">
|
||||
SELECT
|
||||
c.id, scenic_id AS scenicId, s.name as scenicName,
|
||||
c.name AS name,
|
||||
c.name AS name, c.description AS description, c.countdown AS countdown,
|
||||
config_ids AS configIds, discount_price AS discountPrice,
|
||||
type, discount_type AS discountType,
|
||||
c.status, c.create_at
|
||||
|
Reference in New Issue
Block a user