瀏覽代碼

update

add_swagger
MSI\2Fi 9 月之前
父節點
當前提交
a17cef2538
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/main/java/com/ffii/tsms/modules/data/service/SalaryEffectiveService.kt

+ 1
- 1
src/main/java/com/ffii/tsms/modules/data/service/SalaryEffectiveService.kt 查看文件

@@ -80,7 +80,7 @@ open class SalaryEffectiveService(
val staff = staffRepository.findById(staffId).orElseThrow() val staff = staffRepository.findById(staffId).orElseThrow()
val salary = salaryRepository.findBySalaryPoint(salaryId).orElseThrow() val salary = salaryRepository.findBySalaryPoint(salaryId).orElseThrow()
val salaryEffective = SalaryEffective().apply { val salaryEffective = SalaryEffective().apply {
date = LocalDate.now()
date = _startDate
startDate = _startDate startDate = _startDate
endDate = LocalDate.of(2124, 1, 1) endDate = LocalDate.of(2124, 1, 1)
this.staff = staff this.staff = staff


Loading…
取消
儲存