Browse Source

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

pull/3432/head
zouap 2 years ago
parent
commit
f301331d0a
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