Merge pull request 'by Robin at 20240627' (#561) from BUG-20240627-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/561
This commit is contained in:
commit
837a98c7fc
|
@ -94,7 +94,8 @@ func (s *CronService) CreateDailyStatement(ctx context.Context, param *xxl.RunRe
|
|||
if h5countStr == "" {
|
||||
h5countStr = "0"
|
||||
}
|
||||
count, err := strconv.Atoi(h5countStr)
|
||||
h5countStr = strings.ReplaceAll(h5countStr, "\n", "")
|
||||
count, _ := strconv.Atoi(h5countStr)
|
||||
count = count / 2
|
||||
h5querycount += count
|
||||
|
||||
|
@ -105,7 +106,8 @@ func (s *CronService) CreateDailyStatement(ctx context.Context, param *xxl.RunRe
|
|||
if byUserIdCountStr == "" {
|
||||
byUserIdCountStr = "0"
|
||||
}
|
||||
count, err = strconv.Atoi(byUserIdCountStr)
|
||||
byUserIdCountStr = strings.ReplaceAll(byUserIdCountStr, "\n", "")
|
||||
count, _ = strconv.Atoi(byUserIdCountStr)
|
||||
count = count / 2
|
||||
zoneListFromOusideCount += count
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue