ZengTao
2024-05-13 c85904597bf93e0fbae321093a970dd973b0f64f
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();
}