Commit 9b4ec697 by 王悦

fix

parent 2641c938
...@@ -150,8 +150,8 @@ class TrademarkCtl extends CtlBase { ...@@ -150,8 +150,8 @@ class TrademarkCtl extends CtlBase {
} }
upload.total = data.length; upload.total = data.length;
await upload.save(); await upload.save();
for (let i = 0; i < data.length; i += 50) { for (let i = 0; i < data.length; i += 20) {
let item = data.slice(i, i + 50); let item = data.slice(i, i + 20);
item.forEach(e=>{ item.forEach(e=>{
e.channel_code = p.actionBody.company_id; e.channel_code = p.actionBody.company_id;
e.channel_name = p.actionBody.channel_name; e.channel_name = p.actionBody.channel_name;
......
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