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.
44 lines
1.0 KiB
44 lines
1.0 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;
|
|
using MESClassLibrary.DAL.BasicInfo;
|
|
using MESClassLibrary.EFModel;
|
|
|
|
namespace MESClassLibrary.BLL.BasicInfo
|
|
{
|
|
public class BarcodeBMWBLL
|
|
{
|
|
BarcodeBMWDAL da=new BarcodeBMWDAL();
|
|
|
|
public bool AddInfo(tb_BarCode_BMW md)
|
|
{
|
|
try
|
|
{
|
|
return da.AddInfo(md);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public DataTable SearchSeq(string date)
|
|
{
|
|
try
|
|
{
|
|
return da.SearchSeq(date);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|