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,