| | |
| | | */ |
| | | @GetMapping("/statistics/detail") |
| | | @ApiOperation(value = "用户统计详情",tags = {"管理后台-首页统计-用户统计详情"}) |
| | | public R<UserStatisticsDetail> statisticsDetail(String userName) { |
| | | UserStatisticsDetail userStatisticsDetail = appUserMapper.getUserStatisticsDetail(userName); |
| | | public R<UserStatisticsDetail> statisticsDetail(@ApiParam(value = "用户id") Long userId) { |
| | | UserStatisticsDetail userStatisticsDetail = appUserMapper.getUserStatisticsDetail(userId); |
| | | return R.ok(userStatisticsDetail); |
| | | } |
| | | |
| | |
| | | |
| | | UserStatistics getUserStatistics(); |
| | | |
| | | UserStatisticsDetail getUserStatisticsDetail(String userName); |
| | | UserStatisticsDetail getUserStatisticsDetail(Long userId); |
| | | |
| | | |
| | | |
| | |
| | | Page<BalanceChangeRecord> page = new Page<>(); |
| | | page.setCurrent(agentQuery.getPageNum()); |
| | | page.setSize(agentQuery.getPageSize()); |
| | | IPage<BalanceChangeRecord> shopIPage = this.baseMapper.pageList(page, agentQuery); |
| | | return shopIPage; |
| | | return this.baseMapper.pageList(page, agentQuery); |
| | | } |
| | | |
| | | @Override |
| | |
| | | t_app_user tau |
| | | <where> |
| | | <if test="null != userName and '' != userName"> |
| | | and tau.name like CONCAT('%',#{userName},'%') |
| | | and tau.id = #{userId} |
| | | </if> |
| | | </where> |
| | | </select> |