摘要:
话不多说上代码 import org.apache.http.Consts; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; impo 阅读全文
摘要:
官网:http://deepoove.com/poi-tl 这是一个简单的例子,具体看官方 添加依赖 <dependency> <groupId>com.deepoove</groupId> <artifactId>poi-tl</artifactId> <version>1.10.0</versi 阅读全文
摘要:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" / 阅读全文
摘要:
一、list去重 方法一 private static void removeDuplicate(List<String> list) { List<String> result = new ArrayList<String>(list.size()); for (String str : list 阅读全文
摘要:
只需在 count(字段) 里面加上distinct 即可 count(distinct 字段) 阅读全文
摘要:
我们在做图形面积计算或者导出地块时,总会遇到个别的地块坐标顺序不对,从而在计算面积时会出现面积为负数,这实在是太烦了,于是再我的不谢寻找下终于找到了解决这个的方法,这个方法就是拓扑 话不多说上代码,用以下代码就可以修复arcgis坐标面积为负的这个问题 主要用到的接口 ITopologicalOpe 阅读全文
摘要:
对象为stu 对象名为 姓名name(String) 性别 sex(String) 年龄 age(int) 默认有get set 跟有参构造方法 List<stu> list = new ArrayList<stu>(); list.add(new ("张三","男",15)); ist.add(n 阅读全文
摘要:
JavaScript: let row=[ {id:"1",name:"张三",age:"12"}, {id:"2",name:"李四",age:"10"}, {id:"3",name:"王五",age:"52"}, {id:"4",name:"赵六",age:"32"} ] 用下面这个函数直接自动 阅读全文
摘要:
1、导入依赖 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.15</version> </dependency> 2、上代码 package com.lens; 阅读全文
摘要:
话不多说 上代码 1、控制台引入插件 npm install xlsx-style --save npm install xlsx --save 2、需要修改源码:在\node_modules\xlsx-style\dist\cpexcel.js 807 行 的 var cpt = require( 阅读全文