摘要: package com.eureka.dataplatform.serviceapi.config.JdbcConnectionConfig;import com.eureka.dataplatform.common.enums.DWTypeEnum;import com.eureka.datapl 阅读全文
posted @ 2021-10-11 18:10 JasonKong 阅读(455) 评论(0) 推荐(0) 编辑
摘要: springboot使用rest-high-level-client集成elasticsearch 7.5.1 添加pom <!--elasticsearch--> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactI 阅读全文
posted @ 2020-12-08 17:54 JasonKong 阅读(642) 评论(0) 推荐(0) 编辑
摘要: 1、Vue组件中如何引入iframe? <template> <div class="act-form"> <iframe :src="src"></iframe> </div> </template> <script> export default { data () { return { src 阅读全文
posted @ 2020-10-23 10:01 JasonKong 阅读(2022) 评论(2) 推荐(0) 编辑
摘要: 本文链接:https://blog.csdn.net/xiao__gui/article/details/8616224不知道有没有人碰到过这样恶心的问题:两张表连接查询并limit,SQL效率很高,但是加上order by以后,语句的执行时间变的巨长,效率巨低。 情况是这么一个情况:现在有两张表, 阅读全文
posted @ 2019-10-31 10:27 JasonKong 阅读(1969) 评论(1) 推荐(0) 编辑
摘要: public int setPrivilegeForUser(Integer[] privIds, Integer userId) { Map<String, Object> map = new HashMap<>(); map.put("privIds", privIds); map.put("u 阅读全文
posted @ 2019-09-09 11:51 JasonKong 阅读(696) 评论(0) 推荐(0) 编辑
摘要: Long messageTask = taskResult.stream().filter(e -> e.get("taskTypeId").toString().equals("202")|| e.get("taskTypeId").toString().equals("206")) .colle 阅读全文
posted @ 2019-09-03 18:34 JasonKong 阅读(5346) 评论(1) 推荐(0) 编辑
摘要: public static void main(String[] args) { List<Student> list = Lists.newArrayList(); list.add(new Student("测试", "男", 18)); list.add(new Student("开发", " 阅读全文
posted @ 2019-08-30 10:39 JasonKong 阅读(1532) 评论(0) 推荐(0) 编辑
摘要: java8利用lambda表达式对map集合进行分组求和,求最大值,平均值 List<Map<String,Object>> counts = cardMapper.getCount(map);//查询数据库得到的map集合List<Map<String,Object>> result =new A 阅读全文
posted @ 2019-07-15 14:26 JasonKong 阅读(13305) 评论(1) 推荐(0) 编辑
摘要: 1.先用word制作一个模版 2.将文件存为.xml格式 3.打开xml文件,将模版中需要替换的地方外面加上${} 表格的添加方式:在<w:tr>外面加上<#list rows as list>, 在需要替换的地方改为${list.} 4.改完后,将文件存在沸ftl格式保存 java代码如下: 模版 阅读全文
posted @ 2019-07-15 14:25 JasonKong 阅读(470) 评论(0) 推荐(0) 编辑