From ae50806e616d237254572a86b0de0638cd381270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Fri, 15 Dec 2023 19:04:20 +0800 Subject: [PATCH] feat:fix bugs --- api/app/lib/controllers/AIOTOverview/AIOTOverview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/controllers/AIOTOverview/AIOTOverview.js b/api/app/lib/controllers/AIOTOverview/AIOTOverview.js index 0fce7df..5fbd6d2 100644 --- a/api/app/lib/controllers/AIOTOverview/AIOTOverview.js +++ b/api/app/lib/controllers/AIOTOverview/AIOTOverview.js @@ -108,7 +108,7 @@ async function getCardInfo (ctx) { WHERE cs.DeviceId in ${id} GROUP BY cs.DeviceId, cs.CardNo ) - SELECT t.*,d.thingId,d.name, + SELECT t.deviceId as deviceId,t.cardNo as cardNo,t.time as time,d.thingId as thingId,d.name as name, q.CardNo as cardNo, q.PType as pType, q.Status as status,