소스 검색

update

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

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

@@ -3708,10 +3708,11 @@ open class ReportService(
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 normalHour = ts.normalConsumed ?: 0.0
val otHour = ts.otConsumed ?: 0.0
val normalCost = normalHour.times(thisSE!!.salary.hourlyRate.toDouble())
val otCost = otHour.times(thisSE.salary.hourlyRate.toDouble()).times(otMultiplier)
val normalCost = normalHour.times(hourlyRate)
val otCost = otHour.times(hourlyRate).times(otMultiplier)
//assigning data
val projectTeam = ts.project!!.teamLead!!.team.code
val staffTeam = ts.staff!!.team.code


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