
多表组合查询(五)查询结果页面poi导出excel工具类
综合查询(五)查询结果页面 1)jsp页面代码 <%@ page contentType="text/html; charset=GBK"%><%@ page isELIgnored="false" %> <% String webPath = request.getContextPath(); %>
综合查询(五)查询结果页面 1)jsp页面代码 <%@ page contentType="text/html; charset=GBK"%><%@ page isELIgnored="false" %> <% String webPath = request.getContextPath(); %>
综合查询(四)后台功能模板 /** * 综合查询action */ public class ZhSearchAction extends StrutsEntityAction
综合查询(三) 前后台交互js //验证左右括号是否正确 var kh = function(str) { if(/^[\(|\)]*$/.test(str)||str==""){ return; }else{ alert("您输入的括号非法") return ; } } /** * 将字符串中的s1全部换成s2 * @param {Object} s1 字符串中包含的字符 * @param {
综合查询(二)--后台工具类准备 dom4j帮助类 /** * dom4j帮助类 * @author yxkong */ public class Dom4jUtil { /** * 获取文档的document对象 * @param xmlPath 文档路径 * @return * @throws Exception */ public static Document getDocument(String
功能描述:1)自定义从那几张表中查询数据 2)可自定义组合条件 3)自定义组合表头 4)可定制查询模板 5)可以选择查询模板回显上去 6)可将符合条件的所有数据导出成excel,根据类型创建不同的cell 效果图环境准备:可查询表和字段配置:search-conditions.xml