doc: 添加注释

This commit is contained in:
caoqianming 2023-11-20 19:08:10 +08:00
parent c20c0e5ae7
commit a7204ec897
1 changed files with 5 additions and 0 deletions

View File

@ -307,6 +307,11 @@ class HandoverViewSet(CustomModelViewSet):
class AttlogViewSet(CustomModelViewSet): class AttlogViewSet(CustomModelViewSet):
"""
list: 车间到岗
车间到岗
"""
queryset = AttLog.objects.all() queryset = AttLog.objects.all()
serializer_class = AttLogSerializer serializer_class = AttLogSerializer
select_related_fields = ['user', 'post', 'sflog'] select_related_fields = ['user', 'post', 'sflog']