From 4fa2589807e4ab70680acaf5fe072e3944fddcf6 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 24 四月 2025 17:17:01 +0800
Subject: [PATCH] GIL

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictInfluenceFactorResultDao.xml |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictInfluenceFactorResultDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictInfluenceFactorResultDao.xml
index fa95869..ebdbb7a 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictInfluenceFactorResultDao.xml
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictInfluenceFactorResultDao.xml
@@ -11,4 +11,30 @@
         ON DUPLICATE KEY UPDATE
         value = VALUES(value);
     </insert>
+    <select id="getResultList" resultType="com.iailab.module.model.mcs.pre.vo.MmPredictInfluenceFactorResultVO"
+            parameterType="com.iailab.module.model.mcs.pre.vo.MmPredictInfluenceFactorResultListReqVO">
+        SELECT
+            t1.output_id,
+            t1.pattern,
+            t3.result_name factor_output_name,
+            t4.time,
+            t4.value
+        FROM
+            t_mm_predict_influence_factor_config t1
+                LEFT JOIN t_mm_predict_influence_factor t2 ON t1.id = t2.config_id
+                LEFT JOIN t_mm_item_output t3 ON t2.factor_output_id = t3.id
+                LEFT JOIN t_mm_predict_influence_factor_result t4 ON t4.factor_id = t2.id
+        WHERE
+        t1.is_enable = 1
+        and t1.output_id IN
+        <foreach collection="outIds" item="item" open="(" close=")" separator=",">
+            #{item}
+        </foreach>
+        <if test="startTime != null">
+            AND t4.time &gt;= #{startTime}
+        </if>
+        <if test="endTime != null">
+            AND t4.time &lt;= #{endTime}
+        </if>
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3