|
|
@ -92,7 +92,7 @@ async function exportOvertimeStatistic (ctx) { |
|
|
|
d['sum' + overtimeTypeKey] = overtimeStatistic.reduce((sum, o) => { |
|
|
|
if (o.compensate == overtimeTypeKey) { |
|
|
|
sum += o.duration / 3600 |
|
|
|
totalDuration += o.duration / 3600 |
|
|
|
// totalDuration += o.duration / 3600
|
|
|
|
} |
|
|
|
return sum |
|
|
|
}, 0) |
|
|
|