feat: 订单保存amount金额
This commit is contained in:
@@ -969,6 +969,7 @@ public class OrderService {
|
||||
orderInfo.setRemark(orderVo.getRemark());
|
||||
orderInfo.setFreightAmount(feeAmount);
|
||||
orderInfo.setProductAmount(saleAmount);
|
||||
orderInfo.setAmount(saleAmount);
|
||||
orderInfo.setTradeDay(DateUtils.getDay());
|
||||
orderInfo.setUserId(orderVo.getUserId());
|
||||
orderInfo.setUseType(eatTypeInfoDTO.getUseType());
|
||||
@@ -990,6 +991,7 @@ public class OrderService {
|
||||
orderInfo.setPackFee(packAMount);
|
||||
orderInfo.setTableName(shopTable != null ? shopTable.getName() : null);
|
||||
orderInfo.setPayAmount(BigDecimal.ZERO);
|
||||
orderInfo.setAmount(saleAmount);
|
||||
// 堂食自取增加下单次数
|
||||
if (eatTypeInfoDTO.isDineInAfter()) {
|
||||
orderInfo.setPlaceNum(currentPlaceNum);
|
||||
|
||||
Reference in New Issue
Block a user