摘要: //http://www.dongcoder.com/detail-1103326.html 阅读全文
posted @ 2019-04-18 17:38 渔阳nice 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 排除fastjson的包,其他同理compile('com.qq.sdk:core:2.0.3') { exclude group: 'com.alibaba'} 阅读全文
posted @ 2019-04-04 16:20 渔阳nice 阅读(2492) 评论(0) 推荐(0) 编辑
摘要: Post请求,对象映射时,在参数 加 @RequestBody: 传入对象内字段的json才能映射 {"legendData": [100,90,80,70,60,50,40,30],"gridList": {"grid": [ [116.59021090817286,39.916868751180 阅读全文
posted @ 2019-03-11 18:31 渔阳nice 阅读(3766) 评论(0) 推荐(0) 编辑
摘要: 利用拼接字符串转换point select GeomFromText(CONCAT('POINT(',lng,' ',lat,')')) from community limit 1; 插入字段到新表 create table communityN as select *,GeomFromText( 阅读全文
posted @ 2019-02-25 16:35 渔阳nice 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 1、查询导入数据存放位置 show variables like '%secure%'; + + + | Variable_name | Value |+ + +| require_secure_transport | OFF || secure_auth | ON || secure_file_p 阅读全文
posted @ 2019-02-19 15:38 渔阳nice 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 当有复杂名称字段时: 在repository中写代码字段名 可以添加field注解定义数据库字段名 阅读全文
posted @ 2019-02-13 20:00 渔阳nice 阅读(890) 评论(0) 推荐(1) 编辑
摘要: https://github.com/lenve/SimpleSpringCloud/tree/master/RestTemplate在Spring Cloud中服务的发现与消费一文中,当我们从服务消费端去调用服务提供者的服务的时候,使用了一个很好用的对象,叫做RestTemplate,当时我们只使 阅读全文
posted @ 2019-02-13 14:22 渔阳nice 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 1、大数据量最好在本地执行更新。 2、在客户端执行更新时需要注意serve活动时间(10分钟),10分钟内解决不了的使用batchSize 或者db.getCollection("").find({}).noCursorTimeout()。 3、print 输出语句会大大影响性能,测试好后注释掉。 阅读全文
posted @ 2019-01-29 19:16 渔阳nice 阅读(496) 评论(0) 推荐(0) 编辑
摘要: mongodb pymongo.errors.CursorNotFound: Cursor not found, cursor id: 82792803897 默认 mongo server维护连接的时间窗口是十分钟 默认 单次从 server获取数据是101条或者 大于1M小于16M的数据 所以默 阅读全文
posted @ 2019-01-29 12:14 渔阳nice 阅读(2419) 评论(0) 推荐(1) 编辑
摘要: 1.判断undefined: var tmp = undefined; if (typeof(tmp) == "undefined"){ alert("undefined"); }说明:typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object" 阅读全文
posted @ 2019-01-29 11:14 渔阳nice 阅读(14645) 评论(0) 推荐(0) 编辑