From 1a677d2b4a4bc615602f8c2a22bc07ec1356e5be Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 16 十月 2025 17:39:06 +0800
Subject: [PATCH] 2025.10.16 1. 根据全局响应增强器GlobalResponseAdvice,将原先的BaseResPack接口包装函数统一去除; 2. 新增三种类型的数据产品数据库实体 3. 新增典型问题场景清单中间数据产品接口
---
src/main/kotlin/cn/flightfeather/supervision/model/dataproduct/PPListProblemChange.kt | 73 +++++++++++++++++++++++++-----------
1 files changed, 50 insertions(+), 23 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/model/dataproduct/PPListProblemChange.kt b/src/main/kotlin/cn/flightfeather/supervision/model/dataproduct/PPListProblemChange.kt
index d587397..51b58d8 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/model/dataproduct/PPListProblemChange.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/model/dataproduct/PPListProblemChange.kt
@@ -1,9 +1,9 @@
package cn.flightfeather.supervision.model.dataproduct
-import cn.flightfeather.supervision.domain.ds1.entity.Problemlist
-import cn.flightfeather.supervision.domain.ds1.entity.Problemtype
-import cn.flightfeather.supervision.domain.ds1.entity.Scense
-import cn.flightfeather.supervision.domain.ds1.entity.Subtask
+import io.swagger.annotations.ApiModel
+import io.swagger.annotations.ApiModelProperty
+import java.util.*
+
/**
* 鍒濈骇鏁版嵁浜у搧
@@ -11,25 +11,52 @@
* @date 2025/7/30
* @author feiyu02
*/
+@ApiModel(value = "鍒濈骇鏁版嵁浜у搧-鍦烘櫙闂鏁存敼娓呭崟")
class PPListProblemChange {
- /**
- * 闂淇℃伅
- */
- var problem: Problemlist? = null
-
- /**
- * 鍦烘櫙淇℃伅
- */
- var scene: Scense? = null
-
- /**
- * 宸℃煡淇℃伅
- */
- var subTask: Subtask? = null
-
- /**
- * 闂绫诲瀷
- */
- var problemType: Problemtype? = null
+ // 鍦烘櫙鍞竴缂栧彿
+ @ApiModelProperty(value = "鍦烘櫙鍞竴缂栧彿")
+ var index: Int? = null
+ // 鍦烘櫙鍚嶇О
+ @ApiModelProperty(value = "鍦烘櫙鍚嶇О")
+ var sceneName: String? = null
+ // 鍦烘櫙绫诲瀷
+ @ApiModelProperty(value = "鍦烘櫙绫诲瀷")
+ var sceneType: String? = null
+ // 鐪佷唤鍚嶇О
+ @ApiModelProperty(value = "鐪佷唤鍚嶇О")
+ var provinceName: String? = null
+ // 鍩庡競鍚嶇О
+ @ApiModelProperty(value = "鍩庡競鍚嶇О")
+ var cityName: String? = null
+ // 鍖哄幙鍚嶇О
+ @ApiModelProperty(value = "鍖哄幙鍚嶇О")
+ var districtName: String? = null
+ // 涔¢晣鍚嶇О
+ @ApiModelProperty(value = "涔¢晣鍚嶇О")
+ var townName: String? = null
+ // 宸℃煡鏃堕棿
+ @ApiModelProperty(value = "宸℃煡鏃堕棿")
+ var inspectionTime: Date? = null
+ // 闂绫诲瀷
+ @ApiModelProperty(value = "闂绫诲瀷")
+ var problemType: String? = null
+ // 闂鍚嶇О
+ @ApiModelProperty(value = "闂鍚嶇О")
+ var problemName: String? = null
+ // 闂鍖哄煙
+ @ApiModelProperty(value = "闂鍖哄煙")
+ var location: String? = null
+ // 闂鍙戠敓鏃堕棿
+ @ApiModelProperty(value = "闂鍙戠敓鏃堕棿")
+ var problemTime: Date? = null
+ // 闂鏄惁鏁存敼
+ @ApiModelProperty(value = "闂鏄惁鏁存敼")
+ var hasChanged: Boolean = false
+ // 鏁存敼鏁�
+ @ApiModelProperty(value = "鏁存敼鏁�")
+ var changeSum: Int = 0
+ // 鏁存敼鏃堕棿
+ @ApiModelProperty(value = "鏁存敼鏃堕棿")
+ var changedTime: Date? = null
}
\ No newline at end of file
--
Gitblit v1.9.3