susee:excel upload cin no chnge
This commit is contained in:
parent
db085003d4
commit
5104638810
@ -22,7 +22,7 @@ exports.ImportExcelData = async (req, res , filename) =>
|
|||||||
for(let i = 0; i < sheets.length; i++)
|
for(let i = 0; i < sheets.length; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
const sheetName = sheets[i];
|
const sheetName = req.body.cin;
|
||||||
const SheetLevelData = reader.utils.sheet_to_json(file.Sheets[file.SheetNames[i]]);
|
const SheetLevelData = reader.utils.sheet_to_json(file.Sheets[file.SheetNames[i]]);
|
||||||
const resultArray = [];
|
const resultArray = [];
|
||||||
if(SheetLevelData.length != 0)
|
if(SheetLevelData.length != 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user