From 43e16c0697b7c546a4f5fa5b93cba663c6b6d04d Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 06 十一月 2024 17:02:04 +0800 Subject: [PATCH] 检查类型属性新增 --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/checktype/vo/CheckTypeRespVO.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 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..30fd1cf 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,32 @@ 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; + + @Schema(description = "鏄惁鏄剧ず鎮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 String affinityCheckTypes; + } \ No newline at end of file -- Gitblit v1.9.3