|  |  | 
 |  |  |                     || Constants.equalsInteger(i.getPlatformGroupId(),platform.getGroupId()) | 
 |  |  |             ).collect(Collectors.toList()); | 
 |  |  |             if(com.github.xiaoymin.knife4j.core.util.CollectionUtils.isNotEmpty(platformJobs)){ | 
 |  |  |                 for(PlatformJob i :platformJobList){ | 
 |  |  |                     if(Constants.equalsInteger(i.getOrigin(),Constants.ZERO)){ | 
 |  |  |                         i.setWmsContractNum(i.getContractNum()); | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |                 platformWorkVO.setWorkNum( | 
 |  |  |                         platformJobs.stream().filter(i->Constants.equalsInteger(i.getPlatformId(),platform.getId())  && Constants.equalsInteger(i.getStatus(),Constants.PlatformJobStatus.WORKING.getKey())).collect(Collectors.toList()).size() | 
 |  |  |                 ); |