wuyouming666
2023-12-15 0795daf740782f708968e9fe12f4d034fcd6488d
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();
}