From 8464c40e2d3c99edd471322e2719c2768bce8a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Fri, 15 Dec 2023 19:21:03 +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 5fbd6d2..ec1ae7f 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.deviceId as deviceId,t.cardNo as cardNo,t.time as time,d.thingId as thingId,d.name as name, + SELECT t.t.deviceId as deviceId,t.t.time as time,d.thingId as thingId,d.name as name, q.CardNo as cardNo, q.PType as pType, q.Status as status,