refector: hrm serializer去除未使用的导入

This commit is contained in:
caoqianming 2023-09-06 08:38:59 +08:00
parent 9458276ad1
commit 4e06efdc78
1 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,6 @@
from datetime import datetime, timedelta
from datetime import timedelta
from rest_framework.serializers import ModelSerializer
from rest_framework import serializers
from apps.ecm.service import get_ep_default
from apps.hrm.services import HrmService
from apps.utils.fields import MyFilePathField
from django.utils import timezone
@ -12,12 +11,8 @@ from apps.utils.constants import EXCLUDE_FIELDS
from apps.hrm.models import Certificate, ClockRecord, Employee, NotWorkRemark
from apps.system.serializers import DeptSimpleSerializer, UserSimpleSerializer
from django.db import transaction
from apps.third.dahua import dhClient
from apps.third.tapis import dhapis
from django.conf import settings
from django.core.cache import cache
from apps.utils.tools import check_id_number_e, check_phone_e, get_info_from_id
from apps.am.models import Area
from apps.utils.tools import check_id_number_e, get_info_from_id
class EmployeeSimpleSerializer(CustomModelSerializer):