fix 条款导出报错
This commit is contained in:
+4
-2
@@ -4048,10 +4048,12 @@ public class FileSplitItemsEOServiceImpl extends ServiceImpl<FileSplitItemsEOMap
|
|||||||
FileSplitValImgExportDto fileSplitValImgExportDto = new FileSplitValImgExportDto();
|
FileSplitValImgExportDto fileSplitValImgExportDto = new FileSplitValImgExportDto();
|
||||||
fileSplitValImgExportDto.setImgName(imgUUIndex+".png");
|
fileSplitValImgExportDto.setImgName(imgUUIndex+".png");
|
||||||
String url = imgContent.substring(imgContent.lastIndexOf("=") + 1);
|
String url = imgContent.substring(imgContent.lastIndexOf("=") + 1);
|
||||||
String urlTranslation = imgTranslation.substring(imgTranslation.lastIndexOf("=") + 1);
|
|
||||||
|
|
||||||
fileSplitValImgExportDto.setImgPath(url);
|
fileSplitValImgExportDto.setImgPath(url);
|
||||||
fileSplitValImgExportDto.setImgPathTranslation(urlTranslation);
|
if (StringUtils.isNotBlank(imgTranslation)){
|
||||||
|
String urlTranslation = imgTranslation.substring(imgTranslation.lastIndexOf("=") + 1);
|
||||||
|
fileSplitValImgExportDto.setImgPathTranslation(urlTranslation);
|
||||||
|
}
|
||||||
|
|
||||||
allImgList.add(fileSplitValImgExportDto);
|
allImgList.add(fileSplitValImgExportDto);
|
||||||
imgIndex++;
|
imgIndex++;
|
||||||
|
|||||||
Reference in New Issue
Block a user