ZengTao
2023-11-30 536ba9c36bc53201cfbafb7a1063f119a2ee3a1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.example.springboot.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.entity.MenuList;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Mapper
@Repository
public interface MenuListMapper extends BaseMapper<MenuList> {
    List<MenuList> findByParent(Long parent);
 
    List<MenuList> findByParentNull();
}