feat: 设备增加筛选条件

This commit is contained in:
caoqianming 2023-12-21 21:41:09 +08:00
parent 279be7fe9f
commit ecea592a2b
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class EquipFilterSet(filters.FilterSet):
"keeper": ["exact"],
"type": ["exact"],
"power_kw": ["gte"],
"belong_dept": ["exact"]
}
def filter_tag(self, queryset, name, value):