using System; using System.Collections.Generic; using System.Linq; using System.Web; using Estsh.Web.Dal; using System.Collections; using Estsh.Web.Util; using System.Data; /*************************************************************************************************** * * 作者:龚泽宇 * 创建时间:2015.12.21 * 描述:发运管理 * 修改日志:龚泽宇 * * *************************************************************************************************/ namespace Estsh.Core.Services { /// /// 发运管理 /// public class ShipManagementService { private ShipManagementDal dal = new ShipManagementDal(RemotingProxyProvider._remotingProxy); /// /// 根据分页条件获取用户列表 /// /// /// /// /// /// public Hashtable getShipManagementListByPage(Pager pager, String direction, String sort, string cbCustPDLine, string txtStartTime, string txtEndTime, string txtStartSeq, string txtEndSeq) { Hashtable result = new Hashtable(); String strWhere = " 1=1 "; result = dal.getListByPage(pager.pageSize, pager.pageNo, strWhere, cbCustPDLine, txtStartTime, txtEndTime, txtStartSeq, txtEndSeq); return result; } /// /// 获取客户产线列表 /// /// public ArrayList GetCustPDLine() { Hashtable result = new Hashtable(); DataTable dt = dal.GetCustPDLine(); return DataTypeConvert.NewObject.DataTableToArrayList(dt); } /// /// 状态变更 /// /// /// public int stateChanges(string ids, string a) { Hashtable result = new Hashtable(); int count = dal.stateChanges(ids, a); return count; } } }