明树Git Lab

Commit 5b634759 authored by zfp1's avatar zfp1

update

parent 65ab323f
...@@ -113,7 +113,7 @@ async function exportExcel(req, res, next) { ...@@ -113,7 +113,7 @@ async function exportExcel(req, res, next) {
search.agrProName = {$regex: req.body.agrProName}; search.agrProName = {$regex: req.body.agrProName};
} }
if (req.body.name) { if (req.body.name) {
search.agrProName = {$regex: req.body.name}; search.name = {$regex: req.body.name};
} }
if(req.body.startTime) { if(req.body.startTime) {
search.time = search.time || {}; search.time = search.time || {};
......
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