Commit 61aacb4f by 王力

Merge branch 'dev_bugfix_orderdetail0620' into 'develop'

修复错误:工程师可能没有任何指派订单导致查询错误

See merge request !120
2 parents 68995856 88b344ee
...@@ -64,9 +64,13 @@ public class OrderAssignImpl implements OrderAssign { ...@@ -64,9 +64,13 @@ public class OrderAssignImpl implements OrderAssign {
continue; continue;
} }
// 获取订单tips
HashMap<String, List<LabelValueDTO>> orderTips = new HashMap<>();
List<String> orderIds = orderAppointments.stream().map(OrderAppointment::getOrderId).collect(Collectors.toList()); List<String> orderIds = orderAppointments.stream().map(OrderAppointment::getOrderId).collect(Collectors.toList());
if(!orderIds.isEmpty()) {
List<OrderRequest> orders = this.queryOrderRequestsByOrderIds(orderIds); List<OrderRequest> orders = this.queryOrderRequestsByOrderIds(orderIds);
HashMap<String, List<LabelValueDTO>> orderTips = this.packOrderTips(orders); orderTips = this.packOrderTips(orders);
}
OrderAssignRecommendResp.Engineer item = new OrderAssignRecommendResp.Engineer(); OrderAssignRecommendResp.Engineer item = new OrderAssignRecommendResp.Engineer();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!