From 87a9119e22d949d4b93fb88a7b9497506990b761 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期五, 29 十二月 2023 11:41:39 +0800
Subject: [PATCH] 2023-12-29 朱宝民 控制器添加、获取水卡状态
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoDivide.java | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoDivide.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoDivide.java
index 5973c5c..8ce97eb 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoDivide.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/voPr/VoDivide.java
@@ -1,5 +1,8 @@
package com.dy.pipIrrGlobal.voPr;
+import com.alibaba.excel.annotation.ExcelIgnore;
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.dy.common.po.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
@@ -21,25 +24,38 @@
private static final long serialVersionUID = 1L;
@Schema(title = "ID")
+ @ExcelProperty("ID")
+ @ColumnWidth(10)
private Long id;
@Schema(title = "鍒嗘按鎴垮悕绉�")
+ @ExcelProperty("鍒嗘按鎴垮悕绉�")
+ @ColumnWidth(15)
private String divideName;
@Schema(title = "鎵�灞炵墖鍖�")
+ @ExcelProperty("鎵�灞炵墖鍖�")
+ @ColumnWidth(15)
private String blockName;
@Schema(title = "璐熻矗浜�")
+ @ExcelProperty("璐熻矗浜�")
+ @ColumnWidth(10)
private String header;
@Schema(title = "鑱旂郴鐢佃瘽")
+ @ExcelProperty("鑱旂郴鐢佃瘽")
+ @ColumnWidth(15)
private String phone;
@Schema(title = "褰掑睘鍦�")
+ @ExcelProperty("褰掑睘鍦�")
+ @ColumnWidth(25)
private String address;
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(title = "鎿嶄綔鏃堕棿")
+ @ExcelIgnore
private Date operateDt;
}
--
Gitblit v1.8.0