增加 oem 返利表的结算

This commit is contained in:
chfei committed 2026-11-19 11:19:12 +08:00
1 parent 4128fc8cc6
commit 9f8e656fcf
5 files changed
+251 -18

No files matched your search

@@ -19,6 +19,8 @@ public interface IUserService
void SetOEMMarkup(string setterOemId, string oemId, UserPaymentTypes paymentType, int markup);
/// <summary>地板价加上A对B的加价、B对用户的加价,缺失规则按0计算,单位:分。</summary>
int GetUserFinalPrice(string userName, UserPaymentTypes paymentType);
/// <summary>用户底价(分):平台基础费加一级 OEM 加价,不包含二级用户加价。</summary>
int GetUserFloorPrice(string userName, UserPaymentTypes paymentType);
/// <summary>批量查询四种最终价格,返回用户名到消费类型、价格(分)的映射。</summary>
Dictionary<string, Dictionary<UserPaymentTypes, int>> GetUserFinalPrices(IEnumerable<UserEntity> users);
bool CanAfford(string userName, UserPaymentTypes type);