using Bowin.Common.Linq.Entity; using YLShipBuildLandMap.Entity; using YLShipBuildLandMap.Entity.ViewModel.SystemSetting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace YLShipBuildLandMap.Services.SystemSetting { public interface IAnnouncementService { IGridResultSet GetAnnouncementPageList(Guid userID, int? pageIndex = null, int? pageSize = null); IGridResultSet GetAnnouncementViewList( string title, DateTime? startDate, DateTime? endDate, int? pageIndex = null, int? pageSize = null); AnnouncementView GetAnnouncementView(Guid announcementID); IList GetAnnouncementRoleViewList(Guid announcementID); IList GetAnnouncementUserViewList(Guid announcementID); Task Save(AnnouncementView announce, List roleList, List userList, Guid operatorID); Task Delete(List announcementIDList); IGridResultSet GetAnnouncementNewList(string title, DateTime? nowDate, Guid? userId, DateTime? startDate, DateTime? endDate,int? pageIndex = null, int? pageSize = null); } }