BOM发料对比

This commit is contained in:
hjq
2026-06-23 11:02:37 +08:00
parent a8a6388d85
commit 9be2b1373f
5 changed files with 111 additions and 35 deletions

View File

@@ -314,7 +314,8 @@ def fetch_issue_receipt_incremental():
log("OK", f"🎉 发料单增量同步大功告成!总计新增了 {total_inserted} 条记录入库!")
except Exception as e:
log("ERR", f"发生全局异常: {e}")
import traceback
log("ERR", f"发生全局异常: {e}\n{traceback.format_exc()}")
finally:
if 'conn' in locals() and conn:
conn.close()