scheduler-node-models 1.2.80 → 1.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -58,8 +58,9 @@ class ExcelRowIngest {
|
|
|
58
58
|
if (emp) {
|
|
59
59
|
for (let c = 3; c < 34; c++) {
|
|
60
60
|
const results = await this.readExcelRow(row, c, emp);
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
results.forEach(r => {
|
|
62
|
+
result.push(new excelRow_1.ExcelRow(r));
|
|
63
|
+
});
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
}
|
|
@@ -74,6 +75,7 @@ class ExcelRowIngest {
|
|
|
74
75
|
throw new Error('No worksheet');
|
|
75
76
|
}
|
|
76
77
|
result.sort((a, b) => a.compareTo(b));
|
|
78
|
+
console.log(`result: ${result.length}`);
|
|
77
79
|
return result;
|
|
78
80
|
}
|
|
79
81
|
/**
|
|
@@ -123,7 +125,6 @@ class ExcelRowIngest {
|
|
|
123
125
|
});
|
|
124
126
|
}
|
|
125
127
|
});
|
|
126
|
-
console.log(JSON.stringify(laborcode));
|
|
127
128
|
if (laborcode.chargeNumber !== '') {
|
|
128
129
|
const eRow = new excelRow_1.ExcelRow();
|
|
129
130
|
eRow.date = new Date(colDate);
|