Browse Source

Merge pull request '提交代码,增加数据打印' (#3516) from zouap into V20221228

Reviewed-on: https://openi.pcl.ac.cn/OpenI/aiforge/pulls/3516
Reviewed-by: ychao_1983 <ychao_1983@sina.com>
fix-3470
ychao_1983 2 years ago
parent
commit
f7e0a8088c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      models/user_business_analysis.go

+ 3
- 0
models/user_business_analysis.go View File

@@ -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 {


Loading…
Cancel
Save