This commit is contained in:
77
2024-04-12 23:29:05 +08:00
parent 9fb10b024a
commit a91f9fe242
5 changed files with 47 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sum(if(admin=1 and recharge_type=2 and recharge_coin > 0,recharge_coin,0)) as modify_income_add,
sum(if(admin=1 and recharge_type=2 and recharge_coin < 0,-recharge_coin,0)) as modify_income_sub,
sum(if(admin=0,price,0)) as exp_in_money,
count(if(admin=0,1,0)) as order_count
sum(if(admin=0,1,0)) as order_count
from cai_recharge_order
where pay_status in (1,10)
and pay_time between #{startTime} and #{endTime}