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.
28 lines
712 B
28 lines
712 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reflection;
|
|
using System.Text;
|
|
using MESClassLibrary.BLL.Log;
|
|
using MESClassLibrary.EFModel;
|
|
|
|
namespace MESClassLibrary.BLL.TruckBox
|
|
{
|
|
public class WeightBLL
|
|
{
|
|
BasicBLL<tb_Weight> db=new BasicBLL<tb_Weight>();
|
|
|
|
public List<tb_Weight> SearchWeightById(string productId)
|
|
{
|
|
try
|
|
{
|
|
return db.SearchAllInfo().Where(p => p.ProductID.Equals(productId)).ToList();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|