摘要: //资源(把 volatile去掉进行测试 )public class Demo { volatile int i =1;}//测试 public static void main(String[] args) throws InterruptedException { //一份资源 Demo de 阅读全文
posted @ 2018-11-02 16:43 主人翁 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1.使用IDEA进行版本控制 创建git repository add-添加到暂存区 commit-提交到本地库 push-推送指定远程库(自己的) idea上的pull指的是合并(merge),并非pull request(请求合并代码) idea仅支持github的pull request 2. 阅读全文
posted @ 2018-09-21 18:02 主人翁 阅读(1184) 评论(0) 推荐(0) 编辑
摘要: 在网上找了很久,特别是批量插入,很久都没有找到,终于最后一不小心就搞出来了。所以想写个随笔保存下来,一方面想提高自己的总结能力,一方面为了结识有相同兴趣的朋友(第一篇博客我的天纳😀) /** * 批量插入用户 */ @Insert("<script>" + "insert into t_notic 阅读全文
posted @ 2018-06-29 17:35 主人翁 阅读(240) 评论(0) 推荐(0) 编辑