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

56 lines
1.4 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;
namespace MESClassLibrary.BLL.Mistake243
{
public class Plan243BLL
{
public DataTable SearhByOrderNo(string OrderNo)
{
Plan243DAL da = new Plan243DAL();
try
{
return da.SearhByOrderNo(OrderNo);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return null;
}
}
public DataTable IsHavePlan(string partNo1, string orderNo)
{
Plan243DAL da = new Plan243DAL();
try
{
return da.IsHavePlan(partNo1, orderNo);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return null;
}
}
public bool UpdateCount(string partNo, string orderNo)
{
Plan243DAL da = new Plan243DAL();
try
{
return da.UpdateCount(partNo, orderNo);
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return false;
}
}
}
}