aa
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package dao
|
package dao
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
@@ -447,6 +448,8 @@ func GetManageStatistics(db *DaoDB, cityCodes []int, jobTime time.Time, jobIDs [
|
|||||||
sql += `
|
sql += `
|
||||||
) t5
|
) t5
|
||||||
`
|
`
|
||||||
|
fmt.Println(sql)
|
||||||
|
fmt.Println(sqlParams)
|
||||||
err = GetRow(db, &getManageStatisticsResult, sql, sqlParams)
|
err = GetRow(db, &getManageStatisticsResult, sql, sqlParams)
|
||||||
getManageStatisticsResult.Date = jobTime
|
getManageStatisticsResult.Date = jobTime
|
||||||
getManageStatisticsResult.InversionRate = float64(getManageStatisticsResult.FinishCount) / float64(getManageStatisticsResult.BrowseCount)
|
getManageStatisticsResult.InversionRate = float64(getManageStatisticsResult.FinishCount) / float64(getManageStatisticsResult.BrowseCount)
|
||||||
|
|||||||
Reference in New Issue
Block a user