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.
test1/service/UserService.java

24 lines
570 B

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