src/main/java/com/moral/mapper/RoleMapper.java
@@ -2,18 +2,12 @@ import java.util.List; import org.apache.ibatis.annotations.Param; import com.moral.common.mapper.BaseMapper; import com.moral.entity.Role; import tk.mybatis.mapper.entity.Example; public interface RoleMapper extends BaseMapper<Role> { int updateByPrimaryKey(Role role); List<Role> getRoleListByName(@Param("roleName") String roleName); List<Role> getRoleList(Example example);