Преглед изворни кода

update

tags/Baseline_30082024_BACKEND_UAT
MSI\derek пре 1 година
родитељ
комит
01e3ce3aef
1 измењених фајлова са 0 додато и 3 уклоњено
  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 Прегледај датотеку

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


Loading…
Откажи
Сачувај