| | |
| | | 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.getBackgroundImageDown())){ |
| | | model.setBackgroundImageDown(prefixUrl + model.getBackgroundImageDown()); |
| | | } |
| | | } |
| | | } |