Selaa lähdekoodia

update

tags/Baseline_30082024_BACKEND_UAT
MSI\derek 1 vuosi sitten
vanhempi
commit
01e3ce3aef
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. +0
    -3
      src/main/java/com/ffii/tsms/modules/report/web/ReportController.kt

+ 0
- 3
src/main/java/com/ffii/tsms/modules/report/web/ReportController.kt Näytä tiedosto

@@ -123,8 +123,6 @@ class ReportController(
val nextMonth = request.yearMonth.plusMonths(1).atDay(1)

val staff = staffRepository.findById(request.id).orElseThrow()
println(thisMonth)
println(nextMonth)
val args: Map<String, Any> = mutableMapOf(
"staffId" to request.id,
"startDate" to thisMonth,
@@ -132,7 +130,6 @@ class ReportController(
)
val timesheets = excelReportService.getTimesheet(args)
val leaves = excelReportService.getLeaves(args)
println(leaves)

val reportResult: ByteArray = excelReportService.generateStaffMonthlyWorkHourAnalysisReport(thisMonth, staff, timesheets, leaves)
// val mediaType: MediaType = MediaType.parseMediaType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")


Ladataan…
Peruuta
Tallenna