调整
This commit is contained in:
parent
c0f53b1a9e
commit
3b103f9b14
@ -0,0 +1,204 @@
|
||||
package com.zhgd.xmgl.modules.jz.controller;
|
||||
|
||||
import com.zhgd.annotation.OperLog;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.jeecg.common.util.oConvertUtils;
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectConstruction;
|
||||
import com.zhgd.xmgl.modules.jz.service.IJzProjectConstructionService;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||
import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 项目施工组织设计方案
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/jzProjectConstruction")
|
||||
@Slf4j
|
||||
@Api(tags = "项目施工组织设计方案管理")
|
||||
public class JzProjectConstructionController {
|
||||
@Autowired
|
||||
private IJzProjectConstructionService jzProjectConstructionService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "分页查询", operDesc = "分页列表查询项目施工组织设计方案信息")
|
||||
@ApiOperation(value = " 分页列表查询项目施工组织设计方案信息", notes = "分页列表查询项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "页数", paramType = "body", required = true, defaultValue = "1", dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "body", required = true, defaultValue = "10", dataType = "Integer")
|
||||
})
|
||||
@PostMapping(value = "/page")
|
||||
public Result<IPage<JzProjectConstruction>> queryPageList(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
QueryWrapper<JzProjectConstruction> queryWrapper = QueryGenerator.initPageQueryWrapper(JzProjectConstruction.class, map);
|
||||
Page<JzProjectConstruction> page = PageUtil.getPage(map);
|
||||
IPage<JzProjectConstruction> pageList = jzProjectConstructionService.page(page, queryWrapper);
|
||||
return Result.success(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @param jzProjectConstruction
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "列表查询", operDesc = "列表查询项目施工组织设计方案信息")
|
||||
@ApiOperation(value = " 列表查询项目施工组织设计方案信息", notes = "列表查询项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/list")
|
||||
public Result<List<JzProjectConstruction>> queryList(@RequestBody JzProjectConstruction jzProjectConstruction) {
|
||||
QueryWrapper<JzProjectConstruction> queryWrapper = QueryGenerator.initQueryWrapper(jzProjectConstruction);
|
||||
List<JzProjectConstruction> list = jzProjectConstructionService.list(queryWrapper);
|
||||
return Result.success(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param jzProjectConstruction
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "新增", operDesc = "添加项目施工组织设计方案信息")
|
||||
@ApiOperation(value = " 添加项目施工组织设计方案信息", notes = "添加项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<Object> add(@RequestBody JzProjectConstruction jzProjectConstruction) {
|
||||
Result<JzProjectConstruction> result = new Result<JzProjectConstruction>();
|
||||
jzProjectConstructionService.save(jzProjectConstruction);
|
||||
return Result.success("添加成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param jzProjectConstruction
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "修改", operDesc = "编辑项目施工组织设计方案信息")
|
||||
@ApiOperation(value = "编辑项目施工组织设计方案信息", notes = "编辑项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<JzProjectConstruction> edit(@RequestBody JzProjectConstruction jzProjectConstruction) {
|
||||
Result<JzProjectConstruction> result = new Result<JzProjectConstruction>();
|
||||
JzProjectConstruction jzProjectConstructionEntity = jzProjectConstructionService.getById(jzProjectConstruction.getId());
|
||||
if (jzProjectConstructionEntity == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = jzProjectConstructionService.updateById(jzProjectConstruction);
|
||||
if (ok) {
|
||||
result.success("修改成功!");
|
||||
} else {
|
||||
result.success("操作失败!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "删除", operDesc = "删除项目施工组织设计方案信息")
|
||||
@ApiOperation(value = "删除项目施工组织设计方案信息", notes = "删除项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "项目施工组织设计方案ID", paramType = "body", required = true, dataType = "Integer")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<JzProjectConstruction> delete(@RequestBody JzProjectConstruction jzProjectConstruction) {
|
||||
Result<JzProjectConstruction> result = new Result<JzProjectConstruction>();
|
||||
JzProjectConstruction jzProjectConstructionEntity = jzProjectConstructionService.getById(jzProjectConstruction.getId());
|
||||
if (jzProjectConstructionEntity == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = jzProjectConstructionService.removeById(jzProjectConstruction.getId());
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
} else {
|
||||
result.success("操作失败!");
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "批量删除", operDesc = "批量删除项目施工组织设计方案信息")
|
||||
@ApiOperation(value = "批量删除项目施工组织设计方案信息", notes = "批量删除项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "ids", value = "项目施工组织设计方案ID字符串", paramType = "body", required = true, dataType = "String")
|
||||
@PostMapping(value = "/deleteBatch")
|
||||
public Result<JzProjectConstruction> deleteBatch(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
Result<JzProjectConstruction> result = new Result<JzProjectConstruction>();
|
||||
String ids = MapUtils.getString(map, "ids");
|
||||
if (ids == null || "".equals(ids.trim())) {
|
||||
result.error500("参数不识别!");
|
||||
} else {
|
||||
this.jzProjectConstructionService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
result.success("删除成功!");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目施工组织设计方案管理", operType = "查询", operDesc = "通过id查询项目施工组织设计方案信息")
|
||||
@ApiOperation(value = "通过id查询项目施工组织设计方案信息", notes = "通过id查询项目施工组织设计方案信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "项目施工组织设计方案ID", paramType = "body", required = true, dataType = "Integer")
|
||||
@PostMapping(value = "/queryById")
|
||||
public Result<JzProjectConstruction> queryById(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
Result<JzProjectConstruction> result = new Result<JzProjectConstruction>();
|
||||
JzProjectConstruction jzProjectConstruction = jzProjectConstructionService.getById(MapUtils.getString(map, "id"));
|
||||
if (jzProjectConstruction == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(jzProjectConstruction);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,203 @@
|
||||
package com.zhgd.xmgl.modules.jz.controller;
|
||||
|
||||
import com.zhgd.annotation.OperLog;
|
||||
import com.zhgd.xmgl.util.PageUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.jeecg.common.util.oConvertUtils;
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectDisclosure;
|
||||
import com.zhgd.xmgl.modules.jz.service.IJzProjectDisclosureService;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.apache.commons.collections.MapUtils;
|
||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
||||
import org.jeecgframework.poi.excel.entity.ExportParams;
|
||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||
import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
|
||||
|
||||
/**
|
||||
* @Title: Controller
|
||||
* @Description: 项目交底
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/xmgl/jzProjectDisclosure")
|
||||
@Slf4j
|
||||
@Api(tags = "项目交底管理")
|
||||
public class JzProjectDisclosureController {
|
||||
@Autowired
|
||||
private IJzProjectDisclosureService jzProjectDisclosureService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "分页查询", operDesc = "分页列表查询项目交底信息")
|
||||
@ApiOperation(value = " 分页列表查询项目交底信息", notes = "分页列表查询项目交底信息", httpMethod = "POST")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pageNo", value = "页数", paramType = "body", required = true, defaultValue = "1", dataType = "Integer"),
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "body", required = true, defaultValue = "10", dataType = "Integer")
|
||||
})
|
||||
@PostMapping(value = "/page")
|
||||
public Result<IPage<JzProjectDisclosure>> queryPageList(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
QueryWrapper<JzProjectDisclosure> queryWrapper = QueryGenerator.initPageQueryWrapper(JzProjectDisclosure.class, map);
|
||||
Page<JzProjectDisclosure> page = PageUtil.getPage(map);
|
||||
IPage<JzProjectDisclosure> pageList = jzProjectDisclosureService.page(page, queryWrapper);
|
||||
return Result.success(pageList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 列表查询
|
||||
*
|
||||
* @param jzProjectDisclosure
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "列表查询", operDesc = "列表查询项目交底信息")
|
||||
@ApiOperation(value = " 列表查询项目交底信息", notes = "列表查询项目交底信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/list")
|
||||
public Result<List<JzProjectDisclosure>> queryList(@RequestBody JzProjectDisclosure jzProjectDisclosure) {
|
||||
QueryWrapper<JzProjectDisclosure> queryWrapper = QueryGenerator.initQueryWrapper(jzProjectDisclosure);
|
||||
List<JzProjectDisclosure> list = jzProjectDisclosureService.list(queryWrapper);
|
||||
return Result.success(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param jzProjectDisclosure
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "新增", operDesc = "添加项目交底信息")
|
||||
@ApiOperation(value = " 添加项目交底信息", notes = "添加项目交底信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<Object> add(@RequestBody JzProjectDisclosure jzProjectDisclosure) {
|
||||
Result<JzProjectDisclosure> result = new Result<JzProjectDisclosure>();
|
||||
jzProjectDisclosureService.save(jzProjectDisclosure);
|
||||
return Result.success("添加成功!");
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param jzProjectDisclosure
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "修改", operDesc = "编辑项目交底信息")
|
||||
@ApiOperation(value = "编辑项目交底信息", notes = "编辑项目交底信息", httpMethod = "POST")
|
||||
@PostMapping(value = "/edit")
|
||||
public Result<JzProjectDisclosure> edit(@RequestBody JzProjectDisclosure jzProjectDisclosure) {
|
||||
Result<JzProjectDisclosure> result = new Result<JzProjectDisclosure>();
|
||||
JzProjectDisclosure jzProjectDisclosureEntity = jzProjectDisclosureService.getById(jzProjectDisclosure.getId());
|
||||
if (jzProjectDisclosureEntity == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = jzProjectDisclosureService.updateById(jzProjectDisclosure);
|
||||
if (ok) {
|
||||
result.success("修改成功!");
|
||||
} else {
|
||||
result.success("操作失败!");
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "删除", operDesc = "删除项目交底信息")
|
||||
@ApiOperation(value = "删除项目交底信息", notes = "删除项目交底信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "项目交底ID", paramType = "body", required = true, dataType = "Integer")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<JzProjectDisclosure> delete(@RequestBody JzProjectDisclosure jzProjectDisclosure) {
|
||||
Result<JzProjectDisclosure> result = new Result<JzProjectDisclosure>();
|
||||
JzProjectDisclosure jzProjectDisclosureEntity = jzProjectDisclosureService.getById(jzProjectDisclosure.getId());
|
||||
if (jzProjectDisclosureEntity == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
boolean ok = jzProjectDisclosureService.removeById(jzProjectDisclosure.getId());
|
||||
if (ok) {
|
||||
result.success("删除成功!");
|
||||
} else {
|
||||
result.success("操作失败!");
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "批量删除", operDesc = "批量删除项目交底信息")
|
||||
@ApiOperation(value = "批量删除项目交底信息", notes = "批量删除项目交底信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "ids", value = "项目交底ID字符串", paramType = "body", required = true, dataType = "String")
|
||||
@PostMapping(value = "/deleteBatch")
|
||||
public Result<JzProjectDisclosure> deleteBatch(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
Result<JzProjectDisclosure> result = new Result<JzProjectDisclosure>();
|
||||
String ids = MapUtils.getString(map, "ids");
|
||||
if (ids == null || "".equals(ids.trim())) {
|
||||
result.error500("参数不识别!");
|
||||
} else {
|
||||
this.jzProjectDisclosureService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
result.success("删除成功!");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@OperLog(operModul = "项目交底管理", operType = "查询", operDesc = "通过id查询项目交底信息")
|
||||
@ApiOperation(value = "通过id查询项目交底信息", notes = "通过id查询项目交底信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "项目交底ID", paramType = "body", required = true, dataType = "Integer")
|
||||
@PostMapping(value = "/queryById")
|
||||
public Result<JzProjectDisclosure> queryById(@ApiIgnore @RequestBody Map<String, Object> map) {
|
||||
Result<JzProjectDisclosure> result = new Result<JzProjectDisclosure>();
|
||||
JzProjectDisclosure jzProjectDisclosure = jzProjectDisclosureService.getById(MapUtils.getString(map, "id"));
|
||||
if (jzProjectDisclosure == null) {
|
||||
result.error500("未找到对应实体");
|
||||
} else {
|
||||
result.setResult(jzProjectDisclosure);
|
||||
result.setSuccess(true);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,120 @@
|
||||
package com.zhgd.xmgl.modules.jz.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 项目施工组织设计方案
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("jz_project_construction")
|
||||
@ApiModel(value = "JzProjectConstruction实体类", description = "JzProjectConstruction")
|
||||
public class JzProjectConstruction implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 施工组织设计方案ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "施工组织设计方案ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 施工组织设计标题
|
||||
*/
|
||||
@Excel(name = "施工组织设计标题", width = 15)
|
||||
@ApiModelProperty(value = "施工组织设计标题")
|
||||
private String title;
|
||||
/**
|
||||
* 流程编号
|
||||
*/
|
||||
@Excel(name = "流程编号", width = 15)
|
||||
@ApiModelProperty(value = "流程编号")
|
||||
private String code;
|
||||
/**
|
||||
* 经办人
|
||||
*/
|
||||
@Excel(name = "经办人", width = 15)
|
||||
@ApiModelProperty(value = "经办人")
|
||||
private String createBy;
|
||||
/**
|
||||
* 经办人名称
|
||||
*/
|
||||
@Excel(name = "经办人名称", width = 15)
|
||||
@ApiModelProperty(value = "经办人名称")
|
||||
private String createByName;
|
||||
/**
|
||||
* 经办日期
|
||||
*/
|
||||
@Excel(name = "经办日期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "经办日期")
|
||||
private Date createDate;
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@Excel(name = "项目ID", width = 15)
|
||||
@ApiModelProperty(value = "项目ID")
|
||||
private String projectSn;
|
||||
/**
|
||||
* 合同ID
|
||||
*/
|
||||
@Excel(name = "合同ID", width = 15)
|
||||
@ApiModelProperty(value = "合同ID")
|
||||
private Integer contractId;
|
||||
/**
|
||||
* 承建单位
|
||||
*/
|
||||
@Excel(name = "承建单位", width = 15)
|
||||
@ApiModelProperty(value = "承建单位")
|
||||
private String opUnit;
|
||||
/**
|
||||
* 客户单位
|
||||
*/
|
||||
@Excel(name = "客户单位", width = 15)
|
||||
@ApiModelProperty(value = "客户单位")
|
||||
private String customUnit;
|
||||
/**
|
||||
* 项目经理
|
||||
*/
|
||||
@Excel(name = "项目经理", width = 15)
|
||||
@ApiModelProperty(value = "项目经理")
|
||||
private String projectManager;
|
||||
/**
|
||||
* 编制人
|
||||
*/
|
||||
@Excel(name = "编制人", width = 15)
|
||||
@ApiModelProperty(value = "编制人")
|
||||
private String updateBy;
|
||||
/**
|
||||
* 施工组织设计摘要
|
||||
*/
|
||||
@Excel(name = "施工组织设计摘要", width = 15)
|
||||
@ApiModelProperty(value = "施工组织设计摘要")
|
||||
private String content;
|
||||
/**
|
||||
* 施工组织设计附件
|
||||
*/
|
||||
@Excel(name = "施工组织设计附件", width = 15)
|
||||
@ApiModelProperty(value = "施工组织设计附件")
|
||||
private String fileUrl;
|
||||
/**
|
||||
* 盖章文件上传
|
||||
*/
|
||||
@Excel(name = "盖章文件上传", width = 15)
|
||||
@ApiModelProperty(value = "盖章文件上传")
|
||||
private String fileUrl1;
|
||||
}
|
||||
@ -0,0 +1,242 @@
|
||||
package com.zhgd.xmgl.modules.jz.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @Description: 项目交底
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("jz_project_disclosure")
|
||||
@ApiModel(value = "JzProjectDisclosure实体类", description = "JzProjectDisclosure")
|
||||
public class JzProjectDisclosure implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 项目交底ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@ApiModelProperty(value = "项目交底ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@Excel(name = "项目ID", width = 15)
|
||||
@ApiModelProperty(value = "项目ID")
|
||||
private Long projectId;
|
||||
/**
|
||||
* 交底名称
|
||||
*/
|
||||
@Excel(name = "交底名称", width = 15)
|
||||
@ApiModelProperty(value = "交底名称")
|
||||
private String name;
|
||||
/**
|
||||
* 交底编号
|
||||
*/
|
||||
@Excel(name = "交底编号", width = 15)
|
||||
@ApiModelProperty(value = "交底编号")
|
||||
private String code;
|
||||
/**
|
||||
* 分项工程名称
|
||||
*/
|
||||
@Excel(name = "分项工程名称", width = 15)
|
||||
@ApiModelProperty(value = "分项工程名称")
|
||||
private String subItem;
|
||||
/**
|
||||
* 施工部位
|
||||
*/
|
||||
@Excel(name = "施工部位", width = 15)
|
||||
@ApiModelProperty(value = "施工部位")
|
||||
private String sgbw;
|
||||
/**
|
||||
* 施工单位
|
||||
*/
|
||||
@Excel(name = "施工单位", width = 15)
|
||||
@ApiModelProperty(value = "施工单位")
|
||||
private String sgdw;
|
||||
/**
|
||||
* 交底人
|
||||
*/
|
||||
@Excel(name = "交底人", width = 15)
|
||||
@ApiModelProperty(value = "交底人")
|
||||
private String jdr;
|
||||
/**
|
||||
* 交底人部门
|
||||
*/
|
||||
@Excel(name = "交底人部门", width = 15)
|
||||
@ApiModelProperty(value = "交底人部门")
|
||||
private String jdrbm;
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
@Excel(name = "日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "日期")
|
||||
private Date rq;
|
||||
/**
|
||||
* 被交底单位
|
||||
*/
|
||||
@Excel(name = "被交底单位", width = 15)
|
||||
@ApiModelProperty(value = "被交底单位")
|
||||
private String bjddw;
|
||||
/**
|
||||
* 被交底人
|
||||
*/
|
||||
@Excel(name = "被交底人", width = 15)
|
||||
@ApiModelProperty(value = "被交底人")
|
||||
private String bjdr;
|
||||
/**
|
||||
* 交底地点
|
||||
*/
|
||||
@Excel(name = "交底地点", width = 15)
|
||||
@ApiModelProperty(value = "交底地点")
|
||||
private String jddd;
|
||||
/**
|
||||
* 项目地址
|
||||
*/
|
||||
@Excel(name = "项目地址", width = 15)
|
||||
@ApiModelProperty(value = "项目地址")
|
||||
private String xmdz;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String bz;
|
||||
/**
|
||||
* 工程概况
|
||||
*/
|
||||
@Excel(name = "工程概况", width = 15)
|
||||
@ApiModelProperty(value = "工程概况")
|
||||
private String gcgk;
|
||||
/**
|
||||
* 施工准备
|
||||
*/
|
||||
@Excel(name = "施工准备", width = 15)
|
||||
@ApiModelProperty(value = "施工准备")
|
||||
private String sgzb;
|
||||
/**
|
||||
* 施工工艺
|
||||
*/
|
||||
@Excel(name = "施工工艺", width = 15)
|
||||
@ApiModelProperty(value = "施工工艺")
|
||||
private String zggy;
|
||||
/**
|
||||
* 质量要求
|
||||
*/
|
||||
@Excel(name = "质量要求", width = 15)
|
||||
@ApiModelProperty(value = "质量要求")
|
||||
private String zlyq;
|
||||
/**
|
||||
* 承包范围
|
||||
*/
|
||||
@Excel(name = "承包范围", width = 15)
|
||||
@ApiModelProperty(value = "承包范围")
|
||||
private String cbfw;
|
||||
/**
|
||||
* 标段划分及我方投标标段
|
||||
*/
|
||||
@Excel(name = "标段划分及我方投标标段", width = 15)
|
||||
@ApiModelProperty(value = "标段划分及我方投标标段")
|
||||
private String bdhf;
|
||||
/**
|
||||
* 投标时间
|
||||
*/
|
||||
@Excel(name = "投标时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "投标时间")
|
||||
private Date tbsj;
|
||||
/**
|
||||
* 清单报价
|
||||
*/
|
||||
@Excel(name = "清单报价", width = 15)
|
||||
@ApiModelProperty(value = "清单报价")
|
||||
private String qdbj;
|
||||
/**
|
||||
* 工料单价报价
|
||||
*/
|
||||
@Excel(name = "工料单价报价", width = 15)
|
||||
@ApiModelProperty(value = "工料单价报价")
|
||||
private String gldjbj;
|
||||
/**
|
||||
* 工程量计算要求
|
||||
*/
|
||||
@Excel(name = "工程量计算要求", width = 15)
|
||||
@ApiModelProperty(value = "工程量计算要求")
|
||||
private String gcljsyq;
|
||||
/**
|
||||
* 是否需要提供工程量计算式
|
||||
*/
|
||||
@Excel(name = "是否需要提供工程量计算式", width = 15)
|
||||
@ApiModelProperty(value = "是否需要提供工程量计算式")
|
||||
private String sfxytg;
|
||||
/**
|
||||
* 计费限定要求
|
||||
*/
|
||||
@Excel(name = "计费限定要求", width = 15)
|
||||
@ApiModelProperty(value = "计费限定要求")
|
||||
private String jfxdyq;
|
||||
/**
|
||||
* 人工费限价要求
|
||||
*/
|
||||
@Excel(name = "人工费限价要求", width = 15)
|
||||
@ApiModelProperty(value = "人工费限价要求")
|
||||
private String rgfxjyq;
|
||||
/**
|
||||
* 甲定乙供计价要求
|
||||
*/
|
||||
@Excel(name = "甲定乙供计价要求", width = 15)
|
||||
@ApiModelProperty(value = "甲定乙供计价要求")
|
||||
private String jfygjjyq;
|
||||
/**
|
||||
* 总包配合费收取要求
|
||||
*/
|
||||
@Excel(name = "总包配合费收取要求", width = 15)
|
||||
@ApiModelProperty(value = "总包配合费收取要求")
|
||||
private String zbphfsqyq;
|
||||
/**
|
||||
* 软件要求
|
||||
*/
|
||||
@Excel(name = "软件要求", width = 15)
|
||||
@ApiModelProperty(value = "软件要求")
|
||||
private String rjyq;
|
||||
/**
|
||||
* 打印装订要求
|
||||
*/
|
||||
@Excel(name = "打印装订要求", width = 15)
|
||||
@ApiModelProperty(value = "打印装订要求")
|
||||
private String dyzdyq;
|
||||
/**
|
||||
* 电子版格式要求
|
||||
*/
|
||||
@Excel(name = "电子版格式要求", width = 15)
|
||||
@ApiModelProperty(value = "电子版格式要求")
|
||||
private String dzbgsyq;
|
||||
/**
|
||||
* 技术交底
|
||||
*/
|
||||
@Excel(name = "技术交底", width = 15)
|
||||
@ApiModelProperty(value = "技术交底")
|
||||
private String jsjd;
|
||||
/**
|
||||
* 商务交底
|
||||
*/
|
||||
@Excel(name = "商务交底", width = 15)
|
||||
@ApiModelProperty(value = "商务交底")
|
||||
private String swjd;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.zhgd.xmgl.modules.jz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectConstruction;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 项目施工组织设计方案
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface JzProjectConstructionMapper extends BaseMapper<JzProjectConstruction> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.zhgd.xmgl.modules.jz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectDisclosure;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* @Description: 项目交底
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Mapper
|
||||
public interface JzProjectDisclosureMapper extends BaseMapper<JzProjectDisclosure> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
<?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.zhgd.xmgl.modules.jz.mapper.JzProjectConstructionMapper">
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,5 @@
|
||||
<?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.zhgd.xmgl.modules.jz.mapper.JzProjectDisclosureMapper">
|
||||
|
||||
</mapper>
|
||||
@ -0,0 +1,14 @@
|
||||
package com.zhgd.xmgl.modules.jz.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectConstruction;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @Description: 项目施工组织设计方案
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IJzProjectConstructionService extends IService<JzProjectConstruction> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.zhgd.xmgl.modules.jz.service;
|
||||
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectDisclosure;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* @Description: 项目交底
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
public interface IJzProjectDisclosureService extends IService<JzProjectDisclosure> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.zhgd.xmgl.modules.jz.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectConstruction;
|
||||
import com.zhgd.xmgl.modules.jz.mapper.JzProjectConstructionMapper;
|
||||
import com.zhgd.xmgl.modules.jz.service.IJzProjectConstructionService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
/**
|
||||
* @Description: 项目施工组织设计方案
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class JzProjectConstructionServiceImpl extends ServiceImpl<JzProjectConstructionMapper, JzProjectConstruction> implements IJzProjectConstructionService {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.zhgd.xmgl.modules.jz.service.impl;
|
||||
|
||||
import com.zhgd.xmgl.modules.jz.entity.JzProjectDisclosure;
|
||||
import com.zhgd.xmgl.modules.jz.mapper.JzProjectDisclosureMapper;
|
||||
import com.zhgd.xmgl.modules.jz.service.IJzProjectDisclosureService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
/**
|
||||
* @Description: 项目交底
|
||||
* @author: pengj
|
||||
* @date: 2024-09-04
|
||||
* @version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class JzProjectDisclosureServiceImpl extends ServiceImpl<JzProjectDisclosureMapper, JzProjectDisclosure> implements IJzProjectDisclosureService {
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user