double calculateDeduction(int leaveType, int days, double dailyWage) {
double deduction = 0;
switch (leaveType) {
case LEAVE_SICK:
deduction = days * dailyWage * 0.5;
break;
case LEAVE_PERSONAL:
deduction = days * dailyWage;
break;
}
return deduction;
}
利唐i人事HR社区,发布者:ihreditor,转转请注明出处:https://www.ihr360.com/hrnews/20241236281.html