using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bowin.Common.Linq.Entity;
using EMIS.ViewModel.GraduationManage.GraduationSetting;
using EMIS.ViewModel;
using EMIS.Entities;
namespace EMIS.CommonLogic.GraduationManage.GraduationSetting
{
public interface IGraduationConditionPackageServices
{
///
/// 查询对应的毕业公式信息View(只查询毕业公式信息,不查询毕业公式对应的毕业条件)
///
///
///
///
///
///
IGridResultSet GetGradConditionPackageViewGrid(ConfiguretView configuretView, int? isDefault, int pageIndex, int pageSize);
///
/// 查询对应的毕业公式信息List
///
///
///
///
List GetGradConditionPackageViewList(ConfiguretView configuretView, int? isDefault);
///
/// 根据毕业公式ID查询对应的毕业公式信息GraduationConditionPackageView
///
///
///
GraduationConditionPackageView GetGraduationConditionPackageView(Guid? GraduationConditionPackageID);
///
/// 根据毕业公式ID查询对应的毕业条件信息List
///
///
///
List GetGraduationConditionList(Guid? GraduationConditionPackageID);
///
/// 查询毕业公式中未存在的毕业条件信息View
///
///
///
///
///
///
///
IGridResultSet GetGraduationConditionNoViewGrid(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent, int pageIndex, int pageSize);
///
/// 查询毕业公式中未存在的毕业条件信息List
///
///
///
///
///
IList GetGraduationConditionNoViewList(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent);
///
/// 编辑(新增、修改)
/// 注:判断是否默认状态(同一种学生类别,只有一种默认公式)
/// 暂时不考虑当公式被引用时,不可修改公式中条件的情况
///
///
///
void GraduationConditionPackageEdit(GraduationConditionPackageView graduationConditionPackageView, IList graduationConditionViewList);
///
/// 删除(当对应的毕业公式被引用时,不可删除--毕业公式、对应的毕业条件)
///
///
///
bool GraduationConditionPackageDelete(List graduationConditionPackageIDs);
///
/// 根据学生类别查询对应的默认毕业公式信息View(GraduationConditionPackageView)
///
///
///
GraduationConditionPackageView GetGradConditionPackageIsDefaultView(int? studentType);
}
}