订单详情返回对应的下单时间
This commit is contained in:
@@ -484,7 +484,7 @@ public class OrderService {
|
|||||||
groupedByPlaceNum.forEach((k, v) -> {
|
groupedByPlaceNum.forEach((k, v) -> {
|
||||||
HashMap<String, Object> item = new HashMap<>();
|
HashMap<String, Object> item = new HashMap<>();
|
||||||
item.put("placeNum", k);
|
item.put("placeNum", k);
|
||||||
item.put("placeTime", v.isEmpty() ? null : v.get(0).getUpdateTime());
|
item.put("placeTime", v.isEmpty() ? null : v.get(0).getCreateTime());
|
||||||
item.put("info", v);
|
item.put("info", v);
|
||||||
BigDecimal totalPrice = BigDecimal.ZERO;
|
BigDecimal totalPrice = BigDecimal.ZERO;
|
||||||
for (TbOrderDetail d : v) {
|
for (TbOrderDetail d : v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user