修改模型

This commit is contained in:
gongxh
2022-05-05 20:18:34 +08:00
parent 6635db5425
commit c6e7e582b8
86 changed files with 4721 additions and 1878 deletions

View File

@@ -0,0 +1,113 @@
//模板信息:{"Template":{"Language":"C#"}}
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\LastPattleNumBLL"}
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using CleanMachine.DAL.CM;
namespace CleanMachine.BLL.CM
{
/// <summary>
///
/// </summary>
public class LastPattleNumBLL
{
public LastPattleNumBLL()
{
}
#region 一般方法
/// <summary>
/// 存在
/// </summary>
public bool Exists(string Key)
{
return new LastPattleNumDAL().Exists(Key);
}
/// <summary>
/// 添加一个数据
/// </summary>
public bool Add(CleanMachine.Model.CM.LastPattleNum model)
{
return new LastPattleNumDAL().Add(model);
}
/// <summary>
/// 更新一个数据
/// </summary>
public bool Update(CleanMachine.Model.CM.LastPattleNum model)
{
return new LastPattleNumDAL().Update(model);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(string strWhere, object Params = null)
{
return new LastPattleNumDAL().Delete(strWhere,Params);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(string Key)
{
return new LastPattleNumDAL().Delete(Key);
}
/// <summary>
/// 获得数据列表
/// </summary>
public IEnumerable<CleanMachine.Model.CM.LastPattleNum> GetList(string strWhere, object Params = null)
{
return new LastPattleNumDAL().GetList(strWhere,Params);
}
/// <summary>
/// 获取一个对象
/// </summary>
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.CM.LastPattleNum> GetModelList(RuleGroup rule)
// {
// return new LastPattleNumDAL().GetModelList(rule);
// }
}
}

View File

@@ -0,0 +1,91 @@
//模板信息:{"Template":{"Language":"C#"}}
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WarningLogBLL"}
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using CleanMachine.DAL.CM;
namespace CleanMachine.BLL.CM
{
/// <summary>
///
/// </summary>
public class WarningLogBLL
{
public WarningLogBLL()
{
}
#region 一般方法
/// <summary>
/// 存在
/// </summary>
public bool Exists(int WarningLogId)
{
return new WarningLogDAL().Exists(WarningLogId);
}
/// <summary>
/// 添加一个数据
/// </summary>
public bool Add(CleanMachine.Model.CM.WarningLog model)
{
return new WarningLogDAL().Add(model);
}
/// <summary>
/// 更新一个数据
/// </summary>
public bool Update(CleanMachine.Model.CM.WarningLog model)
{
return new WarningLogDAL().Update(model);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(string strWhere, object Params = null)
{
return new WarningLogDAL().Delete(strWhere,Params);
}
/// <summary>
/// 删除一个数据
/// </summary>
public bool Delete(int WarningLogId)
{
return new WarningLogDAL().Delete(WarningLogId);
}
/// <summary>
/// 获得数据列表
/// </summary>
public IEnumerable<CleanMachine.Model.CM.WarningLog> GetList(string strWhere, object Params = null)
{
return new WarningLogDAL().GetList(strWhere,Params);
}
/// <summary>
/// 获取一个对象
/// </summary>
public CleanMachine.Model.CM.WarningLog GetModel(int WarningLogId)
{
return new WarningLogDAL().GetModel(WarningLogId);
}
#endregion
/// <summary>
/// 查询数据
/// </summary>
// public IEnumerable<CleanMachine.Model.CM.WarningLog> GetModelList(RuleGroup rule)
// {
// return new WarningLogDAL().GetModelList(rule);
// }
}
}

View File

@@ -0,0 +1,91 @@
//模板信息:{"Template":{"Language":"C#"}}
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletBLL"}
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using CleanMachine.DAL.CM;
namespace CleanMachine.BLL.CM
{
/// <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.CM.WorkingPallet model)
{
return new WorkingPalletDAL().Add(model);
}
/// <summary>
/// 更新一个数据
/// </summary>
public bool Update(CleanMachine.Model.CM.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.CM.WorkingPallet> GetList(string strWhere, object Params = null)
{
return new WorkingPalletDAL().GetList(strWhere,Params);
}
/// <summary>
/// 获取一个对象
/// </summary>
public CleanMachine.Model.CM.WorkingPallet GetModel(int WorkingPalletId)
{
return new WorkingPalletDAL().GetModel(WorkingPalletId);
}
#endregion
/// <summary>
/// 查询数据
/// </summary>
// public IEnumerable<CleanMachine.Model.CM.WorkingPallet> GetModelList(RuleGroup rule)
// {
// return new WorkingPalletDAL().GetModelList(rule);
// }
}
}

View File

@@ -0,0 +1,91 @@
//模板信息:{"Template":{"Language":"C#"}}
//输出信息:{"Extension":".cs","FileName":"BLL\\CM\\WorkingPalletDtlBLL"}
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using CleanMachine.DAL.CM;
namespace CleanMachine.BLL.CM
{
/// <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.CM.WorkingPalletDtl model)
{
return new WorkingPalletDtlDAL().Add(model);
}
/// <summary>
/// 更新一个数据
/// </summary>
public bool Update(CleanMachine.Model.CM.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.CM.WorkingPalletDtl> GetList(string strWhere, object Params = null)
{
return new WorkingPalletDtlDAL().GetList(strWhere,Params);
}
/// <summary>
/// 获取一个对象
/// </summary>
public CleanMachine.Model.CM.WorkingPalletDtl GetModel(int WorkingPalletDtlId)
{
return new WorkingPalletDtlDAL().GetModel(WorkingPalletDtlId);
}
#endregion
/// <summary>
/// 查询数据
/// </summary>
// public IEnumerable<CleanMachine.Model.CM.WorkingPalletDtl> GetModelList(RuleGroup rule)
// {
// return new WorkingPalletDtlDAL().GetModelList(rule);
// }
}
}