修正exsuccess_flag赋值类型
This commit is contained in:
@@ -434,7 +434,7 @@ def main():
|
||||
phhds = session.query(ZxPhhd.pk_phhd).filter(ZxPhhd.exsuccess_flag == '1').limit(PHHD_BATCH_SIZE).all()
|
||||
# 将状态改为正在识别中
|
||||
for phhd in phhds:
|
||||
phhd.exsuccess_flag = 2
|
||||
phhd.exsuccess_flag = '2'
|
||||
session.commit()
|
||||
session.close()
|
||||
if phhds:
|
||||
|
||||
Reference in New Issue
Block a user