|
@@ -70,8 +70,8 @@ public class VacationServiceImpl extends ServiceImpl<VacationMapper, Vacation> i
|
|
String endDate=null;
|
|
String endDate=null;
|
|
if (vacation.getDeptname()!=null&&!vacation.getDeptname().equals("1")){
|
|
if (vacation.getDeptname()!=null&&!vacation.getDeptname().equals("1")){
|
|
subDepIdsByDepId= makeUpCardMapper.getSubDepIdsByDepId(vacation.getDeptname());
|
|
subDepIdsByDepId= makeUpCardMapper.getSubDepIdsByDepId(vacation.getDeptname());
|
|
- }if (vacation.getHolidayType()!=null){
|
|
|
|
- types=Arrays.asList(vacation.getHolidayType().split(","));
|
|
|
|
|
|
+ }if (vacation.getHolidayType()!=null&&!vacation.getHolidayType().equals("")){
|
|
|
|
+ types=Arrays.asList(vacation.getHolidayType().split(""));
|
|
}if (vacation.getStartDate()!=null){
|
|
}if (vacation.getStartDate()!=null){
|
|
startDate= DateUtils.formatDate(vacation.getStartDate());
|
|
startDate= DateUtils.formatDate(vacation.getStartDate());
|
|
}if (vacation.getEndDate()!=null){
|
|
}if (vacation.getEndDate()!=null){
|