|
|
@ -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, |
|
|
|