| | |
| | | IMenuMappingService menuMappingService; |
| | | @Autowired |
| | | NoticeClient noticeClient; |
| | | |
| | | /** |
| | | * |
| | | * @description: 通过子主题获取去重后的父主题 |
| | | * @param parentIdSet 子主题id集合 |
| | | * @return: 添加了父主题的id集合 |
| | | * |
| | | */ |
| | | @Override |
| | | public LinkedHashSet<String> getByParentId(LinkedHashSet<String> parentIdSet) { |
| | | if (parentIdSet.size() == 0) { |
| | |
| | | |
| | | return parentIdSet; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * @description: 通过子主题获取去重后的父主题 |
| | | * @param parentIdSet 子主题id集合 |
| | | * @return: 添加了父主题的对象集合 |
| | | * |
| | | */ |
| | | @Override |
| | | public List<SysMenu> getMenuByParentId(LinkedHashSet<String> parentIdSet) { |
| | | LinkedHashSet<String> byParentId = getByParentId(parentIdSet); |
| | |
| | | Collections.reverse(result); |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * @description: 审批通过后的发送消息 |
| | | * @param maintainId 版本id |
| | | * @param status 审批状态 |
| | | * @param userId 用户id |
| | | * @return: |
| | | * |
| | | */ |
| | | @Override |
| | | public void dealFlow(String maintainId, ActivitiStatus status, String userId) { |
| | | if (!status.equals(ActivitiStatus.open)) { |