视频列表接口优化

This commit is contained in:
xiezhijun
2021-06-15 18:28:34 +08:00
parent f0ebfc9992
commit 5bb89cbcc8
2 changed files with 46 additions and 2 deletions

View File

@ -146,7 +146,7 @@
</select>
<select id="getAllVideoByClassify" resultType="com.stdiet.custom.dto.response.VideoResponse">
select snv.video_id as videoId, snv.title
select snv.video_id as videoId, snv.title, snv.cover_url as coverUrl,snv.play_num as playNum
from sys_nutritional_video snv where cate_id = #{id} and del_flag = 0 and show_flag = 1
<if test="userType != null">
<if test="userType == 0">