From 268c71b4154956daddfb7cd17d5baade9e59d46d Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 06 一月 2025 15:16:46 +0800
Subject: [PATCH] 获取调度执行结果,不保存记录

---
 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/PreDataViewRespDTO.java |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/PreDataViewRespDTO.java b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/PreDataViewRespDTO.java
index add373f..96d9e11 100644
--- a/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/PreDataViewRespDTO.java
+++ b/iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/PreDataViewRespDTO.java
@@ -1,8 +1,10 @@
 package com.iailab.module.model.api.mcs.dto;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
+import java.io.Serializable;
 import java.math.BigDecimal;
 import java.util.Date;
 import java.util.List;
@@ -15,7 +17,8 @@
  */
 @Schema(description = "RPC 模型 - 预测数据 DTO")
 @Data
-public class PreDataViewRespDTO {
+public class PreDataViewRespDTO implements Serializable {
+    private static final long serialVersionUID = 1L;
 
     @Schema(description = "预测项ID")
     private String itemId;
@@ -23,7 +26,17 @@
     @Schema(description = "预测项名称")
     private String itemName;
 
+    @Schema(description = "输出ID")
+    private String outId;
+
+    @Schema(description = "输出结果")
+    private String resultstr;
+
+    @Schema(description = "输出结果")
+    private String resultName;
+
     @Schema(description = "预测时间")
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date predictTime;
 
     @Schema(description = "量程上限")
@@ -39,10 +52,10 @@
     private BigDecimal deadLineL;
 
     @Schema(description = "运行上限")
-    private BigDecimal limtH;
+    private BigDecimal limitH;
 
     @Schema(description = "运行下限")
-    private BigDecimal limtL;
+    private BigDecimal limitL;
 
     @Schema(description = "最大值")
     private BigDecimal maxValue;

--
Gitblit v1.9.3