12 2021 档案

摘要:下载驱动地址 https://www.elastic.co/cn/downloads/past-releases/#jdbc-client 1.添加Driver 2.Driver界面 点+号,出现一个新的user Driver驱动 在Driver Files点+号 选择 custom JARs... 阅读全文
posted @ 2021-12-30 14:17 Ash灬 阅读(1627) 评论(0) 推荐(0)
摘要:jpa @Query中使用in,需要注意参数一定要是List<>,不然无法查询出数据。 @Query(value = "select count(*) from financial_style_productitem_detailed fspd where fspd.id in(:ids)", na 阅读全文
posted @ 2021-12-27 16:07 Ash灬 阅读(1377) 评论(0) 推荐(0)
摘要:字符串转日期函数: STR_TO_DATE('2021-7-21','%Y-%m-%d') 日期转字符串函数: DATE_FORMAT(date,'%Y-%m-%d') 日期加一天或者一月或一年: 因为在数据库查询时候,如果查询日期date: date >= '2021-07-01' and dat 阅读全文
posted @ 2021-12-09 17:45 Ash灬 阅读(1410) 评论(0) 推荐(0)
摘要:Map<String, String> map = new HashMap<>(); // Convert all Map keys to a List List result = new ArrayList(map.keySet()); // Convert all Map values to a 阅读全文
posted @ 2021-12-09 13:30 Ash灬 阅读(1626) 评论(0) 推荐(0)