feat: bachst添加复杂查询接口
This commit is contained in:
parent
d385fefc4f
commit
e47464805e
|
@ -12,7 +12,7 @@ from apps.system.models import User
|
|||
|
||||
from apps.mtm.models import Material, Process, Route, Mgroup, RoutePack
|
||||
from apps.utils.viewsets import CustomGenericViewSet, CustomModelViewSet
|
||||
from apps.utils.mixins import CustomListModelMixin, BulkCreateModelMixin, BulkDestroyModelMixin
|
||||
from apps.utils.mixins import CustomListModelMixin, BulkCreateModelMixin, ComplexQueryMixin
|
||||
|
||||
from .filters import StLogFilter, SfLogFilter, WMaterialFilter, MlogFilter, HandoverFilter, MlogbFilter, BatchStFilter, MlogbwFilter
|
||||
from .models import (SfLog, SfLogExp, StLog, WMaterial, Mlog, Handover, Mlogb,
|
||||
|
@ -731,7 +731,7 @@ class FmlogViewSet(CustomModelViewSet):
|
|||
ins.save()
|
||||
return Response()
|
||||
|
||||
class BatchStViewSet(ListModelMixin, CustomGenericViewSet):
|
||||
class BatchStViewSet(ListModelMixin, ComplexQueryMixin, CustomGenericViewSet):
|
||||
"""
|
||||
list: 批次统计数据
|
||||
|
||||
|
|
Loading…
Reference in New Issue