| | |
| | | package org.jeecg.modules.dnc.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.modules.dnc.entity.PartsInfo; |
| | | import org.jeecg.modules.dnc.entity.ProcessStream; |
| | | import org.jeecg.modules.dnc.entity.WorkStep; |
| | | import org.jeecg.modules.dnc.request.ProcessStreamRequest; |
| | | import org.jeecg.modules.dnc.ucenter.Department; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | public interface IProcessStreamService extends IService<ProcessStream> { |
| | |
| | | * @return |
| | | */ |
| | | List<ProcessStream> getByuserPerms(String userId,String queryParam); |
| | | |
| | | /** |
| | | * 分配部门权限 |
| | | * @param processStream |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignAddDepart(ProcessStream processStream, Collection<MdcProduction> departmentList); |
| | | |
| | | |
| | | /** |
| | | * 根据一组部件和零件查找工序 |
| | | * @param productId |
| | | * @param componentIds |
| | | * @param partsIds |
| | | * @return |
| | | */ |
| | | List<ProcessStream> getByComponentIdList(String productId, List<String> componentIds,List<String> partsIds); |
| | | |
| | | /** |
| | | * 分配部门权限 |
| | | * @param processStream |
| | | * @param departmentList |
| | | * @return |
| | | */ |
| | | boolean assignRemoveDepart(ProcessStream processStream, Collection<MdcProduction> departmentList); |
| | | } |