|
|
|
@ -5,6 +5,11 @@ import cn.iocoder.yudao.module.system.dal.dataobject.enterpriseinspections.Enter
|
|
|
|
|
import cn.iocoder.yudao.module.system.dal.dataobject.taglibrary.TagLibraryDO; |
|
|
|
|
import cn.iocoder.yudao.module.system.dal.dataobject.tasktag.TaskTagDO; |
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
|
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; |
|
|
|
|
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer; |
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
|
import lombok.*; |
|
|
|
|
|
|
|
|
@ -59,11 +64,17 @@ public class TaskInfoRespVO {
|
|
|
|
|
|
|
|
|
|
@Schema(description = "任务计划开始时间") |
|
|
|
|
@ExcelProperty("任务计划开始时间") |
|
|
|
|
private LocalDateTime startDate; |
|
|
|
|
@JsonSerialize(using = LocalDateSerializer.class) // 序列化(响应)
|
|
|
|
|
@JsonDeserialize(using = LocalDateDeserializer.class) // 反序列化(请求)
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd") |
|
|
|
|
private LocalDate startDate; |
|
|
|
|
|
|
|
|
|
@Schema(description = "任务计划结束时间") |
|
|
|
|
@ExcelProperty("任务计划结束时间") |
|
|
|
|
private LocalDateTime endDate; |
|
|
|
|
@JsonSerialize(using = LocalDateSerializer.class) // 序列化(响应)
|
|
|
|
|
@JsonDeserialize(using = LocalDateDeserializer.class) // 反序列化(请求)
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd") |
|
|
|
|
private LocalDate endDate; |
|
|
|
|
|
|
|
|
|
@Schema(description = "任务创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
|
|
|
@ExcelProperty("任务创建时间") |
|
|
|
|