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