From ee0df23a1178a4dfb293e1ad7afbafd3847e0078 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 25 Mar 2025 10:20:44 +0800 Subject: [PATCH] update --- app/tasks/daily_tasks.py | 8 ++++---- jobs.sqlite | Bin 24576 -> 24576 bytes 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/tasks/daily_tasks.py b/app/tasks/daily_tasks.py index e87a848..a552b11 100644 --- a/app/tasks/daily_tasks.py +++ b/app/tasks/daily_tasks.py @@ -291,10 +291,10 @@ async def daily_partner_settlement(): platform_profit_sharing = community.community_profit_sharing.platform_rate # 计算运营商分成金额 - partner_profit = round(stat.total_final_amount * (float(partner_profit_sharing)) / 100, 2) - admin_profit = round(stat.total_final_amount * (float(admin_profit_sharing) / 100), 2) - delivery_profit = round(stat.total_final_amount * (float(delivery_profit_sharing) / 100), 2) - platform_profit = stat.total_final_amount * (float(platform_profit_sharing) / 100) + partner_profit = round(stat.total_original_amount * (float(partner_profit_sharing)) / 100, 2) + admin_profit = round(stat.total_original_amount * (float(admin_profit_sharing) / 100), 2) + delivery_profit = round(stat.total_original_amount * (float(delivery_profit_sharing) / 100), 2) + platform_profit = stat.total_original_amount * (float(platform_profit_sharing) / 100) # 结算明细 settle_details = { diff --git a/jobs.sqlite b/jobs.sqlite index 2fc3de32ef5fc61f7ef2432a7648da04da0b16d1..37a0aa99b183b6312c48fbc9c07d350f936c4aa4 100644 GIT binary patch delta 19 acmZoTz}Rqrae_2s;6xc`#=wmU3*rGqCkE00 delta 19 acmZoTz}Rqrae_3X??f4AM&FGI3*rGp>jugI