明树Git Lab

Commit bdcb6c79 authored by zfp1's avatar zfp1

1

parent 3f0cb1f9
Pipeline #106038 passed with stage
in 3 seconds
......@@ -162,9 +162,9 @@ async function getTzmbzrsInfo(req, res, next) {
let fileMap = {};
files.map(o => { fileMap[o.id] = o });
console.log(fileMap, fileIds, "=======================")
zrs.zrswj = (zrs.zrswj || []).map(o => { return fileMap[o] });
zrs.chwj = (zrs.chwj || []).map(o => { return fileMap[o] });
zrs.jyglzrs = (zrs.jyglzrs || []).map(o => { return fileMap[o] });
zrs.zrswj = (zrs.zrswj || []).map(o => { return fileMap[(o && o.id || o)] });
zrs.chwj = (zrs.chwj || []).map(o => { return fileMap[(o && o.id || o)] });
zrs.jyglzrs = (zrs.jyglzrs || []).map(o => { return fileMap[(o && o.id || o)] });
zrs.tzmbzrsZbs = tzmbzrsZbs;
zrs.tzmbzrsPfyjs = tzmbzrsPfyjs;
......
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