摘要: //解析前端JSON乱码问题 public static void getAnalysis(String analysisData ) throws UnsupportedEncodingException { String name = URLEncoder.encode(analysisData 阅读全文
posted @ 2019-05-27 14:42 初级笔记 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: //获取两个时间之间的日期 public static int getDatePoor(Date endDate, Date nowDate) { Calendar cal = Calendar.getInstance(); cal.setTime(endDate); long time1 = ca 阅读全文
posted @ 2019-05-27 14:39 初级笔记 阅读(2113) 评论(0) 推荐(0) 编辑
摘要: //测试环境的接口地址 public static String URL = "http://xxx.xxx.xx.xxx:xxxx/CRM/WebService/WebService1.asmx"; //正式环境的接口地址// public static String URL = "http:// 阅读全文
posted @ 2019-05-27 14:37 初级笔记 阅读(2382) 评论(0) 推荐(0) 编辑
摘要: /** * 插入图片的方法 * @param wb表格对象 * @param sheet * @param url图片的地址 * @throws IOException */ public void setImageLoog( HSSFWorkbook wb ,HSSFSheet sheet ,St 阅读全文
posted @ 2019-05-27 14:31 初级笔记 阅读(450) 评论(0) 推荐(0) 编辑