...
|
...
|
@@ -718,7 +718,7 @@ func (srv TaskService) ListTask2(param *command.SearchTaskCommand) (map[string]i |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取任务列表"+err.Error())
|
|
|
}
|
|
|
//查到的任务数据总数
|
|
|
taskCount, err := taskDao.CountTaskStageNotHrbp(condition)
|
|
|
taskCount, err := taskDao.CountTaskNotHrbp(condition)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统计任务总数"+err.Error())
|
|
|
}
|
...
|
...
|
@@ -827,7 +827,7 @@ func (srv TaskService) listTask2ForHrbp(param *command.SearchTaskCommand) (map[s |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取任务列表"+err.Error())
|
|
|
}
|
|
|
taskCount, err := taskDao.CountTaskStageByHrbp(condition)
|
|
|
taskCount, err := taskDao.CountTaskByHrbp(condition)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统计任务总数"+err.Error())
|
|
|
}
|
...
|
...
|
@@ -1203,7 +1203,7 @@ func (srv TaskService) ListTask3(param *command.SearchTaskCommand) (map[string]i |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取任务列表"+err.Error())
|
|
|
}
|
|
|
//查到的任务数据总数
|
|
|
taskCount, err := taskDao.CountTaskStageNotHrbp(condition)
|
|
|
taskCount, err := taskDao.CountTaskNotHrbp(condition)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统计任务总数"+err.Error())
|
|
|
}
|
...
|
...
|
@@ -1344,7 +1344,7 @@ func (srv TaskService) listTask3ForHrbp(param *command.SearchTaskCommand) (map[s |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取任务列表"+err.Error())
|
|
|
}
|
|
|
//查到的任务数据总数
|
|
|
taskCount, err := taskDao.CountTaskStageNotHrbp(condition)
|
|
|
taskCount, err := taskDao.CountTaskByHrbp(condition)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "统计任务总数"+err.Error())
|
|
|
}
|
...
|
...
|
|