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.
45 lines
1.1 KiB
45 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace FangYar.BLL.TBL
|
|
{
|
|
public class SysRoleMenuBLL
|
|
{
|
|
FangYar.IDAL.TBL.SysRoleMenuIDAL dal = FangYar.DALFactory.Factory.GetSysRoleMenuDAL();
|
|
//记录总数
|
|
public int Count(string where) {
|
|
return dal.Count(where);
|
|
}
|
|
public int CountNot(string where)
|
|
{
|
|
return dal.CountNot(where);
|
|
}
|
|
//删除
|
|
public bool Delete(string roleId)
|
|
{
|
|
return dal.Delete(roleId);
|
|
}
|
|
public bool DeleteNot(string roleId)
|
|
{
|
|
return dal.DeleteNot(roleId);
|
|
}
|
|
//添加
|
|
public bool Add(FangYar.Model.TBL.TBL_SysRoleMenuModel model)
|
|
{
|
|
return dal.Add(model);
|
|
}
|
|
|
|
public DataTable queryDataTable(string appid, string roleId) {
|
|
return dal.queryDataTable(appid, roleId);
|
|
|
|
}
|
|
public DataTable queryDataTableNot(string appid, string roleId)
|
|
{
|
|
return dal.queryDataTableNot(appid, roleId);
|
|
|
|
}
|
|
}
|
|
}
|
|
|