Commit 04af0883 authored by YangZhaoJun1's avatar YangZhaoJun1

判断非0 -1

parent 79d06b42
......@@ -298,7 +298,9 @@ public class BSlScheduleServiceImpl implements BSlScheduleService {
}
}
//会多出一行,移除
resultList.remove(resultList.size() - 1);
if(resultList.size()>0){
resultList.remove(resultList.size() - 1);
}
List<BSlSchedule> list = bSlScheduleRepository.queryMoreBSlSchedules(
format0.format(minCal.getTime()),
format0.format(maxCal.getTime()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment