锐腾搅拌上料功能
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.

134 lines
3.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using ICSSoft.Frame.Data.DAL;
using ICSSoft.Frame.Data.Entity;
namespace ICSSoft.Frame.Data.BLL
{
public class ICSOQCCKLISTBLL
{
#region AddandEdit
public static void AddandEdit(ICSOQCCKLIST ItemLot, string Appconstr)
{
try
{
ICSOQCCKLISTDAL.AddandEdit(ItemLot, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region AddandEditList
public static void AddandEditList(List<ICSOQCCKLIST> InfoList, string Appconstr)
{
try
{
ICSOQCCKLISTDAL.AddandEditList(InfoList, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region delete
public static void delete(List<String> guidList)
{
ICSOQCCKLISTDAL.delete(guidList);
}
#endregion
#region 获取检验方式
public static DataTable SearchData(string dsconn)
{
try
{
return ICSOQCCKLISTDAL.SearchData(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
//public static DataTable SearchData(string EnumText, string dsconn)
//{
// try
// {
// return ICSOPDAL.SearchData(EnumText, dsconn);
// }
// catch (Exception ex)
// {
// throw ex;
// }
//}
#endregion
#region 获取检验属性
public static DataTable SearchDataa(string dsconn)
{
try
{
return ICSOQCCKLISTDAL.SearchDataa(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
public static DataTable SearchDataa(string EnumText, string dsconn)
{
try
{
return ICSOQCCKLISTDAL.SearchDataa(EnumText, dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 检验工具
public static DataTable SearchDataTool(string dsconn)
{
try
{
return ICSOQCCKLISTDAL.SearchDataTool(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
public static DataTable SearchDataUNIT(string dsconn)
{
return ICSOQCCKLISTDAL.SearchDataUNIT(dsconn);
}
public static DataSet SearchImportData(string dsconn)
{
try
{
return ICSOQCCKLISTDAL.SearchImportData(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
}
}