检查时间修改类型 改成 LocalDateTime
This commit is contained in:
parent
5b9df0b266
commit
af43d73ed3
@ -67,6 +67,7 @@ public class InspectPatientitemsPageReqVO extends PageParam {
|
||||
private String inspectdoctor;
|
||||
|
||||
@Schema(description = "检查时间")
|
||||
private DateTime inspecttime;
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime inspecttime;
|
||||
|
||||
}
|
@ -3,6 +3,8 @@ package cn.iocoder.yudao.module.inspect.controller.admin.inspectpatientitems.vo;
|
||||
import cn.hutool.core.date.DateTime;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.*;
|
||||
import java.math.BigDecimal;
|
||||
import com.alibaba.excel.annotation.*;
|
||||
@ -80,6 +82,6 @@ public class InspectPatientitemsRespVO {
|
||||
private String inspectdoctor;
|
||||
|
||||
@Schema(description = "检查时间")
|
||||
private DateTime inspecttime;
|
||||
private LocalDateTime inspecttime;
|
||||
|
||||
}
|
@ -8,6 +8,8 @@ import java.math.BigDecimal;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
||||
|
||||
@Schema(description = "管理后台 - 患者体检项目新增/修改 Request VO")
|
||||
@Data
|
||||
public class InspectPatientitemsSaveReqVO {
|
||||
@ -67,7 +69,8 @@ public class InspectPatientitemsSaveReqVO {
|
||||
private String inspectdoctor;
|
||||
|
||||
@Schema(description = "检查时间")
|
||||
private DateTime inspecttime;
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime inspecttime;
|
||||
|
||||
|
||||
}
|
@ -115,6 +115,6 @@ public class InspectPatientitemsDO {
|
||||
* 检查时间
|
||||
*/
|
||||
@TableField("inspecttime")
|
||||
private DateTime inspecttime;
|
||||
private LocalDateTime inspecttime;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user