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

29 lines
832 B

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using MESClassLibrary.BLL.Log;
namespace MESClassLibrary.DAL.PunchAndWeld
{
public class PunchPartDAL
{
public DataTable SearchPunchPart(string deviceNo)
{
try
{
string sql = @"select * from tb_Product where ProductTypeID='3a8545ee-5979-4780-a5ca-6c5e75685ae2' and DeviceNo='"+ deviceNo +"' order by ProductName ";
return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0];
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
return null;
}
}
}
}