xiangpei
2025-06-12 890703c95f05eb7507441d12eee27fd21197e8c0
视频表增加字段
3个文件已修改
57 ■■■■ 已修改文件
framework/src/main/java/cn/lili/modules/lmk/domain/entity/Video.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoVO.java 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
framework/src/main/resources/mapper/lmk/VideoMapper.xml 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
framework/src/main/java/cn/lili/modules/lmk/domain/entity/Video.java
@@ -45,9 +45,17 @@
    /** 视频标题 */
    private String title;
    @TableField("goods_id")
    /** 商品id */
    private String goodsId;
    @TableField("video_content_type")
    /** 视频内容类型:视频、图片 */
    private String videoContentType;
    @TableField("video_type")
    /** 视频类型:视频、大健康、神厨 */
    private String videoType;
    @TableField("video_imgs")
    /** 图片地址(json数组),对应video_type = 图片 */
    private String videoImgs;
    @TableField("goods_view_num")
    /** 商品查看次数 */
framework/src/main/java/cn/lili/modules/lmk/domain/vo/VideoVO.java
@@ -38,6 +38,18 @@
    @ApiModelProperty("视频标签")
    private List<SimpleVideoTagVO> tagList;
    @ApiModelProperty("视频内容类型:视频、图片")
    private String videoContentType;
    @ApiModelProperty("视频类型:视频、大健康、神厨")
    private String videoType;
    @ApiModelProperty(value = "图片列表,json数组", hidden = true)
    private String videoImgs;
    @ApiModelProperty("图片列表")
    private List<String> imgs;
    /** 视频填充模式 */
    @ApiModelProperty("视频填充模式")
    private String videoFit;
framework/src/main/resources/mapper/lmk/VideoMapper.xml
@@ -23,6 +23,9 @@
        <result column="weight" property="weight" />
        <result column="audit_pass_time" property="auditPassTime" />
        <result column="update_time" property="updateTime" />
        <result column="video_content_type" property="videoContentType" />
        <result column="video_type" property="videoType" />
        <result column="video_imgs" property="videoImgs" />
    </resultMap>
    <!-- 微信推荐视频 -->
@@ -49,7 +52,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -60,6 +62,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName
        FROM
@@ -78,7 +83,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -89,6 +93,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName
        FROM
@@ -107,7 +114,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -118,6 +124,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName
        FROM
@@ -147,7 +156,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -158,6 +166,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName,
            LM.face as authorAvatar
@@ -236,7 +247,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -247,6 +257,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName,
            LM.face as authorAvatar
@@ -271,7 +284,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -282,6 +294,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id,
            LM.nick_name as authorName,
            LM.face as authorAvatar
@@ -315,7 +330,6 @@
            LV.video_duration,
            LV.video_file_key,
            LV.title,
            LV.goods_id,
            LV.goods_view_num,
            LV.goods_order_num,
            LV.recommend,
@@ -326,6 +340,9 @@
            LV.weight,
            LV.audit_pass_time,
            LV.update_time,
            LV.video_content_type,
            LV.video_type,
            LV.video_imgs,
            LV.id
        FROM
            lmk_video LV