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/daoBa/BaUserRoleMapper.java | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaUserRoleMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaUserRoleMapper.java
new file mode 100644
index 0000000..c122bb3
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaUserRoleMapper.java
@@ -0,0 +1,56 @@
+package com.dy.pipIrrGlobal.daoBa;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.dy.pipIrrGlobal.pojoBa.BaUserRole;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+import java.util.Map;
+
+@Mapper
+public interface BaUserRoleMapper extends BaseMapper<BaUserRole> {
+
+ /**
+ * insert record to table
+ * @param record the record
+ * @return insert count
+ */
+ int putin(BaUserRole record);
+
+ /**
+ * insert record to table selective
+ * @param record the record
+ * @return insert count
+ */
+ int insertSelective(BaUserRole record);
+
+ /**
+ * delete by primary key
+ * @param userId primaryKey
+ * @param roleId primaryKey
+ * @return deleteCount
+ */
+ int deleteByPrimaryKey(@Param("userId") Long userId, @Param("roleId") Long roleId);
+
+ /**
+ * delete by primary key
+ * @param userId primaryKey
+ * @return deleteCount
+ */
+ int deleteByUserId(@Param("userId") Long userId);
+
+ /**
+ * delete by primary key
+ * @param roleId primaryKey
+ * @return deleteCount
+ */
+ int deleteByRoleId(@Param("roleId") Long roleId);
+
+ /**
+ * 鏍规嵁鐢ㄦ埛缂栧彿鑾峰彇鏉冮檺鍒楄〃
+ * @param userId
+ * @return
+ */
+ List<Map<String, Object>> getPermissionsByUserId(@Param("userId") Long userId);
+}
\ No newline at end of file
--
Gitblit v1.8.0