From b2bb7d1ff5639dd844e84b881a515eca30625411 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 02 一月 2025 13:40:43 +0800
Subject: [PATCH] 调度模型运行状态显示

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleRecordServiceImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleRecordServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleRecordServiceImpl.java
index 58479dd..dd844be 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleRecordServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleRecordServiceImpl.java
@@ -1,5 +1,6 @@
 package com.iailab.module.model.mcs.sche.service.impl;
 
+import com.alibaba.fastjson.JSON;
 import com.baomidou.dynamic.datasource.annotation.DSTransactional;
 import com.iailab.framework.common.pojo.PageResult;
 import com.iailab.framework.common.service.impl.BaseServiceImpl;
@@ -55,6 +56,8 @@
         entity.setSchemeId(resultVO.getSchemeId());
         entity.setScheduleTime(resultVO.getScheduleTime());
         entity.setModelId(resultVO.getModelId());
+        entity.setResultCode(resultVO.getResultCode());
+        entity.setResultData(JSON.toJSONString(resultVO.getResult()));
         baseDao.insert(entity);
         stScheduleRecordDetailService.create(entity.getId(), resultVO);
     }

--
Gitblit v1.9.3