From 8fad9df67cc660f8e6d581b9e06f3132a187d713 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 18 四月 2025 18:20:18 +0800 Subject: [PATCH] 数据分析 左测下拉数据预测项不可点击 接口 获得影响因素结果列表 接口 获得影响因素结果列表 影响因素表添加组合唯一索引 --- 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 >= #{startTime} + </if> + <if test="endTime != null"> + AND t4.time <= #{endTime} + </if> + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3