适配优化的sql,将平台id改为0
This commit is contained in:
parent
fb45fee426
commit
6ce2b65d89
@ -29,7 +29,7 @@ public class BasePromotions extends BaseEntity {
|
|||||||
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")
|
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")
|
||||||
private String storeName;
|
private String storeName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "商家id,如果是平台,这个值为 platform")
|
@ApiModelProperty(value = "商家id,如果是平台,这个值为 0")
|
||||||
private String storeId;
|
private String storeId;
|
||||||
|
|
||||||
@NotEmpty(message = "活动名称不能为空")
|
@NotEmpty(message = "活动名称不能为空")
|
||||||
|
@ -36,7 +36,7 @@ public class MemberCoupon extends BaseEntity {
|
|||||||
@ApiModelProperty(value = "从哪个模版领取的优惠券")
|
@ApiModelProperty(value = "从哪个模版领取的优惠券")
|
||||||
private String couponId;
|
private String couponId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "商家id,如果是平台发送,这个值为 platform")
|
@ApiModelProperty(value = "商家id,如果是平台发送,这个值为 0")
|
||||||
private String storeId;
|
private String storeId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")
|
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")
|
||||||
|
@ -31,7 +31,7 @@ public class PromotionTools {
|
|||||||
|
|
||||||
public static final String START_TIME_COLUMN = "start_time";
|
public static final String START_TIME_COLUMN = "start_time";
|
||||||
public static final String END_TIME_COLUMN = "end_time";
|
public static final String END_TIME_COLUMN = "end_time";
|
||||||
public static final String PLATFORM_ID = "platform";
|
public static final String PLATFORM_ID = "0";
|
||||||
public static final String PLATFORM_NAME = "platform";
|
public static final String PLATFORM_NAME = "platform";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user