| | |
| | | import com.qianwen.smartman.modules.visual.vo.VisualCompMenuDetailVO; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/service/impl/VisualCompTypeServiceImpl.class */ |
| | | |
| | | public class VisualCompTypeServiceImpl extends BaseServiceImpl<VisualCompTypeMapper, VisualCompType> implements IVisualCompTypeService { |
| | | private final IVisualCompService compService; |
| | | |
| | |
| | | this.compService = compService; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.visual.service.IVisualCompTypeService |
| | | |
| | | @Transactional |
| | | public boolean remove(List<Long> ids) { |
| | | removeByIds(ids); |
| | |
| | | return true; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.visual.service.IVisualCompTypeService |
| | | |
| | | public List<VisualCompMenuDetailVO> treeMenu(Map<String, Object> params) { |
| | | List<Long> componentIds = (List<Long>) params.get("componentIds"); |
| | | List<VisualCompType> list = list(Lambda.<VisualCompType>create().eq(VisualCompType::getStatus, Integer.valueOf(VisualCompTypeEnum.ENABLE.getValue())).orderByAsc(VisualCompType::getOrderNum)); |