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.common;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
import com.ischoolbar.programmer.entity.common.Account;
|
|
|
|
|
|
|
|
|
|
|
|
@Repository
|
|
|
|
public interface AccountDao {
|
|
|
|
|
|
|
|
public int add(Account account);
|
|
|
|
|
|
|
|
|
|
|
|
public int edit(Account account);
|
|
|
|
|
|
|
|
|
|
|
|
public int delete(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
public List<Account> findList(Map<String, Object> queryMap);
|
|
|
|
|
|
|
|
public Integer getTotal(Map<String, Object> queryMap);
|
|
|
|
|
|
|
|
public Account findById(Long id);
|
|
|
|
|
|
|
|
public Account findByName(String name);
|
|
|
|
}
|