feat: batchst添加查询条件
This commit is contained in:
parent
d4df340c1c
commit
b9a3427162
|
@ -178,7 +178,8 @@ class BatchStFilter(filters.FilterSet):
|
||||||
"last_time": ["exact", "gte", "lte"],
|
"last_time": ["exact", "gte", "lte"],
|
||||||
"update_time": ["exact", "gte", "lte"],
|
"update_time": ["exact", "gte", "lte"],
|
||||||
"material_start": ["exact"],
|
"material_start": ["exact"],
|
||||||
"material_start__type": ["exact"]
|
"material_start__type": ["exact"],
|
||||||
|
"material_start__process": ["exact"]
|
||||||
}
|
}
|
||||||
|
|
||||||
def filter_batch(self, queryset, name, value):
|
def filter_batch(self, queryset, name, value):
|
||||||
|
|
Loading…
Reference in New Issue