Browse Source

wx_mall添加是否支持直播

release_toaliyun_real
xiaohanzi 5 years ago
parent
commit
dfe507c2c5
3 changed files with 9 additions and 2 deletions
  1. +5
    -1
      mallinkAdmin/src/main/resources/db/migration/V202007131031__GROUP__ADD_001.sql
  2. +2
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxMall.java
  3. +2
    -1
      mallinkService/src/main/resources/mapper/WxMallMapper.xml

+ 5
- 1
mallinkAdmin/src/main/resources/db/migration/V202007131031__GROUP__ADD_001.sql View File

@@ -1,2 +1,6 @@
ALTER TABLE `wx_c_user_basic_info`
ADD COLUMN `parent_tenant_id` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID' AFTER `tenant_id`;
ADD COLUMN `parent_tenant_id` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '父租户ID' AFTER `tenant_id`;

ALTER TABLE `wx_mall`
ADD COLUMN `live_support` SMALLINT(1) DEFAULT '0' COMMENT '是否支持直播(0-不支持,1-支持)';


+ 2
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxMall.java View File

@@ -86,6 +86,8 @@ public class WxMall extends BaseEntity {
private BigDecimal longitude;
@io.swagger.annotations.ApiModelProperty(value="纬度",name="latitude")
private BigDecimal latitude;
@io.swagger.annotations.ApiModelProperty(value="直播支持(0:不支持,1支持)",name="liveSupport")
private Integer liveSupport;

@TableField(exist = false)
protected List<WxMallBuilding> buildings;


+ 2
- 1
mallinkService/src/main/resources/mapper/WxMallMapper.xml View File

@@ -35,6 +35,7 @@
<result column="group_support" jdbcType="INTEGER" property="groupSupport"/>
<result column="latitude" jdbcType="DECIMAL" property="latitude"/>
<result column="longitude" jdbcType="DECIMAL" property="longitude"/>
<result column="live_support" jdbcType="INTEGER" property="liveSupport"/>

</resultMap>

@@ -44,7 +45,7 @@
`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`
`group_support`,`latitude`,`longitude`,`live_support`
</sql>

<sql id="dynamicWhereConditions">


Loading…
Cancel
Save