| | |
| | | |
| | | public static PlatformWorkVO getPlatformWorkVO(Platform platform,List<PlatformJob> platformJobList){ |
| | | PlatformWorkVO platformWorkVO = new PlatformWorkVO(); |
| | | platformWorkVO.setCurrentDate(new Date()); |
| | | if(com.github.xiaoymin.knife4j.core.util.CollectionUtils.isNotEmpty(platformJobList)){ |
| | | //获取月台组下的所有作业数据 |
| | | List<PlatformJob> platformJobs = platformJobList.stream().filter( |
| | |
| | | .eq(PlatformJob::getStatus,Constants.PlatformJobStatus.EXCEPTION.getKey()) |
| | | ) |
| | | ); |
| | | |
| | | platformGroupWorkVO.setWaitNum(platformJobJoinMapper.selectJoinCount(new MPJLambdaWrapper<PlatformJob>() |
| | | .leftJoin(Platform.class,Platform::getId,PlatformJob::getPlatformId) |
| | | .eq(PlatformJob::getIsdeleted,Constants.ZERO) |