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.
|
|
|
package com.ischoolbar.programmer.dao.admin;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
import com.ischoolbar.programmer.entity.admin.User;
|
|
|
|
|
|
|
|
|
|
|
|
@Repository
|
|
|
|
public interface UserDao {
|
|
|
|
public User findByUsername(String username);
|
|
|
|
public int add(User user);
|
|
|
|
public int edit(User user);
|
|
|
|
public int editPassword(User user);
|
|
|
|
public int delete(String ids);
|
|
|
|
public List<User> findList(Map<String, Object> queryMap);
|
|
|
|
public int getTotal(Map<String, Object> queryMap);
|
|
|
|
}
|