1.代客下单

This commit is contained in:
2024-08-27 09:11:55 +08:00
parent a1d0fa1a7f
commit f585a4f46a
7 changed files with 184 additions and 46 deletions

View File

@@ -72,4 +72,7 @@ public interface TbCashierCartMapper {
@Delete("delete from tb_cashier_cart where master_id=#{masterId} and id=#{cartId}")
int deleteByCartId(@Param("masterId") String masterId, @Param("cartId")Integer cartId);
@Select("select count(*) from tb_cashier_cart where shop_id=#{shopId} and `status`='create' and table_id=#{qrcode}")
int countTable(@Param("qrcode") String qrcode, @Param("shopId") Integer shopId);
}