Просмотр исходного кода

wx_mall添加是否支持直播

release_toaliyun_real
xiaohanzi 5 лет назад
Родитель
Сommit
dfe507c2c5
3 измененных файлов: 9 добавлений и 2 удалений
  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 Просмотреть файл

@@ -1,2 +1,6 @@
ALTER TABLE `wx_c_user_basic_info` 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 Просмотреть файл

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


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


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

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


</resultMap> </resultMap>


@@ -44,7 +45,7 @@
`img_url`,`img_url_h`, `weap_note`, `img_qrcode_weapp`, `img_qrcode_wemp`, `img_url`,`img_url_h`, `weap_note`, `img_qrcode_weapp`, `img_qrcode_wemp`,
`weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`, `weapp_share_title`,`weapp_share_cover_img`, `pos_qrcode_rule`,
`sale_type`, `valid_start`, `valid_end`,`business_hours`,`introduction`,`img`, `sale_type`, `valid_start`, `valid_end`,`business_hours`,`introduction`,`img`,
`group_support`,`latitude`,`longitude`
`group_support`,`latitude`,`longitude`,`live_support`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">


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