parent
c634ae3927
commit
b1bfb5563f
@ -0,0 +1,98 @@
|
||||
package com.ruoyi.gysl.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.gysl.entity.BasicInformation;
|
||||
import com.ruoyi.gysl.service.BasicInformationService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 基本信息(BasicInformation)表控制层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 09:25:51
|
||||
*/
|
||||
@Api(tags ="基本信息" )
|
||||
@RestController
|
||||
@RequestMapping("/gysl/basicInformation")
|
||||
public class BasicInformationController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
|
||||
private BasicInformationService basicInformationService;
|
||||
|
||||
/**
|
||||
* 分页查询所有数据
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param basicInformation 查询实体
|
||||
* @return 所有数据
|
||||
*/
|
||||
@ApiOperation(value = "分页查询所有数据", response = BasicInformation.class)
|
||||
@GetMapping("/page")
|
||||
public AjaxResult selectAll(Page<BasicInformation> page, BasicInformation basicInformation) {
|
||||
return success(this.basicInformationService.page(page, new QueryWrapper<>(basicInformation)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@ApiOperation(value = "通过主键查询单条数据",response = BasicInformation.class)
|
||||
@GetMapping("{id}")
|
||||
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||
return success(this.basicInformationService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param basicInformation 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@ApiOperation("新增数据")
|
||||
@PostMapping("/add")
|
||||
public AjaxResult insert(@RequestBody BasicInformation basicInformation) {
|
||||
return success(this.basicInformationService.save(basicInformation));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param basicInformation 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@ApiOperation("修改数据")
|
||||
@PostMapping("/edit")
|
||||
public AjaxResult update(@RequestBody BasicInformation basicInformation) {
|
||||
return success(this.basicInformationService.updateById(basicInformation));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键结合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@DeleteMapping("/delete")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(this.basicInformationService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,95 @@
|
||||
package com.ruoyi.gysl.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.gysl.entity.BuildingInformation;
|
||||
import com.ruoyi.gysl.service.BuildingInformationService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 建筑信息表(BuildingInformation)表控制层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:10:03
|
||||
*/
|
||||
@Api(tags = "建筑信息表")
|
||||
@RestController
|
||||
@RequestMapping("/gysl/buildingInformation")
|
||||
public class BuildingInformationController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private BuildingInformationService buildingInformationService;
|
||||
|
||||
/**
|
||||
* 分页查询所有数据
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param buildingInformation 查询实体
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping("/page")
|
||||
@ApiOperation(value = "分页查询所有数据",response =BuildingInformation.class )
|
||||
public AjaxResult selectAll(Page<BuildingInformation> page, BuildingInformation buildingInformation) {
|
||||
return success(this.buildingInformationService.page(page, new QueryWrapper<>(buildingInformation)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条数据",response =BuildingInformation.class)
|
||||
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||
return success(this.buildingInformationService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param buildingInformation 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping("/add")
|
||||
@ApiOperation("新增数据")
|
||||
public AjaxResult insert(@RequestBody BuildingInformation buildingInformation) {
|
||||
return success(this.buildingInformationService.save(buildingInformation));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param buildingInformation 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PostMapping("/edit")
|
||||
@ApiOperation("修改数据")
|
||||
public AjaxResult update(@RequestBody BuildingInformation buildingInformation) {
|
||||
return success(this.buildingInformationService.updateById(buildingInformation));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键结合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@DeleteMapping("/delete")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(this.buildingInformationService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.gysl.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.gysl.entity.Enterprise;
|
||||
import com.ruoyi.gysl.service.EnterpriseService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 企业基本信息(Enterprise)表控制层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:26:49
|
||||
*/
|
||||
|
||||
@Api(tags = "企业基本信息")
|
||||
@RestController
|
||||
@RequestMapping("enterprise")
|
||||
public class EnterpriseController extends BaseController {
|
||||
/**
|
||||
* 服务对象
|
||||
*/
|
||||
@Resource
|
||||
private EnterpriseService enterpriseService;
|
||||
|
||||
/**
|
||||
* 分页查询所有数据
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param enterprise 查询实体
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping("/page")
|
||||
@ApiOperation(value = "分页查询所有数据",response =Enterprise.class )
|
||||
public AjaxResult selectAll(Page<Enterprise> page, Enterprise enterprise) {
|
||||
return success(this.enterpriseService.page(page, new QueryWrapper<>(enterprise)));
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return 单条数据
|
||||
*/
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation(value = "通过主键查询单条数据",response =Enterprise.class )
|
||||
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||
return success(this.enterpriseService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增数据
|
||||
*
|
||||
* @param enterprise 实体对象
|
||||
* @return 新增结果
|
||||
*/
|
||||
@PostMapping("/add")
|
||||
@ApiOperation("新增数据")
|
||||
public AjaxResult insert(@RequestBody Enterprise enterprise) {
|
||||
return success(this.enterpriseService.save(enterprise));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改数据
|
||||
*
|
||||
* @param enterprise 实体对象
|
||||
* @return 修改结果
|
||||
*/
|
||||
@PostMapping("/edit")
|
||||
@ApiOperation("修改数据")
|
||||
public AjaxResult update(@RequestBody Enterprise enterprise) {
|
||||
return success(this.enterpriseService.updateById(enterprise));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除数据
|
||||
*
|
||||
* @param idList 主键结合
|
||||
* @return 删除结果
|
||||
*/
|
||||
@ApiOperation("删除数据")
|
||||
@DeleteMapping("/delete")
|
||||
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||
return success(this.enterpriseService.removeByIds(idList));
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,176 @@
|
||||
package com.ruoyi.gysl.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 基本信息(BasicInformation)表实体类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 09:25:55
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("基本信息")
|
||||
@TableName(value = "basic_information")
|
||||
@SuppressWarnings("serial")
|
||||
public class BasicInformation extends Model<BasicInformation> {
|
||||
|
||||
@ApiModelProperty("主键id")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
|
||||
//项目名称
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目名称")
|
||||
private String name;
|
||||
|
||||
|
||||
//项目法人单位
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目法人单位")
|
||||
private String xmfrdwxz;
|
||||
|
||||
|
||||
//项目法人单位性质
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目法人单位性质")
|
||||
private Integer nature;
|
||||
|
||||
//施工单位
|
||||
@ApiModelProperty("施工单位")
|
||||
private String sgdw;
|
||||
|
||||
|
||||
//设计单位
|
||||
@ApiModelProperty("设计单位")
|
||||
private String sjdw;
|
||||
|
||||
|
||||
//总投资额
|
||||
@ApiModelProperty("总投资额")
|
||||
private BigDecimal ztze;
|
||||
|
||||
|
||||
//所属功能区
|
||||
@NotBlank
|
||||
@ApiModelProperty("所属功能区")
|
||||
private Integer ssgnq;
|
||||
|
||||
|
||||
//建设起止时间
|
||||
@ApiModelProperty("建设起止时间")
|
||||
private Date begainTime;
|
||||
|
||||
|
||||
//现状分类
|
||||
@NotBlank
|
||||
@ApiModelProperty("现状分类")
|
||||
private Integer xzfl;
|
||||
|
||||
|
||||
//建设地点
|
||||
@NotBlank
|
||||
@ApiModelProperty("建设地点")
|
||||
private String jsdd;
|
||||
|
||||
//重点发展产业
|
||||
@NotBlank
|
||||
@ApiModelProperty("重点发展产业")
|
||||
private String prioritize;
|
||||
|
||||
|
||||
//建设模式
|
||||
@NotBlank
|
||||
@ApiModelProperty("建设模式")
|
||||
private Integer jsms;
|
||||
|
||||
//标签
|
||||
@ApiModelProperty("项目标签")
|
||||
private String label;
|
||||
|
||||
|
||||
//项目负责人
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目负责人")
|
||||
private String projectLeader;
|
||||
|
||||
|
||||
//联系方式
|
||||
@NotBlank
|
||||
@ApiModelProperty("联系方式")
|
||||
private String phone;
|
||||
|
||||
|
||||
//施工许可证发放时间
|
||||
@ApiModelProperty("施工许可证发放时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date issuingTime;
|
||||
|
||||
//竣工验收时间
|
||||
@ApiModelProperty("竣工验收时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime acceptanceTime;
|
||||
|
||||
|
||||
//项目法人单位简介
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目法人单位简介")
|
||||
private String unitIntroduction;
|
||||
|
||||
//项目简介
|
||||
@NotBlank
|
||||
@ApiModelProperty("项目简介")
|
||||
private String introduction;
|
||||
|
||||
//附件
|
||||
@ApiModelProperty("附件")
|
||||
private String fj;
|
||||
|
||||
|
||||
//创建者id
|
||||
@ApiModelProperty("创建者id")
|
||||
private Integer createId;
|
||||
|
||||
//创建时间
|
||||
@ApiModelProperty("创建时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
//创建者
|
||||
@ApiModelProperty("创建者")
|
||||
private String createBy;
|
||||
|
||||
//更新者ID
|
||||
@ApiModelProperty("更新者ID")
|
||||
private Long updateId;
|
||||
|
||||
//更新者
|
||||
@ApiModelProperty("更新者")
|
||||
private String updateBy;
|
||||
|
||||
//更新时间
|
||||
@ApiModelProperty("更新时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,165 @@
|
||||
package com.ruoyi.gysl.entity;
|
||||
|
||||
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 com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* (BuildingInformation)实体类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:10:05
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("building_information")
|
||||
@ApiModel(value = "BuildingInformation")
|
||||
public class BuildingInformation implements Serializable {
|
||||
private static final long serialVersionUID = -28824019069166362L;
|
||||
|
||||
@ApiModelProperty(value = "id}")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@TableField("id")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 楼栋名称
|
||||
*/
|
||||
@ApiModelProperty(value = "楼栋名称")
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 项目id
|
||||
*/
|
||||
@ApiModelProperty(value = "项目id")
|
||||
@TableField("xm_id")
|
||||
private Integer xmId;
|
||||
|
||||
/**
|
||||
* 层数
|
||||
*/
|
||||
@ApiModelProperty(value = "层数")
|
||||
@TableField("floor")
|
||||
private Integer floor;
|
||||
|
||||
/**
|
||||
* 总建筑高度
|
||||
*/
|
||||
@ApiModelProperty(value = "总建筑高度")
|
||||
@TableField("total_building_height")
|
||||
private BigDecimal totalBuildingHeight;
|
||||
|
||||
/**
|
||||
* 首层高度
|
||||
*/
|
||||
@ApiModelProperty(value = "首层高度")
|
||||
@TableField("scgd")
|
||||
private BigDecimal scgd;
|
||||
|
||||
/**
|
||||
* 2至4层高
|
||||
*/
|
||||
@ApiModelProperty(value = "2至4层高")
|
||||
@TableField("two_and_four_cg")
|
||||
private BigDecimal twoAndFourCg;
|
||||
|
||||
/**
|
||||
* 4层以上层高
|
||||
*/
|
||||
@ApiModelProperty(value = "4层以上层高")
|
||||
@TableField("four_yscg")
|
||||
private BigDecimal fourYscg;
|
||||
|
||||
/**
|
||||
* 首层地面荷载
|
||||
*/
|
||||
@ApiModelProperty(value = "首层地面荷载")
|
||||
@TableField("scdmhz")
|
||||
private BigDecimal scdmhz;
|
||||
|
||||
/**
|
||||
* 二至三层楼面荷载
|
||||
*/
|
||||
@ApiModelProperty(value = "二至三层楼面荷载")
|
||||
@TableField("two_and_three_lmhz")
|
||||
private BigDecimal twoAndThreeLmhz;
|
||||
|
||||
/**
|
||||
* 四层及以上楼面荷载
|
||||
*/
|
||||
@ApiModelProperty(value = "四层及以上楼面荷载")
|
||||
@TableField("four_yslmhz")
|
||||
private BigDecimal fourYslmhz;
|
||||
|
||||
/**
|
||||
* 标准层面积
|
||||
*/
|
||||
@ApiModelProperty(value = "标准层面积")
|
||||
@TableField("bzcmj")
|
||||
private BigDecimal bzcmj;
|
||||
|
||||
/**
|
||||
* 柱距
|
||||
*/
|
||||
@ApiModelProperty(value = "柱距")
|
||||
@TableField("zj")
|
||||
private BigDecimal zj;
|
||||
|
||||
/**
|
||||
* 是否有吊装口
|
||||
*/
|
||||
@ApiModelProperty(value = "是否有吊装口")
|
||||
@TableField("sfydzk")
|
||||
private BigDecimal sfydzk;
|
||||
|
||||
/**
|
||||
* 是否有汽车盘道
|
||||
*/
|
||||
@ApiModelProperty(value = "是否有汽车盘道")
|
||||
@TableField("sfyqcpd")
|
||||
private BigDecimal sfyqcpd;
|
||||
|
||||
/**
|
||||
* 创建者id
|
||||
*/
|
||||
@ApiModelProperty(value = "创建者id")
|
||||
@TableField("create_id")
|
||||
private Integer createId;
|
||||
|
||||
//创建时间
|
||||
@ApiModelProperty("创建时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
//创建者
|
||||
@ApiModelProperty("创建者")
|
||||
private String createBy;
|
||||
|
||||
//更新者ID
|
||||
@ApiModelProperty("更新者ID")
|
||||
private Long updateId;
|
||||
|
||||
//更新者
|
||||
@ApiModelProperty("更新者")
|
||||
private String updateBy;
|
||||
|
||||
//更新时间
|
||||
@ApiModelProperty("更新时间")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
package com.ruoyi.gysl.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 企业基本信息(Enterprise)实体类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:26:49
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("enterprise")
|
||||
@ApiModel(value = "Enterprise", description = "企业基本信息")
|
||||
public class Enterprise implements Serializable {
|
||||
private static final long serialVersionUID = -87535476195722857L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@ApiModelProperty(value = "主键id")
|
||||
@TableField("id")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 项目id
|
||||
*/
|
||||
@ApiModelProperty(value = "项目id")
|
||||
@TableField("xm_id")
|
||||
private Integer xmId;
|
||||
|
||||
/**
|
||||
* 企业名称
|
||||
*/
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 统一社会信用代码
|
||||
*/
|
||||
@ApiModelProperty(value = "统一社会信用代码")
|
||||
@TableField("code")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 所属行业
|
||||
*/
|
||||
@ApiModelProperty(value = "所属行业 ")
|
||||
@TableField("sshy")
|
||||
private String sshy;
|
||||
|
||||
/**
|
||||
* 租金价格
|
||||
*/
|
||||
@ApiModelProperty(value = "租金价格")
|
||||
@TableField("zjjg")
|
||||
private Integer zjjg;
|
||||
|
||||
/**
|
||||
* 创建者id
|
||||
*/
|
||||
@ApiModelProperty(value = "创建者id")
|
||||
@TableField("create_id")
|
||||
private Integer createId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@TableField("create_time")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
@ApiModelProperty(value = "创建者")
|
||||
@TableField("create_by")
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 更新者ID
|
||||
*/
|
||||
@ApiModelProperty(value = "更新者ID")
|
||||
@TableField("update_id")
|
||||
private Long updateId;
|
||||
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
@ApiModelProperty(value = "更新者")
|
||||
@TableField("update_by")
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@ApiModelProperty(value = "更新时间")
|
||||
@TableField("update_time")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.gysl.entity.BasicInformation;
|
||||
|
||||
/**
|
||||
* 基本信息(BasicInformation)表数据库访问层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 09:25:51
|
||||
*/
|
||||
public interface BasicInformationMapper extends BaseMapper<BasicInformation> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.gysl.entity.BuildingInformation;
|
||||
|
||||
/**
|
||||
* (BuildingInformation)表数据库访问层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:10:03
|
||||
*/
|
||||
public interface BuildingInformationDao extends BaseMapper<BuildingInformation> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.gysl.entity.Enterprise;
|
||||
|
||||
/**
|
||||
* 企业基本信息(Enterprise)表数据库访问层
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:26:49
|
||||
*/
|
||||
public interface EnterpriseDao extends BaseMapper<Enterprise> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.ruoyi.gysl.entity.BasicInformation;
|
||||
|
||||
/**
|
||||
* 基本信息(BasicInformation)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 09:25:55
|
||||
*/
|
||||
public interface BasicInformationService extends IService<BasicInformation> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.ruoyi.gysl.entity.BuildingInformation;
|
||||
|
||||
/**
|
||||
* (BuildingInformation)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:10:06
|
||||
*/
|
||||
public interface BuildingInformationService extends IService<BuildingInformation> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
package com.ruoyi.gysl.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.ruoyi.gysl.entity.Enterprise;
|
||||
|
||||
/**
|
||||
* 企业基本信息(Enterprise)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:26:49
|
||||
*/
|
||||
public interface EnterpriseService extends IService<Enterprise> {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.ruoyi.gysl.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.ruoyi.gysl.mapper.BasicInformationMapper;
|
||||
import com.ruoyi.gysl.entity.BasicInformation;
|
||||
import com.ruoyi.gysl.service.BasicInformationService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 基本信息(BasicInformation)表服务实现类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 09:25:55
|
||||
*/
|
||||
@Service("basicInformationService")
|
||||
public class BasicInformationServiceImpl extends ServiceImpl<BasicInformationMapper, BasicInformation> implements BasicInformationService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.ruoyi.gysl.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.ruoyi.gysl.mapper.BuildingInformationDao;
|
||||
import com.ruoyi.gysl.entity.BuildingInformation;
|
||||
import com.ruoyi.gysl.service.BuildingInformationService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* (BuildingInformation)表服务实现类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:10:06
|
||||
*/
|
||||
@Service("buildingInformationService")
|
||||
public class BuildingInformationServiceImpl extends ServiceImpl<BuildingInformationDao, BuildingInformation> implements BuildingInformationService {
|
||||
|
||||
}
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.ruoyi.gysl.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.ruoyi.gysl.mapper.EnterpriseDao;
|
||||
import com.ruoyi.gysl.entity.Enterprise;
|
||||
import com.ruoyi.gysl.service.EnterpriseService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 企业基本信息(Enterprise)表服务实现类
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2025-02-24 11:26:49
|
||||
*/
|
||||
@Service("enterpriseService")
|
||||
public class EnterpriseServiceImpl extends ServiceImpl<EnterpriseDao, Enterprise> implements EnterpriseService {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in new issue