¶Ô±ÈÐÂÎļþ |
| | |
| | | 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); |
| | | |
| | | /** |
| | | * æ ¹æ®ä¸ç»è½¦é´idæ¥è¯¢ç¨æ·äº§çº¿ä¿¡æ¯ |
| | | * @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ä¸å²ä½idçéç¨æ· |
| | | * @param post |
| | | * @param proId |
| | | * @return |
| | | */ |
| | | List<SysUser> queryByPostAndProId(String post, String proId); |
| | | |
| | | |
| | | MdcUserProduction getByUserIdAndGroupId(String userId, String proId); |
| | | } |