From 14e95631f075f951a44033faeab3075bb05eda1d Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期二, 13 五月 2025 14:57:47 +0800 Subject: [PATCH] 解决问题:取水口解绑之后,不能获取取水口详情信息。 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml index 44de0f1..cf9d2c9 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml @@ -187,6 +187,14 @@ io.failure_factors AS result FROM ir_intake_operate io inner JOIN ir_group_intake gi ON gi.intake_id = io.intake_id - WHERE io.plan_id = #{planId} AND gi.group_id = #{groupId}; + WHERE io.plan_id = #{planId} AND gi.group_id = #{groupId} AND operate_type = 1; + </select> + + <!--鏍规嵁璁″垝ID鑾峰彇鍙栨按鍙e懡浠ゅ彂甯冨け璐ユ暟閲忥紝鐏屾簤璁″垝璇︽儏椤典娇鐢�--> + <select id="getFailureCount" resultType="java.lang.Integer"> + SELECT + COUNT(1) AS failureCount + FROM ir_intake_operate + WHERE operate_type = 1 AND command_result != 1 AND plan_id = #{planId} </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0