|  |  | 
 |  |  | package com.doumee.service.business.impl; | 
 |  |  |  | 
 |  |  | import com.doumee.biz.system.SystemDictDataBiz; | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.service.business.third.model.PageData; | 
 |  |  | import com.doumee.service.business.third.model.PageWrap; | 
 |  |  | import com.doumee.core.utils.Constants; | 
 |  |  | import com.doumee.core.utils.Utils; | 
 |  |  | import com.doumee.dao.business.PlatformEventMapper; | 
 |  |  | import com.doumee.dao.business.model.Empower; | 
 |  |  | import com.doumee.dao.business.model.Platform; | 
 |  |  | import com.doumee.dao.business.model.PlatformEvent; | 
 |  |  | import com.doumee.service.business.PlatformEventService; | 
 |  |  | 
 |  |  |         PageData<PlatformEvent> result = PageData.from(platformEventMapper.selectJoinPage(page, PlatformEvent.class,queryWrapper)); | 
 |  |  |         if(result!=null && result.getRecords()!=null){ | 
 |  |  |             String prefixUrl = systemDictDataBiz.queryByCode(Constants.FTP,Constants.FTP_RESOURCE_PATH).getCode() + | 
 |  |  |                     systemDictDataBiz.queryByCode(Constants.FTP,Constants.MEMBER_IMG).getCode(); | 
 |  |  |                     systemDictDataBiz.queryByCode(Constants.FTP,Constants.PLATFORM_EVENT_IMG).getCode(); | 
 |  |  |             for(PlatformEvent model : result.getRecords()){ | 
 |  |  |                 if(StringUtils.isNotBlank(model.getBackgroundImageContent())){ | 
 |  |  |                     model.setBackgroundImageDown(prefixUrl + model.getBackgroundImageContent()); | 
 |  |  |                 if(StringUtils.isNotBlank(model.getPlateNo())){ | 
 |  |  |                     model.setPlateNo(model.getPlateNo().replace("蓝", "").replace("黄", "")); | 
 |  |  |                 } | 
 |  |  |                 if(StringUtils.isNotBlank(model.getBackgroundImageDown())){ | 
 |  |  |                     model.setBackgroundImageDown(prefixUrl + model.getBackgroundImageDown()); | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |         } |