AA.Dapper基于dapper进一步封装而成的orm框架,提供增删改查、分页、事务、原生sql的功能,以满足日常的业务开发。 1.Repository层: DapperRepository类包含大部分数据库操作如图: DapperContext.Current.DataBase类支持原生sql, ...
分类:
移动开发 时间:
2020-10-09 20:53:39
阅读次数:
34
1.Spring 容器几个重要的接口 org.springframework.core.env.Environment Interface representing the environment in which the current application is running. 继承自org ...
分类:
编程语言 时间:
2020-10-09 20:48:51
阅读次数:
25
MAN Diagnostic Tool MAN CAT T200 is a new arrival device , let’s see what’s the tool is . MAN-cats T200 is an external diagnosis system with the most ...
分类:
其他好文 时间:
2020-09-24 21:41:47
阅读次数:
36
首先查看你的本地命令行中是否安装了 Docsify。 运行 docsify -v 如果显示: C:\WorkDir\Repository\cwiki-us-docs\spring-boot-docs>docsify -v 'docsify' is not recognized as an inter ...
分类:
其他好文 时间:
2020-09-17 22:24:22
阅读次数:
29
原文链接IT思维前提调试业务服务期间,服务日志需要写入es集群,发现数据写入报错。报错内容如下ElasticsearchDeprecationWarning:Inafuturemajorversion,thisrequestwillfailbecausethisactionwouldadd[10]totalshards,butthisclustercurrentlyhas[20242]/[2000
分类:
其他好文 时间:
2020-09-17 19:14:47
阅读次数:
48
同步代码块以及同步方法之间的区别和关系 上一篇文章我们是使用了同步代码块的方式改进了银行排队取号程序,接下来我们把锁放在方法上试一下: public class TicketWindowRunnable implements Runnable { private int index = 1; pri ...
分类:
其他好文 时间:
2020-09-17 15:37:44
阅读次数:
19
机器为172.25.1.23172.25.1.24172.25.1.28可以在/conf/users.properties中寻找http://172.25.1.28:8161/index.htmladminadminTCP端口61616(主从集群172.25.1.23,172.25.1.24,172.25.1.28)管理端口8161软件下载zookeeper下载地址:https://mirror.
分类:
其他好文 时间:
2020-09-17 13:05:39
阅读次数:
28
概念:什么是双向链表 双向链表也叫双链表,是链表的一种,它的每个数据结点中都有两个指针,分别指向直接后继和直接前驱。 所以,从双向链表中的任意一个结点开始,都可以很方便地访问它的前驱结点和后继结点。一般我们都构造双向循环链表。 代码简单实现: """ author: zhao xian xin 不积 ...
分类:
编程语言 时间:
2020-09-17 12:51:13
阅读次数:
34
链表是一种常见的数据结构,链表是由一连串的结点组成,这个节点就是链结点,每个链结点都由数据域和指针域两部分组成。使用链表结构可以克服数组结构需要预先知道数据大小的缺点,链表结构可以充分利用计算机内存空间,实现灵活的内存动态管理。
分类:
其他好文 时间:
2020-09-14 19:09:09
阅读次数:
25
1.首先写一个测试用例; public class Main { public static void main(String[] args) { System.out.println("Hello World!"); Thread thread = new Thread(new Worker()) ...
分类:
编程语言 时间:
2020-09-07 18:47:25
阅读次数:
40