- 博客(6)
- 收藏
- 关注
原创 activiti完成任务,设置下一节点处理人
最近在学习activiti,记录一下怎么在完成当前节点任务时,动态设置下一节点的处理人 //获取引擎 val processEngine = ProcessEngines.getDefaultProcessEngine(); //获取taskService val taskService = processEngine.taskService //根据流程key 和 任务的负责人 查询任务 val task = taskService.createTaskQuery
2021-10-25 17:44:08 4676
原创 Windows安装Elasticsearch-head 插件记录
不用翻墙安装Elasticsearch-headhttps://github.com/liufengji/es-head在GitHub上面下载插件ZIP下载后解压,把里面的文件格式改为rar,然后解压把_metadata改名为metadata然后在谷歌扩展程序里面选择,加载已解压的扩展程序添加完成...
2021-10-15 11:28:03 93
原创 记录一下springcloud引入swagger2
**记录一下springcloud引入swagger2**在需要使用swagger的服务里,引入架包<!-- Swagger核心包 start --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2...
2021-07-08 11:08:53 150
原创 通过mybatis查询一张表,某些字段值为null,但实际有值
记录一下使用mybatis查询数据时,发现数据库是有值的,但是查询出来却没有值。1、检查sql没有问题<select id="getSickPerson" resultType="com.test.test.dao.SickPerson" >后来发现是需要在这上面加上resultMap=“SickPersonMapper” 指定你的mapper名称<select id="getSickPerson" resultMap="SickPersonMapper" resultType=
2021-06-30 16:02:55 330
原创 POI导出,Excel数值无法进行换算问题
POI导出,Excel数值无法进行换算问题for (Map<String, String> map : list) { Row row = sheet.createRow(j); for (int k = 0; k < headerList.size(); k++) { HSSFCellStyle contextstyle =wb.createCellStyle(); Cell cell = row.createCell(k);
2021-06-08 19:27:03 276
原创 模糊搜索ArrayList里的数据
根据字段模糊匹配ArrayList里的数据使用正则表达式进行匹配降筛选后的数据重新放入一个listList<Object> dataInfo = new ArrayList<>();Integer depar_id = data.getInt("departmentId"); if(depar_id!=null){ String idStr = ","+depar_id+","; String departmentIdNew =
2021-04-14 18:51:19 319
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人