锐腾搅拌上料功能
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.

75 lines
1.6 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 ICSUser2ResBLL
{
#region AddandEdit
public static void AddandEdit(ICSUser2Res ItemLot, string Appconstr)
{
try
{
ICSUser2ResDAL.AddandEdit(ItemLot, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 根据资源代码查询资源id
public static DataTable SelectResID(string rescode)
{
try
{
return ICSUser2ResDAL.SelectResID(rescode);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 根据人员代码查询人员id
public static DataTable SelectUserID(string usercode)
{
try
{
return ICSUser2ResDAL.SelectUserID(usercode);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region select
public static ICSDCT select(String guid, String Appconstr)
{
return ICSDCTDAL.select(guid, Appconstr);
}
#endregion
#region delete
public static void delete(List<String> useridList,List<string> residList)
{
ICSUser2ResDAL.delete(useridList, residList);
}
#endregion
}
}