123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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
- {
- /// <summary>
- /// 自动生成入库信息
- /// </summary>
- /// <param name="schoolyearID"></param>
- /// <param name="userId"></param>
- void AutoNewStockIn(Guid? schoolyearID, Guid? userId);
- /// <summary>
- /// 入库列表信息
- /// </summary>
- IGridResultSet<StockInView> GetStockInViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
- Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList<int?> stockInTypeIDList, int pageIndex, int pageSize);
- /// <summary>
- /// 入库列表Excel导出
- /// </summary>
- IList<StockInView> GetStockInViewList(ViewModel.ConfiguretView configuretView, Guid? schoolyearID,
- Guid? supplierID, DateTime? stockInDJTimeStart, DateTime? stockInDJTimeEnd, int? isLate, IList<int?> stockInTypeIDList);
- /// <summary>
- /// 获取入库需要的教材数据
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="publishID"></param>
- /// <param name="coursematerialID"></param>
- /// <param name="teachingMaterialPoolID"></param>
- /// <param name="teachersOrderID"></param>
- /// <param name="isLate"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<TeachingMaterialPoolView> GetStockInByTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? schoolyearID, Guid? teachingMaterialPoolID, Guid? coursematerialID, decimal? discount, int pageIndex, int pageSize);
- //保存入库信息
- void Save(StockInView stockInView, IList<TeachingMaterialPoolView> tmList, Guid? userId, string type);
- //删除入库信息
- void Delete(List<Guid> stockInIDs);
- //删除入库信息
- void Submit(List<Guid> stockInIDs, Guid userId);
- StockInView GetSingleStockIn(Guid stockInID);
- IList<TeachingMaterialPoolView> GetStockInByTMViewList(Guid stockInID);
- bool IsExistStockInDocumentNo(string stockInDocumentNo);
- string GetStockInNo(CF_StockInType stockInType);
- }
- }
|