From c06fab29ca7826a6dc9736c1ba8ce1e26a11c829 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 06 三月 2025 15:57:08 +0800 Subject: [PATCH] 新增层级结构工艺规程版本、结构树表、新权限表 修改原有权限验证 删除原有代码 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 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 index 1e15ac3..5b2ca52 100644 --- 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 @@ -2,6 +2,7 @@ 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; @@ -22,4 +23,48 @@ * 鏍规嵁鎸囧畾鐢ㄦ埛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); + + + MdcUserProduction getByUserIdAndGroupId(String userId, String proId); } -- Gitblit v1.9.3