SVN r1114
SVN-Revision: r1114
This commit is contained in:
@@ -1660,13 +1660,13 @@ namespace Lskj.PubUserTomodule
|
||||
SELECT
|
||||
a.MenuId,a.SubSysId, a.MenuStruct,'01'+case when a.SubSysId>9 then cast(a.SubSysId as varchar(10)) else '0'+cast(a.SubSysId as varchar(10)) end+a.MenuStruct as speciesno,
|
||||
a.MenuCaption,a.MouseOutImg
|
||||
,case when a.DllFileName='Lskj.PubAccraditation.dll' then 'Lskj.PubBill.dll' when a.DllFileName='Lskj.BaseAccraditation.dll' then 'Lskj.PubModule.dll' else '' end as DllFileName
|
||||
,case when a.DllFileName in ('Lskj.PubAccraditation.dll','Lskj.PubAccraditation2.dll') then 'Lskj.PubBill.dll' when a.DllFileName='Lskj.BaseAccraditation.dll' then 'Lskj.PubModule.dll' else '' end as DllFileName
|
||||
,a.UrlParams,a.PurviewId,a.ParentMenuId,a.PurviewId as DllCode
|
||||
FROM P_FormMenuConfigTab a with(nolock)
|
||||
join P_FormMenuConfigTab aa with(nolock) on a.SubSysId=aa.SubSysId and LEFT(a.MenuStruct,2)=aa.MenuStruct
|
||||
where 1=1 and len(a.MenuStruct)=4 and a.useFlag=1 and aa.useFlag=1
|
||||
and a.dllfilename in ( 'Lskj.PubAccraditation.dll','Lskj.BaseAccraditation.dll')
|
||||
) a where 1=1 ";
|
||||
and a.dllfilename in ( 'Lskj.PubAccraditation.dll','Lskj.PubAccraditation2.dll','Lskj.BaseAccraditation.dll')
|
||||
) a where 1=1 ";
|
||||
sql = sql + where;
|
||||
DataTable dataTable = SqlHelper.ExecuteDataTable(sql);
|
||||
this.moduleControl.gridControl.DataSource = dataTable;
|
||||
|
||||
Reference in New Issue
Block a user