1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| 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<Customer> {
|
| @Select("select count(id) from t_customer")
| int count();
| }
|
|