using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bowin.Common.Linq.Entity;
using EMIS.ViewModel;
using EMIS.ViewModel.TeachingMaterial;
namespace EMIS.CommonLogic.TeachingMaterial
{
public interface IStockInServices
{
///
/// 自动生成入库信息
///
///
///
void AutoNewStockIn(Guid? schoolyearID, Guid? userId);
///
/// 入库列表信息
///
IGridResultSet GetStockInViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList stockInTypeIDList, int pageIndex, int pageSize);
///
/// 入库列表Excel导出
///
IList GetStockInViewList(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList stockInTypeIDList);
///
/// 获取入库需要的教材数据
///
///
///
///
///
///
///
///
///
///
IGridResultSet GetStockInByTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? teachingMaterialPoolID, Guid? coursematerialID, decimal? discount, int pageIndex, int pageSize);
//保存入库信息
void Save(StockInView stockInView, IList tmList, Guid? userId, string type);
//删除入库信息
void Delete(List stockInIDs);
//删除入库信息
void Submit(List stockInIDs, Guid userId);
StockInView GetSingleStockIn(Guid stockInID);
IList GetStockInByTMViewList(Guid stockInID);
bool IsExistStockInDocumentNo(string stockInDocumentNo);
string GetStockInNo(CF_StockInType stockInType);
}
}