zhangback
2025-11-18 f656483a233cb1213c85f32c6b4f81d71bd4db4c
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package com.ruoyi.tms.service;
 
import java.util.List;
import com.ruoyi.tms.domain.TmsRegion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tms.domain.vo.RegionVo;
 
/**
 * 行政区域Service接口
 * 
 * @author ruoyi
 * @date 2025-11-03
 */
public interface ITmsRegionService extends IService<TmsRegion>
{
    /**
     * 查询行政区域
     * 
     * @param id 行政区域ID
     * @return 行政区域
     */
    public TmsRegion selectTmsRegionById(Integer id);
 
    /**
     * 查询行政区域 记录数
     *
     * @param tmsRegion 行政区域
     * @return 行政区域集合
     */
    public int selectTmsRegionCount(TmsRegion tmsRegion);
 
    /**
     * 查询行政区域列表
     * 
     * @param tmsRegion 行政区域
     * @return 行政区域集合
     */
    public List<TmsRegion> selectTmsRegionList(TmsRegion tmsRegion);
    public List<RegionVo> selectRegionVoList(String parentRegionCode);
 
    /**
     * 查询行政区域列表 异步 导出
     *
     * @param tmsRegion 行政区域
     * @param exportKey 导出功能的唯一标识
     * @return 行政区域集合
     */
    public void export(TmsRegion tmsRegion, String exportKey) ;
 
 
    /**
     * 新增行政区域
     * 
     * @param tmsRegion 行政区域
     * @return 结果
     */
    public int insertTmsRegion(TmsRegion tmsRegion);
 
    /**
     * 新增行政区域[批量]
     *
     * @param tmsRegions 行政区域
     * @return 结果
     */
    public int insertTmsRegionBatch(List<TmsRegion> tmsRegions);
 
    /**
     * 修改行政区域
     * 
     * @param tmsRegion 行政区域
     * @return 结果
     */
    public int updateTmsRegion(TmsRegion tmsRegion);
 
    /**
     * 修改行政区域[批量]
     *
     * @param tmsRegions 行政区域
     * @return 结果
     */
    public int updateTmsRegionBatch(List<TmsRegion> tmsRegions);
    /**
     * 批量删除行政区域
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTmsRegionByIds(String ids);
 
    /**
     * 批量删除行政区域
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTmsRegionByIds(Integer[] ids);
 
    /**
     * 删除行政区域信息
     * 
     * @param id 行政区域ID
     * @return 结果
     */
    public int deleteTmsRegionById(Integer id);
}