| | |
| | | package org.sxkj.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.sxkj.system.entity.Region; |
| | | import org.sxkj.system.excel.RegionExcel; |
| | | import org.sxkj.system.excel.RegionImportExcel; |
| | | import org.sxkj.system.param.RegionExportParam; |
| | | import org.sxkj.system.param.RegionPageParam; |
| | | import org.sxkj.system.vo.RegionVO; |
| | | import org.sxkj.system.vo.TreeVo; |
| | | |
| | |
| | | * @param isCovered |
| | | * @return |
| | | */ |
| | | void importRegion(List<RegionExcel> data, Boolean isCovered); |
| | | void importRegion(List<RegionImportExcel> data, Boolean isCovered); |
| | | |
| | | /** |
| | | * 导出区划数据 |
| | | * |
| | | * @param queryWrapper |
| | | * @param region |
| | | * @return |
| | | */ |
| | | List<RegionExcel> exportRegion(Wrapper<Region> queryWrapper); |
| | | List<RegionExcel> exportRegion(RegionExportParam region); |
| | | |
| | | /** |
| | | * 区域数据处理 |
| | |
| | | * @return |
| | | */ |
| | | public TreeVo buildRegionTree(String parentCode); |
| | | |
| | | /** |
| | | * |
| | | * @param page |
| | | * @param regionPageParam |
| | | * @return |
| | | */ |
| | | IPage<RegionVO> selectRegionPage(IPage<RegionVO> page, RegionPageParam regionPageParam); |
| | | } |