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.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using Estsh.Web.Util;
|
|
|
|
|
using Estsh.Web.Dal;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
/***************************************************************************************************
|
|
|
|
|
*
|
|
|
|
|
* 作者:贾文涛
|
|
|
|
|
* 创建时间:2014.07.08
|
|
|
|
|
* 描述:目视单打印模块业务处理类
|
|
|
|
|
* 修改日志:
|
|
|
|
|
*
|
|
|
|
|
* *************************************************************************************************/
|
|
|
|
|
namespace Estsh.Core.Services
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目视单打印模块管理业务处理类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class InspPrintService
|
|
|
|
|
{
|
|
|
|
|
private InspPrintDal dal = new InspPrintDal(RemotingProxyProvider._remotingProxy);
|
|
|
|
|
|
|
|
|
|
#region 目视单打印
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 根据分页条件获取列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="account"></param>
|
|
|
|
|
/// <param name="pager"></param>
|
|
|
|
|
/// <param name="direction"></param>
|
|
|
|
|
/// <param name="sort"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Hashtable getJitListByPage(Hashtable requestHt, Pager pager, String direction, String sort,Boolean type)
|
|
|
|
|
{
|
|
|
|
|
Hashtable result = new Hashtable();
|
|
|
|
|
result = dal.getJitListByPage(requestHt, type);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新打印数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="ids"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public int updatePrintData(String ids)
|
|
|
|
|
{
|
|
|
|
|
ids = ids.Substring(1);
|
|
|
|
|
|
|
|
|
|
return this.dal.updatePrintData(ids);
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|