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
743 B
29 lines
743 B
3 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Data;
|
||
|
using System.Reflection;
|
||
|
using MESClassLibrary.BLL.Log;
|
||
|
|
||
|
namespace MESClassLibrary.DAL
|
||
|
{
|
||
|
public class PLCMouldDAL
|
||
|
{
|
||
|
public DataTable SearchMould(string station)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
string sql = @"select * from tb_PLC_Mould where Des='" + station + "' order by ID";
|
||
|
|
||
|
return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0];
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|