模块补丁信息查看
select su as 补丁模块, count(1) as 数量 from gsppatchlog where TO_DAYS( NOW( ) ) - TO_DAYS(deployedtime) <= 300 group by su order by 2 desc
select patchcode from gsppatchlog where TO_DAYS( NOW( ) ) - TO_DAYS(deployedtime) <= 1 order by 1 desc
select categoryid,count(1) from gspaudit2311 where TO_DAYS( NOW( ) ) - TO_DAYS(datetime) <= 1 group by categoryid order by 2 desc
select date_format (datetime,'%Y-%m-%d') ,count(1) from gspaudit2311 where TO_DAYS( NOW( ) ) - TO_DAYS(datetime) <= 30 group by date_format (datetime,'%Y-%m-%d') order by 1 desc
select date_format (deployedtime,'%Y-%m-%d') , count(1) as 数量 from gsppatchlog where TO_DAYS( NOW( ) ) - TO_DAYS(deployedtime) <= 30 group by date_format (deployedtime,'%Y-%m-%d') order by 1 desc