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