明树Git Lab

Commit eba4e56b authored by zengfanpei's avatar zengfanpei

update

parent 04267d4d
......@@ -18,6 +18,9 @@ async function list(req, res, next) {
if(req.body.deviceHQType) {
search.deviceHQType = req.body.deviceHQType;
}
if(req.body.deviceDPType) {
search.deviceDPType = req.body.deviceDPType;
}
const count = await DB.Device.countDocuments(search);
let list = await DB.Device.find(search).skip(skip).limit(pageSize).populate({path: "land"}).lean().exec();
let deviceNumbers = [];
......
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