修改订单详情餐位费返回结构
This commit is contained in:
@@ -313,7 +313,7 @@ public class TbOrderInfoServiceImpl implements TbOrderInfoService {
|
||||
TbOrderDetail orderDetail = details.stream().filter(item -> item.getCartId().equals(cashierCart.getId())).findFirst().orElse(null);
|
||||
map.put("id", orderDetail != null ? orderDetail.getId() : null);
|
||||
}
|
||||
dto.setSeatInfo(cashierCart);
|
||||
dto.setSeatInfo(map);
|
||||
Map<String, Object> data = BeanUtil.beanToMap(tbOrderInfo, false, false);
|
||||
data.putAll(BeanUtil.beanToMap(dto, false, false));
|
||||
data.put("refundAmount", tbOrderInfo.getRefundAmount());
|
||||
|
||||
Reference in New Issue
Block a user