04 2020 档案

idea启动微服务项目报错
摘要:今天在启动微服务项目的时候报错了。 改正方法: 在bootstrap.yml文件中添加用户中心的配置: 注意:空格的层级关系。 阅读全文

posted @ 2020-04-30 23:49 ~码铃薯~ 阅读(536) 评论(0) 推荐(0) 编辑

微服务自动加载common包
摘要:@所有人 大家把idea这里勾一下,可以自动加载common包,不用再拉代码更新了 阅读全文

posted @ 2020-04-26 22:55 ~码铃薯~ 阅读(625) 评论(0) 推荐(0) 编辑

No function matches the given name and argument types. You might need to add explicit type casts postgrepsql数据库
摘要:今天在写项目的时候,遇到了一个比价头疼的问题: ifnull............. No function matches the given name and argument types. You might need to add explicit type casts 现在公司用的是po 阅读全文

posted @ 2020-04-24 21:00 ~码铃薯~ 阅读(25702) 评论(0) 推荐(1) 编辑

"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 ~码铃薯~ 阅读(8717) 评论(0) 推荐(0) 编辑

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

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

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 ~码铃薯~ 阅读(708) 评论(0) 推荐(1) 编辑

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

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

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

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

java.lang.IllegalArgumentException: Illegal pattern character 'T'
摘要:改成这个样子就好了 阅读全文

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

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 ~码铃薯~ 阅读(2324) 评论(0) 推荐(0) 编辑

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

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

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 ~码铃薯~ 阅读(4024) 评论(0) 推荐(0) 编辑

jdk和jre之间的区别
摘要:https://blog.csdn.net/zhongguomao/article/details/91347743 阅读全文

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

po类转化成dto类 dto类转化成po类
摘要:po类转化成dto类 https://www.cnblogs.com/chenzhoulibo/p/9711810.html dto类转化成po类 https://blog.csdn.net/curry_du/article/details/51231878?utm_source=blogxgwz8 阅读全文

posted @ 2020-04-05 23:15 ~码铃薯~ 阅读(611) 评论(0) 推荐(0) 编辑

电脑连接不上手机热点的解决办法
摘要:今天,用电脑连接手机热点死活连接不上,上网百度了一下,找到了原因,特意记录下来。 首先找到ipv4协议 然后点击属性,选择对应的自动连接就好了 当然如果上面的办法不行,我们也可以使用火绒安全软件中的网络诊断功能进行全面的诊断。 阅读全文

posted @ 2020-04-05 21:48 ~码铃薯~ 阅读(2732) 评论(0) 推荐(0) 编辑

notepad++高级用法使用--删除一行中指定字符后面的内容
摘要:^([^@]*)@.*1 阅读全文

posted @ 2020-04-02 20:49 ~码铃薯~ 阅读(5647) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示