From 68ff33beff11310e830b0615b5a81f83fad0f683 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期日, 08 十一月 2026 23:33:14 +0800
Subject: [PATCH] ai优化
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java | 25 +++++++++++++++++++++----
1 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java
index 5fabb13..b22a44d 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java
@@ -9,11 +9,11 @@
import java.time.LocalDate;
import java.util.*;
-import org.springframework.format.annotation.DateTimeFormat;
-
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
+import com.alibaba.excel.annotation.format.DateTimeFormat;
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
import cn.lihu.jh.framework.excel.core.annotations.DictFormat;
import cn.lihu.jh.framework.excel.core.convert.DictConvert;
@@ -51,6 +51,8 @@
@Schema(description = "鎮h�呯敓鏃�")
@ExcelProperty("鎮h�呯敓鏃�")
+ // 銆愭湰闇�姹傘�戝鍑哄彧鏄剧ず鏃ユ湡锛堝師鏉� LocalDateTime 榛樿甯︽椂鍒嗙 鈫� "1990-01-01 00:00:00"锛�
+ @DateTimeFormat("yyyy-MM-dd")
private LocalDateTime patBirthday;
@Schema(description = "鎮h�呮墜鏈�")
@@ -99,6 +101,9 @@
@Schema(description = "棰勭害鍙戠敓鏃堕棿", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("棰勭害鍙戠敓鏃堕棿")
+ // 銆愭湰闇�姹傘�戝垪瀹藉浐瀹� 20锛氬師鍏堥潬 LongestMatchColumnWidth 鑷姩绠楋紙绾� 18锛夛紝
+ // 涓庣櫥璁版椂闂�/寮�鍗曟椂闂达紙Date 鍨嬪崟鍏冩牸鍙畻鍒� 12锛変笉涓�鑷达紝杩欓噷涓夊垪缁熶竴銆�
+ @ColumnWidth(20)
private LocalDateTime bookTime;
@Schema(description = "棰勭害妫�鏌ョ被鍨�", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
@@ -106,8 +111,15 @@
@ExcelProperty(value = "棰勭害妫�鏌ョ被鍨�", converter = DictConvert.class)
private Integer bookCheckType;
- @Schema(description = "鍐呴儴棰勭害缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED)
- @ExcelProperty("鍐呴儴棰勭害缂栧彿")
+ /**
+ * 鎺掗槦鍙凤紙瀵瑰瀛楁鍚嶄繚鎸� bookSeqNum 涓嶅彉锛夈��
+ *
+ * <p>銆愬彿缁熶竴锛堟湰闇�姹傦級銆戝�兼潵婧愬凡鏀逛负 {@code queue.seq_num} 鈥斺��
+ * 鍙峰湪绛惧埌鏃朵竴娆℃�у垎閰嶃�佷箣鍚庝笉鍙橈紱鏈瓧娈靛彧鍦�"璇ラ绾﹀凡鎺掗槦"鏃剁敤浜庡洖鏄俱��
+ * 鏄剧ず鏃惰鎷间笂 {@code check_type.seq_prefix}锛堝彿鎸夋鏌ラ」鐩悇鑷紪鍙凤紝浼氳法椤圭洰閲嶅锛夈��
+ */
+ @Schema(description = "鎺掗槦鍙凤紙鏉ユ簮 queue.seq_num锛涘凡鏃� book 鍙凤級", requiredMode = Schema.RequiredMode.REQUIRED)
+ @ExcelProperty("鎺掗槦鍙�")
private Integer bookSeqNum;
@Schema(description = "棰勭害鏉ユ簮锛歑绯荤粺銆佹姢澹墜鍔ㄩ绾�", requiredMode = Schema.RequiredMode.REQUIRED)
@@ -131,6 +143,9 @@
*/
@Schema(description = "鐧昏鏃堕棿", requiredMode = Schema.RequiredMode.REQUIRED)
@ExcelProperty("鐧昏鏃堕棿")
+ // 銆愭湰闇�姹傘�戝垪瀹藉浐瀹� 20锛堜笌銆岄绾﹀彂鐢熸椂闂淬�嶄竴鑷达級锛�
+ // Date 鍨嬪崟鍏冩牸鍦� LongestMatchColumnWidth 涓嬪彧浼氱畻鍒� 12锛屾椂闂磋鎴柇銆�
+ @ColumnWidth(20)
private Date registerDate;
/**
@@ -173,6 +188,8 @@
* 寮�鍗曟椂闂�
*/
@ExcelProperty("寮�鍗曟椂闂�")
+ // 銆愭湰闇�姹傘�戝垪瀹藉浐瀹� 20锛堜笌銆岄绾﹀彂鐢熸椂闂淬�嶄竴鑷达級
+ @ColumnWidth(20)
private Date doctorTime;
// ==================== HIS 鎺ュ叆琛ュ厖瀛楁锛�2026-09-27 闅忚〃鏂板鍒椾竴璧峰姞鍏ワ級 ====================
--
Gitblit v1.9.3