21 lines
531 B
TypeScript
21 lines
531 B
TypeScript
|
|
export const excelHasuMapParsing = (
|
|
excel:{data:any[]}
|
|
): string[][] => {
|
|
const excelExportData: string[][] = [];
|
|
|
|
excel.data.forEach((item) => {
|
|
|
|
excelExportData.push([
|
|
item.sido??'',
|
|
item.gugun??'',
|
|
item.bscFctNm ?? "",
|
|
String(item.addr??""),
|
|
item.efflWqltStndrdNm ?? "",
|
|
String(item.fctCpc ?? ""),
|
|
String(item.ruse ?? ""),
|
|
String(item.rswtrYn ?? ""),
|
|
]);
|
|
});
|
|
return excelExportData;
|
|
}; |