This commit is contained in:
邹宗楠
2026-01-09 09:29:11 +08:00
parent 518a23c71d
commit 2ede1d1153
2 changed files with 2 additions and 2 deletions

View File

@@ -1837,7 +1837,7 @@ func StatisticsSettlement(db *DaoDB, storeId []int, start, end time.Time, vendor
v.PackagingFee = 40 * v.OrderCount
} else {
if v.PayPercentage != 0 && v.JxIncome == 0 {
v.JxIncome = float64(v.TotalShopMoney) - v.StoreInCome
v.JxIncome = float64(v.TotalShopMoney) - v.StoreIncome
}
}
// 服务费

View File

@@ -24,7 +24,7 @@ type JxSettlementInfo struct {
RefundMoney int `json:"refund_money"` // 订单售后金额
PackageSetting int `json:"package_setting"` // 服务费
PackagingFee int `json:"packaging_fee"` // 包装费-每单0.4元
StoreInCome float64 `json:"store_income"` // 门店收入
StoreIncome float64 `json:"store_income"` // 门店收入
PlatformIncome float64 `json:"platform_income"` // 平台收益
JxIncome float64 `json:"jx_income"` // 京西收益
MarketIncome float64 `json:"market_income"` // 市场收益