会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白玉神驹
专注、认真、执着!
博客园
首页
新随笔
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
46
下一页
2023年7月17日
mysql的substring()函数和substring_index()函数
摘要: substring()函数 //string参数是要提取子字符串的字符串。 //position参数是一个整数,用于指定子串的起始字符,position可以是正或负整数。 //length是一个正整数,用于指定子字符串的字符数。 SUBSTRING(string,position); SUBSTRI
阅读全文
posted @ 2023-07-17 08:48 白玉神驹
阅读(128)
评论(0)
推荐(0)
2023年7月4日
swagger常用的几个注解
摘要: 类上@Api() tags:说明该类的作用,参数是个数组,可以填多个。 value="该参数没什么意义,在UI界面上不显示,所以不用配置" description = "用户基本信息操作" 方法上@ApiOperation() value="方法的用途和作用" notes="方法的注意事项和备注"
阅读全文
posted @ 2023-07-04 08:48 白玉神驹
阅读(135)
评论(0)
推荐(0)
2023年6月29日
redis性能并发测试
摘要: windows单机 启动redis //安装目录上cmd redis-server.exe redis.windows.conf 进入命令行 windows右键选择git bash here 压测 ./redis-benchmark -r 1000000 -n 2000000 -t get,set,
阅读全文
posted @ 2023-06-29 15:21 白玉神驹
阅读(45)
评论(0)
推荐(0)
2023年6月25日
Linux查找某个文件在哪里
摘要: 查找find命令 find / -name readme.txt
阅读全文
posted @ 2023-06-25 16:17 白玉神驹
阅读(16)
评论(0)
推荐(0)
docker安装showdoc
摘要: 官方文档: https://www.showdoc.com.cn/help/65610 大陆安装 docker pull registry.cn-shenzhen.aliyuncs.com/star7th/showdoc //重命名 docker tag registry.cn-shenzhen.a
阅读全文
posted @ 2023-06-25 16:16 白玉神驹
阅读(148)
评论(0)
推荐(0)
2023年6月19日
Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]
摘要: 项目启动报错原因分析 背景:system模块一个月未重启过,今天重启报数据源问题 原因:这里报错的原因是数据源配置问题 解决:数据源配置在nacos中,拿该模块的nacos数据源配置与项目启动成功的模块的数据源配置进行对比,检查出不同,改为一样即可
阅读全文
posted @ 2023-06-19 15:19 白玉神驹
阅读(188)
评论(0)
推荐(0)
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
摘要: docker安装成功 部分命令不可用 service docker start
阅读全文
posted @ 2023-06-19 09:01 白玉神驹
阅读(18)
评论(0)
推荐(0)
2023年6月13日
Java中@Transactional 注解使用注意事项
摘要: 隔离级别 关键词 原子性(Atomicity): 事务是数据库的逻辑工作单位,它对数据库的修改要么全部执行,要么全部不执行。 一致性(Consistemcy): 事务前后,数据库的状态都满足所有的完整性约束。 隔离性(Isolation): 并发执行的事务是隔离的,一个不影响一个。如果有两个事务,运
阅读全文
posted @ 2023-06-13 17:58 白玉神驹
阅读(171)
评论(0)
推荐(0)
2023年6月7日
前后端地址过滤特殊字符
摘要: Java过滤特殊字符 /** * 获取收货地址 过滤特殊字符 * @param address * @return */ public static String getAddr(String address) { if(StringUtils.isNotEmpty(address)) { Stri
阅读全文
posted @ 2023-06-07 14:56 白玉神驹
阅读(112)
评论(0)
推荐(0)
2023年6月6日
mysql语句函数给时间添加指定时间间隔
摘要: DATE_ADD() 函数向日期添加指定的时间间隔。 //date 日期表达式。expr 添加的时间间隔。 DATE_ADD(date,INTERVAL expr type) 例如:对获取到的支付时间添加5分钟 select o.order_id orderId, date_add(o.pay_ti
阅读全文
posted @ 2023-06-06 09:44 白玉神驹
阅读(48)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
46
下一页
公告