SVN r1207
SVN-Revision: r1207
This commit is contained in:
@@ -226,12 +226,12 @@ namespace Lskj.Core
|
||||
string sqlStr = "";
|
||||
if (!string.IsNullOrEmpty(contextMenuId + "") && !(contextMenuId + "").Equals("0"))
|
||||
{
|
||||
sqlStr = string.Format("select * from p_systemEventApiTab where actionType=0 and charIndex(','+eType+',',',{0},')>0 and charIndex(',{1},',','+convert(varchar,contextMenuId)+',')>0 order by orderValue", operateEvent, contextMenuId);
|
||||
sqlStr = string.Format("select * from p_systemEventApiTab where actionType=0 and charIndex(','+eType+',',',{0},')>0 and charIndex(',{1},',','+convert(varchar(8000),contextMenuId)+',')>0 order by orderValue", operateEvent, contextMenuId);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
sqlStr = string.Format("select * from p_systemEventApiTab where actionType=0 and charIndex(','+eType+',',',{0},')>0 and charIndex(',{1},',','+convert(varchar,dllcoid)+',')>0 order by orderValue", operateEvent, moduleId);
|
||||
sqlStr = string.Format("select * from p_systemEventApiTab where actionType=0 and charIndex(','+eType+',',',{0},')>0 and charIndex(',{1},',','+convert(varchar(8000),dllcoid)+',')>0 order by orderValue", operateEvent, moduleId);
|
||||
}
|
||||
DataTable tbVal = SqlHelper.ExecuteDataTable(sqlStr);
|
||||
if (tbVal.Rows.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user