xhxu 3 лет назад
Родитель
Сommit
230b17a591
3 измененных файлов: 12 добавлений и 4 удалений
  1. +2
    -0
      mallinkAdmin/src/main/resources/db/migration/V2023022400002__add_mall_default_sign.sql
  2. +4
    -2
      mallinkService/src/main/java/com/iformall/domain/po/WxMall.java
  3. +6
    -2
      mallinkService/src/main/resources/mapper/WxMallMapper.xml

+ 2
- 0
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`;

+ 4
- 2
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")


+ 6
- 2
mallinkService/src/main/resources/mapper/WxMallMapper.xml Просмотреть файл

@@ -32,10 +32,13 @@
<result column="introduction" jdbcType="VARCHAR" property="introduction"/>
<result column="img" jdbcType="VARCHAR" property="img"/>

<result column="group_support" jdbcType="INTEGER" property="groupSupport"/>
<result column="latitude" jdbcType="DECIMAL" property="latitude"/>
<result column="longitude" jdbcType="DECIMAL" property="longitude"/>
<result column="default_sign" jdbcType="INTEGER" property="defaultSign"/>
<result column="group_support" jdbcType="INTEGER" property="groupSupport"/>
<result column="live_support" jdbcType="INTEGER" property="liveSupport"/>


<result column="cash_out_support" jdbcType="INTEGER" property="cashOutSupport"/>
<result column="cash_out_limit" jdbcType="INTEGER" property="cashOutLimit"/>
<result column="alipay_app_auth_token" jdbcType="VARCHAR" property="alipayAppAuthToken"/>
@@ -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`
</sql>

<sql id="dynamicWhereConditions">


Загрузка…
Отмена
Сохранить