mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-23 20:42:42 +08:00
优化sql
This commit is contained in:
parent
7f9ca140da
commit
af95beadad
@ -35,7 +35,6 @@
|
||||
group by `course_id`) as `t2`
|
||||
on `t2`.`course_id` = `t1`.`course_id` and
|
||||
`t2`.`latest_at` = `t1`.`updated_at`
|
||||
where `t1`.`user_id` = #{userId}
|
||||
order by `t1`.`updated_at` desc
|
||||
limit #{size};
|
||||
</select>
|
||||
|
Loading…
x
Reference in New Issue
Block a user