From 2701dca44e1972afe9956ced2f949d2998c1bb4b Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 19 六月 2025 20:00:45 +0800 Subject: [PATCH] 客户管理详情 --- framework/src/main/resources/mapper/lmk/VideoMapper.xml | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/framework/src/main/resources/mapper/lmk/VideoMapper.xml b/framework/src/main/resources/mapper/lmk/VideoMapper.xml index d28f9d9..b2bd6bd 100644 --- a/framework/src/main/resources/mapper/lmk/VideoMapper.xml +++ b/framework/src/main/resources/mapper/lmk/VideoMapper.xml @@ -41,6 +41,9 @@ <result column="collect_num" property="collectNum" /> <result column="comment_num" property="commentNum" /> <result column="status" property="status" /> + <result column="video_content_type" property="videoContentType" /> + <result column="video_type" property="videoType" /> + <result column="video_imgs" property="videoImgs" /> </resultMap> @@ -141,7 +144,7 @@ ) AS LVT ON LV.id = LVT.video_id </if> WHERE - LV.delete_flag = 0 + LV.delete_flag = 0 AND LV.video_type = #{query.videoType} <if test="query.title != null and query.title != ''">AND LV.title LIKE CONCAT('%', #{query.title}, '%')</if> <if test="query.authorId != null and query.authorId != ''">AND LV.author_id = #{query.authorId}</if> <if test="query.status != null and query.status != ''">AND LV.status = #{query.status}</if> @@ -176,7 +179,7 @@ lmk_video LV LEFT JOIN li_member LM ON LV.author_id = LM.id WHERE - LV.delete_flag = 0 AND LV.status = '1' + LV.delete_flag = 0 AND LV.status = '1' AND LV.video_type = #{query.videoType} </select> @@ -272,6 +275,7 @@ AND LV.status = '1' </if> AND LV.author_id = #{query.authorId} + AND LV.video_type = #{query.videoType} ORDER BY LV.collect_num DESC </select> @@ -305,7 +309,7 @@ INNER JOIN lmk_video LV ON LMC.ref_id = LV.id AND LV.delete_flag = 0 AND LV.status = '1' LEFT JOIN li_member LM ON LV.author_id = LM.id WHERE - LMC.delete_flag = 0 AND LMC.user_id = #{query.authorId} AND LMC.collect_type = 'video' + LMC.delete_flag = 0 AND LMC.user_id = #{query.authorId} AND LMC.collect_type = 'video' AND LV.video_type = #{query.videoType} ORDER BY LMC.create_time DESC </select> -- Gitblit v1.8.0