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 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 } }