|
@@ -150,7 +150,6 @@ func (dao *TaskDao) CalculateSystemTask(companyId int64) (map[string]interface{} |
|
@@ -150,7 +150,6 @@ func (dao *TaskDao) CalculateSystemTask(companyId int64) (map[string]interface{} |
150
|
} else {
|
150
|
} else {
|
151
|
underway = int64(count)
|
151
|
underway = int64(count)
|
152
|
}
|
152
|
}
|
153
|
- // TODO 同步搜索任务条件
|
|
|
154
|
if count, err := tx.Model(taskModel).
|
153
|
if count, err := tx.Model(taskModel).
|
155
|
Where("task.company_id = ?", companyId).
|
154
|
Where("task.company_id = ?", companyId).
|
156
|
Where("task.task_status = ? ", domain.TASK_STATUS_COMPLETED).
|
155
|
Where("task.task_status = ? ", domain.TASK_STATUS_COMPLETED).
|
|
@@ -174,7 +173,6 @@ func (dao *TaskDao) CalculateSystemTask(companyId int64) (map[string]interface{} |
|
@@ -174,7 +173,6 @@ func (dao *TaskDao) CalculateSystemTask(companyId int64) (map[string]interface{} |
174
|
reward = int64(count)
|
173
|
reward = int64(count)
|
175
|
}
|
174
|
}
|
176
|
return map[string]interface{}{
|
175
|
return map[string]interface{}{
|
177
|
- //"released": released + underway + completed,
|
|
|
178
|
"released": released,
|
176
|
"released": released,
|
179
|
"underway": underway,
|
177
|
"underway": underway,
|
180
|
"completed": completed,
|
178
|
"completed": completed,
|