aa
This commit is contained in:
@@ -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{}) {
|
func getFromSqlManage(status int, alies string, cityCodes []int, jobTime, endTime time.Time, jobIDs []int) (sql string, sqlParams []interface{}) {
|
||||||
sql += `
|
sql += `
|
||||||
(SELECT COUNT(b.id) count,
|
(SELECT COUNT(b.id) count
|
||||||
FROM job a
|
FROM job a
|
||||||
JOIN job_order b ON a.id = b.job_id
|
JOIN job_order b ON a.id = b.job_id
|
||||||
WHERE a.deleted_at = ?
|
WHERE a.deleted_at = ?
|
||||||
|
|||||||
@@ -130,8 +130,8 @@ func (c *OrderController) GetPayStatistics() {
|
|||||||
// @Description 经营分析图表
|
// @Description 经营分析图表
|
||||||
// @Param token header string true "认证token"
|
// @Param token header string true "认证token"
|
||||||
// @Param cityCodes query string false "城市id列表"
|
// @Param cityCodes query string false "城市id列表"
|
||||||
// @Param fromTime query string false "开始时间"
|
// @Param fromTime query string true "开始时间"
|
||||||
// @Param toTime query string false "结束时间"
|
// @Param toTime query string true "结束时间"
|
||||||
// @Param jobIDs query string false "任务IDs"
|
// @Param jobIDs query string false "任务IDs"
|
||||||
// @Success 200 {object} controllers.CallResult
|
// @Success 200 {object} controllers.CallResult
|
||||||
// @Failure 200 {object} controllers.CallResult
|
// @Failure 200 {object} controllers.CallResult
|
||||||
|
|||||||
Reference in New Issue
Block a user