fix: mpointstat增加查询条件
This commit is contained in:
parent
dbe1635788
commit
fdf67b5dc5
|
@ -29,8 +29,8 @@ class MpointStatFilter(filters.FilterSet):
|
||||||
"year_s": ["exact"],
|
"year_s": ["exact"],
|
||||||
"create_by": ["exact"],
|
"create_by": ["exact"],
|
||||||
"type": ["exact"],
|
"type": ["exact"],
|
||||||
"is_all": ["exact"],
|
"mpoint__is_all": ["exact"],
|
||||||
"is_auto": ["exact"]
|
"mpoint__is_auto": ["exact"]
|
||||||
}
|
}
|
||||||
|
|
||||||
def filter_has_create_by(self, queryset, name, value):
|
def filter_has_create_by(self, queryset, name, value):
|
||||||
|
|
Loading…
Reference in New Issue