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