天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

89 lines
2.5 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data;
using QMAPP.MESReport.Entity.LineQTY;
using QMAPP.MESReport.DAL.LineQTY;
using QMAPP.BLL;
using QMAPP.Entity;
using System.Data;
namespace QMAPP.MESReport.BLL.LineQTY
{
/// <summary>
/// 生产每日工序设备情况统计-逻辑层对象
/// 创建人:李炳海 于子清 1
/// 创建时间:2017.09.22
/// </summary>
public class LineDWQTYCountBLL : BaseBLL
{
/// <summary>
/// 获取各工序设备日生产情况
/// </summary>
public DataPage GetDayEquQTYByWorkCell(LineQtyCondition condition, DataPage page)
{
return page;
}
#region 获取列表
/// <summary>
/// 获取列表
/// </summary>
/// <param name="condition">条件</param>
/// <param name="page">数据页</param>
/// <returns>数据页</returns>
public DataResult<DataPage> GetList(LineDayQTYCount condition, DataPage page)
{
DataResult<DataPage> result = new DataResult<DataPage>();
try
{
//获取工厂信息列表
DataPage dataPage = new LineDWQTYCountDAL().GetList(condition, page);
result.Result = dataPage;
}
catch (Exception ex)
{
result.IsSuccess = false;
throw ex;
}
result.IsSuccess = true;
return result;
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="condition">条件</param>
/// <returns>全部集合</returns>
public List<LineDayQTYCount> GetAllList(LineDayQTYCount condition)
{
try
{
//获取物料信息列表
List<LineDayQTYCount> list = new LineDWQTYCountDAL().GetAllList(condition);
return list;
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取导出的数据
/// <summary>
/// 获取导出的数据
/// </summary>
/// <param name="condition">查询条件</param>
/// <returns>数据</returns>
public DataTable GetExportData(LineDayQTYCount condition)
{
return new LineDWQTYCountDAL().GetExportData(condition);
}
#endregion
}
}