明树Git Lab

Commit 9a0ca840 authored by zfp1's avatar zfp1

update

parent ee75da1e
......@@ -20,6 +20,9 @@ async function list(req, res, next) {
if (req.body.proClassification) {
search.proClassification = req.body.proClassification;
}
if (req.body.nodeName) {
search.nodeName = req.body.nodeName;
}
let count = await DB.TechProcess.countDocuments(search)
let list = await DB.TechProcess.find(search).skip(skip).limit(pageSize).sort({ sort: 1 }).lean().exec();
res.sendData({ count, list });
......
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