...
|
...
|
@@ -102,8 +102,7 @@ func (repo *TaskStageRepository) Find(queryOptions map[string]interface{}) (int, |
|
|
tx := repo.transactionContext.PgTx
|
|
|
var m []*models.TaskStage
|
|
|
query := tx.Model(&m).
|
|
|
Where("deleted_at isnull").
|
|
|
Limit(20)
|
|
|
Where("deleted_at isnull")
|
|
|
|
|
|
if val, ok := queryOptions["taskId"]; ok {
|
|
|
query.Where("task_stage.task_id = ?", val)
|
...
|
...
|
|