04 2020 档案

Spring中进行批量操作
摘要:有时我们需要执行批量操作,比如说批量删除等,前端只需要将要删除的记录的唯一id作为数组传递,后端可以依次自动生成SQL语句,比一条一条循环执行SQL效率会高很多; 1、定义VO对象: 1 public class IdsVO implements Serializable { 2 private s 阅读全文

posted @ 2020-04-23 16:01 小夏coding 阅读(605) 评论(0) 推荐(0)

idea spring boot 修改html等不重启即时生效
摘要:1) “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically”; 2) 组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打 阅读全文

posted @ 2020-04-14 11:22 小夏coding 阅读(1296) 评论(0) 推荐(0)

gitlab配置ssh连接
摘要:一、SSH key配置: 1、Git发全局配置: 1 git config --global user.name "username" 2 git config --global user.email "username@domain.com"\ 2、打开本地的git bash,输入如下命令生成公钥 阅读全文

posted @ 2020-04-01 11:45 小夏coding 阅读(2853) 评论(0) 推荐(0)

导航