注塑喷涂
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.
 
 
 
 
 

71 lines
1.8 KiB

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using MESClassLibrary.BLL.Log;
using MESClassLibrary.DAL.Mistake243;
using MESClassLibrary.Model;
namespace MESClassLibrary.BLL.Mistake243
{
public class Box243BLL
{
public bool AddInfo(BoxModel md)
{
Box243DAL da = new Box243DAL();
try
{
return da.AddInfo(md);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return false;
}
}
public bool UpdateInfo(BoxModel md)
{
Box243DAL da = new Box243DAL();
try
{
return da.UpdateInfo(md);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return false;
}
}
public DataTable searchBox(string partno)
{
Box243DAL da = new Box243DAL();
try
{
return da.SearchBox(partno);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return null;
}
}
public DataTable SearchBoxIsExsit(string box)
{
Box243DAL da = new Box243DAL();
try
{
return da.SearchBoxIsExsit(box);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return null;
}
}
}
}