Commit 284c63ca by Joneq

增加判断

parent 2e1d54f9
Showing with 1 additions and 1 deletions
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -27,7 +27,7 @@ class ExUser(Base): ...@@ -27,7 +27,7 @@ class ExUser(Base):
create_time BETWEEN %d AND %d \ create_time BETWEEN %d AND %d \
AND is_test = 0 \ AND is_test = 0 \
AND is_type = 0 \ AND is_type = 0 \
AND create_device != 20 %s" \ AND create_device in (1,2,6) %s" \
% (col_str, start_time, end_time, con_str) % (col_str, start_time, end_time, con_str)
results = DBHandler.read(db=db, sql=sql) results = DBHandler.read(db=db, sql=sql)
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
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 sign in to comment