zhanghua
2023-11-12 ead280567beb29e26e0980c6b3770815e6fe86d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.ycl.service.region;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.entity.region.SccgRegion;
 
import java.util.List;
 
/**
 * <p>
 * 遂昌行政区域 服务类
 * </p>
 *
 * @author lyq
 * @since 2022-09-16
 */
public interface ISccgRegionService extends IService<SccgRegion> {
    /**
     * 树结构
     * @return
     */
    List<SccgRegion> getTree();
    Page<SccgRegion> list(Integer pageSize, Integer pageNum);
 
    List<SccgRegion> getChildren(Long parentId);
 
    SccgRegion getByCode(String code);
}