aa
This commit is contained in:
@@ -168,6 +168,8 @@ func GetManageStatisticsImg(ctx *jxcontext.Context, cityCodes []int, fromTime, t
|
|||||||
for i := 1; i < utils.Float64TwoInt(toTimeT.Sub(fromTimeT).Hours()/24); i++ {
|
for i := 1; i < utils.Float64TwoInt(toTimeT.Sub(fromTimeT).Hours()/24); i++ {
|
||||||
if getManageStatisticsResult, err := dao.GetManageStatistics(db, cityCodes, fromTimeT.AddDate(0, 0, i-1), jobIDs); err == nil {
|
if getManageStatisticsResult, err := dao.GetManageStatistics(db, cityCodes, fromTimeT.AddDate(0, 0, i-1), jobIDs); err == nil {
|
||||||
getManageStatistics = append(getManageStatistics, getManageStatisticsResult)
|
getManageStatistics = append(getManageStatistics, getManageStatisticsResult)
|
||||||
|
} else {
|
||||||
|
fmt.Println("11111111111111111111111111", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return getManageStatistics, err
|
return getManageStatistics, err
|
||||||
|
|||||||
Reference in New Issue
Block a user