¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.dnc.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.dnc.entity.ComponentDepartment; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | |
| | | import java.util.List; |
| | | public interface IComponentDepartmentService extends IService<ComponentDepartment> { |
| | | /** |
| | | * æ ¹æ®é¨ä»¶idå é¤é¨é¨æé |
| | | * @param componentId |
| | | * @return |
| | | */ |
| | | boolean deleteByComponentId(String componentId); |
| | | |
| | | |
| | | /** |
| | | * è·åå·²åé
çé¨é¨ |
| | | * @param componentId |
| | | * @return |
| | | */ |
| | | List<MdcProduction> getDepartPermsByComponentId(String componentId); |
| | | |
| | | /** |
| | | * è·åæªåé
çé¨é¨ |
| | | * @param componentId |
| | | * @return |
| | | */ |
| | | List<MdcProduction> getDepartNonPermsByComponentId(String componentId); |
| | | |
| | | /** |
| | | * è·åå¯ä¸çé¨é¨æé |
| | | * @param componentId |
| | | * @param departId |
| | | * @return |
| | | */ |
| | | ComponentDepartment getByComponentIdAndDepartId(String componentId, String departId); |
| | | |
| | | /** |
| | | * å é¤é¨é¨æé |
| | | * @param componentDepartments |
| | | * @return |
| | | */ |
| | | boolean removeByCollection(List<ComponentDepartment> componentDepartments); |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸ç»é¨é¨æé |
| | | * @param componentIds |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | List<ComponentDepartment> getByComponentIdsAndDepartIds(List<String> componentIds, List<String> ids); |
| | | } |