1.代客下单 查询购物车校验状态
This commit is contained in:
@@ -76,6 +76,6 @@ public interface TbCashierCartMapper {
|
||||
@Select("select count(*) from tb_cashier_cart where shop_id=#{shopId} and `status`='create' and table_id=#{qrcode} and order_id is not null")
|
||||
int countTable(@Param("qrcode") String qrcode, @Param("shopId") Integer shopId);
|
||||
|
||||
@Select("select count(*) from tb_order_detail where shop_id=#{shopId} and `status`='create' and order_id=#{orderId} and order_id is not null")
|
||||
@Select("select count(*) from tb_order_detail where shop_id=#{shopId} and `status`='unpaid' and order_id=#{orderId} and order_id is not null")
|
||||
int countTableByDetail(@Param("orderId") Integer orderId, @Param("shopId") Integer shopId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user