...
|
...
|
@@ -153,8 +153,8 @@ func (dao *TaskDao) CalculateSystemTask(companyId int64) (map[string]interface{} |
|
|
if count, err := tx.Model(taskModel).
|
|
|
Where("task.company_id = ?", companyId).
|
|
|
Where("task.task_status = ? ", domain.TASK_STATUS_COMPLETED).
|
|
|
Where("task.task_status <> ? ", domain.TASK_STATUS_CLOSED).
|
|
|
Where("task.task_status <> ? ", domain.TASK_STATUS_UNRELEASED).
|
|
|
//Where("task.task_status <> ? ", domain.TASK_STATUS_CLOSED).
|
|
|
//Where("task.task_status <> ? ", domain.TASK_STATUS_UNRELEASED).
|
|
|
Count(); err != nil {
|
|
|
return nil, err
|
|
|
} else {
|
...
|
...
|
|