1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel;
- using EMIS.ViewModel.EnrollManage.NewStudentManage;
- namespace EMIS.CommonLogic.EnrollManage.NewStudentManage
- {
- public interface INewStudentServices
- {
- /// <summary>
- /// 查询对应的新生名单信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="isPhoto"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<NewStudentView> GetNewStudentViewGrid(ConfiguretView configuretView, int? gradeID, int? standardID, int? educationID, int? learningformID, string learnSystem, int? isPhoto, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的新生名单信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="gradeID"></param>
- /// <param name="standardID"></param>
- /// <param name="educationID"></param>
- /// <param name="learningformID"></param>
- /// <param name="learnSystem"></param>
- /// <param name="isPhoto"></param>
- /// <returns></returns>
- IList<NewStudentView> GetNewStudentViewList(ConfiguretView configuretView, int? gradeID, int? standardID, int? educationID, int? learningformID, string learnSystem, int? isPhoto);
- /// <summary>
- /// 查询对应的新生名单信息NewStudentView
- /// </summary>
- /// <param name="newStudentID"></param>
- /// <returns></returns>
- NewStudentView GetNewStudentView(Guid? newStudentID);
- /// <summary>
- /// 编辑(新增、修改,业务主键:考生号唯一)
- /// </summary>
- /// <param name="newStudentView"></param>
- /// <param name="photoUrl"></param>
- void NewStudentEdit(NewStudentView newStudentView, string photoUrl);
- /// <summary>
- /// 删除
- /// </summary>
- /// <param name="newStudentIDList"></param>
- /// <returns></returns>
- bool NewStudentDelete(List<Guid?> newStudentIDList);
- /// <summary>
- /// 删除照片(单个删除)
- /// </summary>
- /// <param name="newStudentID"></param>
- void DeletePhoto(Guid? newStudentID);
- /// <summary>
- /// 删除照片(批量删除)
- /// </summary>
- /// <param name="newStudentIDs"></param>
- /// <returns></returns>
- bool PicDelete(List<Guid?> newStudentIDs);
- /// <summary>
- /// 导入照片
- /// </summary>
- /// <param name="photoPaths"></param>
- /// <param name="importPicType"></param>
- /// <param name="inCount"></param>
- /// <param name="errCount"></param>
- /// <param name="errDataTable"></param>
- void NewStudentPicImport(IList<string> photoPaths, string importPicType, out int? inCount, out int? errCount, out DataTable errDataTable);
- /// <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 NewStudentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<NewStudentView> errdataList, out int? errCount, string sourcePhysicalPath);
- }
- }
|