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.Role; @Repository public interface RoleDao { public int add(Role role); public int edit(Role role); public int delete(Long id); public List findList(Map queryMap); public int getTotal(Map queryMap); public Role find(Long id); }