update : 12.11.2024 10:34:58,70
This commit is contained in:
parent
7eee3528b5
commit
ecf767d2d5
@ -477,7 +477,7 @@ def load_sotekom():
|
||||
cursor_device_model = cursor.fetchall()
|
||||
for device_model in cursor_device_model:
|
||||
element.model = device_type[1]
|
||||
SQL_QUERY = r'SELECT * FROM vw_WDATA_POSITION WHERE Machine = ' + "'" + str(data[1]) + "' ORDER BY AtTime DESC LIMIT 1"
|
||||
SQL_QUERY = r'SELECT * FROM vw_WDATA_POSITION WHERE Machine = ' + "'" + str(data[1]) + "' ORDER BY AtTime DESC TOP 1"
|
||||
cursor = mssql.executeSQL(conn,SQL_QUERY)
|
||||
cursor_position = cursor.fetchall()
|
||||
for position in cursor_position:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user