You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
410 B
13 lines
410 B
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);
|
|
}
|
|
|