package com.zy.system.service.impl;
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
import com.zy.system.entity.User;
|
import com.zy.system.mapper.UserMapper;
|
import com.zy.system.service.UserService;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
@Service("userService")
|
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
|
@Override
|
public List<User> selectUserList(List<Long> leaderIdList, Integer curr, Integer limit){
|
return this.baseMapper.selectUserList(leaderIdList,curr,limit);
|
};
|
|
@Override
|
public Long selectUserListTotal(List<Long> leaderIdList){
|
return this.baseMapper.selectUserListTotal(leaderIdList);
|
};
|
|
}
|