using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.DAL; using System.Data; using ICSSoft.Frame.Data.Entity; namespace ICSSoft.Frame.Data.BLL { public class ICSPJXPrintBLL { public static void AddAndEdit(ICSPJXPrint PJXPrint, string Appconstr) { try { ICSPJXPrintDal.AddAndEdit(PJXPrint, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSPJXPrint select(String guid, String Batch,String Appconstr) { try { return ICSPJXPrintDal.select(guid,Batch, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSPJXPrint selectById(String guid, String Appconstr) { try { return ICSPJXPrintDal.selectByID(guid, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSPJXPrint selectByCode(String PJXPrint, String Appconstr) { return ICSPJXPrintDal.selectByCode(PJXPrint, Appconstr); } public static void delete(List guidList) { try { ICSPJXPrintDal.delete(guidList); } catch (Exception ex) { throw ex; } } public static void SaveInfo(DataTable data, string Appconstr) { try { ICSPJXPrintDal.SaveInfo(data, Appconstr); } catch (Exception ex) { throw ex; } } public static void SaveConnect(string Connecting, string PJXPrint, Dictionary ConnList) { try { ICSPJXPrintDal.SaveConnect(Connecting, PJXPrint, ConnList); } catch (Exception ex) { throw ex; } } } }