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.
|
|
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<FormICSInvTransferUIModel> ecgInfoList = new List<FormICSInvTransferUIModel>() { ItemLot };
ICSInvTransferDal.AddandEdit(ecgInfoList, dsconn); } catch (Exception ex) { throw ex; } } #endregion
#region select
public static FormICSInvTransferUIModel SearchInfoByID(string guid, string dsconn) { try { List<FormICSInvTransferUIModel> returnlist = ICSInvTransferDal.SearchInfoByID(guid, dsconn); return returnlist[0]; } catch (Exception ex) { throw ex; } }
#endregion
#region delete
public static void delete(List<String> guidList,List<string> 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; } }
} }
|