代客下单 createOrder 报错问题
This commit is contained in:
@@ -13,7 +13,7 @@ public class CreateOrderDTO {
|
|||||||
@NotNull
|
@NotNull
|
||||||
private Integer shopId;
|
private Integer shopId;
|
||||||
@NotEmpty
|
@NotEmpty
|
||||||
private Long tableId;
|
private String tableId;
|
||||||
private String note;
|
private String note;
|
||||||
private boolean postPay;
|
private boolean postPay;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ public class PendingDTO {
|
|||||||
private String masterId;
|
private String masterId;
|
||||||
@NotNull
|
@NotNull
|
||||||
private Integer shopId;
|
private Integer shopId;
|
||||||
private Long tableId;
|
private String tableId;
|
||||||
private Integer vipUserId;
|
private Integer vipUserId;
|
||||||
@NotNull
|
@NotNull
|
||||||
private Boolean isPending;
|
private Boolean isPending;
|
||||||
|
|||||||
@@ -914,6 +914,7 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||||||
pushConsMsg(orderInfo, cashierCarts);
|
pushConsMsg(orderInfo, cashierCarts);
|
||||||
|
|
||||||
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
||||||
|
.eq(TbShopTable::getShopId, createOrderDTO.getShopId())
|
||||||
.eq(TbShopTable::getQrcode, createOrderDTO.getTableId())
|
.eq(TbShopTable::getQrcode, createOrderDTO.getTableId())
|
||||||
.set(TbShopTable::getStatus, TableStateEnum.USING.getState()));
|
.set(TbShopTable::getStatus, TableStateEnum.USING.getState()));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user