feat: batchst添加查询条件

This commit is contained in:
caoqianming 2025-03-24 15:18:44 +08:00
parent d4df340c1c
commit b9a3427162
1 changed files with 2 additions and 1 deletions

View File

@ -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):