zhangback
7 天以前 ca412ade3b178fbc8ba0a4b6215a040acdede954
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
package com.ruoyi.tms.mapper;
 
import java.util.List;
import com.ruoyi.tms.domain.TmsRegion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.tms.domain.vo.RegionVo;
 
 
/**
 * 行政区域Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-03
 */
public interface TmsRegionMapper  extends BaseMapper<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 行政区域
     * @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 id 行政区域ID
     * @return 结果
     */
    public int deleteTmsRegionById(Integer id);
 
    /**
     * 批量删除行政区域
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTmsRegionByIds(Integer[] ids);
}