Преглед на файлове

update leave

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui преди 1 година
родител
ревизия
d4d4b55127
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt Целия файл

@@ -89,9 +89,9 @@ open class LeaveService(
}

open fun deleteMemberLeaveEntry(staffId: Long, entryId: Long): Map<String, List<LeaveEntry>> {
val currentStaff = staffsService.currentStaff() ?: throw BadRequestException()
// val currentStaff = staffsService.currentStaff() ?: throw BadRequestException()
// Make sure current staff is a team lead
teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException()
// teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException()

val memberStaff = staffsService.getStaff(staffId)



Зареждане…
Отказ
Запис