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.UserStatistic;
| import org.apache.ibatis.annotations.Select;
|
| import java.util.List;
|
| /**
| * 用户统计表数据处理层
| * @author whj
| */
| public interface UserStatisticMapper extends BaseMapper<UserStatistic> {
|
| @Select("select sum(driving) from t_user_statistic")
| int sumDriving();
| }
|
|