mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-22 03:42:42 +08:00
fixed: 报错
This commit is contained in:
parent
3b67766ab2
commit
b95cd7fbab
@ -23,7 +23,7 @@
|
|||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="getCategoryCount" resultType="xyz.playedu.api.types.mapper.CourseCategoryCountMapper">
|
<select id="getCategoryCount" resultType="xyz.playedu.api.types.mapper.CourseCategoryCountMapper">
|
||||||
SELECT `resource_course_category`.`cid` as `cid`, count(*) as `total`
|
SELECT `resource_course_category`.`category_id` as `cid`, count(*) as `total`
|
||||||
FROM `resource_course_category`
|
FROM `resource_course_category`
|
||||||
GROUP BY `resource_course_category`.`category_id`;
|
GROUP BY `resource_course_category`.`category_id`;
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user