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.
90 lines
1.9 KiB
90 lines
1.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using System.Data;
|
|
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSECSG2ECSBLL
|
|
{
|
|
public static void Add(DataTable dt, string ecsgid, string ecsgcode, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSECSG2ECSDAL.AddAndEdit(dt, ecsgid, ecsgcode, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
|
|
}
|
|
|
|
#region select
|
|
public static FormICSECSG2ECSUIModel SearchEcg2EcInfoByCode(string ecsgid, string ecsid, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
List<FormICSECSG2ECSUIModel> returnlist = ICSECSG2ECSDAL.SearchEcg2EcInfoByCode(ecsgid,ecsid,dsconn);
|
|
return returnlist[0];
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region delete
|
|
|
|
public static void delete(List<String> guidList)
|
|
{
|
|
ICSECSG2ECSDAL.delete(guidList);
|
|
}
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public static DataTable SelectECGId(string str, string wp)
|
|
{
|
|
try
|
|
{
|
|
return ICSECG2ECDAL.SelectECGId(str, wp);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
|
|
public static DataTable SelectECId(string str, string wp)
|
|
{
|
|
try
|
|
{
|
|
return ICSECG2ECDAL.SelectECId(str,wp);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
|
|
#region edit
|
|
public static void Save(List<string> ecidList, List<string> ecgidList)
|
|
{
|
|
ICSECSG2ECSDAL.Save(ecidList, ecgidList);
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|