|  |  | 
 |  |  | 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); | 
 |  |  |  | 
 |  |  | } | 
 |  |  | 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> selectByParentId(Long parentId, Integer type, Long hostId);
 | 
 |  |  | 
 | 
 |  |  |     @InterceptorIgnore(tenantLine = "true")
 | 
 |  |  |     List<Menu> selectByHostId(Long hostId);
 | 
 |  |  | 
 | 
 |  |  |     @InterceptorIgnore(tenantLine = "true")
 | 
 |  |  |     int removeByHostId(Long hostId);
 | 
 |  |  | 
 | 
 |  |  | }
 |