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.
50 lines
1.8 KiB
50 lines
1.8 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSMINNOBLL
|
|
{
|
|
private FramDataContext _domainDataProvider = null;
|
|
|
|
public ICSMINNOBLL(FramDataContext domainDataProvider)
|
|
{
|
|
this._domainDataProvider = domainDataProvider;
|
|
}
|
|
|
|
#region AddandEdit
|
|
public static void Add(ICSMINNO ItemLot, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSMINNODAL.Add(ItemLot, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
public List<ICSMINNO> QueryMINNO(string moCode, string routeCode, string operationCode, string resourceCode, string opBOMVersion)
|
|
{
|
|
ICSMINNODAL dal = new ICSMINNODAL(_domainDataProvider);
|
|
return dal.QueryMINNO(moCode, routeCode, operationCode, resourceCode, opBOMVersion);
|
|
}
|
|
public List<ICSMINNO> QueryMINNO(string moCode, string routeCode, string operationCode, string resourceCode, string opBOMVersion, string materialCode)
|
|
{
|
|
ICSMINNODAL dal = new ICSMINNODAL(_domainDataProvider);
|
|
return dal.QueryMINNO(moCode, routeCode, operationCode, resourceCode, opBOMVersion, materialCode);
|
|
}
|
|
public List<ICSMINNO> QueryMINNO(string moCode, string routeCode, string operationCode, string resourceCode, string opBOMVersion, string materialCode, string obsitemcode)
|
|
{
|
|
ICSMINNODAL dal = new ICSMINNODAL(_domainDataProvider);
|
|
return dal.QueryMINNO(moCode, routeCode, operationCode, resourceCode, opBOMVersion,materialCode, obsitemcode);
|
|
|
|
}
|
|
}
|
|
}
|