123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.Specialtymanage;
- using EMIS.ViewModel;
- using EMIS.Entities;
- namespace EMIS.CommonLogic.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="standardID"></param>
- /// <param name="standardName"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<Sys_DictionaryItem> GetStandardView(int? standardID, 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> GetLearnSystemViewList(ConfiguretView configuretView, string learnSystem, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的专业信息(只查询启用状态的信息)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<SpecialtyView> GetSpecialtyIDViewList(ConfiguretView configuretView, 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);
- }
- }
|