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.
85 lines
1.9 KiB
85 lines
1.9 KiB
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 ICSSecDocTypeBLL
|
|
{
|
|
|
|
#region 增加修改
|
|
public static void AddandEdit(ICSSecDocType line, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSSecDocTypeDAL.AddandEdit(line, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 增加修改List
|
|
public static void AddandEditList(List<ICSSecDocType> lineList, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSSecDocTypeDAL.AddandEditList(lineList, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 查询
|
|
public static ICSSecDocType select(String DocTypeCode, String Appconstr)
|
|
{
|
|
try
|
|
{
|
|
return ICSSecDocTypeDAL.select(DocTypeCode, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
|
|
public static ICSSecDocType selectByGuid(String guid, String Appconstr)
|
|
{
|
|
try
|
|
{
|
|
return ICSSecDocTypeDAL.selectByGuid(guid, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 删除
|
|
public static void delete(List<String> guidList, String Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSSecDocTypeDAL.delete(guidList, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
|
|
}
|
|
}
|