From 1dd888195c562851f869d6c75b424365ed1c781e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 14 八月 2025 14:26:28 +0800
Subject: [PATCH] 有wechat模块增加查询所有摄像头及accessToken功能
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml | 9 ++++++++-
1 files changed, 8 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 e953e95..6dc8edc 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIntakeOperateMapper.xml
@@ -156,6 +156,13 @@
where command_id = #{commandId}
</update>
+ <!--鏍规嵁涓婚敭淇敼鍛戒护ID-->
+ <update id="updateCommandId">
+ update ir_intake_operate
+ set command_id = #{commandId}
+ where id = #{id}
+ </update>
+
<!--鏍规嵁璁″垝ID鑾峰彇寰呯粓姝㈢殑鍙栨按鍙D锛堝凡鍙戝竷寮�鍙戝懡浠わ紝鏃犺鏄惁鎴愬姛锛�-->
<select id="getToTerminateIntakeIds" resultType="java.lang.Long">
SELECT
@@ -187,7 +194,7 @@
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懡浠ゅ彂甯冨け璐ユ暟閲忥紝鐏屾簤璁″垝璇︽儏椤典娇鐢�-->
--
Gitblit v1.8.0