public ServiceResult <StatementDetailDTO> StatementDetail(Guid statementId)
        {
            ServiceResult <StatementDetailDTO> result    = new ServiceResult <StatementDetailDTO>();
            InvestorOrderComponent             component = new InvestorOrderComponent();

            result.Data = component.StatementDetail(this.GetAccountId(), statementId);
            result.Successful();
            return(result);
        }
        public ServiceResult <OrderDetailDTO> OrderDetail(Guid orderId)
        {
            ServiceResult <OrderDetailDTO> result    = new ServiceResult <OrderDetailDTO>();
            InvestorOrderComponent         component = new InvestorOrderComponent();

            result.Data = component.OrderDetail(this.GetAccountId(), orderId);
            result.Successful();
            return(result);
        }
        public ServiceResult <List <StatementDTO> > List(QueryStatementModel model)
        {
            ServiceResult <List <StatementDTO> > result = new ServiceResult <List <StatementDTO> >();
            InvestorOrderComponent component            = new InvestorOrderComponent();

            result.Data = component.List(
                this.GetAccountId(),
                model.StartTimestamp,
                model.EndTimestamp,
                model.TransactionType,
                model.Cellphone,
                model.PageIndex,
                model.PageSize);

            result.SuccessfulWithExtension(JsonConvert.SerializeObject(new { model.PageIndex, model.PageSize }));
            return(result);
        }