SVN r468
SVN-Revision: r468
This commit is contained in:
@@ -234,7 +234,8 @@ namespace Lskj.Business.Impl
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
|
||||
string sqlValue = string.Format(@"update {0} set {1}printCount=isnull({1}printCount,0)+1,
|
||||
{1}printLastTime=getdate(),{1}printLastOper='{4}'
|
||||
@@ -1033,6 +1034,17 @@ namespace Lskj.Business.Impl
|
||||
string sqlValue = string.Format("select * from P_systempopupmenu where isnull(visible,0)=0 and (isnull(privilegeOper,'')='' or charindex(',{0},',','+privilegeOper+',')>0) and tab=@tab ", ERPInfo.Instance.UserName) + where + " order by orderid";
|
||||
return SqlHelper.ExecuteDataTable(sqlValue, new SqlParameter[] { new SqlParameter("@tab", key) });
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取单个右键菜单
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
/// <param name="type"></param>
|
||||
/// <returns></returns>
|
||||
public static DataRow GetBaseGridRightMenuById(string id)
|
||||
{
|
||||
string sqlValue = $"select * from P_systempopupmenu where id = '{id}'";
|
||||
return BaseImpl.GetDataRowResult(sqlValue);
|
||||
}
|
||||
public static bool IsGridViewRightMenuBtnEdit(string key, ModuleType type = ModuleType.BaseModule)
|
||||
{
|
||||
DataTable rightMentTab = GetBaseGridRightMenus(key, type);
|
||||
|
||||
Reference in New Issue
Block a user