update
This commit is contained in:
parent
8176f94447
commit
1cc356bf9a
@ -1252,7 +1252,7 @@ async def deliveryman_complete_order(
|
||||
account_manager.change_balance(
|
||||
user_id=order.deliveryman_user_id,
|
||||
amount= order.delivery_share,
|
||||
description=f"配送订单收益",
|
||||
description=f"配送订单{order.orderid[-4:]}收益",
|
||||
transaction_id=orderid
|
||||
)
|
||||
|
||||
|
||||
@ -54,7 +54,7 @@ async def daily_community_order_statistics():
|
||||
communities c ON o.address_community_id = c.id
|
||||
WHERE
|
||||
o.completed_time BETWEEN :start_time AND :end_time
|
||||
AND o.status = 'COMPLETED'
|
||||
AND o.status in ('COMPLETED', 'UNPAID')
|
||||
GROUP BY
|
||||
c.id, c.name
|
||||
ORDER BY
|
||||
|
||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user