|
|
@ -298,12 +298,13 @@ export async function importLTARData({ |
|
|
|
)}` |
|
|
|
)}` |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
await bulkDataService.bulkDataInsert({ |
|
|
|
const x = await bulkDataService.bulkDataInsert({ |
|
|
|
projectName: projectName, |
|
|
|
projectName: projectName, |
|
|
|
tableName: table.title, |
|
|
|
tableName: assocMeta.modelMeta.title, |
|
|
|
body: insertArray, |
|
|
|
body: insertArray, |
|
|
|
cookie: {}, |
|
|
|
cookie: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
console.log(x); |
|
|
|
|
|
|
|
|
|
|
|
importedCount += insertArray.length; |
|
|
|
importedCount += insertArray.length; |
|
|
|
insertArray = []; |
|
|
|
insertArray = []; |
|
|
@ -328,7 +329,7 @@ export async function importLTARData({ |
|
|
|
|
|
|
|
|
|
|
|
await bulkDataService.bulkDataInsert({ |
|
|
|
await bulkDataService.bulkDataInsert({ |
|
|
|
projectName: projectName, |
|
|
|
projectName: projectName, |
|
|
|
tableName: table.title, |
|
|
|
tableName: assocMeta.modelMeta.title, |
|
|
|
body: assocTableData, |
|
|
|
body: assocTableData, |
|
|
|
cookie: {}, |
|
|
|
cookie: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|