From 23855599412c4d61b38d78f0f3abd3430a48b5b1 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期三, 25 六月 2025 11:51:38 +0800
Subject: [PATCH] Merge branch 'mdc_hyjs_master'

---
 lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java |   78 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java
new file mode 100644
index 0000000..a321830
--- /dev/null
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java
@@ -0,0 +1,78 @@
+package org.jeecg.modules.system.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import org.jeecg.modules.system.entity.MdcUserProduction;
+import org.jeecg.modules.system.entity.SysUser;
+import org.jeecg.modules.system.model.ProductionIdModel;
+
+import java.util.List;
+
+/**
+ * @Description: 鐢ㄦ埛浜х嚎琛�
+ * @author: LiuS
+ * @create: 2023-03-27 11:56
+ */
+public interface IMdcUserProductionService extends IService<MdcUserProduction> {
+
+    /**
+     * 鏍规嵁鎸囧畾鐢ㄦ埛id鏌ヨ浜х嚎淇℃伅
+     */
+    List<ProductionIdModel> queryProductionIdsOfUser(String userId);
+
+    /**
+     * 鏍规嵁鎸囧畾鐢ㄦ埛id鏌ヨ浜х嚎id闆嗗悎
+     */
+    List<String> queryProductionIdsByUserId(String userId);
+
+    /**
+     * 鏍规嵁涓�缁勮溅闂磇d鏌ヨ鐢ㄦ埛浜х嚎淇℃伅
+     * @param productionIds
+     */
+    List<MdcUserProduction> queryByProductionIds(List<String> productionIds);
+
+    /**
+     * 鍒犻櫎涓�缁勫璞�
+     * @param mdcUserProductions
+     * @return
+     */
+    boolean removeByCollection(List<MdcUserProduction> mdcUserProductions);
+
+    /**
+     * 鑾峰彇宸插垎閰嶇殑鐢ㄦ埛鍒楄〃
+     * @param proId
+     * @return
+     */
+    List<SysUser> getUserPermsByGroupId(String proId);
+
+    /**
+     * 鑾峰彇鏈垎閰嶇殑鐢ㄦ埛鍒楄〃
+     * @param proId
+     * @return
+     */
+    List<SysUser> getUserNonPermsByGroupId(String proId);
+
+    /**
+     * 鑾峰彇鏈垎閰嶇殑鐢ㄦ埛
+     * @param proId
+     * @return
+     */
+    List<SysUser> getUserNonPermsByDeviceId(String proId);
+
+    /**
+     * 鑾峰彇宸插垎閰嶇殑鐢ㄦ埛
+     * @param proId
+     * @return
+     */
+    List<SysUser> getUserPermsByDeviceId(String proId);
+
+    /**
+     * 閫氳繃杞﹂棿id涓庡矖浣峣d绛涢�夌敤鎴�
+     * @param post
+     * @param proId
+     * @return
+     */
+    List<SysUser> queryByPostAndProId(String post, String proId);
+
+
+    MdcUserProduction getByUserIdAndGroupId(String userId, String proId);
+}

--
Gitblit v1.9.3