# wlqq **Repository Path**: ddrsg/wlqq ## Basic Information - **Project Name**: wlqq - **Description**: 项目中使用的各种插件工具。自己写着方便复制粘贴的。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2021-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##工具类项目
####1、把各种不同的插件集合到一块方便后期使用,拿过来复制粘贴就可以使用
######1、pdf导出 主测试类 pdfTest private static void test(String templateName,String outPath,Class pdfClass) { PDF pdf = PDFFactory.getPDF(pdfClass); Map map = new HashMap<>(); //存放文字和图片 map.put("name","中国社会主义价值核心观"); map.put("imgUrl","/Users/renjianjun/Downloads/我的/斗图/mao.jpg"); try { boolean b = pdf.writeToPDF(map, templateName, new FileOutputStream(new File(outPath))); System.out.println("输出到" + outPath); } catch (FileNotFoundException e) { e.printStackTrace(); } } 前端问题: body { /*如果使用的字体没有,那么中文不会显示*/ font-family: SimHei,serif; } ######2,excel上传和错误数据下载,带进度条
   1,如果数据很少,传输速度很快,进度条看不到的,很快关闭所以看不到。可以去参考layer的进度条自己改动测试
   2,项目中的数据库导入数据存储,没写,可以更具自己的条件来操作。
      位置:ImportantService#isCheckRecord 方法中
   3,ImportantExcelController 这里是测试的controller进去看就知道怎么用了
######3,simditor富文本编辑器
    1,图片上传
    2,作为form表单一部分,提交到后台
######4,email工具的整理
  ** 邮件
   *  * 1.普通文本 sendText  html消息  sendHtml
   *  * 2.图片
   *  * 3.附件 sendFile
   *  * 4.文本+图片 sendTextPhoto
   *  * 5.图片文本附件 sendTextPhotoFile
   *  * 6.抄送,密送
   *  * 7.群发【普通发送的时候把发送地址拼接字符串a,b.c】
  
######5,简约型的线条聚合背景【感觉好看作为背景不错】 ######6,fullCalendar
中文文档 https://www.helloweba.net/tag/fullcalendar.html
*后端简单写了一个数据
*前端的注释多一点可以看看 fullCalendar.html
######7,数据写出到excel中,html字符串转化为excel ExcelController
com/rjj/wlqq/tool/excel 工具类:excel的导出和解析html ######8,aop 使用注解和不用注解两种方式测试aspect ######9,监听listen implements BeanPostProcessor 实现这个类来实现了一个启动项目获取访问路径的功能 com/rjj/wlqq/listen/myListen 自定义事件,测试了一下