sql_sysquery
列表类
../../Admin/Images/LabelIco/PE_Author.gif
公告列表
]]>
outputQty
supersql
10
列表数量
titleLength
int
40
标题长度
contentLength
string
0
是否显示内容,为0时则不显示内容
displayAuthor
bool
true
是否显示发布者
displayDateTime
string
是否显示日期,为空则不显示
SELECT TOP *
FROM PE_U_Announce UT
INNER JOIN PE_CommonModel CM ON ( UT.ID = CM.GeneralID )
WHERE CM.Status = 99
AND UT.IsSelected = 1
AND ( DATEADD(d, UT.OutTime, UT.DateAndTime) >= GETDATE() OR UT.OutTime = 0 )
AND UT.ShowType IN ('弹出','全部')
AND UT.ShowType IN ('滚动','全部')
ORDER BY UT.DateAndTime DESC
]]>
sin
12
False
true
false
outputType
int
0
输出类型:1为弹出;2为滚动;0为全部