遗漏的优化代码

This commit is contained in:
RuoYi
2023-02-21 16:19:33 +08:00
parent 22470677d4
commit 590f6a302c
10 changed files with 25 additions and 28 deletions

View File

@ -1598,7 +1598,7 @@ public class ExcelUtil<T>
HSSFPicture pic = (HSSFPicture) shape;
int pictureIndex = pic.getPictureIndex() - 1;
HSSFPictureData picData = pictures.get(pictureIndex);
String picIndex = anchor.getRow1() + "_" + String.valueOf(anchor.getCol1());
String picIndex = anchor.getRow1() + "_" + anchor.getCol1();
sheetIndexPicMap.put(picIndex, picData);
}
}