Merge pull request '[1429] 모듈이 여러개 인경우 amp 높은순' (#354) from dev into dev-deploy
Reviewed-on: #354
This commit is contained in:
commit
41b1fce8f3
@ -159,9 +159,8 @@ public class PwrGnrSimService {
|
||||
// 4. 계산을 위해 order by 변경 (총용량 DESC) -계산용
|
||||
List<PwrGnrSimRoofResponse> moduleGroupList =
|
||||
roofGroupModuleList.stream()
|
||||
.sorted(
|
||||
Comparator.comparingDouble(PwrGnrSimRoofResponse::getTotSpecification)
|
||||
.reversed()) // 내림차순 정렬
|
||||
// .sorted(Comparator.comparingDouble(PwrGnrSimRoofResponse::getTotSpecification).reversed()) // 내림차순 정렬
|
||||
.sorted(Comparator.comparingDouble(PwrGnrSimRoofResponse::getAmp)) //AMP 올림차순
|
||||
.collect(Collectors.toList());
|
||||
|
||||
// 5. PCS Item 조회
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user