删除商品,同步删除耗材商品关系

删除耗材,同步删除耗材商品关系
This commit is contained in:
Tankaikai
2025-04-12 16:43:49 +08:00
parent fe45484955
commit 46e932450f
2 changed files with 5 additions and 1 deletions

View File

@@ -26,6 +26,7 @@
sum(recharge_amount) as recharge_amount,
avg(customer_unit_price) as customer_unit_price,
avg(table_turnover_rate) as table_turnover_rate,
sum(new_member_count) as new_member_count,
max(update_time) as update_time
from tb_shop_order_statistic
where shop_id = #{shopId}