From 37325b5b629a296230e87d41187742f843c7494c Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 15 七月 2025 18:08:23 +0800
Subject: [PATCH] 文件ip迁移兼容
---
business/src/main/java/com/ycl/domain/excel/ProjectExcelTemplate.java | 105 ++++++++++++++++++++++++++++++++++------------------
1 files changed, 68 insertions(+), 37 deletions(-)
diff --git a/business/src/main/java/com/ycl/domain/excel/ProjectExcelTemplate.java b/business/src/main/java/com/ycl/domain/excel/ProjectExcelTemplate.java
index b1fdfa3..13146c7 100644
--- a/business/src/main/java/com/ycl/domain/excel/ProjectExcelTemplate.java
+++ b/business/src/main/java/com/ycl/domain/excel/ProjectExcelTemplate.java
@@ -1,12 +1,14 @@
package com.ycl.domain.excel;
import com.alibaba.excel.annotation.ExcelProperty;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ycl.common.enums.business.ImportanceTypeEnum;
import com.ycl.common.enums.business.ProjectStatusEnum;
import com.ycl.common.enums.business.ProjectTypeEnum;
import com.ycl.common.utils.excel.annotation.ExcelEnumFormat;
import com.ycl.common.utils.excel.convert.ExcelEnumConvert;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -44,6 +46,12 @@
@ExcelProperty(value = "椤圭洰绫诲瀷",converter = ExcelEnumConvert.class)
@ExcelEnumFormat(enumClass = ProjectTypeEnum.class,codeField = "type",textField = "desc")
private String projectType;
+
+ /**
+ * 椤圭洰绫诲瀷
+ */
+ @ExcelProperty(value = "椤圭洰瀛愮被鍨�",converter = ExcelEnumConvert.class)
+ private String projectSubType;
/**
* 椤圭洰鐘舵��
@@ -90,12 +98,6 @@
private String competentDepartment;
/**
- * 椤圭洰褰掑睘鍦�
- */
- @ExcelProperty(value = "椤圭洰褰掑睘鍦�")
- private String projectLocation;
-
- /**
* 缁忓害
*/
@ExcelProperty(value = "缁忓害")
@@ -113,11 +115,11 @@
@ExcelProperty(value = "绠$悊褰掑彛")
private String managementCentralization;
- /**
- * 椤圭洰鐢虫姤闃舵
- */
- @ExcelProperty(value = "椤圭洰鐢虫姤闃舵")
- private String projectApplicationPhase;
+// /**
+// * 椤圭洰鐢虫姤闃舵
+// */
+// @ExcelProperty(value = "椤圭洰鐢虫姤闃舵")
+// private String projectApplicationPhase;
/**
* 椤圭洰瀹℃壒绫诲瀷
@@ -125,11 +127,11 @@
@ExcelProperty(value = "椤圭洰瀹℃壒绫诲瀷")
private String projectApprovalType;
- /**
- * 鎶曡祫鐩綍
- */
- @ExcelProperty(value = "鎶曡祫鐩綍")
- private String investmentCatalogue;
+// /**
+// * 鎶曡祫鐩綍
+// */
+// @ExcelProperty(value = "鎶曡祫鐩綍")
+// private String investmentCatalogue;
/**
* 瀹℃壒璁″垝涔�
@@ -137,25 +139,25 @@
@ExcelProperty(value = "瀹℃壒璁″垝涔︼紙闄勪欢鍚嶏級")
private String approvalPlan;
- /**
- * 鏄惁绔嬮」
- */
- @ExcelProperty(value = "鏄惁绔嬮」")
- private String isSetProject;
+// /**
+// * 鏄惁绔嬮」
+// */
+// @ExcelProperty(value = "鏄惁绔嬮」")
+// private String isSetProject;
/**
- * 鎴愮珛鏃堕棿
+ * 绔嬮」鏃堕棿
*/
- @ExcelProperty(value = "鎴愮珛鏃堕棿")
+ @ExcelProperty(value = "绔嬮」鏃堕棿")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- private Date setTime;
+ private Date createProjectTime;
- /**
- * 璧嬬爜鐘舵��
- */
- @ExcelProperty(value = "璧嬬爜鐘舵��")
- private String assignmentStatus;
+// /**
+// * 璧嬬爜鐘舵��
+// */
+// @ExcelProperty(value = "璧嬬爜鐘舵��")
+// private String assignmentStatus;
/**
* 琛屾斂鍖哄垝
@@ -187,13 +189,23 @@
* 璇︾粏鍦板潃
*/
@ExcelProperty(value = "璇︾粏鍦板潃")
- private String address;
+ private String projectAddress;
/**
* 寤鸿鍐呭
*/
@ExcelProperty(value = "寤鸿鍐呭")
private String content;
+
+ /**
+ * 寤鸿鎬ц川
+ */
+ @ExcelProperty(value = "寤鸿鎬ц川")
+ private String constructionNature;
+
+ @ExcelProperty(value = "鏄惁鎷涘晢寮曡祫椤圭洰")
+ /** 鏄惁鎷涘晢寮曡祫椤圭洰锛�0 涓嶆槸 1 鏄� */
+ private String attractInvestment;
/**
* 鑱旂郴鏂瑰紡
@@ -205,7 +217,7 @@
* 椤圭洰涓氫富鍗曚綅
*/
@ExcelProperty(value = "椤圭洰涓氫富鍗曚綅")
- private String projectOwnerUnit;
+ private Long projectOwnerUnit;
/**
* 璁″垝寮�宸ユ椂闂�
@@ -231,7 +243,9 @@
@ExcelProperty(value = "鏈勾璁″垝鎶曡祫")
private BigDecimal yearInvestAmount;
-
+ @ExcelProperty("浣跨敤鐘舵��")
+ /** 浣跨敤鐘舵�侊紙0锛氳崏绋匡紝1锛氭彁浜�,2:瀹℃牳閫氳繃锛�-1锛氶┏鍥烇級 */
+ private Integer usedStatus;
/* 鎶曡祫椤圭洰鍩虹淇℃伅琛� */
/**
@@ -331,6 +345,12 @@
*/
@ExcelProperty(value = "椤圭洰鎬绘姇璧勯")
private String totalInvestment;
+
+ @ExcelProperty(value = "鍦版柟鏀垮簻涓撻」鍊哄埜")
+ private String deptBond;
+
+ @ExcelProperty(value = "瓒呴暱鏈熺壒鍒浗鍊�")
+ private String nationalDebt;
/**
* 椤圭洰鏈噾
@@ -604,37 +624,48 @@
* 鏄惁灞炰簬銆婁骇涓氱粨鏋勮皟鏁存寚瀵肩洰褰曘�嬩笅鐨勯」鐩�
*/
@ExcelProperty(value = "灞炰簬銆婁骇涓氱粨鏋勮皟鏁存寚瀵肩洰褰曘�嬩笅鐨勯」鐩�")
- private String belongsToIndustryAdjustmentDirectory;
+ private Boolean belongsToIndustryAdjustmentDirectory;
/**
* 鏄惁灞炰簬鏈垪鍏ャ�婁骇涓氱粨鏋勮皟鏁存寚瀵肩洰褰曘�嬬殑鍏佽绫婚」鐩�
*/
@ExcelProperty(value = "灞炰簬鏈垪鍏ャ�婁骇涓氱粨鏋勮皟鏁存寚瀵肩洰褰曘�嬬殑鍏佽绫婚」鐩�")
- private String belongsToAllowedProjects;
+ private Boolean belongsToAllowedProjects;
/**
* 鏄惁灞炰簬銆婅タ閮ㄥ湴鍖洪紦鍔辩被浜т笟鐩綍銆嬬殑椤圭洰
*/
@ExcelProperty(value = "灞炰簬銆婅タ閮ㄥ湴鍖洪紦鍔辩被浜т笟鐩綍銆嬬殑椤圭洰")
- private String belongsToWesternEncouragedDirectory;
+ private Boolean belongsToWesternEncouragedDirectory;
/**
* 鏄惁涓嶅睘浜庝骇涓氭斂绛栫姝㈡姇璧勫缓璁炬垨瀹炶鏍稿噯銆佸鎵圭鐞嗙殑椤圭洰
*/
@ExcelProperty(value = "涓嶅睘浜庝骇涓氭斂绛栫姝㈡姇璧勫缓璁炬垨瀹炶鏍稿噯銆佸鎵圭鐞嗙殑椤圭洰")
- private String notBannedOrControlledProject;
+ private Boolean notBannedOrControlledProject;
/**
* 濉姤淇℃伅鏄惁鐪熷疄
*/
@ExcelProperty(value = "濉姤淇℃伅鏄惁鐪熷疄")
- private String informationIsTrue;
+ private Boolean informationIsTrue;
/**
* 涓撻」瑙勫垝澶嶅悎鎯呭喌
*/
@ExcelProperty(value = "涓撻」瑙勫垝澶嶅悎鎯呭喌")
private String specialPlanningCompliance;
+ /**
+ * 鑺傝兘瀹℃煡
+ */
+ @ExcelProperty(value = "鑺傝兘瀹℃煡")
+ private Boolean energyCheck;
+
+ /**
+ * 涓嶅啀鍗曠嫭杩涜鑺傝兘瀹℃煡鐨勭被鍨�
+ */
+ @ExcelProperty("涓嶅啀鍗曠嫭杩涜鑺傝兘瀹℃煡鐨勭被鍨�")
+ private Integer noOnlyCheckType;
/**
* 椤圭洰鑳借�楁儏鍐�
--
Gitblit v1.8.0