Commit 2aeef24b by 丁伟峰

Merge branch 'feat-dingwf-mvp616' into develop

2 parents 08a137b3 159bf987
......@@ -77,7 +77,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
// 按日期返回技术员们当天的服务甘特图,不需要翻页
log.info("getEngineersGanttList: {}", reqDTO);
List<?> orderAppointments = orderAppointmentDao.findByDateAndEngineerCodeIn(reqDTO.getDate(), reqDTO.getEngineerCodes());
HashMap<String, List<?>> mapEngineers = new HashMap<>();
HashMap<String, List<WorkbenchEngineersGanttRespDTO.Order>> mapEngineers = new HashMap<>();
for (Object e : orderAppointments) {
OrderAppointmentEntity entity = (OrderAppointmentEntity) e;
log.info("===== order_id: [{}]", entity.getOrderId());
......@@ -88,7 +88,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
.setOrderStatus(entity.getStatus());
order.setTips(getOrderTips(entity.getOrderId()));
List<?> orders = null;
List<WorkbenchEngineersGanttRespDTO.Order> orders = null;
if (mapEngineers.containsKey(entity.getEngineerCode())) {
orders = mapEngineers.get(entity.getEngineerCode());
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!