明树Git Lab

Commit 417de00f authored by zengfanpei's avatar zengfanpei

update

parent 703f1743
......@@ -16,7 +16,7 @@ async function list(req, res, next) {
search.name = { $regex: req.body.name };
}
const count = await DB.Device.countDocuments(search);
let list = await DB.Device.find(search).skip(skip).limit(pageSize).select('deviceNumber creatTime deviceHQType name').populate({path: "land"}).lean().exec();
let list = await DB.Device.find(search).skip(skip).limit(pageSize).populate({path: "land"}).lean().exec();
let deviceNumbers = [];
//处理在线状态
let onlineArr = await deviceModule.getDeviceOnlineMap();
......
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment