Merge pull request '이미지 순서변경' (#23) from feature/cha into dev

Reviewed-on: #23
This commit is contained in:
ysCha 2025-05-14 11:07:49 +09:00
commit 4799f03963

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()) {