订单详情返回对应的下单时间

This commit is contained in:
2024-09-26 13:47:17 +08:00
parent 06a7eb2f9d
commit 33ad3b4705

View File

@@ -484,7 +484,7 @@ public class OrderService {
groupedByPlaceNum.forEach((k, v) -> {
HashMap<String, Object> item = new HashMap<>();
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);
BigDecimal totalPrice = BigDecimal.ZERO;
for (TbOrderDetail d : v) {