|
|
@@ -452,7 +452,7 @@
|
|
|
<select id="getTransferData" resultType="java.util.Map">
|
|
|
select sum(if(money <= 40000, money, 0)) autoMoney,
|
|
|
sum(if(type = 'usdt', money, 0)) usdtMoney,
|
|
|
- sum(if(money > 40000, money, 0)) manualMoney
|
|
|
+ sum(if(money > 40000 and type != 'usdt', money, 0)) manualMoney
|
|
|
from distribute_money_apply
|
|
|
where created_time >= #{startDate}
|
|
|
and created_time < #{endDate}
|