This commit is contained in:
苏尹岚
2021-01-08 15:15:44 +08:00
parent e613558f25
commit c4ac98380a
2 changed files with 3 additions and 3 deletions

View File

@@ -356,7 +356,7 @@ type GetManageStatisticsResult struct {
func getFromSqlManage(status int, alies string, cityCodes []int, jobTime, endTime time.Time, jobIDs []int) (sql string, sqlParams []interface{}) {
sql += `
(SELECT COUNT(b.id) count,
(SELECT COUNT(b.id) count
FROM job a
JOIN job_order b ON a.id = b.job_id
WHERE a.deleted_at = ?