fix: 采购价格上限按数量计算总价 (#181)

This commit is contained in:
chengma
2026-08-12 14:43:18 +08:00
parent 8c7be7bd07
commit 253be7cb61
24 changed files with 203 additions and 106 deletions
+2 -2
View File
@@ -206,7 +206,7 @@ type ShopeeSKU struct {
// SybOrder 是一张顺运宝货运单里的**一个商品明细行**(不是一张货运单,
// 一张货运单可以有多个商品,各占一行)。
//
// PriceTwdCent 是**台币分**,跟采购任务的人民币价格上限没有换算关系,
// PriceTwdCent 是**台币分**,跟采购任务的人民币订单总价上限没有换算关系,
// 不要互相赋值,见 docs/admin/01-requirements.md §7。
//
// ShopeeSKUID 是 #88 之前的蝦皮规格识别结果。数据库列因只追加迁移保留,
@@ -355,7 +355,7 @@ type Task struct {
PddGoodsID string
PddOptions string // JSON,采购任务的目标规格
Quantity int
MaxPriceCent int64 // 人民币分
MaxPriceCent int64 // 人民币订单总价上限,单位分
ResultData string
ErrorCode string