mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-18 04:01:54 +08:00
code review:统计代码
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
FROM member_user
|
||||
WHERE deleted = FALSE
|
||||
GROUP BY area_id
|
||||
<!-- TODO @疯狂:order by 是不是交给内存哈 -->
|
||||
ORDER BY userCount DESC
|
||||
</select>
|
||||
|
||||
@@ -17,6 +18,7 @@
|
||||
FROM member_user
|
||||
WHERE deleted = FALSE
|
||||
GROUP BY sex
|
||||
<!-- TODO @疯狂:order by 是不是交给内存哈 -->
|
||||
ORDER BY userCount DESC
|
||||
</select>
|
||||
|
||||
@@ -31,4 +33,5 @@
|
||||
AND create_time <= #{endTime}
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user