统计:会员终端统计接口实现

This commit is contained in:
owen
2023-10-16 14:23:53 +08:00
parent 6f08645f61
commit b6d400e04a
5 changed files with 24 additions and 8 deletions

View File

@@ -18,6 +18,14 @@
GROUP BY sex
</select>
<select id="selectSummaryListByRegisterTerminal"
resultType="cn.iocoder.yudao.module.statistics.controller.admin.member.vo.MemberTerminalStatisticsRespVO">
SELECT register_terminal as terminal, COUNT(1) AS userCount
FROM member_user
WHERE deleted = FALSE
GROUP BY register_terminal
</select>
<select id="selectUserCount" resultType="java.lang.Integer">
SELECT COUNT(1)
FROM member_user