全选,反选
摘要:1 //反选、计算 2 function trCheck(id,name,obj){ 3 if($("input[name='check']").length== $("input[name='check']:checked").length){ 4 $("input[name='all-check
阅读全文
前后端数据交互(json)
摘要:参数前要加上@RequestBody注解,参数类型可以是JSONObject、String,entity. 1 @RequestMapping(value="test",method=RequestMethod.POST,produces="application/json;charset=utf-
阅读全文
正则表达式匹配html标签里的中文
摘要:1 String str="<li>申办</li><li class=\"arrow\"></li><li>受理</li><li class=\"arrow\"></li><li class=\"cb\"><h2 id=\"chengban\" class=\"ready\">承办</h2><ul>
阅读全文
excel创建行、插入行、设置样式
摘要:1 package com.thinkgem.jeesite.modules.result.utils; 2 3 import java.io.IOException; 4 import java.io.OutputStream; 5 import java.util.Date; 6 7 impor
阅读全文