fix: 订单保存先付费后付费
This commit is contained in:
@@ -116,6 +116,8 @@ public class TbOrderInfo implements Serializable {
|
|||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
private int isPostpaid;
|
||||||
|
|
||||||
public TbOrderInfo(){
|
public TbOrderInfo(){
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1005,6 +1005,8 @@ public class OrderService {
|
|||||||
}
|
}
|
||||||
orderInfo.setSendType(eatTypeInfoDTO.getSendType());
|
orderInfo.setSendType(eatTypeInfoDTO.getSendType());
|
||||||
orderInfo.setOutNumber(masterId);
|
orderInfo.setOutNumber(masterId);
|
||||||
|
orderInfo.setIsPostpaid(eatTypeInfoDTO.isDineInAfter() ? 1 : 0);
|
||||||
|
|
||||||
mPOrderInfoMapper.insert(orderInfo);
|
mPOrderInfoMapper.insert(orderInfo);
|
||||||
orderId = orderInfo.getId();
|
orderId = orderInfo.getId();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user