From e67870fff62635cd14beb0d5988f08aeef4b22fa Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期一, 07 四月 2025 21:27:06 +0800
Subject: [PATCH] 添加远程关阀式终止灌溉计划,未测试
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 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 ab8bc1a..207ef22 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml
@@ -155,4 +155,17 @@
set command_result = #{commandResult}, failure_factors = #{failureFactors}
where command_id = #{commandId}
</update>
+
+ <!--鏍规嵁璁″垝ID鑾峰彇寰呯粓姝㈢殑鍙栨按鍙D锛堝凡鍙戝竷寮�鍙戝懡浠わ紝鏃犺鏄惁鎴愬姛锛�-->
+ <select id="getToTerminateIntakeIds" resultType="java.lang.Long">
+ SELECT
+ intake_id AS intakeId
+ FROM ir_intake_operate
+ WHERE operate_type = 1 AND plan_id = #{planId}
+ </select>
+
+ <!--鏍规嵁璁″垝ID鑾峰彇寰呯粓姝㈢殑鍛戒护ID-->
+ <select id="getTerminateCommandIds" resultType="java.lang.Long">
+ SELECT command_id AS commandId FROM ir_intake_operate WHERE operate_type = 1 AND plan_id = #{planId}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0