Commit c44a48ff authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent fe36df06
......@@ -2292,7 +2292,7 @@ def check_accept_order():
data = commonFuc().analysis_json('data', result)
code = commonFuc().analysis_json('code', result)
print(code)
if code == 0 and data == 1:
if code == 0 and len(data) >= 1:
break
else:
print('设置产品合格出现问题')
......
Supports Markdown
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