...
|
...
|
@@ -34,7 +34,7 @@ func (srv TaskService) listTaskAnomaly2(param *command.ListTaskAnomalyCommand) ( |
|
|
taskAnomalyDao := dao.NewTaskAnomalyDao(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
limit := 500
|
|
|
limit := 1000
|
|
|
offset := 0
|
|
|
if param.SubLevel < 2 {
|
|
|
param.SubLevel = 2
|
...
|
...
|
@@ -203,7 +203,7 @@ func (srv TaskService) listTaskAnomaly3(param *command.ListTaskAnomalyCommand) ( |
|
|
taskAnomalyDao := dao.NewTaskAnomalyDao(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
limit := 500
|
|
|
limit := 1000
|
|
|
offset := 0
|
|
|
cnt, anomalyList, err := taskAnomalyDao.List3(param.UserId, param.CompanyId, param.TaskName, param.Category, param.DayTime, param.LeaderId, limit, offset)
|
|
|
if err != nil {
|
...
|
...
|
@@ -422,7 +422,7 @@ func (srv TaskService) ListTaskAnomaly1(param *command.ListTaskAnomalyCommand) ( |
|
|
taskAnomalyDao := dao.NewTaskAnomalyDao(map[string]interface{}{
|
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
limit := 500
|
|
|
limit := 1000
|
|
|
offset := 0
|
|
|
cnt, anomalyList, err := taskAnomalyDao.List1(param.UserId, param.CompanyId, param.TaskName, param.Category, param.DayTime, limit, offset)
|
|
|
if err != nil {
|
...
|
...
|
|