上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 83 下一页

2020年4月24日

"Connect to localhost:9000 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect",

摘要: 这种低级的错误以后不要再犯了 原因,外部网关和内部网关项目没有启动造成的。 阅读全文

posted @ 2020-04-24 19:15 ~码铃薯~ 阅读(8597) 评论(0) 推荐(0) 编辑

2020年4月23日

mybatis框架--类型转化异常

摘要: 我们在使用mybatis框架写项目的时候,parametertype这个入口参数,建议是不写的,如果写的话,传入的参数与数据库中字段的参数不一致的话,是会报类型转化异常的,不写的话,反而会更好,能够自动试别。 阅读全文

posted @ 2020-04-23 18:09 ~码铃薯~ 阅读(523) 评论(0) 推荐(0) 编辑

2020年4月22日

ubuntu解决xshell不能直接连接root用户的方法

摘要: vi /etc/ssh/sshd_config # Authentication:LoginGraceTime 120#PermitRootLogin without-passwordPermitRootLogin yesStrictModes yes service ssh restart 如果使 阅读全文

posted @ 2020-04-22 22:59 ~码铃薯~ 阅读(683) 评论(0) 推荐(1) 编辑

微服务项目-@value注解

摘要: 昨天,自己迁移了几个模块的代码,一共有好几百个类,自己在迁移的过程中是各种的报错,真的很无奈,其中,有一点是自己对于属性上面添加的@value注解的理解不清楚导致的。 @value注解:按我的理解是,在项目启动的时候,@value会自动读取配置文件给他赋的默认值,如果配置文件中不写,那么是装配不上的 阅读全文

posted @ 2020-04-22 09:23 ~码铃薯~ 阅读(413) 评论(0) 推荐(0) 编辑

2020年4月19日

mybatis带有序列的插入sql--保留一个做纪念

摘要: 现在项目都要换成雪花算法生成主键,之前使用序列的方式不用了,但是害怕自己忘记了以前的方式,特意记下来一个。 <insert id="commit" parameterType="com.picc.hmims.productInfo.dto.ExamineBo"> <selectKey keyProp 阅读全文

posted @ 2020-04-19 08:53 ~码铃薯~ 阅读(478) 评论(0) 推荐(0) 编辑

2020年4月16日

java.lang.IllegalArgumentException: Illegal pattern character 'T'

摘要: 改成这个样子就好了 阅读全文

posted @ 2020-04-16 16:47 ~码铃薯~ 阅读(4214) 评论(0) 推荐(0) 编辑

2020年4月10日

postgresql数据库-number类型模糊查询

摘要: 这两种方式都是可以的: select * from aaa a where a.org_code ||'' like '86%';--推荐使用这种,简单,一看就是高手写出来的 select * from aaa where 1=1 and cast(org_code as varchar(10)) 阅读全文

posted @ 2020-04-10 23:35 ~码铃薯~ 阅读(2302) 评论(0) 推荐(0) 编辑

在线朗读软件

摘要: https://www.ffkuaidu.com/ 当我们读文档比较累的时候可以使用。 阅读全文

posted @ 2020-04-10 16:32 ~码铃薯~ 阅读(122) 评论(0) 推荐(0) 编辑

2020年4月7日

function to_timestamp(timestamp with time zone, unknown) does not exist 东八区日期格式

摘要: 解决办法: 实体类修改:添加时区 mapper.xml修改: 业务代码中进行赋值: 注意: System.out.println("new Date() "+new Date());输出结果:new Date() Tue Apr 07 20:18:51 CST 2020最终落库的数据: 东八区日期格 阅读全文

posted @ 2020-04-07 20:16 ~码铃薯~ 阅读(3959) 评论(0) 推荐(0) 编辑

2020年4月6日

jdk和jre之间的区别

摘要: https://blog.csdn.net/zhongguomao/article/details/91347743 阅读全文

posted @ 2020-04-06 18:58 ~码铃薯~ 阅读(123) 评论(0) 推荐(0) 编辑

上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 83 下一页

导航