|
|
|
@@ -98,9 +98,9 @@ |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="queryprice" resultType="hashmap"> |
|
|
|
select date,sum(pay_price) price from wx_date_amount_record |
|
|
|
where tenant_id=#{value} and type=0 |
|
|
|
group by date |
|
|
|
select record.date,sum(record.pay_price) price |
|
|
|
from (select * from wx_date_amount_record where tenant_id=#{value} and type=0 and date > date_sub(now(),INTERVAL 30 day)) record |
|
|
|
group by record.date |
|
|
|
limit 30 |
|
|
|
</select> |
|
|
|
|
|
|
|
|