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.
91 lines
2.2 KiB
91 lines
2.2 KiB
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<String> 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<string, string> ConnList)
|
|
{
|
|
try
|
|
{
|
|
|
|
ICSPJXPrintDal.SaveConnect(Connecting, PJXPrint, ConnList);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
}
|
|
}
|