明树Git Lab

Commit 40ce79cd authored by zfp1's avatar zfp1

update

parent 5b7d91db
Pipeline #108767 passed with stage
in 4 seconds
...@@ -147,6 +147,7 @@ async function getTzmbzrsInfo(req, res, next) { ...@@ -147,6 +147,7 @@ async function getTzmbzrsInfo(req, res, next) {
if (!(zrs && zrs.id && zrs.projectId)) { if (!(zrs && zrs.id && zrs.projectId)) {
return res.sendError(errorMessage.resourceNotFound); return res.sendError(errorMessage.resourceNotFound);
} }
zrs = zrs.toJSON();
let tzmbzrsZbs = await DB.TzTzmbzrsZb.findAll({ let tzmbzrsZbs = await DB.TzTzmbzrsZb.findAll({
where: { projectId: zrs.projectId, sourceId: zrs.id }, where: { projectId: zrs.projectId, sourceId: zrs.id },
// 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