From c6beb89b7170115eada78526f87406381c931229 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期四, 03 四月 2025 10:37:51 +0800 Subject: [PATCH] 灌溉计划发布时仅发布灌溉时长大于0的 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml | 8 ++++++++ 1 files changed, 8 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..4790842 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,12 @@ 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> </mapper> \ No newline at end of file -- Gitblit v1.8.0