123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.Entities;
- using EMIS.ViewModel;
- using EMIS.ViewModel.EnrollManage.SpecialtyManage;
- namespace EMIS.CommonLogic.EnrollManage.SpecialtyManage
- {
- public interface ISpecialtyServices
- {
- /// <summary>
- /// 查询对应的专业信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="scienceclassID"></param>
- /// <param name="propertyID"></param>
- /// <param name="recordStatus"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetSpecialtyViewGrid(ConfiguretView configuretView, int? standardID, int? educationID, int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的专业信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="scienceclassID"></param>
- /// <param name="propertyID"></param>
- /// <param name="recordStatus"></param>
- /// <returns></returns>
- IList<SpecialtyView> GetSpecialtyViewList(ConfiguretView configuretView, int? standardID, int? educationID, int? learningformID, string learnSystem, int? scienceclassID, int? propertyID, int? recordStatus);
- /// <summary>
- /// 查询对应的专业信息(只查询启用状态的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetSpecialtyIDGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的专业信息SpecialtyView(启用状态为是或已使用的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="specialtyID"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetEnableAndUseSpecialtyViewGrid(ConfiguretView configuretView, Guid? specialtyID, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的专业信息List(启用状态为是或已使用的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="specialtyID"></param>
- /// <returns></returns>
- IList<SpecialtyView> GetEnableAndUseSpecialtyViewList(ConfiguretView configuretView, Guid? specialtyID);
- /// <summary>
- /// 查询对应的专业信息(字典)
- /// </summary>
- /// <param name="standardID"></param>
- /// <param name="standardName"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<Sys_DictionaryItem> GetStandardGrid(int? standardID, string standardName, int pageIndex, int pageSize);
- /// <summary>
- /// 查询专业信息中专业名称SpecialtyView(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="standardName"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetStandardViewGrid(ConfiguretView configuretView, string standardName, int pageIndex, int pageSize);
- /// <summary>
- /// 查询专业信息中学制信息SpecialtyView(去重)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="learnSystem"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetLearnSystemViewGrid(ConfiguretView configuretView, string learnSystem, int pageIndex, int pageSize);
- /// <summary>
- /// 根据专业信息ID查询对应的专业信息CF_Specialty
- /// </summary>
- /// <param name="specialtyID"></param>
- /// <returns></returns>
- CF_Specialty GetSpecialtyInfo(Guid? specialtyID);
- /// <summary>
- /// 根据专业信息ID查询对应的专业信息SpecialtyView
- /// </summary>
- /// <param name="specialtyID"></param>
- /// <returns></returns>
- SpecialtyView GetSpecialtyView(Guid? specialtyID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:专业ID、培养层次、学习形式、学制)
- /// </summary>
- /// <param name="specialtyView"></param>
- void SpecialtyEdit(SpecialtyView specialtyView);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="specialtyIDList"></param>
- /// <returns></returns>
- bool SpecialtyDelete(List<Guid?> specialtyIDList);
- /// <summary>
- /// Excel导入
- /// </summary>
- /// <param name="cellheader"></param>
- /// <param name="inCount"></param>
- /// <param name="upCount"></param>
- /// <param name="errdataList"></param>
- /// <param name="errCount"></param>
- /// <param name="sourcePhysicalPath"></param>
- void SpecialtyImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<SpecialtyView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|