代码改变世界

阅读排行榜

Your branch is ahead of 'origin/dev' by 1 commit 如果你提的文件多了,想撤回这次提交

2022-08-05 17:55 by 通往神之路, 1059 阅读, 收藏,
摘要: git reset HEAD^ 回退到之前的版本号,因为已经commit了,有新的版本号了。 阅读全文

服务器返回的数据全是问号????

2018-12-18 16:35 by 通往神之路, 993 阅读, 收藏,
摘要: 1、首先以为是服务器编码有问题,查了外观,编码也是UTF-8,排除这个原因。 2、后来发现是jar包启动的时候没有设置编码,启动jar包是,多加个参数就行。参数如下: -Dfile.encoding=utf-8 阅读全文

MAVEN引包报错-Message: 前言中不允许有内容

2022-05-18 10:09 by 通往神之路, 975 阅读, 收藏,
摘要: D:\IdeaProjects\java-spring-shop-service\.idea\libraries\Maven__org_apache_poi_poi_3_9.xmlFailed to load project configuration: cannot parse file D:\I 阅读全文

Date和LocalDateTime相互转换

2023-02-20 18:00 by 通往神之路, 973 阅读, 收藏,
摘要: Date in = new Date(); LocalDateTime ldt = LocalDateTime.ofInstant(in.toInstant(), ZoneId.systemDefault()); Date out = Date.from(ldt.atZone(ZoneId.syst 阅读全文

MySQL:日期函数、时间函数总结,以及实战当中的应用

2018-04-20 10:18 by 通往神之路, 904 阅读, 收藏,
摘要: MySQL 获得当前日期时间 函数 获得当前日期+时间(date + time)函数:now() 获得当前日期+时间(date + time)函数:sysdate()sysdate() 日期时间函数跟 now() 类似,不同之处在于:now() 在执行开始时值就得到了, sysdate() 在函数执 阅读全文
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页