using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.DAL; using ICSSoft.Frame.Data.Entity; using System.Data; namespace ICSSoft.Frame.Data.BLL { public class ICSInvTransferBLL { #region AddandEdit public static void AddandEdit(FormICSInvTransferUIModel ItemLot, string dsconn) { try { if (string.IsNullOrWhiteSpace(dsconn)) { throw new Exception("请输入......"); } List ecgInfoList = new List() { ItemLot }; ICSInvTransferDal.AddandEdit(ecgInfoList, dsconn); } catch (Exception ex) { throw ex; } } #endregion #region select public static FormICSInvTransferUIModel SearchInfoByID(string guid, string dsconn) { try { List returnlist = ICSInvTransferDal.SearchInfoByID(guid, dsconn); return returnlist[0]; } catch (Exception ex) { throw ex; } } #endregion #region delete public static void delete(List guidList,List noList) { try { ICSInvTransferDal.delete(guidList, noList); } catch (Exception ex) { throw ex; } } #endregion public static DataTable SelectFRMStorageId(string str, string wp) { try { return ICSInvTransferDal.SelectFRMStorageId(str, wp); } catch (Exception ex) { throw ex; } } public static DataTable TOStorageId(string str, string wp) { try { return ICSInvTransferDal.TOStorageId(str, wp); } catch (Exception ex) { throw ex; } } } }