jiangping
2023-08-10 e3523883aadf423cb78647c38f0648c2143d2a89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package doumeemes.dao.system;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import doumeemes.dao.system.dto.QuerySystemDictDTO;
import doumeemes.dao.system.dto.QuerySystemMenuDTO;
import doumeemes.dao.system.model.SystemMenu;
import doumeemes.dao.system.vo.SystemMenuListVO;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface SystemMenuMapper extends BaseMapper<SystemMenu> {
 
    /**
     * 查询列表
     * @author Eva.Caesar Liu
     * @date 2022/04/18 18:12
     */
    List<SystemMenuListVO> selectManageList(@Param("dto") QuerySystemMenuDTO dto);
 
    /**
     * 根据用户ID查询
     * @author Eva.Caesar Liu
     * @date 2022/04/18 18:12
     */
    List<SystemMenu> selectByUserId(@Param("userId") Integer userId,@Param("type") Integer type,@Param("companyId") Integer companyId);
 
    /**
     * 根据角色ID查询
     * @author Eva.Caesar Liu
     * @date 2022/04/18 18:12
     */
    List<SystemMenu> selectByRoleId(Integer roleId);
 
}