From f07a0b2091144e2b1d10a8850ac15e884639a408 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期四, 12 六月 2025 11:44:43 +0800
Subject: [PATCH] art: 设备管理-设备履历修改
---
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcUserProductionMapper.java | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcUserProductionMapper.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcUserProductionMapper.java
index a6efd10..e7c392f 100644
--- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcUserProductionMapper.java
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/MdcUserProductionMapper.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.system.entity.MdcUserProduction;
+import org.jeecg.modules.system.entity.SysUser;
import java.util.List;
@@ -18,4 +19,41 @@
* 鏍规嵁鎸囧畾鐢ㄦ埛id鏌ヨ浜х嚎id闆嗗悎
*/
List<String> queryProductionIdsByUserId(@Param("userId") String userId);
+
+ /**
+ * 鑾峰彇宸插垎閰嶇殑鐢ㄦ埛鍒楄〃
+ * @param proId
+ * @return
+ */
+ List<SysUser> getUserPermsByGroupId(@Param("proId") String proId);
+
+ /**
+ * 鑾峰彇鏈垎閰嶇殑鐢ㄦ埛鍒楄〃
+ * @param proId
+ * @return
+ */
+ List<SysUser> getUserNonPermsByGroupId(@Param("proId") String proId);
+
+ /**
+ * 鑾峰彇璁惧鏈垎閰嶇殑鐢ㄦ埛
+ * @param proId
+ * @return
+ */
+ List<SysUser> getUserNonPermsByDeviceId(String proId);
+
+
+ /**
+ * 鑾峰彇璁惧宸插垎閰嶇殑鐢ㄦ埛
+ * @param deviceId
+ * @return
+ */
+ List<SysUser> getUserPermsByDeviceId(String deviceId);
+
+ /**
+ * 閫氳繃杞﹂棿id涓庡矖浣峣d绛涢�夌敤鎴�
+ * @param post
+ * @param proId
+ * @return
+ */
+ List<SysUser> queryByPostAndProId(@Param("post") String post, @Param("proId") String proId);
}
--
Gitblit v1.9.3