IFileService.cs 801 B

1234567891011121314151617181920212223
  1. using Bowin.Common.Linq.Entity;
  2. using YLShipBuildLandMap.Entity;
  3. using YLShipBuildLandMap.Entity.ViewModel.SystemSetting;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace YLShipBuildLandMap.Services.Common
  9. {
  10. public interface IFileService
  11. {
  12. Task<int> AddFile(List<SysAttachment> fileList);
  13. Task<IGridResultSet<AttachmentView>> GetFileList(int pageIndex, int pageSize, Guid fileRefId, int? fileType);
  14. Task<IGridResultSet<AttachmentView>> GetFileList(int pageIndex, int pageSize, int? fileType,List<Guid> ids);
  15. Task<SysAttachment> GetFileById(Guid fileId);
  16. Task<int> DeleteFileById(Guid fileId);
  17. Task<int> DelfileByRefID(Guid noDeleteFileId, Guid fileRefId, int? fileType);
  18. }
  19. }