修改班次小时
This commit is contained in:
parent
114f79f3ad
commit
0f75feaa14
@ -195,8 +195,8 @@ public class ShiftResultServiceImpl extends ServiceImpl<ShiftResultMapper, Shift
|
||||
resultEntity.setMonth(month);
|
||||
|
||||
// 计算工作小时数
|
||||
int shiftHour = calculateHours(config.getBgnDtime(), config.getEndDtime());
|
||||
resultEntity.setShiftHour(shiftHour);
|
||||
// int shiftHour = calculateHours(config.getBgnDtime(), config.getEndDtime());
|
||||
resultEntity.setShiftHour(shiftsPerDay==3?8:12);
|
||||
|
||||
shiftResultList.add(resultEntity);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user