ソースを参照

comment unused function

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui 1年前
コミット
95e2a16bff
1個のファイルの変更6行の追加2行の削除
  1. +6
    -2
      src/main/java/com/ffii/tsms/modules/timesheet/web/TimesheetsController.kt

+ 6
- 2
src/main/java/com/ffii/tsms/modules/timesheet/web/TimesheetsController.kt ファイルの表示

@@ -3,7 +3,7 @@ package com.ffii.tsms.modules.timesheet.web
import com.ffii.core.exception.BadRequestException
import com.ffii.tsms.modules.timesheet.entity.LeaveType
import com.ffii.tsms.modules.timesheet.service.LeaveService
import com.ffii.tsms.modules.timesheet.service.MailReminderService
//import com.ffii.tsms.modules.timesheet.service.MailReminderService
import com.ffii.tsms.modules.timesheet.service.TimesheetsService
import com.ffii.tsms.modules.timesheet.web.models.*
import jakarta.servlet.http.HttpServletRequest
@@ -21,7 +21,11 @@ import java.time.format.DateTimeFormatter

@RestController
@RequestMapping("/timesheets")
class TimesheetsController(private val timesheetsService: TimesheetsService, private val leaveService: LeaveService, private val mailReminderService: MailReminderService) {
class TimesheetsController(
private val timesheetsService: TimesheetsService,
private val leaveService: LeaveService,
// private val mailReminderService: MailReminderService
) {
@PostMapping("/save")
fun newTimesheetEntry(@Valid @RequestBody recordTimesheet: Map<String, List<TimeEntry>>): Map<String, List<TimeEntry>> {
val parsedEntries = kotlin.runCatching {


読み込み中…
キャンセル
保存