增加了项目侧关于steps的处理。允许保存和提取steps信息。

This commit is contained in:
strepsiades
2026-03-11 10:34:49 +08:00
parent 291aa0b4b7
commit 1f68bd5ca8
22 changed files with 759 additions and 142 deletions
@@ -17,7 +17,7 @@ class SupplierSyncStrategy(DefaultSyncStrategy[SupplierDetailResponse]):
default_config = StrategyConfig(
auto_bind=True,
auto_bind_fields=["credit_code"],
auto_bind_fields=["code"],
depend_fields={},
local_orphan_action=OrphanAction.NONE,
remote_orphan_action=OrphanAction.CREATE_LOCAL,
@@ -29,6 +29,7 @@ class SupplierSyncStrategy(DefaultSyncStrategy[SupplierDetailResponse]):
source_node,
target_node,
resolved_data=None,
data_id_map=None,
) -> bool:
"""Supplier 更新忽略 id 字段差异。"""
if resolved_data is None: