feat: 排行榜普通方法
This commit is contained in:
@@ -168,6 +168,15 @@
|
||||
</if>
|
||||
limit #{start},#{pageSize}
|
||||
</select>
|
||||
<select id="getContributeCount" resultType="com.landaiqing.subject.infra.basic.entity.SubjectInfo">
|
||||
select count(1) as subjectCount,
|
||||
created_by as createdBy
|
||||
from subject_info
|
||||
where is_deleted = 0
|
||||
and created_by is not null
|
||||
group by created_by
|
||||
limit 0,5
|
||||
</select>
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="insert" keyProperty="id" useGeneratedKeys="true">
|
||||
|
Reference in New Issue
Block a user