IAnnouncementService.cs 1.2 KB

1234567891011121314151617181920212223242526
  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.SystemSetting
  9. {
  10. public interface IAnnouncementService
  11. {
  12. IGridResultSet<SysAnnouncement> GetAnnouncementPageList(Guid userID, int? pageIndex = null, int? pageSize = null);
  13. IGridResultSet<AnnouncementView> GetAnnouncementViewList(
  14. string title, DateTime? startDate, DateTime? endDate, int? pageIndex = null, int? pageSize = null);
  15. AnnouncementView GetAnnouncementView(Guid announcementID);
  16. IList<AnnouncementRoleView> GetAnnouncementRoleViewList(Guid announcementID);
  17. IList<AnnouncementUserView> GetAnnouncementUserViewList(Guid announcementID);
  18. Task Save(AnnouncementView announce, List<AnnouncementRoleView> roleList, List<AnnouncementUserView> userList, Guid operatorID);
  19. Task Delete(List<Guid> announcementIDList);
  20. IGridResultSet<AnnouncementView> GetAnnouncementNewList(string title, DateTime? nowDate, Guid? userId, DateTime? startDate, DateTime? endDate,int? pageIndex = null, int? pageSize = null);
  21. }
  22. }