政务公开 公开信息查询列表 sin sql_sysquery False IndexNumber supersql 索引号 Title supersql 名称 Content supersql 正文 StartDate supersql 起始日期 EndDate supersql 结束日期 Keyword supersql 关键词 True true true SELECT Top @pagesize * FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0 AND IndexNumber = '@IndexNumber' AND Title Like '%@Title%' AND Content Like '%@Content%' AND PublicTime >= '@StartDate' AND PublicTime <= '@EndDate' AND Keyword Like '%@Keyword%' AND ID not in (SELECT Top @startrow ID FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0 AND IndexNumber = '@IndexNumber' AND Title Like '%@Title%' AND Content Like '%@Content%' AND PublicTime >= '@StartDate' AND PublicTime <= '@EndDate' AND Keyword Like '%@Keyword%' ORDER BY PublicTime DESC ) ORDER BY PublicTime DESC SELECT Count(ID) FROM PE_GV_PublicInformation WHERE Status = 2 AND IsExpired = 0 AND IndexNumber = '@IndexNumber' AND Title Like '%@Title%' AND Content Like '%@Content%' AND PublicTime >= '@StartDate' AND PublicTime <= '@EndDate' AND Keyword Like '%@Keyword%' ]]> 标记之间写分页SQL查询语句 select count(id) from PE_GV_PublicInformation ]]> 请先建立SQL分页语句
索引号 信息名称 文号 产生日期 公开类型
Government/PublicInfoShow.aspx?ID= 主动公开 申请公开
]]>