yxh
8 天以前 68ff33beff11310e830b0615b5a81f83fad0f683
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentPageReqVO.java
@@ -1,13 +1,19 @@
package cn.lihu.jh.module.ecg.controller.admin.appointment.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
// 注意:原为 java.sql.Date(只表示日期),会让 registerDate/doctorTime 丢失时分秒。
// 2026-09-30 与 AppointmentSaveReqVO/AppointmentDO 统一为 java.util.Date。
import java.util.Date;
import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.lihu.jh.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import static cn.lihu.jh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@@ -66,6 +72,19 @@
    @Schema(description = "预约日期")
    private LocalDate bookDate;
    /**
     * 【本需求】预约日期**时间段**查询:起始(含当天 00:00:00)。
     * <p>前端「预约日期」用日期范围选择器,查询时拆成 start(00:00:00) / end(23:59:59) 两个参数,
     * 与既有的 {@code registerDateStart/End}、{@code createTimeStart/End} 写法保持一致。
     */
    @Schema(description = "预约日期-开始(含)", example = "2026-11-01 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bookDateStart;
    @Schema(description = "预约日期-结束(含)", example = "2026-11-30 23:59:59")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bookDateEnd;
    @Schema(description = "预约时间段")
    private Integer bookTimeslot;
@@ -77,9 +96,72 @@
    private Integer bookCheckType;
    @Schema(description = "预约来源:X系统、护士手动预约")
    private String bookSrc;
    private Integer bookSrc;
    @Schema(description = "申请单状态")
    private String[] status;
    @Schema(description = "已付款")
    private Integer paid;
}
    /**
     * 登记时间
     */
    private Date registerDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime registerDateStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime registerDateEnd;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeEnd;
    /**
     * 登记时间(查询条件)
     */
    private String registerTime;
    private String tolerance;
    /**
     * 住院号
     */
    private String hospitalNo;
    /**
     * 医保卡号
     */
    private String medicalCard;
    /**
     * 门诊号
     */
    private String outpatientNo;
    /**
     * 根据创建时间倒序
     */
    private String orderCreateTime;
    /**
     * 开单医生
     */
    private String doctor;
    /**
     * 开单医生编码
     */
    private String doctorCode;
    /**
     * 开单时间
     */
    private java.util.Date doctorTime;
}