package cn.exrick.xboot.your.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import cn.exrick.xboot.your.entity.Customer; import org.apache.ibatis.annotations.Select; import java.util.List; /** * 商户表数据处理层 * @author zhangzeli */ public interface CustomerMapper extends BaseMapper { @Select("select count(id) from t_customer") int count(); }