From 82baf5d28ce79aa4d3b64956207d247596726924 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 10 十二月 2024 11:21:33 +0800
Subject: [PATCH] 1. BgTaskStatus状态属性序列化
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/InspectionInfoVo.kt | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/InspectionInfoVo.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/InspectionInfoVo.kt
index 6f4a62a..8f363bd 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/InspectionInfoVo.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/InspectionInfoVo.kt
@@ -1,7 +1,10 @@
package cn.flightfeather.supervision.lightshare.vo
+import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import org.apache.xpath.operations.Bool
+import java.time.LocalDateTime
+import java.util.*
@JsonInclude(JsonInclude.Include.NON_NULL)
class InspectionInfoVo {
@@ -21,7 +24,8 @@
//鏄惁宸茬洃绠�
var inspected: Boolean? = null
//鐩戠鏃堕棿
- var inspectionTime: String? = null
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ var inspectionTime: Date? = null
//鐩戠娆℃暟
var inspectionTimes: Int? = null
//鏄惁鎵胯
--
Gitblit v1.9.3