明树Git Lab

Commit 64a4e296 authored by zfp1's avatar zfp1

update

parent 6f882ace
......@@ -79,6 +79,9 @@ async function exportExcel(req, res, next) {
if (req.body.name) {
search.name = { $regex: req.body.name }
}
if(req.body.deviceNumber) {
search.deviceNumber = {$regex: req.body.deviceNumber}
}
if (req.body.startTime) {
search.time = search.time || {};
search.time.$gte = req.body.startTime;
......
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