Compare commits

...

2 Commits

Author SHA1 Message Date
4799f03963 Merge pull request '이미지 순서변경' (#23) from feature/cha into dev
Reviewed-on: #23
2025-05-14 11:07:49 +09:00
cha
f90a4a59b7 이미지 순서변경 2025-05-14 11:06:21 +09:00

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