#
Junjie
2024-07-04 c0a5a652c9efbd11c4d6ad80f271d9b16d3950f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.zy.asrs.wms.system.mapper;
 
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.zy.asrs.wms.system.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Mapper
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
 
    @InterceptorIgnore(tenantLine = "true")
    List<Menu> selectByPathName(String pathName, Integer type);
 
    @InterceptorIgnore(tenantLine = "true")
    List<Menu> selectByHostId(Long hostId);
 
    @InterceptorIgnore(tenantLine = "true")
    int removeByHostId(Long hostId);
 
}