摘要: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregate 阅读全文
posted @ 2021-08-25 10:08 northli 阅读(86) 评论(0) 推荐(0)
摘要: sheet.shiftRows(2, sheet.getLastRowNum(), 1);https://www.cnblogs.com/linvan/p/10860538.html 阅读全文
posted @ 2021-08-19 16:36 northli 阅读(161) 评论(0) 推荐(0)
摘要: List<ZbRadar> zbRadars_temp = zbDataStatisticsAndAuditService.selectZbRadar(zbRadar); List<ZbRadar> zbRadars = zbRadars_temp.stream().filter(s-> Float 阅读全文
posted @ 2021-08-18 10:07 northli 阅读(106) 评论(0) 推荐(0)
摘要: 原因:有两个mysql 服务, 正确的mysql服务没有启动 阅读全文
posted @ 2021-08-11 09:20 northli 阅读(35) 评论(0) 推荐(0)
摘要: select count(*) from sys_dept where find_in_set("T0001", ancestors) or dept_id="T0001" select count(*) from sys_dept where ancestors like concat('%', 阅读全文
posted @ 2021-07-28 10:47 northli 阅读(88) 评论(0) 推荐(0)
摘要: 1. select replace(uuid(), '-', ''); 2. mysql循环函数和变量声明,相加, 不同mysql版本函数头不一样 function `20wdata(count int) return varchar(100)` begin declare i int; decla 阅读全文
posted @ 2021-07-26 19:27 northli 阅读(276) 评论(0) 推荐(0)
摘要: String str = "aaa,bbb,ccc,ddd,";String[] strArray = str.split(",");System.out.println(strArray); 阅读全文
posted @ 2021-07-25 14:54 northli 阅读(366) 评论(0) 推荐(0)
摘要: 截取第二个 '.' 之前的所有字符。 select substring_index('www,sqlstudy,com,cn', ',', 2); 参考自 https://blog.csdn.net/mlks_2008/article/details/3983981?utm_medium=distr 阅读全文
posted @ 2021-07-25 12:08 northli 阅读(312) 评论(0) 推荐(0)
摘要: 1. IDEA settings--> Compiler --> Make project automatically 选项勾选 转载自:https://www.cnblogs.com/duaner92/p/10833798.html 阅读全文
posted @ 2021-07-23 11:29 northli 阅读(304) 评论(0) 推荐(0)
摘要: ctrl+alt+左箭头/右箭头 阅读全文
posted @ 2021-07-15 15:08 northli 阅读(606) 评论(0) 推荐(0)