明树Git Lab

Commit 193df050 authored by zfp1's avatar zfp1

update

parent 429993f6
Pipeline #109902 passed with stage
in 3 seconds
...@@ -1064,6 +1064,9 @@ async function listProject(req, res, next) { ...@@ -1064,6 +1064,9 @@ async function listProject(req, res, next) {
if(req.body.xmqy) { if(req.body.xmqy) {
search.where.xmqy = req.body.xmqy ; search.where.xmqy = req.body.xmqy ;
} }
if(req.body.projectId) {
search.where.id = req.body.projectId ;
}
console.log(search) console.log(search)
search.raw = true search.raw = true
let ret = await DB.Project.findAndCountAll(search); let ret = await DB.Project.findAndCountAll(search);
......
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