IRoomService.cs 608 B

12345678910111213141516171819202122
  1. using Bowin.Common.Linq.Entity;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using YLShipBuildLandMap.Entity.ViewModel.Build;
  7. namespace YLShipBuildLandMap.Services.Build
  8. {
  9. public interface IRoomService
  10. {
  11. IGridResultSet<RoomView> GetRoomList(int pageIndex, int pageSize, Guid? buildingId, Guid? floorId);
  12. Task<RoomView> GetRoomById(Guid? roomId);
  13. Task<int> Save(RoomView data, Guid? userId);
  14. Task<int> Delete(List<Guid> roomIdList);
  15. Task<List<RoomDepOrServiceView>> GetRoomDepOrServiceList();
  16. }
  17. }