上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: mongdb 查询: db.mogu_attendance.aggregate([ { "$match":{ "schoolId" : "f11c8ea12f457dbc19c768a8bb6357f8"}} , { "$project":{address:1,memberId:1,attenden 阅读全文
posted @ 2019-08-24 13:01 zhoudingzhao 阅读(164) 评论(0) 推荐(0) 编辑
摘要: net.sf.json.JSONArray; 的 阅读全文
posted @ 2019-08-20 19:41 zhoudingzhao 阅读(12096) 评论(0) 推荐(0) 编辑
摘要: mongodb 的分页查询: 查询个数: 设置mongobd 表保留的文档数: MongoDB有两种集合能实现比较类似的功能。一种是TTL(Time To Live)集合,mongod会自动删除过期的文档。http://docs.mongodb.org/manual/tutorial/expire- 阅读全文
posted @ 2019-07-20 18:25 zhoudingzhao 阅读(119) 评论(0) 推荐(0) 编辑
摘要: docker 安装mysql: docker run --name mysqlserver -e MYSQL_ROOT_PASSWORD=root_password -d -i -p 9627:3306 mysql:5.7 docker端口 9627 阅读全文
posted @ 2019-06-27 20:45 zhoudingzhao 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1:把字符串列表转成大写 放到一个字符串列表中:List<String> test = Stream.of("tomc", "javk", "Hello", "DICK").map(a -> a.toUpperCase()).collect(toList()); System.out.println 阅读全文
posted @ 2019-06-12 14:27 zhoudingzhao 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 更新gradle的依赖后,刷新项目引入jar包的方法: view--Tool Buttons 在右侧 Gradle 点刷新 阅读全文
posted @ 2019-06-09 21:22 zhoudingzhao 阅读(170) 评论(0) 推荐(0) 编辑
摘要: spring boot 和 mybatis 中使用 pagehelper: 1、 在pom.xml 中加入pagehelper的引用: 2. 在 application.properties 文件中增加: 在 application.properties 中增加以下的语句,打开 com.exampl 阅读全文
posted @ 2019-06-03 17:46 zhoudingzhao 阅读(4399) 评论(1) 推荐(0) 编辑
摘要: 把mybatis 的配置文件放到 src/main/resources 下,文件内容如下: 阅读全文
posted @ 2019-04-16 11:53 zhoudingzhao 阅读(103) 评论(0) 推荐(0) 编辑
摘要: Future 接口对于具体的Runnable 或者 Callable 任务的执行结果进行取消、查询是否完成、获取结果。 get() 方法获取结果会产生阻塞,会一直等到任务执行完毕才返回。 V get(long timeout, TimeUnit unit) 获取执行结果,如果在指定的时间内,没有获取 阅读全文
posted @ 2019-04-08 14:37 zhoudingzhao 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 路径1 路径2 阅读全文
posted @ 2019-03-30 17:42 zhoudingzhao 阅读(10563) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页