From 7d55b601b8ec846e9d48ce31de1c5c6930d6dee0 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 19 八月 2025 17:24:35 +0800
Subject: [PATCH] 1、修改等待中间件返回结果超时时间为10秒; 2、修改向水肥机下发命令相关逻辑; 3、修改水肥机回复命令结果处理逻辑; 4、去除前端webSocket关闭产生异常日志记录。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrPlanOperateMapper.java |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrPlanOperateMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrPlanOperateMapper.java
new file mode 100644
index 0000000..d8b1da1
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoIr/IrPlanOperateMapper.java
@@ -0,0 +1,51 @@
+package com.dy.pipIrrGlobal.daoIr;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoIr.IrPlanOperate;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.Date;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2025-02-21 11:11
+ * @LastEditTime 2025-02-21 11:11
+ * @Description
+ */
+
+@Mapper
+public interface IrPlanOperateMapper extends BaseMapper<IrPlanOperate> {
+    int deleteByPrimaryKey(Long id);
+
+    int insert(IrPlanOperate record);
+
+    int insertSelective(IrPlanOperate record);
+
+    IrPlanOperate selectByPrimaryKey(Long id);
+
+    int updateByPrimaryKeySelective(IrPlanOperate record);
+
+    int updateByPrimaryKey(IrPlanOperate record);
+
+    /**
+     * 鏍规嵁璁″垝ID鑾峰彇缁堟鏃堕棿
+     * @param planId
+     * @return
+     */
+    Date getTerminateTime(Long planId);
+
+    /**
+     * 鑾峰彇鏈�杩戜竴娆¤鍒掔粓姝㈢殑鏃堕棿
+     * @param planTerminateLimitMinutes 璁″垝缁堟鍚庨檺鍒跺彂甯冩柊璁″垝鐨勬椂闂撮棿闅�(鍒嗛挓)
+     * @return 鏈�杩戜竴娆¤鍒掔粓姝㈢殑鏃堕棿锛屽鏋滄病鏈夊垯杩斿洖null
+     */
+    Date getLastTerminateTime(@Param("planTerminateLimitMinutes") Integer planTerminateLimitMinutes);
+
+    /**
+     * 鑾峰彇鏈�杩戜竴娆$粓姝㈢殑璁″垝ID
+     * @param planTerminateLimitMinutes 璁″垝缁堟鍚庨檺鍒跺彂甯冩柊璁″垝鐨勬椂闂撮棿闅�(鍒嗛挓)
+     * @return 鏈�杩戜竴娆$粓姝㈢殑璁″垝ID锛屽鏋滄病鏈夊垯杩斿洖null
+     */
+    Long getLastTerminatedPlanId(@Param("planTerminateLimitMinutes") Integer planTerminateLimitMinutes);
+}
\ No newline at end of file

--
Gitblit v1.8.0