增加按指定天数轮班
This commit is contained in:
parent
76a00d72ee
commit
3f0973f90b
@ -172,6 +172,13 @@ public class CalTeamshiftServiceImpl implements ICalTeamshiftService
|
|||||||
shiftIndex ++;
|
shiftIndex ++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//按天
|
||||||
|
else{
|
||||||
|
//如果到了指定的轮班天数,并且不是刚开始
|
||||||
|
if(i%(plan.getShiftCount())==0 && i!=0){
|
||||||
|
shiftIndex ++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//如果是单白班,不需要倒班
|
//如果是单白班,不需要倒班
|
||||||
if(UserConstants.CAL_SHIFT_TYPE_SINGLE.equals(plan.getShiftType())){
|
if(UserConstants.CAL_SHIFT_TYPE_SINGLE.equals(plan.getShiftType())){
|
||||||
|
Loading…
Reference in New Issue
Block a user