This commit is contained in:
苏尹岚
2021-01-08 15:44:26 +08:00
parent 8b1ddf6b89
commit 79097e11df

View File

@@ -409,6 +409,7 @@ func getWhereSqlManage(cityCodes []int, jobTime, endTime time.Time, jobIDs []int
func GetManageStatistics(db *DaoDB, cityCodes []int, jobTime time.Time, jobIDs []int) (getManageStatisticsResult *GetManageStatisticsResult, err error) {
endTime := jobTime.AddDate(0, 0, 1)
sqlParams := []interface{}{}
getManageStatisticsResult = &GetManageStatisticsResult{}
sql := `
SELECT t1.count acceptCount, t2.count finish_count, t3.count cancel_count, t4.browse_count, t6.total_cash
FROM