feat: mpoint增加筛选条件
This commit is contained in:
parent
564d8e1796
commit
ac7c3cd29c
|
@ -32,7 +32,8 @@ class MpointViewSet(CustomModelViewSet):
|
|||
select_related_fields = ["create_by", "belong_dept", "ep_monitored", "ep_belong", "mgroup", "material"]
|
||||
filterset_fields = {
|
||||
"belong_dept": ["exact"],
|
||||
"ep_monitored": ["exact"],
|
||||
"ep_monitored": ["exact", "isnull"],
|
||||
"ep_monitored__power_kw": ["exact", "gte"],
|
||||
"ep_belong": ["exact"],
|
||||
"mgroup": ["exact"],
|
||||
"is_rep_mgroup": ["exact"],
|
||||
|
|
Loading…
Reference in New Issue