修复路口管家任务管理用户信息异常问题
This commit is contained in:
parent
ec97175ae9
commit
64c6b009d8
|
|
@ -40,7 +40,7 @@ class TaskDbHelper(TableDbHelperBase):
|
||||||
return tasks[0]
|
return tasks[0]
|
||||||
|
|
||||||
def query_task_executor(self, nodeid, area_id):
|
def query_task_executor(self, nodeid, area_id):
|
||||||
sql_query = "select user_name, userno from user.user where userno in (select userno from user.area_user where nodeid = '%s' and area_id = %s) and department = '信号调优团队'" % (nodeid, area_id)
|
sql_query = "select user_name, userno from user.user where userno in (select userno from user.area_user where nodeid = '%s' and area_id = %s) and department = '信号调优团队' and state != 1" % (nodeid, area_id)
|
||||||
executors = self.do_select(sql_query)
|
executors = self.do_select(sql_query)
|
||||||
if len(executors) <= 0:
|
if len(executors) <= 0:
|
||||||
logging.error('query_task_executor is null! %s' % (sql_query))
|
logging.error('query_task_executor is null! %s' % (sql_query))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue