笔记
萝卜爱滑板
这个作者很懒,什么都没留下…
展开
-
mybatisplus使用日记
mybatisplus使用日记简介:是一个 MyBatis 的增强工具,在 MyBatis 的基础上只做增强不做改变,为简化开发、提高效率而生。常用组成BaseMapper ,IService ,ServiceImplBaseMapper:继承该接口后,无需编写 mapper.xml 文件,即可获得CRUD功能(封装了crud的基本方法。)IService :进一步封装稍微复杂的方法如:批量操作,修改或者新增操作ServiceImpl :IService 的实现。Wrappers:条件构造原创 2020-12-29 20:54:40 · 154 阅读 · 0 评论 -
二维码打包转化为pdf
使用pdf装载打包工具包compile 'com.itextpdf:itextpdf:5.5.13'compile 'com.itextpdf:itext-asian:5.2.0' /** * LB * @param list 二维码名称集合 * @param destPath 二维码文件夹路径 * @throws IOException * @throws DocumentException */public static void createSimpleTable(List&原创 2020-12-08 15:22:56 · 447 阅读 · 0 评论 -
zpi打包文件夹使用笔记
zpi打包文件夹使用笔记public class ZipUtils {private static final int BUFFER_SIZE = 2 * 1024;/** * 压缩成ZIP 方法1 * * @param srcDir 压缩文件夹路径 * @param out 压缩文件输出流 * @param KeepDirStructure 是否保留原来的目录结构,true:保留目录结构; *原创 2020-12-08 15:10:50 · 257 阅读 · 0 评论