部分修改

This commit is contained in:
2024-12-17 10:31:18 +08:00
parent d527a8fdce
commit d308ef9bca
4 changed files with 9 additions and 2 deletions

View File

@ -49,8 +49,10 @@
</select>
<select id="getById" resultType="com.ycwl.basic.model.pc.video.resp.VideoRespVO">
select v.id, v.scenic_id, member_id, template_id, task_id, worker_id, video_url, v.create_time, v.update_time,
t.name templateName,t.price templatePrice,v.is_buy isBuy
t.name templateName,t.price templatePrice,v.is_buy isBuy,
s.name scenicName
from video v
left join scenic s on v.scenic_id = s.id
left join template t on v.template_id = t.id
where v.id = #{id}
</select>