using System; using System.Collections.Generic; using System.Linq; using System.Web; using Estsh.Web.Util; using System.Data; using Estsh.Web.Dal; using System.Collections; using System.IO; using NPOI.HSSF.UserModel; using Com.Estsh.MES.App; using System.Text; using Aspose.Cells; using DbCommon; /*************************************************************************************************** * * 作者:王勇 * * *************************************************************************************************/ namespace Estsh.Core.Services { /// /// /// public class MonthOrderListService { private MonthOrderListDal dal = new MonthOrderListDal(RemotingProxyProvider._remotingProxy); public Hashtable getStockMonthOrderListByPage(Pager pager, String direction,string str) { Hashtable result = new Hashtable(); result = dal.getStockMonthOrderListByPage(pager.pageSize, pager.pageNo, str); return result; } public Hashtable getStockOrderDetailByPage(Pager pager, String direction, string str) { Hashtable result = new Hashtable(); result = dal.getStockOrderDetailByPage(pager.pageSize, pager.pageNo, str); return result; } /// /// 获取工厂 /// /// public ArrayList GetFactory() { Hashtable result = new Hashtable(); DataTable dt = dal.GetFactory(); return DataTypeConvert.NewObject.DataTableToArrayList(dt); } /// /// 获取供应商 /// /// public ArrayList GetVendor() { Hashtable result = new Hashtable(); DataTable dt = dal.GetVendor(); return DataTypeConvert.NewObject.DataTableToArrayList(dt); } public DataTable updatePrintData(string ebeln) { DataTable dt = new DataTable(); dt = this.dal.updatePrintData(ebeln); return dt; } /// /// 订单确认 /// /// public bool dingDanQueRen(string ebeln) { Hashtable result = new Hashtable(); bool bool_1 = dal.dingDanQueRen(ebeln); return bool_1; } /// /// 发运确认 /// /// public bool shipQueRen(string ebeln) { Hashtable result = new Hashtable(); bool bool_1 = dal.shipQueRen(ebeln); return bool_1; } } }