feat: mlogb增加查询条件以支持查询返工记录

This commit is contained in:
caoqianming 2024-11-21 11:25:31 +08:00
parent 9014a7c869
commit 93cabf0ebc
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ class MlogbFilter(filters.FilterSet):
fields = {
"mlog": ["exact"],
"mtask": ["exact"],
"wm_in": ["exact"],
"mlog__submit_time": ["isnull"],
"wm_in__state": ["exact"],
"material_in": ["exact", "isnull"],
"material_out": ["exact", "isnull"],
}