明树Git Lab

Commit a8c8ed97 authored by zfp1's avatar zfp1

update

parent 78279ebe
......@@ -24,6 +24,9 @@ async function list(req, res, next) {
if(req.body.deviceDPType) {
search.deviceDPType = req.body.deviceDPType;
}
if(req.body.deviceSectorType) {
search.deviceSectorType = req.body.deviceSectorType;
}
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