明树Git Lab

Commit bd026acc authored by zfp1's avatar zfp1

update

parent 24eb2eb1
Pipeline #105987 passed with stage
in 4 seconds
...@@ -197,7 +197,7 @@ async function listResourceInfo(req, res, next) { ...@@ -197,7 +197,7 @@ async function listResourceInfo(req, res, next) {
[Op.and]: [ [Op.and]: [
{ del: 0 }, { del: 0 },
{ resourceId: resource.id }, { resourceId: resource.id },
(req.body.name ? [{ value: { [Op.like]: `%${req.body.name}%` } }] : []) (req.body.name ? [{ name: { [Op.like]: `%${req.body.name}%` } }] : [])
] ]
}, },
raw: true raw: true
......
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