Compare commits

..

No commits in common. "41b1fce8f3ebfc50133b8c36377bb1ce4cddbe1d" and "bb6a2968cfc0955ea5e4c2489bb29371b64853f4" have entirely different histories.

View File

@ -159,8 +159,9 @@ public class PwrGnrSimService {
// 4. 계산을 위해 order by 변경 (총용량 DESC) -계산용
List<PwrGnrSimRoofResponse> moduleGroupList =
roofGroupModuleList.stream()
// .sorted(Comparator.comparingDouble(PwrGnrSimRoofResponse::getTotSpecification).reversed()) // 내림차순 정렬
.sorted(Comparator.comparingDouble(PwrGnrSimRoofResponse::getAmp)) //AMP 올림차순
.sorted(
Comparator.comparingDouble(PwrGnrSimRoofResponse::getTotSpecification)
.reversed()) // 내림차순 정렬
.collect(Collectors.toList());
// 5. PCS Item 조회