|
|
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 ICSPOArriveBLL { public static DataTable IsIncludingDetail(string LOT, string dsconn) { try { return ICSPOArriveDAL.IsIncludingDetail(LOT, dsconn); } catch (Exception ex) { throw ex; } }
public static DataTable ArriveDetail(string ReID, string dsconn) { try { return ICSPOArriveDAL.ArriveDetail(ReID, dsconn); } catch (Exception ex) { throw ex; } }
#region 删除
public static void deleteSonInfo(string ID, string dsconn) { try { ICSPOArriveDAL.deleteSonInfo(ID, dsconn); } catch (Exception ex) { throw ex; } }
public static void deleteHeadInfo(string ReID, string dsconn) { try { ICSPOArriveDAL.deleteHeadInfo(ReID, dsconn); } catch (Exception ex) { throw ex; } } #endregion
#region 删除日志表
public static void deleteLotInfo(string NO, string Line, string dsconn) { try { ICSPOArriveDAL.deleteLotInfo(NO, Line, dsconn); } catch (Exception ex) { throw ex; } } #endregion
#region 更新条码表
public static void UpItemLotInfo(string NO, string Line, string dsconn) { try { ICSPOArriveDAL.UpItemLotInfo(NO, Line, dsconn); } catch (Exception ex) { throw ex; } } #endregion
#region 新增内容
#region 删除
public static void deleteInfo(List<string> RIDList, string dsconn) { try { ICSPOArriveDAL.deleteInfo(RIDList, dsconn); } catch (Exception ex) { throw ex; } } #endregion
public static FormICSRdrecord2LOTUIModelX Search_Info(string cCode, string irowno, string dsconn) { try { return ICSPOArriveDAL.Search_Info(cCode, irowno, dsconn); } catch (Exception ex) { throw ex; } }
#region
public static DataSet SearchData(string CODE, string RowNo, string dsconn) { try { return ICSPOArriveDAL.SearchData(CODE, RowNo, dsconn); } catch (Exception ex) { throw ex; } } #endregion
public static DataTable GetBatch(string cInvCode, string WorkPoint, string dsconn) { try { return ICSPOArriveDAL.GetBatch(cInvCode, WorkPoint, dsconn); } catch (Exception ex) { throw ex; } }
public static DataTable GetVen(string cInvCode, string WorkPoint, string dsconn) { try { return ICSPOArriveDAL.GetVen(cInvCode, WorkPoint, dsconn); } catch (Exception ex) { throw ex; } }
public static DataTable GetCheck(string cInvCode, string WorkPoint, string dsconn) { try { return ICSPOArriveDAL.GetCheck(cInvCode, WorkPoint, dsconn); } catch (Exception ex) { throw ex; } }
#region 新增和修改
public static void Add(List<ICSITEMLot> InfoList, string dsconn) { try { if (string.IsNullOrWhiteSpace(dsconn)) { throw new Exception("数据库连接字符串错误"); } ICSPOArriveDAL.Add(InfoList, dsconn); } catch (Exception ex) { throw ex; } } #endregion
public static DataTable GetVenBatch(string INVCLASS, string WorkPoint, string dsconn) { try { return ICSPOArriveDAL.GetVenBatch(INVCLASS, WorkPoint, dsconn); } catch (Exception ex) { throw ex; } } #endregion
} }
|