package bdqn.newsMange.Dao; import java.util.List; import bdqn.newsMange.entity.User; /** * 用户信息接口 * @author Administrator * */ public interface UserDao { //查询 public List<User>getAllUesr(); //添加 public int addUser(User user); //修改 public int updateUser(User user); //删除 public int delUser(int userId); //登录 public User getLoginUser(String uname); }