适配优化的sql,将平台id改为0

This commit is contained in:
paulGao 2022-06-08 16:15:14 +08:00
parent fb45fee426
commit 6ce2b65d89
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ public class BasePromotions extends BaseEntity {
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")
private String storeName;
@ApiModelProperty(value = "商家id如果是平台这个值为 platform")
@ApiModelProperty(value = "商家id如果是平台这个值为 0")
private String storeId;
@NotEmpty(message = "活动名称不能为空")

View File

@ -36,7 +36,7 @@ public class MemberCoupon extends BaseEntity {
@ApiModelProperty(value = "从哪个模版领取的优惠券")
private String couponId;
@ApiModelProperty(value = "商家id如果是平台发送这个值为 platform")
@ApiModelProperty(value = "商家id如果是平台发送这个值为 0")
private String storeId;
@ApiModelProperty(value = "商家名称,如果是平台,这个值为 platform")

View File

@ -31,7 +31,7 @@ public class PromotionTools {
public static final String START_TIME_COLUMN = "start_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";
/**