| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.dnc.dto.ComponentExt; |
| | | import org.jeecg.modules.dnc.entity.ComponentInfo; |
| | | import org.jeecg.modules.dnc.entity.DocInfo; |
| | | import org.jeecg.modules.dnc.entity.PermissionStream; |
| | | import org.jeecg.modules.dnc.ucenter.Department; |
| | | import org.jeecg.modules.dnc.request.TreeInfoRequest; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.jeecg.modules.system.entity.SysUser; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignAddDepart(ComponentInfo componentInfo, Collection<Department> departmentList); |
| | | boolean assignAddDepart(ComponentInfo componentInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | /** |
| | | * 移除部门权限 |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignRemoveDepart(ComponentInfo componentInfo, Collection<Department> departmentList); |
| | | boolean assignRemoveDepart(ComponentInfo componentInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | /** |
| | | * 获取唯一 部件编号 |
| | |
| | | * @return |
| | | */ |
| | | List<ComponentInfo> getByParentIdAndUserId(String parentId, String userId); |
| | | |
| | | /** |
| | | * 通过零件号、材质等查询对应电子样板 |
| | | * @param treeInfoRequest |
| | | * @return |
| | | */ |
| | | List<DocInfo> getByComponentInfo(TreeInfoRequest treeInfoRequest); |
| | | } |
| | | |
| | | |