You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.7 KiB
C#

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
{
/// <summary>
///
/// </summary>
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;
}
/// <summary>
/// 获取工厂
/// </summary>
/// <returns></returns>
public ArrayList GetFactory()
{
Hashtable result = new Hashtable();
DataTable dt = dal.GetFactory();
return DataTypeConvert.NewObject.DataTableToArrayList(dt);
}
/// <summary>
/// 获取供应商
/// </summary>
/// <returns></returns>
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;
}
/// <summary>
/// 订单确认
/// </summary>
/// <returns></returns>
public bool dingDanQueRen(string ebeln)
{
Hashtable result = new Hashtable();
bool bool_1 = dal.dingDanQueRen(ebeln);
return bool_1;
}
/// <summary>
/// 发运确认
/// </summary>
/// <returns></returns>
public bool shipQueRen(string ebeln)
{
Hashtable result = new Hashtable();
bool bool_1 = dal.shipQueRen(ebeln);
return bool_1;
}
}
}