public async Task <ListBaseResponse <DoorEventQueryResponse> > GetTestEventList(DoorEventQueryRequest request)
        {
            var list = new ListBaseResponse <DoorEventQueryResponse>();

            list.List  = new List <DoorEventQueryResponse>();
            list.Total = 100;
            int start = (request.PageNo - 1) * request.PageSize + 1;
            int end   = request.PageNo * request.PageSize;

            if (end > list.Total)
            {
                end = list.Total;
            }
            for (int index = start; index <= end; index++)
            {
                list.List.Add(new DoorEventQueryResponse()
                {
                    DoorName    = index + "",
                    PersonName  = "张三",
                    EventTime   = DateTime.Now,
                    OrgName     = "技术部",
                    PersonJobNo = "0000" + index,
                    PersonPhone = "15538221326"
                });
            }
            return(list);
        }
 public async Task <ListBaseResponse <DoorEventQueryResponse> > GetEventList(DoorEventQueryRequest request)
 {
     return(await _doorControlService.GetEventList(request));
 }