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.
41 lines
1.1 KiB
41 lines
1.1 KiB
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.TruckBox
|
|
{
|
|
public class RetrospectSearchDal
|
|
{
|
|
public DataTable SearchInfo(string barCode, string startTime, string endTime)
|
|
{
|
|
try
|
|
{
|
|
parma parms = new parma();
|
|
parms.barCode = barCode;
|
|
parms.startTime = startTime;
|
|
parms.endTime = endTime;
|
|
|
|
return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.StoredProcedure, "proc_BarCodeSearch", SqlHelper.ModelToParameterList(parms).ToArray()).Tables[0];
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public class parma
|
|
{
|
|
public string barCode { get; set; }
|
|
|
|
public string startTime { get; set; }
|
|
|
|
public string endTime { get; set; }
|
|
}
|
|
|
|
}
|
|
}
|
|
|