fix: 增加面厨打
This commit is contained in:
parent
04473738b7
commit
be710b8379
|
|
@ -83,7 +83,7 @@ public class TbCashierCart implements Serializable {
|
|||
private String unit;
|
||||
private BigDecimal discountSaleAmount;
|
||||
private String discountSaleNote;
|
||||
private Boolean isPrint;
|
||||
private Integer isPrint;
|
||||
private String useCouponInfo;
|
||||
private int isThirdCoupon;
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ public class TbOrderDetail implements Serializable {
|
|||
private String useCouponInfo;
|
||||
private BigDecimal canReturnAmount;
|
||||
private BigDecimal returnAmount;
|
||||
private Integer isPrint;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,5 +26,5 @@ public class CartVo {
|
|||
private String masterId;
|
||||
private String tableId;
|
||||
private Integer orderId;
|
||||
private Boolean isPrint;
|
||||
private Integer isPrint;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ public class OrderService {
|
|||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Result createCart(String masterId, Integer productId, Integer shopId, Integer skuId, BigDecimal number,
|
||||
String userId, String clientType, Integer cartId, String isGift, String isPack, String uuid, String type, String tableId, Boolean isPrint) {
|
||||
String userId, String clientType, Integer cartId, String isGift, String isPack, String uuid, String type, String tableId, Integer isPrint) {
|
||||
if (number == null) {
|
||||
return Result.fail(CodeEnum.PARAM);
|
||||
}
|
||||
|
|
@ -934,6 +934,7 @@ public class OrderService {
|
|||
saleAmount = saleAmount.add(shopInfo.getTableFee());
|
||||
}
|
||||
|
||||
orderDetail.setIsPrint(cashierCart.getIsPrint());
|
||||
orderDetail.setMemberPrice(cashierCart.getMemberPrice());
|
||||
orderDetail.setCreateTime(new Date());
|
||||
orderDetail.setNum(cashierCart.getNumber());
|
||||
|
|
|
|||
Loading…
Reference in New Issue