|  |  | 
 |  |  | import com.doumee.dao.web.response.DriverHomeVO; | 
 |  |  | import com.doumee.dao.web.response.LineUpVO; | 
 |  |  | import com.doumee.dao.web.response.PlatformWorkVO; | 
 |  |  | import com.doumee.dao.web.response.platformReport.WholeProvinceBoardVO; | 
 |  |  | import com.doumee.service.business.PlatformJobService; | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; | 
 |  |  | 
 |  |  |                 .leftJoin(Platform.class,Platform::getId,PlatformJob::getPlatformId) | 
 |  |  |                 .eq(PlatformJob::getIsdeleted,Constants.ZERO) | 
 |  |  |                 .eq(PlatformJob::getDrivierPhone,loginUserInfo.getMobile()) | 
 |  |  |                 .and(i->i.like(PlatformJob::getDoneDate,DateUtil.getCurrDate()) | 
 |  |  |                         .or().in(PlatformJob::getStatus,Constants.PlatformJobStatus.WAIT_CALL.getKey() | 
 |  |  |                                 ,Constants.PlatformJobStatus.WAIT_CONFIRM.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.WART_SIGN_IN.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.IN_WAIT.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.CALLED.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.WORKING.getKey()) | 
 |  |  |                 ) | 
 |  |  |                 .orderByDesc(PlatformJob::getId) | 
 |  |  |         ); | 
 |  |  |         for (PlatformJob platformJob:platformJobList) { | 
 |  |  | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         driverHomeVO.setPlatformJobList(platformJobList); | 
 |  |  |  | 
 |  |  |         // 园区导览图  图片 | 
 |  |  |         driverHomeVO.setReservationMap(systemDictDataBiz.queryByCode(Constants.PLATFORM,Constants.PLATFORM_GUIDEMAP).getCode()); | 
 |  |  |         // 预约指南 文本 | 
 |  |  | 
 |  |  |                                 ,PlatformJob::getId,lineUpDetailDTO.getJobId()) | 
 |  |  |                         .in(PlatformJob::getStatus,Constants.PlatformJobStatus.WAIT_CALL.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.IN_WAIT.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.WORKING.getKey(), | 
 |  |  |                                 Constants.PlatformJobStatus.CALLED.getKey()) | 
 |  |  |                         .orderByDesc(PlatformJob::getStatus) | 
 |  |  |                         .orderByAsc(PlatformJob::getSignDate) | 
 |  |  | 
 |  |  |             PlatformJob p = platformJobJoinMapper.selectJoinOne(PlatformJob.class, | 
 |  |  |                     new MPJLambdaWrapper<PlatformJob>() | 
 |  |  |                             .selectAll(PlatformJob.class) | 
 |  |  |                             .selectAs(Platform::getCode,PlatformJob::getPlatformName) | 
 |  |  |                             .selectAs(Platform::getName,PlatformJob::getPlatformName) | 
 |  |  |                             .leftJoin(Platform.class,Platform::getId,PlatformJob::getPlatformId) | 
 |  |  |                             .eq(PlatformJob::getId,platformJob.getId()) | 
 |  |  |                             .last(" limit 1") | 
 |  |  | 
 |  |  |             ); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     private Logger logger = LoggerFactory.getLogger(PlatformJobServiceImpl.class); | 
 |  |  |  | 
 |  |  | 
 |  |  |         String u =  UUID.randomUUID().toString(); | 
 |  |  |         redisTemplate.opsForValue().set(Constants.RedisKeys.BIGSCREEN_UUID,u,3, TimeUnit.MINUTES); | 
 |  |  |         String url = Constants.getWxUrl(systemDictDataBiz.queryByCode(Constants.PLATFORM,Constants.WX_REDIRECT_URL).getCode(),Constants.WxUrlParams.BISCREEN_CODE,u); | 
 |  |  |         largeScreenDataVO.setQrCode(systemDictDataBiz.queryByCode(Constants.PLATFORM,Constants.SIGN_IN_QRCODE_PREFIX).getCode().replace( "${param}", url)); | 
 |  |  |         largeScreenDataVO.setQrCode(url); | 
 |  |  |         largeScreenDataVO.setAttention(systemDictDataBiz.queryByCode(Constants.PLATFORM,Constants.SIGN_IN_ATTENTION).getCode()); | 
 |  |  |         return largeScreenDataVO; | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  |