From ba9c6723249f0a843d35eb21b43a00be4b7de3ab Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期四, 29 五月 2025 13:48:50 +0800 Subject: [PATCH] 备件请购 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/IMdcUserProductionService.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 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..a321830 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,56 @@ * 鏍规嵁鎸囧畾鐢ㄦ埛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