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 = ?

View File

@@ -130,8 +130,8 @@ func (c *OrderController) GetPayStatistics() {
// @Description 经营分析图表
// @Param token header string true "认证token"
// @Param cityCodes query string false "城市id列表"
// @Param fromTime query string false "开始时间"
// @Param toTime query string false "结束时间"
// @Param fromTime query string true "开始时间"
// @Param toTime query string true "结束时间"
// @Param jobIDs query string false "任务IDs"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult