1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.CalendarManage;
- using EMIS.ViewModel;
- using EMIS.Entities;
- namespace EMIS.CommonLogic.CalendarManage
- {
- public interface IDutyServices
- {
- /// <summary>
- /// 查询值班管理信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="departmentID">负责部门/科室</param>
- /// <param name="campusID">校区ID</param>
- /// <param name="collegeID">学院ID</param>
- /// <param name="timesSegment">时间段</param>
- /// <param name="pageIndex">页码</param>
- /// <param name="pageSize">显示页数</param>
- /// <returns></returns>
- IGridResultSet<DutyView> GetDutyViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? timesSegment, int pageIndex, int pageSize);
- /// <summary>
- /// 查询值班管理信息
- /// </summary>
- /// <param name="configuretView">查询条件实体</param>
- /// <param name="departmentID">负责部门/科室</param>
- /// <param name="timesSegment">时间段</param>
- /// <returns></returns>
- List<DutyView> GetDutyViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, Guid? departmentID, int? timesSegment);
- /// <summary>
- /// 获取值班管理信息
- /// </summary>
- /// <param name="dutyID">主键ID</param>
- /// <returns></returns>
- EM_duty GetDuty(Guid? dutyID);
- /// <summary>
- /// 获取值班管理信息
- /// </summary>
- /// <param name="userID">值班人ID</param>
- /// <param name="dutyTime">值班日期</param>
- /// <param name="timesSegment">时间段</param>
- /// <param name="departmentID">负责部门/科室</param>
- /// <returns></returns>
- EM_duty GetDuty(Guid userID, DateTime dutyTime, int timesSegment, Guid departmentID);
- /// <summary>
- /// 获取值班管理信息
- /// </summary>
- /// <param name="dutyID">主键ID</param>
- /// <returns></returns>
- DutyView GetDutyView(Guid? dutyID);
- /// <summary>
- /// 添加
- /// </summary>
- /// <param name="duty">实体</param>
- /// <returns></returns>
- bool DutyAdd(DutyView dutyView);
- /// <summary>
- /// 修改
- /// </summary>
- /// <param name="duty">实体</param>
- /// <returns></returns>
- bool DutyUpdate(DutyView dutyView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="dutyIDs"></param>
- /// <returns></returns>
- bool DutyDelete(List<Guid> dutyIDs);
- }
- }
|