feat(shipping-notice): 添加货代履约策略管理功能,支持策略创建、发布及版本控制,增强订单冻结和预约管理逻辑

This commit is contained in:
hugo committed 2026-07-23 12:06:34 +08:00
1 parent abd8fc1e16
commit d62f5107b2
82 files changed
+4914 -514

No files matched your search

@@ -344,14 +344,14 @@ class ShippingInventoryExternalMapping(Base):
__tablename__ = 'shipping_inventory_external_mappings'
__table_args__ = (
Index(
'uq_shipping_inventory_external_mappings_source_default_enabled',
'uq_shipping_inv_ext_map_src_default_enabled',
'inventory_source_id',
unique=True,
postgresql_where=text('freight_warehouse_id IS NULL AND enabled = true'),
sqlite_where=text('freight_warehouse_id IS NULL AND enabled = 1'),
),
Index(
'uq_shipping_inventory_external_mappings_source_warehouse_enabled',
'uq_shipping_inv_ext_map_src_wh_enabled',
'inventory_source_id',
'freight_warehouse_id',
unique=True,