From 1c20c8231980a8d4b91688ff8641a06d3b2f68ab Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 14 十月 2025 16:34:22 +0800 Subject: [PATCH] 改bug --- server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformEventServiceImpl.java | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformEventServiceImpl.java b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformEventServiceImpl.java index 1b631ea..ac815f0 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformEventServiceImpl.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/service/business/impl/PlatformEventServiceImpl.java @@ -1,12 +1,11 @@ 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; @@ -221,10 +220,13 @@ 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()); } } } -- Gitblit v1.9.3