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