feat: base 部门查询增加contains

This commit is contained in:
caoqianming 2023-11-27 22:55:32 +08:00
parent 014b21ba2b
commit d6e241fc49
1 changed files with 1 additions and 1 deletions

View File

@ -25,5 +25,5 @@ class DeptFilterSet(filters.FilterSet):
model = Dept
fields = {
'type': ['exact', 'in'],
'name': ['exact', 'in']
'name': ['exact', 'in', 'contains']
}