调整 格式+推送时间

This commit is contained in:
2026-05-11 16:56:27 +08:00
parent 7ea35eaa9c
commit ab7d2f9b7a
9 changed files with 41 additions and 39 deletions
+3 -2
View File
@@ -25,7 +25,7 @@ class FieldSpec:
BRAND_SYNC_TARGETS = [
BrandSyncTarget(brand_name="羽心堂", table_name="羽心堂", warehouse_keys=(2, 3, 7, 13)),
BrandSyncTarget(brand_name="羽心堂", table_name="羽心堂渠道库存-9:00和19:00", warehouse_keys=(2, 3, 7, 13)),
]
@@ -42,7 +42,7 @@ FIELD_SPECS = [
FieldSpec("分类", "一级分类", 1),
FieldSpec("条形码", "条形码", 1),
FieldSpec("零售价", "零售价", 2, "0.00", 2),
FieldSpec("可用总库存", "可用总库存", 2, "0", 0),
FieldSpec("渠道锁库库存", "可用总库存", 2, "0", 0),
FieldSpec("全渠道总库存", "总库存", 2, "0", 0),
FieldSpec("品牌", "品牌名称", 1),
FieldSpec("产品类别", "货品简称", 1),
@@ -55,6 +55,7 @@ LEGACY_NAME_MAP = {
"商品名称": "货品名称",
"店铺名称": "店铺名称",
"店铺挂单量": "店铺可用库存",
"可用总库存": "渠道锁库库存",
"本月销售数量": month_sales_field_name(0),
"上月销售数量": month_sales_field_name(1),
"上上月销售数量": month_sales_field_name(2),