自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 制作execl表格心得(二)

@RequestMapping("/exportExecl") public void importExecl(String billNo, HttpServletRequest request, HttpServletResponse response) throws Exception { InputStream imageInputStream = Thread.c...

2019-08-19 09:15:00 645

原创 表格制作心得(一)

public ResMsg getPrint(Integer id){ PrintMainBillOut printMainBillOut= billPrintTableService.printSaleBill(id); String url = CacheManager2.getConfigArgByKey("imageUrl"); Stri...

2019-08-19 09:10:13 1389

原创 xml转json

import org.dom4j.Attribute; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.DocumentHelper; import org.dom4j.Element; import com.alibaba.fastjson.JSONArray; import co...

2018-12-26 16:27:06 624

原创 java后端关于树结构的代码

public class Node { private Long id; private String name; private Long parentId; private List<Node> childs; public Node(Long id, String name, Long parent...

2018-07-27 10:27:04 1558

原创 浅谈企业中redis运用在项目中的基础方法

静态块初始化redis连接池static { try { JedisPoolConfig config = new JedisPoolConfig(); config.setMaxTotal(MAX_ACTIVE);//可用实例连接最大数量,如果pool已经分配了maxActive个jedis实例,则此时poo...

2018-03-05 10:51:42 2048

原创 实际企业项目中用到的时间处理的基础方法(2)

获取时间/** * * @Description:获取当前时间,格式yyyy-MM-dd HH:mm:ss * @param type * (0,当前时间,1秒,2分,3小时,4天,5月,6年) * @param time * (当前时间前后时间点) * @return * @version:v1 * @date:2...

2018-02-28 10:16:34 191

原创 实际企业项目中用到的时间处理的基础方法(1)

当前日期与指定日期的差值public static String timeInterval(String date) { Date date1 = new Date(); Date date2 = null; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");...

2018-02-28 09:09:55 209

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除