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.

71 lines
2.1 KiB
C#

2 years ago
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
{
/// <summary>
/// 发运管理
/// </summary>
public class ShipManagementService
{
private ShipManagementDal dal = new ShipManagementDal(RemotingProxyProvider._remotingProxy);
/// <summary>
/// 根据分页条件获取用户列表
/// </summary>
/// <param name="account"></param>
/// <param name="pager"></param>
/// <param name="direction"></param>
/// <param name="sort"></param>
/// <returns></returns>
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;
}
/// <summary>
/// 获取客户产线列表
/// </summary>
/// <returns></returns>
public ArrayList GetCustPDLine()
{
Hashtable result = new Hashtable();
DataTable dt = dal.GetCustPDLine();
return DataTypeConvert.NewObject.DataTableToArrayList(dt);
}
/// <summary>
/// 状态变更
/// </summary>
/// <param name="ids"></param>
/// <returns></returns>
public int stateChanges(string ids, string a)
{
Hashtable result = new Hashtable();
int count = dal.stateChanges(ids, a);
return count;
}
}
}