wang-hao-jie
2021-12-07 8a82baca367e2fb25d8fa55d21f9b25f5ece74df
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();
}