nnnn
This commit is contained in:
@@ -64,5 +64,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and pay_time between #{startTime} and #{endTime}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="totalPage" resultType="com.ruoyi.cai.dto.admin.vo.order.RechargeOrderCountAdminVo">
|
||||
select date(t1.pay_time) as countDate,t1.appid,t1.price,count(1) as totalNum
|
||||
from cai_recharge_order t1
|
||||
where t1.pay_status = 1
|
||||
<if test="query.countDate != null">
|
||||
and date(pay_time) = #{query.countDate}
|
||||
</if>
|
||||
<if test="query.appid != null">
|
||||
and appid = #{query.appid}
|
||||
</if>
|
||||
group by date(t1.pay_time), t1.appid, t1.price
|
||||
order by countDate desc, appid,price
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user