如果接口中的方法拥有多个参数,那么在mapper文件中该如何获取呢? 有三种方式: 1、就是普通写法,在文件中通过arg或param获取 2、使用Map集合,在文件中使用#{key}获取 3、使用注解@param,在文件中使用#{名称} 1、arg或param获取 接口对应的方法: int upda ...
分类:
其他好文 时间:
2019-02-12 14:45:17
阅读次数:
179
Your car starts at position 0 and speed +1 on an infinite number line. (Your car can go into negative positions.) Your car drives automatically accord ...
分类:
其他好文 时间:
2019-02-11 00:59:54
阅读次数:
259
转自:https://purpleidea.com/blog/2016/01/18/next-generation-configuration-mgmt/ It’s no secret to the readers of this blog that I’ve been active in the ...
分类:
其他好文 时间:
2019-02-10 10:49:17
阅读次数:
142
https://leetcode.com/tag/linked-list/ ...
分类:
其他好文 时间:
2019-02-09 22:35:10
阅读次数:
185
深拷贝和浅拷贝区别 假设A复制了B,当B属性值发生改变 A也跟着改变 这就是浅拷贝 反之深拷贝, ...
分类:
其他好文 时间:
2019-02-07 20:28:45
阅读次数:
188
把Genymotion-ARM-Translation_v1.zip拖进去提示 Files successfully copied to: /sdcard/Download 但还是不能安装apk 解决办法: 直接自己手动flash 这个archive. 1. adb shell 2. cd /sdc ...
分类:
其他好文 时间:
2019-02-07 09:14:23
阅读次数:
857
UML类图 1、关联关系 关联关系又可进一步分为单向关联、双向关联和自关联。 (1)单向关联 我们可以看到,在UML类图中单向关联用一个带箭头的直线表示。上图表示每个顾客都有一个地址,这通过让Customer类持有一个类型为Address的成员变量类实现。 (2)双向关联 从上图中我们很容易看出,所 ...
分类:
其他好文 时间:
2019-02-06 22:40:41
阅读次数:
152
1.互联网数据指数 百度指数:http://index.baidu.com/ 阿里指数:http://index.1688.com/ TBI腾讯浏览指数:http://tbi.tencent.com/ 新浪微博微指数:http://data.weibo.com/index/ 2.政府机构数据 Nat ...
分类:
Web程序 时间:
2019-02-06 15:50:49
阅读次数:
240
算法描述: here are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it ...
分类:
其他好文 时间:
2019-02-06 11:56:04
阅读次数:
96
前言: 今天写了一个关于Java内部的博客,在内部类的最后一点中谈到了Java闭包的概念,他是这样定义闭包的:闭包是一个可调用的对象,它记录了一些信息,这些信息来自创建它的作用域。结合Java的内部类可以很好的理解这一点(如有需要可参考https://www.cnblogs.com/jinliang ...
分类:
编程语言 时间:
2019-02-05 09:22:09
阅读次数:
202