This commit is contained in:
张良(004796)
2024-01-22 14:53:05 +08:00
parent 90d961d11d
commit 73a8977676
18 changed files with 197 additions and 8 deletions

View File

@@ -44,6 +44,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
order by t1.create_time desc
</select>
<select id="incomeStatistics" resultType="com.ruoyi.cai.controller.admin.incomeStatis.VipOrderCountDTO">
select
sum(price) as vip_money,
count(id) as vip_count
from cai_vip_order
where admin = 0
and pay_time between #{startTime} and #{endTime};
</select>
</mapper>