Skip to content

Commit

Permalink
[BUG FIX] #402: HMG 데이터 0 이하일 시 없는 것으로 판단하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tank3a committed Aug 22, 2023
1 parent 78a2584 commit 08e4579
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public List<DefaultOptionDto> getDefaultOptionList(int carId) {
.optionName(data.getOptionName())
.optionCategoryName(data.getOptionCategoryName())
.optionImage(data.getOptionImage())
.hasHmgData(data.getOptionUsedCount() != null).build()).collect(Collectors.toList());
.hasHmgData(data.getOptionUsedCount() > 0).build()).collect(Collectors.toList());
}

//TODO: RuntimeException 처리
Expand Down

0 comments on commit 08e4579

Please sign in to comment.