MSI\2Fi 8 달 전
부모
커밋
e32b1d03ee
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt 파일 보기

@@ -3887,12 +3887,12 @@ open class ReportService(
}
println(_grade)
val gradeCode = _grade!!.grade.code
// val otMultiplier = 1.15
val crossTeamMultiplier = 1.15
val thisSE = salaryEffective.find {
it.staff.id == ts.staff!!.id
&& it.startDate <= ts.recordDate && (it.endDate >= ts.recordDate || it.endDate == null)
}
val hourlyRate = (thisSE?.salary?.hourlyRate ?: ts.staff!!.salary.hourlyRate).toDouble()
val hourlyRate = (thisSE?.salary?.hourlyRate ?: ts.staff!!.salary.hourlyRate).toDouble().times(crossTeamMultiplier)
val normalHour = ts.normalConsumed ?: 0.0
val otHour = ts.otConsumed ?: 0.0
val normalCost = normalHour.times(hourlyRate)


불러오는 중...
취소
저장