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 | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 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 ddc4692..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,7 +35,35 @@ private LocalDateTime createTime; @Schema(description = "闇�瑕佽澶囬鐢�") - @ExcelProperty("闇�瑕佽澶囬鐢�") + @ExcelProperty(value = "闇�瑕佽澶囬鐢�", converter = DictConvert.class) + @DictFormat("infra_boolean_string") // TODO 浠g爜浼樺寲锛氬缓璁缃埌瀵瑰簲鐨� DictTypeConstants 鏋氫妇绫讳腑 private Integer needDevReady; -} \ No newline at end of file + @Schema(description = "鍙彿鍒�") + @ExcelProperty("鍙彿鍒�") + private Integer callingColumn; + + @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