diff --git a/mallinkAdmin/src/main/resources/db/migration/V2023022400002__add_mall_default_sign.sql b/mallinkAdmin/src/main/resources/db/migration/V2023022400002__add_mall_default_sign.sql new file mode 100644 index 000000000..4b88c3d36 --- /dev/null +++ b/mallinkAdmin/src/main/resources/db/migration/V2023022400002__add_mall_default_sign.sql @@ -0,0 +1,2 @@ +ALTER TABLE `mallink`.`wx_mall` +ADD COLUMN `default_sign` smallint(1) DEFAULT 0 COMMENT '默认标记' AFTER `longitude`; \ No newline at end of file diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxMall.java b/mallinkService/src/main/java/com/iformall/domain/po/WxMall.java index 78a4f0647..1ba3373d5 100644 --- a/mallinkService/src/main/java/com/iformall/domain/po/WxMall.java +++ b/mallinkService/src/main/java/com/iformall/domain/po/WxMall.java @@ -79,12 +79,14 @@ public class WxMall extends TenantEntity { @io.swagger.annotations.ApiModelProperty(value = "启用结束时间", name = "validEnd") private Date validEnd; - @io.swagger.annotations.ApiModelProperty(value="集团支持(0:不支持,1支持)",name="groupSupport") - private Integer groupSupport; @io.swagger.annotations.ApiModelProperty(value="经度",name="longitude") private BigDecimal longitude; @io.swagger.annotations.ApiModelProperty(value="纬度",name="latitude") private BigDecimal latitude; + @io.swagger.annotations.ApiModelProperty(value="默认标记(0:,1默认)",name="defaultSign") + private Integer defaultSign; + @io.swagger.annotations.ApiModelProperty(value="集团支持(0:不支持,1支持)",name="groupSupport") + private Integer groupSupport; @io.swagger.annotations.ApiModelProperty(value="直播支持(0:不支持,1支持)",name="liveSupport") private Integer liveSupport; @io.swagger.annotations.ApiModelProperty(value="是否支持商户提现(不开启分账才有效) 0-不支持 1-支持",name="cashOutSupport") diff --git a/mallinkService/src/main/resources/mapper/WxMallMapper.xml b/mallinkService/src/main/resources/mapper/WxMallMapper.xml index cce5879de..c5f0e374d 100644 --- a/mallinkService/src/main/resources/mapper/WxMallMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxMallMapper.xml @@ -32,10 +32,13 @@ - + + + + @@ -56,7 +59,8 @@ `img_url`,`img_url_h`, `weap_note`, `img_qrcode_weapp`, `img_qrcode_wemp`, `weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`, `sale_type`, `valid_start`, `valid_end`,`business_hours`,`introduction`,`img`, - `group_support`,`latitude`,`longitude`,`live_support`,`cash_out_support`,`cash_out_limit`,`alipay_app_auth_token`,`alipay_member_template_id` + `latitude`,`longitude`,`default_sign`,`group_support`,`live_support`, + `cash_out_support`,`cash_out_limit`,`alipay_app_auth_token`,`alipay_member_template_id`