会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liliyou
练习一切
博客园
首页
新随笔
联系
订阅
管理
2025年12月5日
node接收 RabbitMQ消息
摘要: const amqp = require('amqplib'); async function consumeMessages() { try { // 1. 连接 RabbitMQ const connection = await amqp.connect('amqp://localhost');
阅读全文
posted @ 2025-12-05 16:06 liliyou
阅读(3)
评论(0)
推荐(0)
2025年12月2日
mapper foreach 多字段更新
摘要: <update id="batchUpdateDynamic"> UPDATE user SET <foreach collection="fields" item="field" separator=","> ${field.name} = #{field.value} </foreach> WH
阅读全文
posted @ 2025-12-02 15:41 liliyou
阅读(4)
评论(0)
推荐(0)
2025年12月1日
达梦数据库获取当前时间
摘要: SELECT DATE_FORMAT(CURRENT_TIMESTAMP, '%Y-%m-%d %H:%i:%s') AS formatted_time;
阅读全文
posted @ 2025-12-01 16:39 liliyou
阅读(8)
评论(0)
推荐(0)
2025年11月27日
nuget国内镜像
摘要: 镜像源名称 镜像地址 备注微软官方中国镜像 https://nuget.cdn.azure.cn/v3/index.json 官方推荐的国内镜像华为云镜像 https://repo.huaweicloud.com/repository/nuget/v3/index.json 稳定且速度快腾讯云镜像
阅读全文
posted @ 2025-11-27 09:35 liliyou
阅读(412)
评论(0)
推荐(0)
2025年11月13日
sqlite 避免并发锁库问题
摘要: // 启用WAL模式提高并发性能 Connection conn = DriverManager.getConnection("jdbc:sqlite:test.db"); Statement stmt = conn.createStatement(); stmt.execute("PRAGMA j
阅读全文
posted @ 2025-11-13 15:17 liliyou
阅读(5)
评论(0)
推荐(0)
2025年11月7日
达梦数据库插入数据创建表方法
摘要: -- 如果新表不存在,则创建并插入数据 CREATE TABLE new_table AS SELECT * FROM source_table WHERE your_conditions;
阅读全文
posted @ 2025-11-07 08:30 liliyou
阅读(6)
评论(0)
推荐(0)
2025年11月3日
linux 不删除文件清空文件内容
摘要: truncate -s 0 test.txt
阅读全文
posted @ 2025-11-03 09:55 liliyou
阅读(5)
评论(0)
推荐(0)
2025年9月23日
cmd 执行git bash 命令
摘要: "D:\Program Files\Git\bin\bash.exe" -c "ls"
阅读全文
posted @ 2025-09-23 09:18 liliyou
阅读(15)
评论(0)
推荐(0)
2025年9月20日
vcpkg 安装依赖
摘要: vcpkg install nlohmann-json
阅读全文
posted @ 2025-09-20 09:36 liliyou
阅读(8)
评论(0)
推荐(0)
2025年7月11日
Qt5.6.3 是最后支持xp系统的长期支持版本。
摘要: Qt5.6.3 是最后支持xp系统的长期支持版本。
阅读全文
posted @ 2025-07-11 16:34 liliyou
阅读(36)
评论(0)
推荐(0)
下一页
公告