parent
1d06202dc7
commit
119f1386ce
@ -0,0 +1,62 @@
|
|||||||
|
package com.ruoyi.web.controller.areacode;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.system.domain.*;
|
||||||
|
import com.ruoyi.system.service.*;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
import oshi.driver.mac.net.NetStat;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/info")
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class SystemAreacodeInfoController extends BaseController {
|
||||||
|
|
||||||
|
private final SystemAreacodeInfoService service;
|
||||||
|
|
||||||
|
private final BasePlaceInfoService basePlaceInfoService;
|
||||||
|
private final BaseGridInfoService baseGridInfoService;
|
||||||
|
private final BaseBuildInfoService baseBuildInfoService;
|
||||||
|
private final BaseUnitInfoService baseUnitInfoService;
|
||||||
|
private final BaseHomeInfoService baseHomeInfoService;
|
||||||
|
|
||||||
|
@GetMapping("/{parentCode}")
|
||||||
|
public AjaxResult select(@PathVariable Long parentCode) {
|
||||||
|
List<SystemAreacodeInfo> list = service.lambdaQuery().eq(SystemAreacodeInfo::getParentAreaCode, parentCode).list();
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@GetMapping
|
||||||
|
public AjaxResult selects(BaseCode baseCode) {
|
||||||
|
List<BasePlaceInfo> list = basePlaceInfoService.lambdaQuery().list();
|
||||||
|
List<BaseGridInfo> baseGridInfos = baseGridInfoService.lambdaQuery().eq(BaseGridInfo::getPlaceCode, baseCode.getPlaceCode()).list();
|
||||||
|
List<BaseBuildInfo> baseBuildInfos = baseBuildInfoService.lambdaQuery().eq(BaseBuildInfo::getGridCode, baseCode.getGridCode()).list();
|
||||||
|
List<BaseUnitInfo> baseUnitInfos = baseUnitInfoService.lambdaQuery().eq(BaseUnitInfo::getBuildingCode, baseCode.getBuildingCode()).list();
|
||||||
|
List<BaseHomeInfo> baseHomeInfos = baseHomeInfoService.lambdaQuery().eq(BaseHomeInfo::getUnitCode, baseCode.getUnitCode()).list();
|
||||||
|
if (!baseHomeInfos.isEmpty()){
|
||||||
|
return AjaxResult.success(baseHomeInfos);
|
||||||
|
}
|
||||||
|
if (!baseUnitInfos.isEmpty()){
|
||||||
|
return AjaxResult.success(baseUnitInfos);
|
||||||
|
}
|
||||||
|
if (!baseBuildInfos.isEmpty()){
|
||||||
|
return AjaxResult.success(baseBuildInfos);
|
||||||
|
}
|
||||||
|
if (!baseGridInfos.isEmpty()){
|
||||||
|
return AjaxResult.success(baseGridInfos);
|
||||||
|
}
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package com.ruoyi.web.controller.cache;
|
||||||
|
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Component
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class DictCache {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
Main-Class: com.ruoyi.RuoYiApplication
|
||||||
|
|
@ -0,0 +1,127 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋信息表
|
||||||
|
* @TableName base_build_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="base_build_info")
|
||||||
|
@Data
|
||||||
|
public class BaseBuildInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所编码
|
||||||
|
*/
|
||||||
|
private String placeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所名称
|
||||||
|
*/
|
||||||
|
private String placeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格编码
|
||||||
|
*/
|
||||||
|
private String gridCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格名称
|
||||||
|
*/
|
||||||
|
private String gridName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋编码
|
||||||
|
*/
|
||||||
|
private String buildingCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋名称
|
||||||
|
*/
|
||||||
|
private String buildingName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋类型
|
||||||
|
*/
|
||||||
|
private Integer buildingType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋经度
|
||||||
|
*/
|
||||||
|
private BigDecimal longitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋维度
|
||||||
|
*/
|
||||||
|
private BigDecimal latitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地上层数
|
||||||
|
*/
|
||||||
|
private Integer upFloor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 地下层数
|
||||||
|
*/
|
||||||
|
private Integer belowFloor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建筑面积
|
||||||
|
*/
|
||||||
|
private String floorAcreage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋地址
|
||||||
|
*/
|
||||||
|
private String buildingAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元数量
|
||||||
|
*/
|
||||||
|
private Integer unitNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 户室数量
|
||||||
|
*/
|
||||||
|
private Integer homeNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private Integer createBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private Integer updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 0:不活跃,1:活跃
|
||||||
|
*/
|
||||||
|
private Integer isActive;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class BaseCode implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
|
private String placeCode;
|
||||||
|
private String gridCode;
|
||||||
|
private String buildingCode;
|
||||||
|
private String unitCode;
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格信息表
|
||||||
|
* @TableName base_grid_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="base_grid_info")
|
||||||
|
@Data
|
||||||
|
public class BaseGridInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所编码
|
||||||
|
*/
|
||||||
|
private String placeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所名称
|
||||||
|
*/
|
||||||
|
private String placeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格编码
|
||||||
|
*/
|
||||||
|
private String gridCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格名称
|
||||||
|
*/
|
||||||
|
private String gridName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private Integer createBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private Integer updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 0:不活跃,1:活跃
|
||||||
|
*/
|
||||||
|
private Integer isActive;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,176 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋信息表
|
||||||
|
* @TableName base_home_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="base_home_info")
|
||||||
|
@Data
|
||||||
|
public class BaseHomeInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所编码
|
||||||
|
*/
|
||||||
|
private String placeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所名称
|
||||||
|
*/
|
||||||
|
private String placeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格编码
|
||||||
|
*/
|
||||||
|
private String gridCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格名称
|
||||||
|
*/
|
||||||
|
private String gridName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋编码
|
||||||
|
*/
|
||||||
|
private String buildingCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋名称
|
||||||
|
*/
|
||||||
|
private String buildingName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元编码
|
||||||
|
*/
|
||||||
|
private String unitCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元名称
|
||||||
|
*/
|
||||||
|
private String unitName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋编码
|
||||||
|
*/
|
||||||
|
private String homeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋名称
|
||||||
|
*/
|
||||||
|
private String homeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋楼层
|
||||||
|
*/
|
||||||
|
private Integer homeFloor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋地址
|
||||||
|
*/
|
||||||
|
private String homeAdddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋面积
|
||||||
|
*/
|
||||||
|
private String homeAcreage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋套内面积
|
||||||
|
*/
|
||||||
|
private String insideAcreage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋类型
|
||||||
|
*/
|
||||||
|
private Integer homeType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋类别
|
||||||
|
*/
|
||||||
|
private Integer homeCategory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋用途
|
||||||
|
*/
|
||||||
|
private Integer homeUse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房间数量
|
||||||
|
*/
|
||||||
|
private Integer roomNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 居住人数
|
||||||
|
*/
|
||||||
|
private Integer homePersonNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋户型
|
||||||
|
*/
|
||||||
|
private String homeDoorModel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋户型图
|
||||||
|
*/
|
||||||
|
private String homeDoorModelPic;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房屋状态
|
||||||
|
*/
|
||||||
|
private Integer homeState;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 不动产权编号
|
||||||
|
*/
|
||||||
|
private String certificateCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产权人姓名
|
||||||
|
*/
|
||||||
|
private String propertyOwner;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产权人联系电话
|
||||||
|
*/
|
||||||
|
private String propertyOwnerPhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private Integer createBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private Integer updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 0:不活跃,1:活跃
|
||||||
|
*/
|
||||||
|
private Integer isActive;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,96 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元信息表
|
||||||
|
* @TableName base_unit_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="base_unit_info")
|
||||||
|
@Data
|
||||||
|
public class BaseUnitInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所编码
|
||||||
|
*/
|
||||||
|
private String placeCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 场所名称
|
||||||
|
*/
|
||||||
|
private String placeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格编码
|
||||||
|
*/
|
||||||
|
private String gridCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网格名称
|
||||||
|
*/
|
||||||
|
private String gridName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋编码
|
||||||
|
*/
|
||||||
|
private String buildingCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 楼栋名称
|
||||||
|
*/
|
||||||
|
private String buildingName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元编码
|
||||||
|
*/
|
||||||
|
private String unitCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元名称
|
||||||
|
*/
|
||||||
|
private String unitName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单元地址
|
||||||
|
*/
|
||||||
|
private String unitAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private Integer createBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private Integer updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 0:不活跃,1:活跃
|
||||||
|
*/
|
||||||
|
private Integer isActive;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 行政区域编码表
|
||||||
|
* @TableName system_areacode_info
|
||||||
|
*/
|
||||||
|
@TableName(value ="system_areacode_info")
|
||||||
|
@Data
|
||||||
|
public class SystemAreacodeInfo implements Serializable {
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 行政编码
|
||||||
|
*/
|
||||||
|
private Long subAreaCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上级行政编码
|
||||||
|
*/
|
||||||
|
private Long parentAreaCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域名称
|
||||||
|
*/
|
||||||
|
private String areaName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 层级
|
||||||
|
*/
|
||||||
|
private Integer treeLevel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private Integer createBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private Integer updateBy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 0:不活跃,1:活跃
|
||||||
|
*/
|
||||||
|
private Integer isActive;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseBuildInfo;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_build_info(楼栋信息表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-10-27 17:13:39
|
||||||
|
* @Entity com.ruoyi.system.domain.BaseBuildInfo
|
||||||
|
*/
|
||||||
|
public interface BaseBuildInfoMapper extends BaseMapper<BaseBuildInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.BaseGridInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_grid_info(网格信息表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-10-27 17:10:30
|
||||||
|
* @Entity com/rouyi/system.domain.BaseGridInfo
|
||||||
|
*/
|
||||||
|
public interface BaseGridInfoMapper extends BaseMapper<BaseGridInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseHomeInfo;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_home_info(房屋信息表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-10-27 17:15:11
|
||||||
|
* @Entity com.ruoyi.system.domain.BaseHomeInfo
|
||||||
|
*/
|
||||||
|
public interface BaseHomeInfoMapper extends BaseMapper<BaseHomeInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseUnitInfo;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_unit_info(单元信息表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-10-27 17:14:40
|
||||||
|
* @Entity com.ruoyi.system.domain.BaseUnitInfo
|
||||||
|
*/
|
||||||
|
public interface BaseUnitInfoMapper extends BaseMapper<BaseUnitInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.SystemAreacodeInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【system_areacode_info(行政区域编码表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-10-26 19:15:40
|
||||||
|
* @Entity com/rouyi/system.domain.SystemAreacodeInfo
|
||||||
|
*/
|
||||||
|
public interface SystemAreacodeInfoMapper extends BaseMapper<SystemAreacodeInfo> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseBuildInfo;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_build_info(楼栋信息表)】的数据库操作Service
|
||||||
|
* @createDate 2023-10-27 17:13:39
|
||||||
|
*/
|
||||||
|
public interface BaseBuildInfoService extends IService<BaseBuildInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.BaseGridInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_grid_info(网格信息表)】的数据库操作Service
|
||||||
|
* @createDate 2023-10-27 17:10:30
|
||||||
|
*/
|
||||||
|
public interface BaseGridInfoService extends IService<BaseGridInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseHomeInfo;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_home_info(房屋信息表)】的数据库操作Service
|
||||||
|
* @createDate 2023-10-27 17:15:11
|
||||||
|
*/
|
||||||
|
public interface BaseHomeInfoService extends IService<BaseHomeInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseUnitInfo;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_unit_info(单元信息表)】的数据库操作Service
|
||||||
|
* @createDate 2023-10-27 17:14:40
|
||||||
|
*/
|
||||||
|
public interface BaseUnitInfoService extends IService<BaseUnitInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.SystemAreacodeInfo;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【system_areacode_info(行政区域编码表)】的数据库操作Service
|
||||||
|
* @createDate 2023-10-26 19:15:40
|
||||||
|
*/
|
||||||
|
public interface SystemAreacodeInfoService extends IService<SystemAreacodeInfo> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.BaseBuildInfo;
|
||||||
|
import com.ruoyi.system.service.BaseBuildInfoService;
|
||||||
|
import com.ruoyi.system.mapper.BaseBuildInfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_build_info(楼栋信息表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-10-27 17:13:39
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BaseBuildInfoServiceImpl extends ServiceImpl<BaseBuildInfoMapper, BaseBuildInfo>
|
||||||
|
implements BaseBuildInfoService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.BaseGridInfo;
|
||||||
|
import com.ruoyi.system.mapper.BaseGridInfoMapper;
|
||||||
|
import com.ruoyi.system.service.BaseGridInfoService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_grid_info(网格信息表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-10-27 17:10:30
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BaseGridInfoServiceImpl extends ServiceImpl<BaseGridInfoMapper, BaseGridInfo>
|
||||||
|
implements BaseGridInfoService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.BaseHomeInfo;
|
||||||
|
import com.ruoyi.system.service.BaseHomeInfoService;
|
||||||
|
import com.ruoyi.system.mapper.BaseHomeInfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_home_info(房屋信息表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-10-27 17:15:11
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BaseHomeInfoServiceImpl extends ServiceImpl<BaseHomeInfoMapper, BaseHomeInfo>
|
||||||
|
implements BaseHomeInfoService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.BaseUnitInfo;
|
||||||
|
import com.ruoyi.system.service.BaseUnitInfoService;
|
||||||
|
import com.ruoyi.system.mapper.BaseUnitInfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【base_unit_info(单元信息表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-10-27 17:14:40
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BaseUnitInfoServiceImpl extends ServiceImpl<BaseUnitInfoMapper, BaseUnitInfo>
|
||||||
|
implements BaseUnitInfoService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.SystemAreacodeInfo;
|
||||||
|
import com.ruoyi.system.mapper.SystemAreacodeInfoMapper;
|
||||||
|
import com.ruoyi.system.service.SystemAreacodeInfoService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【system_areacode_info(行政区域编码表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-10-26 19:15:40
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SystemAreacodeInfoServiceImpl extends ServiceImpl<SystemAreacodeInfoMapper, SystemAreacodeInfo>
|
||||||
|
implements SystemAreacodeInfoService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in new issue