You've already forked FrameTour-BE
加点缓存
This commit is contained in:
@ -55,8 +55,6 @@ mybatis-plus:
|
||||
# 开启驼峰命名法
|
||||
map-underscore-to-camel-case: true
|
||||
use-generated-keys: true
|
||||
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# 指定使用的日志配置文件
|
||||
logging:
|
||||
config: classpath:logback-spring.xml
|
||||
|
@ -124,7 +124,7 @@
|
||||
order by so.create_time desc
|
||||
</select>
|
||||
<select id="queryByRelation" resultType="com.ycwl.basic.model.pc.source.resp.SourceRespVO">
|
||||
select so.id, ms.scenic_id, ms.type, so.url, so.create_time, so.update_time,sc.`name` as scenicName
|
||||
select so.id, ms.face_id, ms.scenic_id, ms.type, so.url, so.create_time, so.update_time,sc.`name` as scenicName
|
||||
from member_source ms
|
||||
left join source so on ms.source_id = so.id
|
||||
left join scenic sc on sc.id = so.scenic_id
|
||||
|
@ -85,7 +85,7 @@
|
||||
select * from video where task_id = #{taskId} limit 1
|
||||
</select>
|
||||
<select id="queryByRelation" resultType="com.ycwl.basic.model.pc.video.resp.VideoRespVO">
|
||||
select v.id, mv.scenic_id, v.template_id, mv.task_id, worker_id, video_url, v.create_time, v.update_time,
|
||||
select v.id, mv.scenic_id, v.template_id, mv.task_id, mv.face_id, worker_id, video_url, v.create_time, v.update_time,
|
||||
s.name scenicName, t.name templateName, t.price templatePrice,t.cover_url templateCoverUrl,mv.is_buy
|
||||
from member_video mv
|
||||
left join video v on mv.video_id = v.id
|
||||
|
Reference in New Issue
Block a user