|
@@ -77,7 +77,7 @@ public class GanttServiceImpl implements GanttService {
|
|
|
List<String> productionLineId,
|
|
|
List<String> equId) {
|
|
|
log.info("甘特图查询开始时间:"+ DateUtil.now());
|
|
|
- if(endDate == null){
|
|
|
+ if(endDate == null && startDate !=null){
|
|
|
List<Date> searchDateList = getSearchDate(startDate);
|
|
|
startDate = searchDateList.get(0);
|
|
|
endDate = searchDateList.get(1);
|