Mike hace 3 años
padre
commit
1459c7ad95
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      is_close_changed_notice.py

+ 2 - 1
is_close_changed_notice.py

@@ -222,7 +222,8 @@ async def is_close_changed_notice(exf_id: str = '', is_close: str = ''):
             # 列出該合約底下所有執行項目(含已完成、未完成)
             q1 = "SELECT * \
                 FROM execute_detail \
-                WHERE exf_id=" + exf_id
+                WHERE exf_id=" + exf_id + \
+                " ORDER BY execute_man"
             
             q1_result_count = len(list(db.query(q1)))