Wesley13 Wesley13
3年前
java excel导出(表头合并,多行表头)
@RequestMapping(value"orderExcelList2")publicvoidorderExcelList2forJava(Orderorder,HttpServletResponseresponse){Map<String,ObjectmaptoOrderExcelJSONList2(order);
Wesley13 Wesley13
3年前
java生成条型码
importjava.text.SimpleDateFormat;importjava.util.Date;importjava.util.TimeZone;publicclassCode{ publicstaticvoidmain(String\\arg){      Sim
Wesley13 Wesley13
3年前
java第二次动手动脑
importjava.math.BigInteger;importjava.util.Scanner;publicclassCalculateN{/\\\@paramargs\/publicstaticvoidmain(String\\args){System.out.print
Stella981 Stella981
3年前
JSONObject.parseArray 获取集合
 importcom.alibaba.fastjson.JSONObject;1@PostMapping(value"/insertupdate")2publicResponseDatainserCase(@RequestBodyMap<String,Objectparam){3
Stella981 Stella981
3年前
Newtonsoft的序列化和反序列化
  classtest   {       publicstringa;      publicintb;       publicbyte\\c;       publicIntPtrd;   }把上面对象序列化成string并保存。 testtnewtest(){
Wesley13 Wesley13
3年前
Java集合类
一.常用的集合类  1.概述    我们可以用数组来保存信息但有些时候信息的条数不确定,数组的长度也就不确定,那么就有了集合,他的长度就是可变的  2.常见的集合类    !(https://images2018.cnblogs.com/blog/1347569/201808/13475692018082218293940
Stella981 Stella981
3年前
Mybatis中传递多个参数的方法总结
一、单个参数:publicList<XXBeangetXXBeanList(StringxxCode);<selectid"getXXXBeanList"parameterType"java.lang.String"resultType"XXBean"  selectt.
Stella981 Stella981
3年前
Angular下载文件
publicDown(path:string){returnthis.http.get(path,{responseType:"blob"}).subscribe((results){this.saveExcel(results,"导出数据");
Stella981 Stella981
3年前
HttpClient工具类
packagecom.pactera.business.utils;importjava.io.BufferedInputStream;importjava.io.BufferedOutputStream;importjava.io.BufferedReader;importjava.io.BufferedWriter;
Stella981 Stella981
3年前
JVM类加载
运行时数据区java虚拟机定义了若干种程序运行时使用到的运行时数据区1.有一些是随虚拟机的启动而创建,随虚拟机的退出而销毁2.第二种则是与线程一一对应,随线程的开始和结束而创建和销毁。java虚拟机所管理的内存将会包括以下几个运行时数据区域!(http://static.oschina.net/uplo