aa
This commit is contained in:
@@ -165,7 +165,7 @@ func GetManageStatisticsImg(ctx *jxcontext.Context, cityCodes []int, fromTime, t
|
|||||||
fromTimeT = utils.Str2Time(fromTime)
|
fromTimeT = utils.Str2Time(fromTime)
|
||||||
toTimeT = utils.Str2Time(toTime)
|
toTimeT = utils.Str2Time(toTime)
|
||||||
)
|
)
|
||||||
for i := 1; i < utils.Float64TwoInt(toTimeT.Sub(fromTimeT).Hours()/24); i++ {
|
for i := 1; i < utils.Float64TwoInt(toTimeT.Sub(fromTimeT).Hours()/24)+1; i++ {
|
||||||
getManageStatisticsResult, _ := dao.GetManageStatistics(db, cityCodes, fromTimeT.AddDate(0, 0, i-1), jobIDs)
|
getManageStatisticsResult, _ := dao.GetManageStatistics(db, cityCodes, fromTimeT.AddDate(0, 0, i-1), jobIDs)
|
||||||
getManageStatistics = append(getManageStatistics, getManageStatisticsResult)
|
getManageStatistics = append(getManageStatistics, getManageStatisticsResult)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user