package club.service; import club.pojo.User; import club.pojo.User; import com.github.pagehelper.PageInfo; import java.util.List; public interface UserService { List findByName(String userName, Integer state); List showName(String userName); //登录数据 User loginuser(String userName,String password); //添加数据 int add(User user); //修改数据 Integer update(User user); User findById(Integer id); PageInfo allUser(String userName, Integer pageNum, Integer pageSize); int del(Integer id); }