| | |
| | | import com.qianwen.smartman.modules.visual.vo.WorkStationTreeVO; |
| | | |
| | | @Service |
| | | /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/service/impl/VisualDataSourceServiceImpl.class */ |
| | | |
| | | public class VisualDataSourceServiceImpl implements IVisualDataSourceService { |
| | | private final ICommonGroupService commonGroupService; |
| | | private final IDictService dictService; |
| | |
| | | this.calendarService = calendarService; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.visual.service.IVisualDataSourceService |
| | | |
| | | public List<WorkStationTreeVO> workstationDataSource() { |
| | | CommonGroupTypeVO commonGroupTypeVO = new CommonGroupTypeVO().setGroupCategory(CommonGroupConstant.DEFAULT_CATEGORY).setStatus(CommonConstant.ENABLE).setGroupType(CommonGroupTypeEnum.WORKSTATION.getName()); |
| | | List<WorkstationInGroupVO> list = this.commonGroupService.groupWorkstationList(commonGroupTypeVO); |
| | |
| | | return ForestNodeMerger.merge(vos); |
| | | } |
| | | |
| | | @Override // org.springblade.modules.visual.service.IVisualDataSourceService |
| | | |
| | | public List<DropDownVO> timeLevelDataSource() { |
| | | List<Dict> dictList = this.dictService.getList(VisualConstant.VISUAL_TIME_LEVEL); |
| | | return dictList.stream().map(dict -> { |
| | |
| | | } |
| | | |
| | | /* JADX WARN: Multi-variable type inference failed */ |
| | | @Override // org.springblade.modules.visual.service.IVisualDataSourceService |
| | | |
| | | public List<DropDownVO> shiftSystem() { |
| | | List<ShiftModel> list = this.shiftModelService.list(); |
| | | List<DropDownVO> dropDownVOList = new ArrayList<>(); |
| | |
| | | return dropDownVOList; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.visual.service.IVisualDataSourceService |
| | | |
| | | public List<WorkStationTreeVO> shiftWorkStation(Long id) { |
| | | List<WorkstationInGroupVO> collect = WorkstationCache.getShiftWorkStation(id); |
| | | if (Func.isEmpty(collect)) { |