This commit is contained in:
@@ -16,7 +16,7 @@ func NewTaskService() *TaskService {
|
||||
&cool.Service{
|
||||
Model: model.NewTaskConfig(),
|
||||
PageQueryOp: &cool.QueryOp{
|
||||
FieldEQ: []string{"task_type"},
|
||||
FieldEQ: []string{"task_type", "task_id"},
|
||||
KeyWordField: []string{"remark"},
|
||||
},
|
||||
//UniqueKey: map[string]string{"task_id": "索引不能重复"},
|
||||
|
||||
Reference in New Issue
Block a user