修改模型
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CleanModeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\CleanModeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string CleanModeId)
|
||||
public bool Exists(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().Exists(CleanModeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.CleanMode model)
|
||||
public bool Add(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
return new CleanModeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.CleanMode model)
|
||||
public bool Update(CleanMachine.Model.BAS.CleanMode model)
|
||||
{
|
||||
return new CleanModeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string CleanModeId)
|
||||
public bool Delete(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().Delete(CleanModeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.CleanMode> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new CleanModeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CleanMode GetModel(string CleanModeId)
|
||||
public CleanMachine.Model.BAS.CleanMode GetModel(int CleanModeId)
|
||||
{
|
||||
return new CleanModeDAL().GetModel(CleanModeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.CleanMode> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.CleanMode> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new CleanModeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ContaminationDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\ContaminationDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationDtlId)
|
||||
public bool Exists(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().Exists(ContaminationDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
return new ContaminationDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationDtl model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationDtl model)
|
||||
{
|
||||
return new ContaminationDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationDtlId)
|
||||
public bool Delete(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().Delete(ContaminationDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ContaminationDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationDtl GetModel(string ContaminationDtlId)
|
||||
public CleanMachine.Model.BAS.ContaminationDtl GetModel(int ContaminationDtlId)
|
||||
{
|
||||
return new ContaminationDtlDAL().GetModel(ContaminationDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ContaminationDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ContaminationTypeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\ContaminationTypeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ContaminationTypeId)
|
||||
public bool Exists(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().Exists(ContaminationTypeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ContaminationType model)
|
||||
public bool Add(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
return new ContaminationTypeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ContaminationType model)
|
||||
public bool Update(CleanMachine.Model.BAS.ContaminationType model)
|
||||
{
|
||||
return new ContaminationTypeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ContaminationTypeId)
|
||||
public bool Delete(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().Delete(ContaminationTypeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ContaminationTypeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ContaminationType GetModel(string ContaminationTypeId)
|
||||
public CleanMachine.Model.BAS.ContaminationType GetModel(int ContaminationTypeId)
|
||||
{
|
||||
return new ContaminationTypeDAL().GetModel(ContaminationTypeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.ContaminationType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ContaminationTypeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\PlcItemBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\PlcItemBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string PlcItemId)
|
||||
public bool Exists(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().Exists(PlcItemId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.PlcItem model)
|
||||
public bool Add(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
return new PlcItemDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.PlcItem model)
|
||||
public bool Update(CleanMachine.Model.BAS.PlcItem model)
|
||||
{
|
||||
return new PlcItemDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string PlcItemId)
|
||||
public bool Delete(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().Delete(PlcItemId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.PlcItem> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new PlcItemDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.PlcItem GetModel(string PlcItemId)
|
||||
public CleanMachine.Model.BAS.PlcItem GetModel(int PlcItemId)
|
||||
{
|
||||
return new PlcItemDAL().GetModel(PlcItemId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.PlcItem> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.PlcItem> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new PlcItemDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SheetTypeBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\SheetTypeBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SheetTypeId)
|
||||
public bool Exists(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().Exists(SheetTypeId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.SheetType model)
|
||||
public bool Add(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
return new SheetTypeDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.SheetType model)
|
||||
public bool Update(CleanMachine.Model.BAS.SheetType model)
|
||||
{
|
||||
return new SheetTypeDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SheetTypeId)
|
||||
public bool Delete(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().Delete(SheetTypeId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.SheetType> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.SheetType> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new SheetTypeDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SheetType GetModel(string SheetTypeId)
|
||||
public CleanMachine.Model.BAS.SheetType GetModel(int SheetTypeId)
|
||||
{
|
||||
return new SheetTypeDAL().GetModel(SheetTypeId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.SheetType> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.SheetType> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new SheetTypeDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WarningBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\WarningBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.BAS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.BAS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningId)
|
||||
public bool Exists(int WarningId)
|
||||
{
|
||||
return new WarningDAL().Exists(WarningId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Warning model)
|
||||
public bool Add(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
return new WarningDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Warning model)
|
||||
public bool Update(CleanMachine.Model.BAS.Warning model)
|
||||
{
|
||||
return new WarningDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningId)
|
||||
public bool Delete(int WarningId)
|
||||
{
|
||||
return new WarningDAL().Delete(WarningId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Warning> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.BAS.Warning> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WarningDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Warning GetModel(string WarningId)
|
||||
public CleanMachine.Model.BAS.Warning GetModel(int WarningId)
|
||||
{
|
||||
return new WarningDAL().GetModel(WarningId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Warning> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.BAS.Warning> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WarningDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LastPattleNumBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\LastPattleNumBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Add(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
return new LastPattleNumDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LastPattleNum model)
|
||||
public bool Update(CleanMachine.Model.CM.LastPattleNum model)
|
||||
{
|
||||
return new LastPattleNumDAL().Update(model);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LastPattleNumDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,18 +72,40 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LastPattleNum GetModel(string Key)
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().GetModel(Key);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().Delete(Key);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.CM.LastPattleNum GetModel(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().GetModel(Key);
|
||||
}
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string Key)
|
||||
{
|
||||
return new LastPattleNumDAL().Exists(Key);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LastPattleNumDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WarningLogBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WarningLogBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WarningLogId)
|
||||
public bool Exists(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().Exists(WarningLogId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WarningLog model)
|
||||
public bool Add(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
return new WarningLogDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WarningLog model)
|
||||
public bool Update(CleanMachine.Model.CM.WarningLog model)
|
||||
{
|
||||
return new WarningLogDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WarningLogId)
|
||||
public bool Delete(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().Delete(WarningLogId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WarningLog> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WarningLog> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WarningLogDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WarningLog GetModel(string WarningLogId)
|
||||
public CleanMachine.Model.CM.WarningLog GetModel(int WarningLogId)
|
||||
{
|
||||
return new WarningLogDAL().GetModel(WarningLogId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WarningLog> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WarningLog> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WarningLogDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WorkingPalletBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletId)
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Exists(WorkingPalletId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPallet model)
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletId)
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(WorkingPalletId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPallet GetModel(string WorkingPalletId)
|
||||
public CleanMachine.Model.CM.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().GetModel(WorkingPalletId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\WorkingPalletDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.CM;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.CM
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string WorkingPalletDtlId)
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Exists(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Add(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.WorkingPalletDtl model)
|
||||
public bool Update(CleanMachine.Model.CM.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string WorkingPalletDtlId)
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.WorkingPalletDtl GetModel(string WorkingPalletDtlId)
|
||||
public CleanMachine.Model.CM.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetModel(WorkingPalletDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LanguageBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LanguageBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageId)
|
||||
public bool Exists(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().Exists(LanguageId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Language model)
|
||||
public bool Add(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
return new LanguageDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Language model)
|
||||
public bool Update(CleanMachine.Model.SYS.Language model)
|
||||
{
|
||||
return new LanguageDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageId)
|
||||
public bool Delete(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().Delete(LanguageId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Language> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Language> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LanguageDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Language GetModel(string LanguageId)
|
||||
public CleanMachine.Model.SYS.Language GetModel(int LanguageId)
|
||||
{
|
||||
return new LanguageDAL().GetModel(LanguageId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Language> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Language> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LanguageDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LanguageControlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LanguageControlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string LanguageControlId)
|
||||
public bool Exists(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().Exists(LanguageControlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.LanguageControl model)
|
||||
public bool Add(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
return new LanguageControlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.LanguageControl model)
|
||||
public bool Update(CleanMachine.Model.SYS.LanguageControl model)
|
||||
{
|
||||
return new LanguageControlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string LanguageControlId)
|
||||
public bool Delete(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().Delete(LanguageControlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LanguageControlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.LanguageControl GetModel(string LanguageControlId)
|
||||
public CleanMachine.Model.SYS.LanguageControl GetModel(int LanguageControlId)
|
||||
{
|
||||
return new LanguageControlDAL().GetModel(LanguageControlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.LanguageControl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LanguageControlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\LogBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\LogBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string SysLogId)
|
||||
public bool Exists(int SysLogId)
|
||||
{
|
||||
return new LogDAL().Exists(SysLogId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Log model)
|
||||
public bool Add(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
return new LogDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Log model)
|
||||
public bool Update(CleanMachine.Model.SYS.Log model)
|
||||
{
|
||||
return new LogDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string SysLogId)
|
||||
public bool Delete(int SysLogId)
|
||||
{
|
||||
return new LogDAL().Delete(SysLogId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Log> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Log> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new LogDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Log GetModel(string SysLogId)
|
||||
public CleanMachine.Model.SYS.Log GetModel(int SysLogId)
|
||||
{
|
||||
return new LogDAL().GetModel(SysLogId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Log> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Log> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new LogDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\MenuBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\MenuBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string MenuId)
|
||||
public bool Exists(int MenuId)
|
||||
{
|
||||
return new MenuDAL().Exists(MenuId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Menu model)
|
||||
public bool Add(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
return new MenuDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Menu model)
|
||||
public bool Update(CleanMachine.Model.SYS.Menu model)
|
||||
{
|
||||
return new MenuDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string MenuId)
|
||||
public bool Delete(int MenuId)
|
||||
{
|
||||
return new MenuDAL().Delete(MenuId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Menu> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Menu> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new MenuDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Menu GetModel(string MenuId)
|
||||
public CleanMachine.Model.SYS.Menu GetModel(int MenuId)
|
||||
{
|
||||
return new MenuDAL().GetModel(MenuId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Menu> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Menu> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new MenuDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ParameterBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\ParameterBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ParameterId)
|
||||
public bool Exists(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().Exists(ParameterId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Parameter model)
|
||||
public bool Add(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
return new ParameterDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Parameter model)
|
||||
public bool Update(CleanMachine.Model.SYS.Parameter model)
|
||||
{
|
||||
return new ParameterDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ParameterId)
|
||||
public bool Delete(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().Delete(ParameterId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Parameter> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Parameter> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ParameterDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Parameter GetModel(string ParameterId)
|
||||
public CleanMachine.Model.SYS.Parameter GetModel(int ParameterId)
|
||||
{
|
||||
return new ParameterDAL().GetModel(ParameterId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Parameter> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Parameter> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ParameterDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\RoleBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\RoleBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleId)
|
||||
public bool Exists(int RoleId)
|
||||
{
|
||||
return new RoleDAL().Exists(RoleId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.Role model)
|
||||
public bool Add(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
return new RoleDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.Role model)
|
||||
public bool Update(CleanMachine.Model.SYS.Role model)
|
||||
{
|
||||
return new RoleDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleId)
|
||||
public bool Delete(int RoleId)
|
||||
{
|
||||
return new RoleDAL().Delete(RoleId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.Role> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.Role> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new RoleDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.Role GetModel(string RoleId)
|
||||
public CleanMachine.Model.SYS.Role GetModel(int RoleId)
|
||||
{
|
||||
return new RoleDAL().GetModel(RoleId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.Role> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.Role> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new RoleDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\RoleMenuPermissionBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\RoleMenuPermissionBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string RoleMenuPermissionId)
|
||||
public bool Exists(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Exists(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Add(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.RoleMenuPermission model)
|
||||
public bool Update(CleanMachine.Model.SYS.RoleMenuPermission model)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string RoleMenuPermissionId)
|
||||
public bool Delete(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().Delete(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.RoleMenuPermission GetModel(string RoleMenuPermissionId)
|
||||
public CleanMachine.Model.SYS.RoleMenuPermission GetModel(int RoleMenuPermissionId)
|
||||
{
|
||||
return new RoleMenuPermissionDAL().GetModel(RoleMenuPermissionId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.RoleMenuPermission> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new RoleMenuPermissionDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ScheduleDtlBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\ScheduleDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string ScheduleDtlId)
|
||||
public bool Exists(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().Exists(ScheduleDtlId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Add(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
return new ScheduleDtlDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ScheduleDtl model)
|
||||
public bool Update(CleanMachine.Model.SYS.ScheduleDtl model)
|
||||
{
|
||||
return new ScheduleDtlDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string ScheduleDtlId)
|
||||
public bool Delete(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().Delete(ScheduleDtlId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new ScheduleDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,7 +72,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ScheduleDtl GetModel(string ScheduleDtlId)
|
||||
public CleanMachine.Model.SYS.ScheduleDtl GetModel(int ScheduleDtlId)
|
||||
{
|
||||
return new ScheduleDtlDAL().GetModel(ScheduleDtlId);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.ScheduleDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new ScheduleDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\UserBLL"}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\SYS\\UserBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL;
|
||||
using CleanMachine.DAL.SYS;
|
||||
|
||||
namespace CleanMachine.BLL
|
||||
namespace CleanMachine.BLL.SYS
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
@@ -23,7 +23,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserId)
|
||||
public bool Exists(int UserId)
|
||||
{
|
||||
return new UserDAL().Exists(UserId);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.User model)
|
||||
public bool Add(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
return new UserDAL().Add(model);
|
||||
}
|
||||
@@ -39,7 +39,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.User model)
|
||||
public bool Update(CleanMachine.Model.SYS.User model)
|
||||
{
|
||||
return new UserDAL().Update(model);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserId)
|
||||
public bool Delete(int UserId)
|
||||
{
|
||||
return new UserDAL().Delete(UserId);
|
||||
}
|
||||
@@ -64,7 +64,7 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.User> GetList(string strWhere, object Params = null)
|
||||
public IEnumerable<CleanMachine.Model.SYS.User> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new UserDAL().GetList(strWhere,Params);
|
||||
}
|
||||
@@ -72,18 +72,40 @@ namespace CleanMachine.BLL
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.User GetModel(string UserId)
|
||||
public CleanMachine.Model.SYS.User GetModel(int UserId)
|
||||
{
|
||||
return new UserDAL().GetModel(UserId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string UserCode)
|
||||
{
|
||||
return new UserDAL().Delete(UserCode);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.SYS.User GetModel(string UserCode)
|
||||
{
|
||||
return new UserDAL().GetModel(UserCode);
|
||||
}
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(string UserCode)
|
||||
{
|
||||
return new UserDAL().Exists(UserCode);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.User> GetModelList(RuleGroup rule)
|
||||
// public IEnumerable<CleanMachine.Model.SYS.User> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new UserDAL().GetModelList(rule);
|
||||
// }
|
||||
91
CleanMachine.BLL/ZBK/WorkingPalletBLL.cs
Normal file
91
CleanMachine.BLL/ZBK/WorkingPalletBLL.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ZBK\\WorkingPalletBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL.ZBK;
|
||||
|
||||
namespace CleanMachine.BLL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletBLL
|
||||
{
|
||||
|
||||
public WorkingPalletBLL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Exists(WorkingPalletId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPallet model)
|
||||
{
|
||||
return new WorkingPalletDAL().Update(model);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().Delete(WorkingPalletId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDAL().GetList(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ZBK.WorkingPallet GetModel(int WorkingPalletId)
|
||||
{
|
||||
return new WorkingPalletDAL().GetModel(WorkingPalletId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPallet> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDAL().GetModelList(rule);
|
||||
// }
|
||||
}
|
||||
}
|
||||
91
CleanMachine.BLL/ZBK/WorkingPalletDtlBLL.cs
Normal file
91
CleanMachine.BLL/ZBK/WorkingPalletDtlBLL.cs
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
//模板信息:{"Template":{"Language":"C#"}}
|
||||
//输出信息:{"Extension":".cs","FileName":"BLL\\ZBK\\WorkingPalletDtlBLL"}
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using CleanMachine.DAL.ZBK;
|
||||
|
||||
namespace CleanMachine.BLL.ZBK
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class WorkingPalletDtlBLL
|
||||
{
|
||||
|
||||
public WorkingPalletDtlBLL()
|
||||
{
|
||||
|
||||
}
|
||||
#region 一般方法
|
||||
/// <summary>
|
||||
/// 存在
|
||||
/// </summary>
|
||||
public bool Exists(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Exists(WorkingPalletDtlId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加一个数据
|
||||
/// </summary>
|
||||
public bool Add(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一个数据
|
||||
/// </summary>
|
||||
public bool Update(CleanMachine.Model.ZBK.WorkingPalletDtl model)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Update(model);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一个数据
|
||||
/// </summary>
|
||||
public bool Delete(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().Delete(WorkingPalletDtlId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetList(string strWhere, object Params = null)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetList(strWhere,Params);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取一个对象
|
||||
/// </summary>
|
||||
public CleanMachine.Model.ZBK.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
|
||||
{
|
||||
return new WorkingPalletDtlDAL().GetModel(WorkingPalletDtlId);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询数据
|
||||
/// </summary>
|
||||
// public IEnumerable<CleanMachine.Model.ZBK.WorkingPalletDtl> GetModelList(RuleGroup rule)
|
||||
// {
|
||||
// return new WorkingPalletDtlDAL().GetModelList(rule);
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user