| | |
| | | package org.jeecg.modules.dnc.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.dnc.entity.DocInfo; |
| | | import org.jeecg.modules.dnc.entity.PartsInfo; |
| | | 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 java.util.Collection; |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignAddDepart(PartsInfo partsInfo, Collection<Department> departmentList); |
| | | boolean assignAddDepart(PartsInfo partsInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | /** |
| | | * 分配部门权限 |
| | |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignRemoveDepart(PartsInfo partsInfo, Collection<Department> departmentList); |
| | | boolean assignRemoveDepart(PartsInfo partsInfo, Collection<MdcProduction> departmentList); |
| | | |
| | | /** |
| | | * 根据一组部件查找零件 |
| | |
| | | * @return |
| | | */ |
| | | PartsInfo getByCode(String partsCode); |
| | | |
| | | /** |
| | | * 通过零件号、材质等查询对应电子样板 |
| | | * @param treeInfoRequest |
| | | * @return |
| | | */ |
| | | List<DocInfo> getByPartsInfo(TreeInfoRequest treeInfoRequest); |
| | | |
| | | boolean assignPermission(Object entity, Collection<SysUser> userList, boolean isAdd); |
| | | |
| | | boolean assignDepartPermission(Object entity, Collection<MdcProduction> departments, boolean isAdd); |
| | | } |