wu
2023-09-06 3eced65b14a858329fd2b7f4c8bc6c5d66710c78
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();
}