QGIS完成初步重构
This commit is contained in:
@@ -20,11 +20,11 @@ class QgisRepository:
|
||||
|
||||
row = rows[0]
|
||||
return {
|
||||
"id": row[0],
|
||||
"name": row[1] or "",
|
||||
"event_type": row[2] or "",
|
||||
"occurred_time": row[3],
|
||||
"condition": row[4] if isinstance(row[4], dict) else {},
|
||||
"id": row["id"],
|
||||
"name": row["name"] or "",
|
||||
"event_type": row["event_type"] or "",
|
||||
"occurred_time": row["occurred_time"],
|
||||
"condition": row["condition"] if isinstance(row["condition"], dict) else {},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user