Skip to content

Commit

Permalink
fix: lot, 백신명, 제조사명 공백 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyungJu committed May 17, 2024
1 parent 1f6845b commit cf9a262
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ class InoculationService(
it.vaccination.vaccineName,
it.inoculationOrderString,
it.agency,
it.lotNumber ?: "로트번호 정보 없음",
it.vaccineName ?: "백신명 정보 없음",
it.vaccineBrandName ?: "제조사 정보 없음",
if (it.lotNumber.isNullOrEmpty()) "로트번호 정보 없음" else it.lotNumber,
if (it.vaccineName.isNullOrEmpty()) "백신명 정보 없음" else it.vaccineName,
if (it.vaccineBrandName.isNullOrEmpty()) "백신 제조사 정보 없음" else it.vaccineBrandName,
it.date,
)
}.toList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ data class InoculationDetailResponse(
val vaccineName: String,
val order: String,
val agency: String,
val lotNumber: String?,
val vaccineProductName: String?,
val vaccineBrandName: String?,
val lotNumber: String,
val vaccineProductName: String,
val vaccineBrandName: String,
val date: LocalDate,
)

0 comments on commit cf9a262

Please sign in to comment.