![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
热心市民鲨鱼先生
这个作者很懒,什么都没留下…
展开
-
JAVA 导出CSV文件,不存在则新建,存在则追加
网上有很多教程,都是什么乱七八糟的。还是自己写的舒服 /** * * @param path 路径 * @param fileName 文件名 * @param headList 表头列表 * @param dataList 数据列表 */ public static void createCSV(String path, String fileName, List<String> headList, List<List&原创 2021-06-04 15:34:33 · 555 阅读 · 1 评论 -
Mybatis 报错 The error occurred while handling results,### Error querying database. Cause: java.lang.
select sum(patient_num) as patient_num from patient_report <where> project_id = #{projectId} <if test="siteId != null"> and site_id = #{siteId} </if> </where> 数据库字段返回NULL时,报空指针异常 解决方法 select COALESCE(sum(patient_原创 2021-03-21 17:24:06 · 1975 阅读 · 0 评论 -
mac typora快捷键
一级标题:⌘1 (command + 1) 二级标题:⌘2 (command + 2) 三级标题:⌘3 (command + 3) 四级标题:⌘4 (command + 4) 五级标题:⌘5 (command + 5) 段落:⌘o 不生效,快捷键冲突,使用⌃o (control + o) 提升标题级别:⌘= (command + =) 降低标题级别:⌘- (command + -) 表格:⌥⌘T (option + command + T) 代码块:⌥⌘C (option + command + C) 公式原创 2020-08-24 14:32:45 · 616 阅读 · 0 评论