feat: 增加校准/检定记录接口描述

This commit is contained in:
caoqianming 2023-09-06 12:59:48 +08:00
parent 014b861ae2
commit 700dbe5f1f
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ class EquipmentViewSet(CustomModelViewSet):
class EcheckRecordViewSet(ListModelMixin, CreateModelMixin, DestroyModelMixin, CustomGenericViewSet):
"""
list:校准/检定记录
校准/检定记录
"""
perms_map = {'get': '*', 'post': 'echeckreocrd.create', 'put': 'echeckrecord.update', 'delete': 'echeckreocrd.delete'}
queryset = EcheckRecord.objects.all()
serializer_class = EcheckRecordSerializer