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.
115 lines
2.9 KiB
115 lines
2.9 KiB
6 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Data;
|
||
|
using System.Linq;
|
||
|
using System.Reflection;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
using MESClassLibrary.BLL.Log;
|
||
|
using MESClassLibrary.DAL.BasicInfo;
|
||
|
using MESClassLibrary.DAL.painting;
|
||
|
|
||
|
namespace MESClassLibrary.BLL.Painting
|
||
|
{
|
||
|
public class StockInBLL
|
||
|
{
|
||
|
public DataTable SearchInfoA()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchInfoA();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchInfoB()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchInfoB();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchInfoBByA()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchInfoBByA();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchInfoAByB()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchInfoAByB();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchDetailA()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchDetailA();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchDetailB()
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchDetailB();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchColor(string barCode)
|
||
|
{
|
||
|
StockInDAL da = new StockInDAL();
|
||
|
try
|
||
|
{
|
||
|
return da.SearchColor(barCode);
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|