@@ -94,7 +94,7 @@ public class InspectionServiceImpl implements IInspectionService { | |||
IPage<InspectionInfoVo> pageDataVo = new Page<>(query.getPage(),query.getLimit()); | |||
Date startTime = null; | |||
Date endTime = null; | |||
if(null != query.getTime()){ | |||
if(StringUtils.isNotEmpty(query.getTime())){ | |||
startTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getTime()+" 00:00:00"); | |||
endTime = DateUtils.dateTime(DateUtils.YYYY_MM_DD_HH_MM_SS,query.getTime()+" 23:59:59"); | |||
} |