Commit 43db0279 by 蒋勇

d

parent 9664b7fb
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/fi-taxctl/main.js"
}
]
}
\ No newline at end of file
...@@ -33,6 +33,10 @@ class RptTypeService extends ServiceBase{ ...@@ -33,6 +33,10 @@ class RptTypeService extends ServiceBase{
hisarray.push(h); hisarray.push(h);
}); });
await self.db.models.rpthistory.bulkCreate(hisarray,{transaction:t}); await self.db.models.rpthistory.bulkCreate(hisarray,{transaction:t});
await self.redisClient.rpush("riskmq",JSON.stringify({
key:new Date().toLocaleString(),
content:batchid+""
}));
return {}; return {};
}); });
} }
......
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