<%
new CommDAO().delete(request,"jiaolian");
String url = "jiaolian_list.jsp?1=1";
String sql = "select * from jiaolian where 1=1";
if(request.getParameter("gonghao")=="" ||request.getParameter("gonghao")==null ){}else{sql=sql+" and gonghao like '%"+request.getParameter("gonghao")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if(request.getParameter("zhuanchang")=="" ||request.getParameter("zhuanchang")==null ){}else{sql=sql+" and zhuanchang like '%"+request.getParameter("zhuanchang")+"%'";}
sql+=" order by id desc";
ArrayList list = PageManager.getPages(url,15,sql, request);
int i=0;
for(HashMap map:list){
i++;
%>