Browse Source

Merge remote-tracking branch 'origin/V20221214' into gcu

gcu
chenyifan01 2 years ago
parent
commit
19ce11a96f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      models/user_business_analysis.go

+ 3
- 1
models/user_business_analysis.go View File

@@ -785,8 +785,9 @@ func isUserYearData(tableName string) bool {
if currentTimeNow.Year() >= 2023 {
return false
}
return true
}
return true
return false
}

func getBonusMap() map[string]map[string]int {
@@ -811,6 +812,7 @@ func getBonusMap() map[string]map[string]int {
record, ok := bonusMap[userName]
if !ok {
record = make(map[string]int)
bonusMap[userName] = record
}
record["times"] = getMapKeyStringValue("times", record) + getIntValue(aLine[3])
record["total_bonus"] = getMapKeyStringValue("total_bonus", record) + getIntValue(aLine[4])


Loading…
Cancel
Save