Skip to content

Commit b145559

Browse files
authored
feat: Update EVENTUS and TICKETTACO configurations in EventService (#22)
1 parent 25e2643 commit b145559

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/DotNetDevLottery/Services/Implementations/EventService.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ public class EventService : IEventService
3131
nameCellString = "이름",
3232
phoneCellString = "휴대전화번호",
3333
emailCellString = "이메일",
34-
// 현재 isEnumTicketCell은 EVENTUS를 위한 로직입니다.
35-
// EVENTUS는 현재 티켓이 여러개인 경우를 대응하지 않았습니다.
36-
// ticketCellString 이후 3개 셀 단위로 티켓 이름을 체크합니다.
3734
ticketCellString = "오프라인 전체 출석",
3835
checkedCellString = "오프라인 전체 출석",
3936
uncheckedString = "X",
4037
isOldExcel = false,
38+
// 현재 isEnumTicketCell은 EVENTUS를 위한 로직입니다.
39+
// EVENTUS는 현재 티켓이 여러개인 경우를 대응하지 않았습니다.
40+
// ticketCellString 이후 3개 셀 단위로 티켓 이름을 체크합니다.
4141
isEnumTicketCell = false,
4242
},
4343
new()
4444
{
45-
name = "FESTA",
46-
firstRowCellString = "이름",
47-
nameCellString = "이름",
48-
phoneCellString = "휴대폰",
45+
name = "TICKETTACO",
46+
firstRowCellString = "예약번호",
47+
nameCellString = "예매자",
48+
phoneCellString = "전화번호",
4949
emailCellString = "이메일",
50-
ticketCellString = "티켓",
51-
checkedCellString = "체크인",
52-
uncheckedString = "No",
50+
ticketCellString = "티켓이름",
51+
checkedCellString = "체크인 시간",
52+
uncheckedString = "-",
5353
isOldExcel = false,
5454
isEnumTicketCell = true,
5555
},
@@ -178,7 +178,7 @@ public async Task LoadUserInfoListAsync(int eventInfoIndex, IBrowserFile file, C
178178
var checkedString = eventInfo.uncheckedString ?? string.Empty;
179179
// ONOFFMIX = (Date) / (Empty)
180180
// EVENTUS = O / X
181-
// FESTA = Yes / No
181+
// TICKETTACO = (Date) / -
182182
var isChecked = (currentRow.GetCell(isCheckedIndex)?.ToString() ?? string.Empty) != checkedString;
183183

184184
var ticketType = string.Empty;

0 commit comments

Comments
 (0)