From 97d9b0723841a0e9da10a3ecb64351efb5d7a8c2 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 29 十一月 2024 13:27:13 +0800
Subject: [PATCH] 界面 条码显示控制

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java |   30 ++++++++++++++++++++++++++++--
 1 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java
index dbfda2f..98054bc 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java
@@ -6,6 +6,8 @@
 import org.springframework.format.annotation.DateTimeFormat;
 import java.time.LocalDateTime;
 import com.alibaba.excel.annotation.*;
+import cn.lihu.jh.framework.excel.core.annotations.DictFormat;
+import cn.lihu.jh.framework.excel.core.convert.DictConvert;
 
 @Schema(description = "绠$悊鍚庡彴 - 妫�鏌ョ被鍨� Response VO")
 @Data
@@ -33,11 +35,35 @@
     private LocalDateTime createTime;
 
     @Schema(description = "闇�瑕佽澶囬鐢�")
-    @ExcelProperty("闇�瑕佽澶囬鐢�")
+    @ExcelProperty(value = "闇�瑕佽澶囬鐢�", converter = DictConvert.class)
+    @DictFormat("infra_boolean_string") // TODO 浠g爜浼樺寲锛氬缓璁缃埌瀵瑰簲鐨� DictTypeConstants 鏋氫妇绫讳腑
     private Integer needDevReady;
 
     @Schema(description = "鍙彿鍒�")
     @ExcelProperty("鍙彿鍒�")
     private Integer callingColumn;
 
-}
\ No newline at end of file
+    @Schema(description = "鏍规嵁鎮h�呮潵婧愬喅瀹氾紝鏄惁鏄剧ず鎮h�呮潯鐮�")
+    @ExcelProperty("鏄惁鏄剧ず鎮h�呮潯鐮�")
+    private Integer[] displayBarcode;
+
+    @Schema(description = "鏄惁闇�瑕佺‘璐�")
+    @ExcelProperty("鏄惁闇�瑕佺‘璐�")
+    private Integer expenseRecognition;
+
+    @Schema(description = "鏃舵棰勭害瑙勫畾浜烘暟")
+    @ExcelProperty("鏃舵棰勭害瑙勫畾浜烘暟")
+    private Integer timeslotBookNum;
+
+    @Schema(description = "姣忔椂娈甸鐣欎汉鏁�")
+    @ExcelProperty("姣忔椂娈甸鐣欎汉鏁�")
+    private Integer timeslotReservedNum;
+
+    @Schema(description = "浜插拰鐨勬鏌ョ被鍨�")
+    @ExcelProperty("浜插拰鐨勬鏌ョ被鍨�")
+    private Integer[] affinityCheckTypes;
+
+    @Schema(description = "棰勭害娉ㄦ剰浜嬮」")
+    @ExcelProperty("棰勭害娉ㄦ剰浜嬮」")
+    private String notes;
+}

--
Gitblit v1.9.3