parent
5845b77be9
commit
4524174d80
@ -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.Ml;
|
||||||
|
import com.ruoyi.gysl.service.MlService;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录管理(Ml)表控制层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:21:08
|
||||||
|
*/
|
||||||
|
@Api(tags = "目录管理")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gysl/ml")
|
||||||
|
public class MlController extends BaseController {
|
||||||
|
/**
|
||||||
|
* 服务对象
|
||||||
|
*/
|
||||||
|
@Resource
|
||||||
|
private MlService mlService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询所有数据
|
||||||
|
*
|
||||||
|
* @param page 分页对象
|
||||||
|
* @param ml 查询实体
|
||||||
|
* @return 所有数据
|
||||||
|
*/
|
||||||
|
@GetMapping("/page")
|
||||||
|
@ApiOperation("分页查询所有数据")
|
||||||
|
public AjaxResult selectAll(Page<Ml> page, Ml ml) {
|
||||||
|
return success(this.mlService.page(page, new QueryWrapper<>(ml)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过主键查询单条数据
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 单条数据
|
||||||
|
*/
|
||||||
|
@GetMapping("{id}")
|
||||||
|
@ApiOperation("通过主键查询单条数据")
|
||||||
|
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||||
|
return success(this.mlService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增数据
|
||||||
|
*
|
||||||
|
* @param ml 实体对象
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation("新增数据")
|
||||||
|
public AjaxResult insert(@RequestBody Ml ml) {
|
||||||
|
return success(this.mlService.save(ml));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改数据
|
||||||
|
*
|
||||||
|
* @param ml 实体对象
|
||||||
|
* @return 修改结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation("修改数据")
|
||||||
|
public AjaxResult update(@RequestBody Ml ml) {
|
||||||
|
return success(this.mlService.updateById(ml));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除数据
|
||||||
|
*
|
||||||
|
* @param idList 主键结合
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@ApiOperation("删除数据")
|
||||||
|
@DeleteMapping("/delete")
|
||||||
|
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||||
|
return success(this.mlService.removeByIds(idList));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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.QyrzInformation;
|
||||||
|
import com.ruoyi.gysl.service.QyrzInformationService;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* (QyrzInformation)表控制层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:45:29
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Api(tags ="企业入住" )
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gysl/qyrzInformation")
|
||||||
|
public class QyrzInformationController extends BaseController {
|
||||||
|
/**
|
||||||
|
* 服务对象
|
||||||
|
*/
|
||||||
|
@Resource
|
||||||
|
private QyrzInformationService qyrzInformationService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询所有数据
|
||||||
|
*
|
||||||
|
* @param page 分页对象
|
||||||
|
* @param qyrzInformation 查询实体
|
||||||
|
* @return 所有数据
|
||||||
|
*/
|
||||||
|
@GetMapping("/page")
|
||||||
|
@ApiOperation("分页查询所有数据")
|
||||||
|
public AjaxResult selectAll(Page<QyrzInformation> page, QyrzInformation qyrzInformation) {
|
||||||
|
return success(this.qyrzInformationService.page(page, new QueryWrapper<>(qyrzInformation)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过主键查询单条数据
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 单条数据
|
||||||
|
*/
|
||||||
|
@GetMapping("{id}")
|
||||||
|
@ApiOperation("通过主键查询单条数据")
|
||||||
|
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||||
|
return success(this.qyrzInformationService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增数据
|
||||||
|
*
|
||||||
|
* @param qyrzInformation 实体对象
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation("新增数据")
|
||||||
|
public AjaxResult insert(@RequestBody QyrzInformation qyrzInformation) {
|
||||||
|
return success(this.qyrzInformationService.save(qyrzInformation));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改数据
|
||||||
|
*
|
||||||
|
* @param qyrzInformation 实体对象
|
||||||
|
* @return 修改结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation("修改数据")
|
||||||
|
public AjaxResult update(@RequestBody QyrzInformation qyrzInformation) {
|
||||||
|
return success(this.qyrzInformationService.updateById(qyrzInformation));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除数据
|
||||||
|
*
|
||||||
|
* @param idList 主键结合
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@ApiOperation("删除数据")
|
||||||
|
@DeleteMapping("/delete")
|
||||||
|
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||||
|
return success(this.qyrzInformationService.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.Xmpjqd;
|
||||||
|
import com.ruoyi.gysl.service.XmpjqdService;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价清单(Xmpjqd)表控制层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:19:33
|
||||||
|
*/
|
||||||
|
@Api(tags = "项目评价清单")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gysl/xmpjqd")
|
||||||
|
public class XmpjqdController extends BaseController {
|
||||||
|
/**
|
||||||
|
* 服务对象
|
||||||
|
*/
|
||||||
|
@Resource
|
||||||
|
private XmpjqdService xmpjqdService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询所有数据
|
||||||
|
*
|
||||||
|
* @param page 分页对象
|
||||||
|
* @param xmpjqd 查询实体
|
||||||
|
* @return 所有数据
|
||||||
|
*/
|
||||||
|
@GetMapping("/page")
|
||||||
|
@ApiOperation("分页查询所有数据")
|
||||||
|
public AjaxResult selectAll(Page<Xmpjqd> page, Xmpjqd xmpjqd) {
|
||||||
|
return success(this.xmpjqdService.page(page, new QueryWrapper<>(xmpjqd)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过主键查询单条数据
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 单条数据
|
||||||
|
*/
|
||||||
|
@GetMapping("{id}")
|
||||||
|
@ApiOperation("通过主键查询单条数据")
|
||||||
|
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||||
|
return success(this.xmpjqdService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增数据
|
||||||
|
*
|
||||||
|
* @param xmpjqd 实体对象
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation("新增数据")
|
||||||
|
public AjaxResult insert(@RequestBody Xmpjqd xmpjqd) {
|
||||||
|
return success(this.xmpjqdService.save(xmpjqd));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改数据
|
||||||
|
*
|
||||||
|
* @param xmpjqd 实体对象
|
||||||
|
* @return 修改结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation("修改数据")
|
||||||
|
public AjaxResult update(@RequestBody Xmpjqd xmpjqd) {
|
||||||
|
return success(this.xmpjqdService.updateById(xmpjqd));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除数据
|
||||||
|
*
|
||||||
|
* @param idList 主键结合
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@ApiOperation("删除数据")
|
||||||
|
@DeleteMapping("/delete")
|
||||||
|
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||||
|
return success(this.xmpjqdService.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.Xmxl;
|
||||||
|
import com.ruoyi.gysl.service.XmxlService;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目巡礼(Xmxl)表控制层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:17:35
|
||||||
|
*/
|
||||||
|
@Api(tags = "项目巡礼")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/gysl/xmxl")
|
||||||
|
public class XmxlController extends BaseController {
|
||||||
|
/**
|
||||||
|
* 服务对象
|
||||||
|
*/
|
||||||
|
@Resource
|
||||||
|
private XmxlService xmxlService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询所有数据
|
||||||
|
*
|
||||||
|
* @param page 分页对象
|
||||||
|
* @param xmxl 查询实体
|
||||||
|
* @return 所有数据
|
||||||
|
*/
|
||||||
|
@GetMapping("/page")
|
||||||
|
@ApiOperation("分页查询所有数据")
|
||||||
|
public AjaxResult selectAll(Page<Xmxl> page, Xmxl xmxl) {
|
||||||
|
return success(this.xmxlService.page(page, new QueryWrapper<>(xmxl)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过主键查询单条数据
|
||||||
|
*
|
||||||
|
* @param id 主键
|
||||||
|
* @return 单条数据
|
||||||
|
*/
|
||||||
|
@GetMapping("{id}")
|
||||||
|
@ApiOperation("通过主键查询单条数据")
|
||||||
|
public AjaxResult selectOne(@PathVariable Serializable id) {
|
||||||
|
return success(this.xmxlService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增数据
|
||||||
|
*
|
||||||
|
* @param xmxl 实体对象
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation("新增数据")
|
||||||
|
public AjaxResult insert(@RequestBody Xmxl xmxl) {
|
||||||
|
return success(this.xmxlService.save(xmxl));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改数据
|
||||||
|
*
|
||||||
|
* @param xmxl 实体对象
|
||||||
|
* @return 修改结果
|
||||||
|
*/
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation("修改数据")
|
||||||
|
public AjaxResult update(@RequestBody Xmxl xmxl) {
|
||||||
|
return success(this.xmxlService.updateById(xmxl));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除数据
|
||||||
|
*
|
||||||
|
* @param idList 主键结合
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@ApiOperation("删除数据")
|
||||||
|
@DeleteMapping("/delete")
|
||||||
|
public AjaxResult delete(@RequestParam("idList") List<Long> idList) {
|
||||||
|
return success(this.xmxlService.removeByIds(idList));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,95 @@
|
|||||||
|
package com.ruoyi.gysl.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录管理(Ml)实体类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:21:08
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName("ml")
|
||||||
|
@ApiModel(value = "Ml", description = "目录管理")
|
||||||
|
public class Ml implements Serializable {
|
||||||
|
private static final long serialVersionUID = -79924572462170266L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键id
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "主键id")
|
||||||
|
@TableField("id")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上楼目录类别
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "上楼目录类别")
|
||||||
|
@TableField("slmllb")
|
||||||
|
private Integer slmllb;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工业大类
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "工业大类")
|
||||||
|
@TableField("gydl")
|
||||||
|
private String gydl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产业
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "产业")
|
||||||
|
@TableField("cy")
|
||||||
|
private String cy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者id
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建者id")
|
||||||
|
@TableField("create_id")
|
||||||
|
private Integer createId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
@TableField("create_time")
|
||||||
|
private Date 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")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
@ -0,0 +1,113 @@
|
|||||||
|
package com.ruoyi.gysl.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价清单(Xmpjqd)实体类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:19:33
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName("xmpjqd")
|
||||||
|
@ApiModel(value = "Xmpjqd", description = "项目评价清单")
|
||||||
|
public class Xmpjqd implements Serializable {
|
||||||
|
private static final long serialVersionUID = 223689412712645471L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "${column.comment}")
|
||||||
|
@TableField("id")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目名称
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "项目名称")
|
||||||
|
@TableField("xmmc")
|
||||||
|
private String xmmc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目建设开始时间
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "项目建设开始时间")
|
||||||
|
@TableField("xmqzsj")
|
||||||
|
private Date xmqzsj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 现状分类
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "现状分类")
|
||||||
|
@TableField("xzfl")
|
||||||
|
private Integer xzfl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 评价等级
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "评价等级")
|
||||||
|
@TableField("pjdj")
|
||||||
|
private Integer pjdj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目法人单位
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "项目法人单位")
|
||||||
|
@TableField("xmfrdw")
|
||||||
|
private String xmfrdw;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "项目评价")
|
||||||
|
@TableField("xmpj")
|
||||||
|
private String xmpj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者id
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建者id")
|
||||||
|
@TableField("create_id")
|
||||||
|
private Integer createId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
@TableField("create_time")
|
||||||
|
private Date 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")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
@ -0,0 +1,102 @@
|
|||||||
|
package com.ruoyi.gysl.entity;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目巡礼(Xmxl)实体类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:17:35
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@TableName("xmxl")
|
||||||
|
@ApiModel(value = "Xmxl", description = "项目巡礼")
|
||||||
|
public class Xmxl implements Serializable {
|
||||||
|
private static final long serialVersionUID = 300538411000092930L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键id
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "主键id")
|
||||||
|
@TableField("id")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 监控名称
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "监控名称")
|
||||||
|
@TableField("jkmc")
|
||||||
|
private String jkmc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 时间
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "时间")
|
||||||
|
@TableField("sj")
|
||||||
|
private Date sj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当前状态
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "当前状态")
|
||||||
|
@TableField("status")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附件
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "附件")
|
||||||
|
@TableField("fj")
|
||||||
|
private String fj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建者id
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建者id")
|
||||||
|
@TableField("create_id")
|
||||||
|
private Integer createId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
@TableField("create_time")
|
||||||
|
private Date 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")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
@ -0,0 +1,82 @@
|
|||||||
|
package com.ruoyi.gysl.entity.request;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import com.ruoyi.common.annotation.Excel;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author dong
|
||||||
|
* @since 2025/2/26 9:20
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("基本信息导出类")
|
||||||
|
public class BasicRequest implements Serializable {
|
||||||
|
|
||||||
|
@Excel(name = "序号")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
|
||||||
|
//项目名称
|
||||||
|
@Excel(name = "项目名称")
|
||||||
|
@ApiModelProperty("项目名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
|
||||||
|
//项目法人单位
|
||||||
|
@Excel(name = "项目法人单位")
|
||||||
|
@ApiModelProperty("项目法人单位")
|
||||||
|
private String xmfrdwxz;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//总投资额
|
||||||
|
@Excel(name = "总投资额(万元)")
|
||||||
|
@ApiModelProperty("总投资额")
|
||||||
|
private BigDecimal ztze;
|
||||||
|
|
||||||
|
|
||||||
|
//所属功能区
|
||||||
|
@Excel(name = "所属功能区")
|
||||||
|
@ApiModelProperty("所属功能区")
|
||||||
|
private Integer ssgnq;
|
||||||
|
|
||||||
|
|
||||||
|
//建设开始时间
|
||||||
|
@Excel(name = "建设开始时间")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@ApiModelProperty("建设开始时间")
|
||||||
|
private LocalDateTime begainTime;
|
||||||
|
|
||||||
|
|
||||||
|
//建设结束时间
|
||||||
|
@Excel(name = "建设结束时间")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@ApiModelProperty("建设结束时间")
|
||||||
|
private LocalDateTime endTime;
|
||||||
|
|
||||||
|
//现状分类
|
||||||
|
@Excel(name = "现状分类")
|
||||||
|
@ApiModelProperty("现状分类")
|
||||||
|
private Integer xzfl;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 总用地面积
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "总用地面积(平方米)")
|
||||||
|
@Excel(name = "总用地面积")
|
||||||
|
private BigDecimal zydmj;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.gysl.entity.Ml;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录管理(Ml)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:21:08
|
||||||
|
*/
|
||||||
|
public interface MlDao extends BaseMapper<Ml> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.gysl.entity.QyrzInformation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* (QyrzInformation)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:45:29
|
||||||
|
*/
|
||||||
|
public interface QyrzInformationDao extends BaseMapper<QyrzInformation> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.gysl.entity.Xmpjqd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价清单(Xmpjqd)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:19:33
|
||||||
|
*/
|
||||||
|
public interface XmpjqdDao extends BaseMapper<Xmpjqd> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.gysl.entity.Xmxl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目巡礼(Xmxl)表数据库访问层
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:17:35
|
||||||
|
*/
|
||||||
|
public interface XmxlDao extends BaseMapper<Xmxl> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.gysl.entity.Ml;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录管理(Ml)表服务接口
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:21:08
|
||||||
|
*/
|
||||||
|
public interface MlService extends IService<Ml> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.gysl.entity.QyrzInformation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* (QyrzInformation)表服务接口
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:45:30
|
||||||
|
*/
|
||||||
|
public interface QyrzInformationService extends IService<QyrzInformation> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.gysl.entity.Xmpjqd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价清单(Xmpjqd)表服务接口
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:19:34
|
||||||
|
*/
|
||||||
|
public interface XmpjqdService extends IService<Xmpjqd> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.ruoyi.gysl.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.gysl.entity.Xmxl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目巡礼(Xmxl)表服务接口
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:17:35
|
||||||
|
*/
|
||||||
|
public interface XmxlService extends IService<Xmxl> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.gysl.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.gysl.mapper.MlDao;
|
||||||
|
import com.ruoyi.gysl.entity.Ml;
|
||||||
|
import com.ruoyi.gysl.service.MlService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 目录管理(Ml)表服务实现类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:21:08
|
||||||
|
*/
|
||||||
|
@Service("mlService")
|
||||||
|
public class MlServiceImpl extends ServiceImpl<MlDao, Ml> implements MlService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.gysl.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.gysl.mapper.QyrzInformationDao;
|
||||||
|
import com.ruoyi.gysl.entity.QyrzInformation;
|
||||||
|
import com.ruoyi.gysl.service.QyrzInformationService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* (QyrzInformation)表服务实现类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:45:30
|
||||||
|
*/
|
||||||
|
@Service("qyrzInformationService")
|
||||||
|
public class QyrzInformationServiceImpl extends ServiceImpl<QyrzInformationDao, QyrzInformation> implements QyrzInformationService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.gysl.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.gysl.mapper.XmpjqdDao;
|
||||||
|
import com.ruoyi.gysl.entity.Xmpjqd;
|
||||||
|
import com.ruoyi.gysl.service.XmpjqdService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目评价清单(Xmpjqd)表服务实现类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:19:34
|
||||||
|
*/
|
||||||
|
@Service("xmpjqdService")
|
||||||
|
public class XmpjqdServiceImpl extends ServiceImpl<XmpjqdDao, Xmpjqd> implements XmpjqdService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.gysl.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.gysl.mapper.XmxlDao;
|
||||||
|
import com.ruoyi.gysl.entity.Xmxl;
|
||||||
|
import com.ruoyi.gysl.service.XmxlService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目巡礼(Xmxl)表服务实现类
|
||||||
|
*
|
||||||
|
* @author makejava
|
||||||
|
* @since 2025-02-25 14:17:35
|
||||||
|
*/
|
||||||
|
@Service("xmxlService")
|
||||||
|
public class XmxlServiceImpl extends ServiceImpl<XmxlDao, Xmxl> implements XmxlService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.gysl.mapper.WysmxInformationDao">
|
||||||
|
|
||||||
|
</mapper>
|
Loading…
Reference in new issue