Compare commits

..

No commits in common. "2f135759a57bad78dab924a7893cc8727372f474" and "69d574a8e56e60936bf3d66911ff788e7e69095f" have entirely different histories.

View File

@ -2044,7 +2044,7 @@ func GetTaskAssignRecordsList(req *TaskAssignRecordsQueryRequest) ([]*model.Task
}
// 执行汇总查询(不分页)
errSum := sumQuery.Select("\n SUM(task_assign_records.assign_video_script_count) AS total_pending_video_script_count,\n SUM(task_assign_records.assign_video_count) AS total_pending_video_count,\n SUM(task_assign_records.assign_post_count) AS total_pending_post_count,\n SUM(task_assign_records.assign_data_count) AS total_pending_data_count,\n SUM(task_assign_records.complete_video_script_count) AS total_complete_video_script_count,\n SUM(task_assign_records.complete_video_count) AS total_complete_video_count,\n SUM(task_assign_records.complete_post_count) AS total_complete_post_count,\n SUM(task_assign_records.complete_data_count) AS total_complete_data_count\n ").Scan(&summary).Error
errSum := sumQuery.Select("\n SUM(task_assign_records.pending_video_script_count) AS total_pending_video_script_count,\n SUM(task_assign_records.pending_video_count) AS total_pending_video_count,\n SUM(task_assign_records.pending_post_count) AS total_pending_post_count,\n SUM(task_assign_records.pending_data_count) AS total_pending_data_count,\n SUM(task_assign_records.complete_video_script_count) AS total_complete_video_script_count,\n SUM(task_assign_records.complete_video_count) AS total_complete_video_count,\n SUM(task_assign_records.complete_post_count) AS total_complete_post_count,\n SUM(task_assign_records.complete_data_count) AS total_complete_data_count\n ").Scan(&summary).Error
if errSum != nil {
return nil, 0, nil, commonErr.ReturnError(errSum, "查询操作记录汇总失败", "查询操作记录汇总失败: ")
}