feat: wpr增加查询条件
This commit is contained in:
parent
957938f8dd
commit
8838227919
|
@ -21,7 +21,8 @@ class WprViewSet(CustomListModelMixin, RetrieveModelMixin, CustomGenericViewSet)
|
||||||
"wm": ["exact", "isnull"],
|
"wm": ["exact", "isnull"],
|
||||||
"material__process": ["exact"],
|
"material__process": ["exact"],
|
||||||
"state": ["exact"],
|
"state": ["exact"],
|
||||||
"defects": ["exact"]
|
"defects": ["exact"],
|
||||||
|
"number": ["exact"]
|
||||||
}
|
}
|
||||||
ordering = ["-create_time"]
|
ordering = ["-create_time"]
|
||||||
ordering_fields = ["number", "create_time", "update_time"]
|
ordering_fields = ["number", "create_time", "update_time"]
|
||||||
|
|
Loading…
Reference in New Issue