견적서 저장 API 회로 중괄호 제거처리

This commit is contained in:
LAPTOP-L3VE7KK2\USER 2025-02-06 15:10:31 +09:00
parent 577107f9a2
commit 40831b4672
2 changed files with 2 additions and 1 deletions

View File

@ -717,6 +717,7 @@ public class EstimateService {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR); throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR);
} }
} }
@ -2223,7 +2224,7 @@ public class EstimateService {
// ArrayList 생성 변환 // ArrayList 생성 변환
ArrayList<String> list = new ArrayList<String>(); ArrayList<String> list = new ArrayList<String>();
for (ItemRequest pcsSerItemReq : circuitList) { for (ItemRequest pcsSerItemReq : circuitList) {
list.add(pcsSerItemReq.getCircuit()); list.add(pcsSerItemReq.getCircuit().replaceAll("\\(", "").replaceAll("\\)", ""));
} }
// ArrayList 회로 중복수 오름차순 정렬 // ArrayList 회로 중복수 오름차순 정렬