You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
901 B
34 lines
901 B
package com.rabbiter.service.Impl;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.rabbiter.entity.User;
|
|
import com.rabbiter.mapper.UserMapper;
|
|
import com.rabbiter.service.UserService;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
/**
|
|
* <p>
|
|
* 服务实现类
|
|
* </p>
|
|
*
|
|
* @author
|
|
* @since 2024-01-02
|
|
*/
|
|
@Service
|
|
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
|
|
@Autowired
|
|
private UserMapper userMapper;
|
|
@Override
|
|
public IPage pageC(IPage<User> page) {
|
|
return userMapper.pageC(page);
|
|
}
|
|
|
|
@Override
|
|
public IPage pageCC(IPage<User> page, Wrapper wrapper) {
|
|
return userMapper.pageCC(page,wrapper);
|
|
}
|
|
}
|