明树Git Lab

Commit 33d87081 authored by zfp1's avatar zfp1

update

parent 9610d80a
......@@ -73,7 +73,12 @@ async function updateDeepPlant(req, res, next) {
}
}
async function getSccjMap() {
let list = await DB.Sccj.findAll({ del: 0 });
let namemap = {};
list.map(o => { namemap(o.key) = o.name });
return map;
}
module.exports = {
createDeepPlant,
......
......@@ -108,7 +108,12 @@ async function importExcel(req, res, next) {
next(error)
}
}
async function getSccjMap() {
let list = await DB.Sccj.findAll({ del: 0 });
let namemap = {};
list.map(o => { namemap(o.key) = o.name });
return map;
}
module.exports = {
createlt,
listlt,
......
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