随笔分类 -  工具

摘要:package com.controller.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class DateUtil { public static Dat... 阅读全文
posted @ 2019-05-07 18:57 石洋 阅读(147) 评论(0) 推荐(0)
摘要:public static String fileUploadL(MultipartFile file, String path){ String extName = file.getOriginalFilename().substring(file.getOriginalFilename().lastIndexOf(".")); String fileName... 阅读全文
posted @ 2018-12-26 14:19 石洋 阅读(815) 评论(0) 推荐(0)
摘要:@RequestMapping(value="/saveArticlesPic", method = RequestMethod.POST) @ResponseBody public Object saveArticlesPic(@RequestParam(required = false) MultipartFi... 阅读全文
posted @ 2018-09-25 10:28 石洋 阅读(196) 评论(0) 推荐(0)
摘要:private static List getBetweenDates(Date start, Date end) { List result = new ArrayList(); Calendar tempStart = Calendar.getInstance(); tempStart.setTime(start); //tem... 阅读全文
posted @ 2018-09-05 16:43 石洋 阅读(457) 评论(0) 推荐(0)
摘要:myeclipse10.7的版本破解后,导出war包时报“SECURITY ALERT: INTEGERITY CHECK ERROR”的错误。 选中项目-》export-》java ee -》war 。。。。一点就报如下错误: 然后myeclipse就自动关闭,并弹出如下窗口: 首先下载这个jar 阅读全文
posted @ 2018-01-22 10:43 石洋 阅读(238) 评论(0) 推荐(1)