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.
71 lines
1.7 KiB
71 lines
1.7 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using System.Data;
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class FormICSBatchsQueryBLL
|
|
{
|
|
|
|
#region 新增
|
|
public static void AddBatch(List<ICSInvBatch> batchInfo, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
FormICSBatchsQueryDAL.AddBatch(batchInfo, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 通过代码、行号查询
|
|
public static FormICSRdrecord2LOTUIModel SearchInfo(string CODE, string RowNo, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
return FormICSBatchsQueryDAL.SearchInfo(CODE, RowNo, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
public static FormICSRdrecord2LOTUIModelX Search_Info(string CODE, string RowNo, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
return FormICSBatchsQueryDAL.Search_Info(CODE, RowNo, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 通过主表行和子表
|
|
|
|
public static DataSet SearchData(string CODE, string RowNo, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
return FormICSBatchsQueryDAL.SearchData(CODE, RowNo, dsconn);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
|
|
}
|
|
}
|