using System;
|
using System.Collections.Generic;
|
using System.Text;
|
using System.Data;
|
|
namespace BLL
|
{
|
public class ClsGy_Factory_Ctl
|
{
|
public DAL.ClsGy_Factory_Ctl dal = new DAL.ClsGy_Factory_Ctl();
|
//新增
|
public bool AddNew()
|
{
|
return dal.AddNew();
|
}
|
|
//修改
|
public bool ModifyByID(long sItemID)
|
{
|
return dal.ModifyByID(sItemID);
|
|
}
|
|
//是否有子项目
|
public bool HavChildCodes(long sItemID)
|
{
|
return dal.HavChildCodes(sItemID);
|
}
|
|
//是否有上级项目
|
public bool HavParentCode(string sCode, long sItemID)
|
{
|
return dal.HavParentCode(sCode, sItemID);
|
}
|
|
//重复代码
|
public bool HavSameNumber(long sItemID, string sNumber)
|
{
|
return dal.HavSameNumber(sItemID, sNumber);
|
}
|
|
//删除
|
public bool DeleteByID(long sItemID)
|
{
|
return dal.DeleteByID(sItemID);
|
}
|
}
|
}
|