会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ashe
https://ashe-c0de.github.io/
首页
管理
上一页
1
···
17
18
19
20
21
22
下一页
2023年4月21日
HR喜欢的简历
摘要:
阅读全文
posted @ 2023-04-21 11:30 Ashe|||^_^
阅读(15)
评论(0)
推荐(0)
2023年4月18日
OpenFeign组装请求头Header
摘要: 组装单个Header参数 @RequestHeader("Authorization") String token 组装多个Header参数 @PostMapping(value = "/a/b", headers = {"Content-Type=application/json", "a=AAA
阅读全文
posted @ 2023-04-18 17:45 Ashe|||^_^
阅读(503)
评论(0)
推荐(0)
2023年4月15日
放弃where 1 = 1,使用更优雅的SQL条件拼接
摘要: 列表接口,通常会有多个条件组合查询的业务场景。 映射至mapper.xml中就需要写`where 1 = 1`来拼接否则就会发生 select * from table where `and `column = 'value'的语法错误 如今的IDEA中,如果你设置了SQL方言,就会警告你where
阅读全文
posted @ 2023-04-15 10:56 Ashe|||^_^
阅读(225)
评论(0)
推荐(0)
2023年4月13日
SQLServer手写分页查询
摘要: 由于SQL Server结合Mybatis Plus分页查询耗时过长,简单分页查询用postman测试接口平均2.5s响应时间,手写分页查询后postman测试接口平均100ms响应时间 话不多说,let's do it! 先查总数据量 ``` SELECT COUNT(id) FROM table
阅读全文
posted @ 2023-04-13 17:24 Ashe|||^_^
阅读(100)
评论(0)
推荐(0)
2023年4月5日
Spring MVC指南
摘要: @RestController It is a convenience syntax for @Controller and @ResponseBody together,This indicates that the class is a controller,and that all the m
阅读全文
posted @ 2023-04-05 10:07 Ashe|||^_^
阅读(25)
评论(0)
推荐(0)
2023年3月29日
深刻理解Lambda表达式,使用接口抽象方法的缩写
摘要: @FunctionalInterface public interface MyInterface { void print(); } 当函数式接口MyInterface充当了某个方法的参数时,使用此方法有以下几种方式 1)新建一个类,实现此接口然后重写其抽象方法,然后创建这个类的对象,并调用该方法
阅读全文
posted @ 2023-03-29 23:06 Ashe|||^_^
阅读(35)
评论(0)
推荐(0)
使用 JPA操作MySQL数据库__基于SpringBoot3.0+
摘要: 国内开发主流使用的orm框架大都是Mybatis/Mybatis-Plus,然而JPA也是一款非常出色的orm框架,接下来就演示如何使用JPA来实现基本的CRUD操作。 JDK版本:JDK 21.0.3 数据库:MySQL 8.0.37 SpringBoot版本:Spring Boot 3.3.0
阅读全文
posted @ 2023-03-29 21:09 Ashe|||^_^
阅读(180)
评论(0)
推荐(0)
2023年3月28日
windows系统刷新网络 (DOS窗口)
摘要: win+R cmd 回车 释放指定适配器的 IPv4 地址 ipconfig /release 释放指定适配器的 IPv6 地址 ipconfig /release6 更新指定适配器的 IPv4 地址 ipconfig /renew 更新指定适配器的 IPv6 地址 ipconfig /renew6
阅读全文
posted @ 2023-03-28 13:34 Ashe|||^_^
阅读(1359)
评论(0)
推荐(0)
2023年3月25日
Ubuntu常用命令
摘要: 软件安装&卸载 sudo apt install <软件名> // 安装软件最简单的方式 sudo apt list // 查看所有已安装的软件列表 sudo apt search <软件名> // 搜索某个软件 sudo apt remove <软件名> // 删除某个软件包 sudo apt p
阅读全文
posted @ 2023-03-25 10:58 Ashe|||^_^
阅读(17)
评论(0)
推荐(0)
2023年3月24日
Ubuntu配置环境变量
摘要: 配置用户环境变量 vim ~/.bashrc 刷新 source ~/.bashrc 配置系统环境变量 vim /etc/profile 刷新 source profile
阅读全文
posted @ 2023-03-24 21:28 Ashe|||^_^
阅读(28)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
下一页
公告