이미지 순서변경

This commit is contained in:
cha 2025-05-14 11:06:21 +09:00
parent f521ed9ed2
commit f90a4a59b7

View File

@ -1520,9 +1520,9 @@ public class EstimateService {
HttpURLConnection exitCode2 = (HttpURLConnection)con2;
if (exitCode2.getResponseCode() == 200) {
InputStream imageInputStream2 =
new URL(drawingDirPath + File.separator + baseDrawingImgName + "_2.png").openStream();
new URL(drawingDirPath + File.separator + baseDrawingImgName2 + "_2.png").openStream();
byte[] drawingImg2 = Util.toByteArray(imageInputStream2);
estimateResponse.setDrawingImg1(drawingImg2);
estimateResponse.setDrawingImg2(drawingImg2);
}
// file = new File(drawingDirPath + File.separator + baseDrawingImgName + "_2.png");
// if (file.exists()) {