|
@@ -110,7 +110,7 @@ public class GanttServiceImpl implements GanttService {
|
|
|
*/
|
|
|
@Override
|
|
|
public R getListByCondition(Date startDate, Date endDate, String factoryId,
|
|
|
- List<String> workShopIdList, List<String> orderNoList,
|
|
|
+ List<String> workShopIdList,
|
|
|
List<String> productionLineId, List<String> equId,
|
|
|
String productionLineName, String equName, String blankNumber) {
|
|
|
if (endDate == null && startDate != null) {
|
|
@@ -121,7 +121,7 @@ public class GanttServiceImpl implements GanttService {
|
|
|
StopWatch stopWatch = new StopWatch();
|
|
|
stopWatch.start();
|
|
|
List<GanttVos> apsProcessOperationProcessEquDos = apsProcessOperationProcessEquDao.getGanttDataList(
|
|
|
- startDate, endDate, factoryId, workShopIdList, orderNoList,
|
|
|
+ startDate, endDate, factoryId, workShopIdList,
|
|
|
null, productionLineId, equId, null, productionLineName, equName, blankNumber);
|
|
|
stopWatch.stop();
|
|
|
log.error("甘特图查询用时:{}", stopWatch.getTotalTimeSeconds());
|
|
@@ -137,7 +137,7 @@ public class GanttServiceImpl implements GanttService {
|
|
|
public List<ScheduleGanttVo> getListById(List<String> ids) {
|
|
|
List<GanttVos> apsProcessOperationProcessEquDos = apsProcessOperationProcessEquDao.getGanttDataList(
|
|
|
null, null, null, null, null,
|
|
|
- null, null, null, ids, null, null,
|
|
|
+ null, null, ids, null, null,
|
|
|
null);
|
|
|
return assembleGanttData(apsProcessOperationProcessEquDos);
|
|
|
}
|
|
@@ -315,7 +315,7 @@ public class GanttServiceImpl implements GanttService {
|
|
|
if (queryProcessids != null && queryProcessids.size() > 0) {
|
|
|
String joinids = "'" + CollUtil.join(queryProcessids, "','") + "'";
|
|
|
retGantvos = apsProcessOperationProcessEquDao.getGanttDataList(
|
|
|
- null, null, null, null, null,
|
|
|
+ null, null, null, null,
|
|
|
joinids, null, null, null, null,
|
|
|
null, null);
|
|
|
}
|