'修复已知问题'

dev-discount
胡锐 4 years ago
parent cdb9f2ea5e
commit 18386fc12c
  1. 12
      hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java

@ -281,8 +281,18 @@ public class HighOrderServiceImpl implements HighOrderService {
criteria.andOrderNoEqualTo(MapUtils.getString(map, "orderNo"));
}
if (MapUtils.getString(map, "phone") != null) {
criteria.andMemPhoneEqualTo(MapUtils.getString(map, "phone"));
}
example.setOrderByClause("create_time desc");
return highOrderMapper.selectByExample(example);
List<HighOrder> list = highOrderMapper.selectByExample(example);
if (list.size() > 0) {
for (HighOrder order : list) {
order.setHighChildOrderList(getChildOrderByOrder(order.getId()));
}
}
return list;
}
@Override

Loading…
Cancel
Save