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.
61 lines
1.5 KiB
61 lines
1.5 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSINVInfoBLL
|
|
{
|
|
|
|
#region AddandEdit
|
|
public static void AddandEdit(ICSINVInfo routeLot, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSINVInfoDAL.AddandEdit(routeLot, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
#region 新增和修改List
|
|
public static string AddList(List<ICSINVInfo> InfoList, List<string> listLvL, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
if (string.IsNullOrWhiteSpace(dsconn))
|
|
{
|
|
throw new Exception("数据库连接字符串错误");
|
|
}
|
|
return ICSINVInfoDAL.AddList(InfoList, listLvL, dsconn);
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
#region select
|
|
public static ICSINVInfo select(String guid, String Appconstr)
|
|
{
|
|
return ICSINVInfoDAL.select(guid, Appconstr);
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region delete
|
|
public static void delete(List<String> guidList, List<string> codeList)
|
|
{
|
|
ICSINVInfoDAL.delete(guidList, codeList);
|
|
}
|
|
#endregion
|
|
|
|
|
|
}
|
|
}
|