/// <summary>
        /// 通过外键获取附件列表
        /// </summary>
        /// <param name="fkid"></param>
        /// <returns></returns>
        public async Task <ListResultOutput <AttachmentDto> > GetAllList(string fkid)
        {
            var result = await _iAttachmentRepository.GetAllListAsync(q => q.FKey == fkid);

            var outputList = new ListResultOutput <AttachmentDto>(result.MapTo <List <AttachmentDto> >());

            return(outputList);
        }