package com.hfkj.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * mapper扩展类
 */
public interface BsMealTableMapperExt {

    @Select("<script>select table_number from bs_meal_table where store_id = #{storeId} and `status` <![CDATA[ <> ]]> 0 ORDER BY table_number desc LIMIT 1 </script>")
    Integer getMaxTableNum(@Param("storeId") Long storeId);
}
