public async Task <ResultViewModel <PageDataDTO <List <OrderDTO> > > > GetMemberOrderListByFilter([FromBody] MemberOrderQueryParams orderQueryParams) { string shopId = ""; string menberId = ""; PageDataDTO <List <Order> > data = await orderBusiness.GetByFilter(shopId, menberId, orderQueryParams.OrderStatus, orderQueryParams.PageSize, orderQueryParams.PageIndex); List <OrderDTO> dataRes = AutoMapperUtil.Singleton.Map <List <OrderDTO> >(data.Data); PageDataDTO <List <OrderDTO> > res = new PageDataDTO <List <OrderDTO> > { Total = data.Total, Data = dataRes }; return(new ResultViewModel <PageDataDTO <List <OrderDTO> > > { Code = ResultCode.Success, Message = ResultMessage.Success, Data = res }); }