1
0
forked from erp-dev/erp

feat: batch update for plate order

This commit is contained in:
2025-12-18 17:36:43 +08:00
parent 98d797221a
commit 1a6ce32441
33 changed files with 32087 additions and 8 deletions

View File

@@ -126,7 +126,12 @@ async def fetch_row_by_rowid_from_mingdaoyun(
if not rows:
return None
if isinstance(rows[0], dict):
return rows[0]
first = rows[0]
# 明道云在 filters 不合法/不生效时可能仍返回默认列表数据。
# 这里做一次校验,避免“误返回不匹配的第一条记录”。
if first.get("rowid") != rowid:
return None
return first
return None