clll
2023-09-11 4bc329686bfc2f7bd0ce468aef7036f8761a6441
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();
}