Browse Source

feat:fix bugs

master
zhaobing’ 1 year ago
parent
commit
ae50806e61
  1. 2
      api/app/lib/controllers/AIOTOverview/AIOTOverview.js

2
api/app/lib/controllers/AIOTOverview/AIOTOverview.js

@ -108,7 +108,7 @@ async function getCardInfo (ctx) {
WHERE cs.DeviceId in ${id} WHERE cs.DeviceId in ${id}
GROUP BY cs.DeviceId, cs.CardNo 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.CardNo as cardNo,
q.PType as pType, q.PType as pType,
q.Status as status, q.Status as status,

Loading…
Cancel
Save