| | |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | import org.jeecg.modules.system.model.MdcProductionTreeModel; |
| | | import org.jeecg.modules.system.model.ProductionIdModel; |
| | | import org.jeecg.modules.system.vo.MdcProOptionsVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 产线表 |
| | |
| | | * 查询所有产线信息,并分节点进行显示 |
| | | */ |
| | | List<MdcProductionTreeModel> queryTreeList(); |
| | | |
| | | /** |
| | | * 查询所有产线信息,并分节点进行显示(添加系统配置) |
| | | */ |
| | | List<MdcProductionTreeModel> queryTreeListByConfig(); |
| | | |
| | | /** |
| | | * 查询所有产线信息,并分节点进行显示 |
| | |
| | | * @return |
| | | */ |
| | | List<String> findListParentTree(String parentId,List<String> stringList); |
| | | |
| | | /** |
| | | * 获取用户所在的部门 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | Map<String, MdcProduction> getUserAssignedDepart(String userId); |
| | | |
| | | /** |
| | | * 通过一组id获取部门 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | List<String> findAllProductionIds(List<String> ids); |
| | | |
| | | /** |
| | | * 获取某个节点所有上级节点的id |
| | | * @param parentId 父节点 id |
| | | * @param idList 接收结果集 |
| | | * @return |
| | | */ |
| | | List<String> findParentIdsForProduction(String parentId, List<String> idList); |
| | | |
| | | /** |
| | | * 查询所有产线信息,并分节点进行显示 |
| | | */ |
| | | List<MdcProductionTreeModel> queryTreeListByMdc(String ids); |
| | | |
| | | /** |
| | | * 查询所有产线信息,并分节点进行显示 |
| | | */ |
| | | List<MdcProductionTreeModel> queryTreeListByMdc(); |
| | | |
| | | /** |
| | | * 查询子节点 |
| | | * @param mdcProductionIds |
| | | * @return |
| | | */ |
| | | List<String> findChildren(List<String> mdcProductionIds); |
| | | |
| | | /** |
| | | * 根据用户id获取产线(中心)或班组下拉选项 |
| | | * @param userId |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | List<MdcProOptionsVo> loadProductionOptions(String userId, String productionId); |
| | | |
| | | List<MdcProduction> findMdcPros(String userId, String productionId); |
| | | |
| | | /** |
| | | * |
| | | * @param userId |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | List<MdcProOptionsVo> loadTeamOptions(String userId, String productionId); |
| | | |
| | | /** |
| | | * |
| | | * @param userId |
| | | * @param allProductionIds |
| | | * @return |
| | | */ |
| | | List<String> findProIdsByUId(String userId, List<String> allProductionIds); |
| | | |
| | | /** |
| | | * |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | List<String> findChildByProId(String productionId); |
| | | |
| | | |
| | | String findProName(String equipmentId); |
| | | } |