明树Git Lab

Commit 9610d80a authored by zfp1's avatar zfp1

update

parent 0fd9bab5
...@@ -72,7 +72,12 @@ async function updatePrePlant(req, res, next) { ...@@ -72,7 +72,12 @@ async function updatePrePlant(req, res, next) {
next(error); 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 = { module.exports = {
createPrePlant, createPrePlant,
listPrePlant, listPrePlant,
......
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