## 复购订单区域分红按业绩处理;

This commit is contained in:
cabbage 2025-07-03 13:25:09 +08:00
parent da53b0ce35
commit 13736b4c3c
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@
nvl(soi.pk_order, 0) pk_order,
nvl(soi.pk_wares, 0) pk_wares,
sum(soi.achievement * soi.quantity) wares_price,
max(soi.wares_quantity) wares_quantity,
max(soi.wares_quantity) wares_quantity
from sa_order so
left join sa_order_items soi
on soi.pk_order = so.pk_id