2021年10月26日

阿里Java开发手册(泰山版)个人记录

摘要: 工作中,记录时长,单位毫秒 阅读全文

posted @ 2021-10-26 16:07 ssk&lzs 阅读(16) 评论(0) 推荐(0) 编辑

2021年5月18日

下载excel模板

摘要: controller层: @RequestMapping(value = "/template-download", method = RequestMethod.GET)public ResponseEntity<byte[]> templateDownload() { return xxServ 阅读全文

posted @ 2021-05-18 17:38 ssk&lzs 阅读(76) 评论(0) 推荐(0) 编辑

2021年3月5日

微信公众号-发送模板消息

摘要: 官方文档地址:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#5 也可以参考此网址:https://blog.csdn.net/zhuzhezhuz 阅读全文

posted @ 2021-03-05 09:58 ssk&lzs 阅读(48) 评论(0) 推荐(0) 编辑

2021年2月23日

ffmpeg获取视频时长

摘要: /** * 获取视频时长 * * @param fileId * @return */ private Integer getFileDuration(String fileId) { String ffmpeg_path = "D:\\soft\\ffmpeg.exe"; String video 阅读全文

posted @ 2021-02-23 14:02 ssk&lzs 阅读(1353) 评论(0) 推荐(0) 编辑

2020年12月22日

微信公众号授权

摘要: 首次学习参考网址:https://blog.csdn.net/kelly921011/article/details/97776226 微信官方文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage 阅读全文

posted @ 2020-12-22 15:11 ssk&lzs 阅读(161) 评论(0) 推荐(0) 编辑

2020年11月23日

根据word模板生成word、转换成pdf、打成war包

摘要: 一、word模板 二、替换模板里的内容(创建一个WordUtils工具类) import org.apache.poi.xwpf.usermodel.*;import java.io.*;import java.util.Iterator;import java.util.List;import j 阅读全文

posted @ 2020-11-23 17:57 ssk&lzs 阅读(589) 评论(0) 推荐(0) 编辑

2018年12月28日

mysql函数

摘要: group_concat()函数,用于实现列转行 用法:group_concat( [DISTINCT] 要连接的字段 [Order BY 排序字段 ASC/DESC] [Separator '分隔符'] ) group_concat如何取第一个值: select substring_index(g 阅读全文

posted @ 2018-12-28 14:38 ssk&lzs 阅读(81) 评论(0) 推荐(0) 编辑

2018年11月5日

实际项目中如何使用git命令

摘要: 使用工具:Git Bash 工作空间项目存放路径C:/用户/git/demoProject 操作步骤: 1、切换到git项目路径 cd git/demoProject 2、git status // 查看当前分支有哪些修改 3、git add . // 把修改的文件添加到暂存区 4、git comm 阅读全文

posted @ 2018-11-05 10:34 ssk&lzs 阅读(153) 评论(0) 推荐(0) 编辑

2018年10月23日

contains用法

摘要: 判断List<UserInfoDto>里是否有重复的UserInfoDto,不能使用contains 例: List<UserInfoDto> list = new ArrayList<UserInfoDto>(); UserInfoDto dto = new UserInfoDto(); dto. 阅读全文

posted @ 2018-10-23 10:13 ssk&lzs 阅读(419) 评论(0) 推荐(0) 编辑

导航