Commit 955d76c6 by 夏超

[fix] 上推数据修改

parent 6615c3c0
...@@ -29,12 +29,12 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel): ...@@ -29,12 +29,12 @@ class InheritRokeResultPutWarehouseWizard(models.TransientModel):
ids = results.ids ids = results.ids
if not ids: if not ids:
return super(InheritRokeResultPutWarehouseWizard, self).default_get() return super(InheritRokeResultPutWarehouseWizard, self).default_get()
try:
sql = f""" sql = f"""
select WBCCB_CCID select WBCCB_CCID
from WBCCB from WBCCB
where WBCCB_CCID not in ('{"', '".join(ids)}') where WBCCB_CCID not in ('{"', '".join(ids)}')
""" """
try:
cur.execute(sql) cur.execute(sql)
rows = cur.fetchall() rows = cur.fetchall()
rowdesc = cur.description rowdesc = cur.description
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment