package com.moon.server.mapper.all;
|
|
import com.moon.server.entity.all.MenusAuthEntity;
|
import com.moon.server.entity.all.PermsAuthEntity;
|
import com.moon.server.entity.sys.MenuEntity;
|
import com.moon.server.entity.sys.ResEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
@SuppressWarnings("ALL")
|
public interface PermsMapper {
|
public List<ResEntity> selectRes(String uid);
|
|
public List<ResEntity> selectAllRes();
|
|
public List<String> selectTabs(String uid);
|
|
public List<String> selectAllTabs();
|
|
public List<MenusAuthEntity> selectMenus(String uid);
|
|
public List<String> selectPerms(String uid);
|
|
public List<PermsAuthEntity> selectPermsEntity(String uid);
|
|
public List<Integer> selectRoles(String uid);
|
|
public List<MenuEntity> selectMenuRecursive(int id, String uid);
|
}
|