明树Git Lab

Commit aa7bab87 authored by zfp1's avatar zfp1

update

parent d7027fdf
......@@ -86,6 +86,8 @@ async function getTraceCode(req, res, next) {
if(source && source.plantPlan && source.plantPlan.land) {
let devices = await DB.Device.find({land: {$in: source.plantPlan.land, deviceHQType: 5}}).lean();
source.devices = devices;
} else {
source.devices = [];
}
} else if(traccode.type && traccode.type == 2) {
source = await DB.ProductPre.findOne({_id: sourceId}).lean();
......
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