Merge pull request 'test' (#33) from test into prod
Reviewed-on: http://220.205.16.27:18081/goflytec/GoFly-platform-services/pulls/33
This commit is contained in:
+2
-4
@@ -398,11 +398,9 @@ public class TourismServiceImpl extends SuperServiceImpl<TourismMapper, Tourism>
|
|||||||
if (!fileIds.isEmpty()) {
|
if (!fileIds.isEmpty()) {
|
||||||
List<TourismFile> files = tourismFileService.findByIds(fileIds);
|
List<TourismFile> files = tourismFileService.findByIds(fileIds);
|
||||||
if (files != null) {
|
if (files != null) {
|
||||||
for (TourismFile file : files) {
|
TourismFile file = files.get(0);
|
||||||
if (file != null && file.getImageUrl() != null && !file.getImageUrl().trim().isEmpty()) {
|
if(file != null && file.getImageUrl() != null && !file.getImageUrl().trim().isEmpty()){
|
||||||
imageUrl = fileCenterService.getViewUrlByPath(file.getImageUrl());
|
imageUrl = fileCenterService.getViewUrlByPath(file.getImageUrl());
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user