|
|
@@ -897,10 +897,13 @@ func getBonusWeekDataMap() map[int64][]int { |
|
|
|
if len(aLine) < 4 { |
|
|
|
continue |
|
|
|
} |
|
|
|
log.Info("aLine=" + lines[j]) |
|
|
|
|
|
|
|
userId := getInt64Value(aLine[0]) |
|
|
|
order := getIntValue(aLine[2]) |
|
|
|
money := getIntValue(aLine[3]) |
|
|
|
week, num := getWeekAndNum(filenames[i]) |
|
|
|
log.Info("userId=" + fmt.Sprint(userId) + " order=" + fmt.Sprint(order) + " money=" + fmt.Sprint(money) + " week=" + fmt.Sprint(week) + " num=" + fmt.Sprint(num)) |
|
|
|
//email := lines[2] |
|
|
|
record, ok := bonusMap[userId] |
|
|
|
if !ok { |
|
|
|