会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
渔阳nice
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2019年4月18日
改MYSQL数据库时遇的错
摘要: //http://www.dongcoder.com/detail-1103326.html
阅读全文
posted @ 2019-04-18 17:38 渔阳nice
阅读(90)
评论(0)
推荐(0)
2019年4月4日
gradle 排除jar
摘要: 排除fastjson的包,其他同理compile('com.qq.sdk:core:2.0.3') { exclude group: 'com.alibaba'}
阅读全文
posted @ 2019-04-04 16:20 渔阳nice
阅读(2512)
评论(0)
推荐(0)
2019年3月11日
springboot controller传参,对象映射
摘要: 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
阅读(3794)
评论(0)
推荐(0)
2019年2月25日
将已有的lng lat 字段转换成point类型字段
摘要: 利用拼接字符串转换point select GeomFromText(CONCAT('POINT(',lng,' ',lat,')')) from community limit 1; 插入字段到新表 create table communityN as select *,GeomFromText(
阅读全文
posted @ 2019-02-25 16:35 渔阳nice
阅读(648)
评论(0)
推荐(0)
2019年2月19日
导入csv 到mysql数据库
摘要: 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
阅读(309)
评论(0)
推荐(0)
2019年2月13日
spring 数据库字段映射
摘要: 当有复杂名称字段时: 在repository中写代码字段名 可以添加field注解定义数据库字段名
阅读全文
posted @ 2019-02-13 20:00 渔阳nice
阅读(909)
评论(0)
推荐(1)
spring restTemplate使用方法
摘要: https://github.com/lenve/SimpleSpringCloud/tree/master/RestTemplate在Spring Cloud中服务的发现与消费一文中,当我们从服务消费端去调用服务提供者的服务的时候,使用了一个很好用的对象,叫做RestTemplate,当时我们只使
阅读全文
posted @ 2019-02-13 14:22 渔阳nice
阅读(417)
评论(0)
推荐(0)
2019年1月29日
mongo 大数据量更新注意事项
摘要: 1、大数据量最好在本地执行更新。 2、在客户端执行更新时需要注意serve活动时间(10分钟),10分钟内解决不了的使用batchSize 或者db.getCollection("").find({}).noCursorTimeout()。 3、print 输出语句会大大影响性能,测试好后注释掉。
阅读全文
posted @ 2019-01-29 19:16 渔阳nice
阅读(511)
评论(0)
推荐(0)
mongo大数据量更新服务端超时解决: Cursor not found, cursor id: 82792803897
摘要: mongodb pymongo.errors.CursorNotFound: Cursor not found, cursor id: 82792803897 默认 mongo server维护连接的时间窗口是十分钟 默认 单次从 server获取数据是101条或者 大于1M小于16M的数据 所以默
阅读全文
posted @ 2019-01-29 12:14 渔阳nice
阅读(2505)
评论(0)
推荐(1)
JS 判断是否为null
摘要: 1.判断undefined: var tmp = undefined; if (typeof(tmp) == "undefined"){ alert("undefined"); }说明:typeof 返回的是字符串,有六种可能:"number"、"string"、"boolean"、"object"
阅读全文
posted @ 2019-01-29 11:14 渔阳nice
阅读(14703)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告