Sfoglia il codice sorgente

update

tags/Baseline_30082024_BACKEND_UAT
MSI\derek 1 anno fa
parent
commit
01e3ce3aef
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  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 Vedi File

@@ -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")


Caricamento…
Annulla
Salva