fix: 订单保存先付费后付费
This commit is contained in:
parent
2a6013f1dd
commit
261fc2d387
|
|
@ -251,6 +251,7 @@ public class TbOrderInfo implements Serializable {
|
|||
private BigDecimal productCouponDiscountAmount;
|
||||
// 满减抵扣金额
|
||||
private BigDecimal fullCouponDiscountAmount;
|
||||
private Integer isPostpaid;
|
||||
|
||||
public void copy(TbOrderInfo source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
|
|
|
|||
|
|
@ -1547,6 +1547,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
throw new BadRequestException("商户信息不存在");
|
||||
}
|
||||
orderInfo.setMerchantId(merchantAccount.getId().toString());
|
||||
orderInfo.setIsPostpaid(eatTypeInfoDTO.isDineInAfter() ? 1 : 0);
|
||||
}
|
||||
// 更新取餐号
|
||||
orderInfo.setOutNumber(updateOutNumber(String.valueOf(createOrderDTO.getShopId())).toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue