摘要: List<Person> persons = new ArrayList<>();//列表persons.add(new Person("aaa", 6,"A"));persons.add(new Person("bbb", 8,"A"));persons.add(new Person("aaa", 阅读全文
posted @ 2023-03-28 15:42 麦田守望 阅读(158) 评论(0) 推荐(0) 编辑
摘要: List<Long> cdids = Arrays.asList(params.get("cdids").toString().split(",")).stream().map(s -> Long.parseLong(s.trim())).collect(Collectors.toList()); 阅读全文
posted @ 2019-08-15 17:29 麦田守望 阅读(13176) 评论(0) 推荐(0) 编辑
摘要: List<Long> cdIds=cdList.stream().map(JcCdxx::getId).collect(Collectors.toList()); //获取集合的所有id list.stream().filter(xs-> xs.getXmbh().equals((Long)quer 阅读全文
posted @ 2019-08-06 15:42 麦田守望 阅读(1628) 评论(0) 推荐(0) 编辑
摘要: insert into tb_wrong_rec_apply (num, cid, `type`, `describe`, solution, seller_tel, seller_qq, seller_email, buyer_tel, buyer_qq, buyer_email, submi... 阅读全文
posted @ 2019-07-16 11:44 麦田守望 阅读(3764) 评论(0) 推荐(0) 编辑
摘要: 一. 1.引用js<script type="text/javascript" src="static/yhsystem/js/fileuploadExpand.js?v=1.2"></script> 2. <tr> <td style="width:82px;text-align:right;pa 阅读全文
posted @ 2018-09-05 17:15 麦田守望 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 修改Tomcat 下 server.xml 配置文件 <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> 阅读全文
posted @ 2018-08-06 17:27 麦田守望 阅读(197) 评论(0) 推荐(0) 编辑
摘要: var setting = { showLine: true, callback: { beforeClick: zTreeBeforeClick } }; //当前选中的节点 function zTreeBeforeClick(treeId, treeNode, clickFlag) { arrS 阅读全文
posted @ 2018-07-26 12:33 麦田守望 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: jQuery.fn.rowspan = function(colIdx) { //封装的一个JQuery小插件 return this.each(function(){ var that; $('tr', this).each(function(row) { $('td:eq('+colIdx+') 阅读全文
posted @ 2017-12-07 12:29 麦田守望 阅读(162) 评论(0) 推荐(0) 编辑
摘要: var colId="lineName" //排序的字段名称 //对json进行降序排序函数 var desc = function(x,y) { return (x[colId] y[colId]) ? 1 : -1 } data.list.sort(asc); //数据排序 阅读全文
posted @ 2017-09-07 15:09 麦田守望 阅读(763) 评论(0) 推荐(0) 编辑
摘要: // 遍历删除 部门为空的数据 Iterator<PageData> it = vioList.iterator(); while(it.hasNext()){ PageData x = it.next(); if(x.get("deptName").equals("")){ it.remove() 阅读全文
posted @ 2017-09-06 19:54 麦田守望 阅读(869) 评论(0) 推荐(0) 编辑