fix: 订单保存先付费后付费
This commit is contained in:
@@ -134,6 +134,7 @@ public class TbOrderInfo implements Serializable {
|
||||
private BigDecimal fullCouponDiscountAmount;
|
||||
private BigDecimal productCouponDiscountAmount;
|
||||
private String couponInfoList;
|
||||
private int isPostpaid;
|
||||
|
||||
public void setDescription(String shopName) {
|
||||
this.shopName = shopName;
|
||||
|
||||
@@ -1000,6 +1000,7 @@ public class CartService {
|
||||
throw new MsgException("商户信息不存在");
|
||||
}
|
||||
orderInfo.setMerchantId(merchantAccount.getId().toString());
|
||||
orderInfo.setIsPostpaid(eatTypeInfoDTO.isDineInAfter() ? 1 : 0);
|
||||
}
|
||||
// 更新取餐号
|
||||
orderInfo.setOutNumber(getOutNumber(createOrderDTO.getShopId().toString()).toString());
|
||||
|
||||
Reference in New Issue
Block a user