摘要: 查询最大时间或者排名最前的数据 三种方法 第一种 select * from t_company t RIGHT JOIN (select type, MAX(create_date) as "createDate" from t_company GROUP BY type) tmp on t.cr 阅读全文
posted @ 2025-08-29 18:10 赏金猎人小熊 阅读(9) 评论(0) 推荐(0)
摘要: 在 FastAPI 中,可以通过集成模板引擎(如 Jinja2)实现网页渲染。以下是使用 Jinja2 渲染模板的步骤。 安装依赖 首先,确保安装了必要的依赖库: pip install jinja2 aiofiles jinja2:模板引擎,用于渲染 HTML。 aiofiles:支持异步文件操作 阅读全文
posted @ 2025-08-29 17:51 赏金猎人小熊 阅读(36) 评论(0) 推荐(0)
摘要: ON DUPLICATE KEY UPDATE 用法地址 https://blog.csdn.net/qq_22771739/article/details/84668620 阅读全文
posted @ 2025-08-29 11:11 赏金猎人小熊 阅读(5) 评论(0) 推荐(0)
摘要: allure 参考教程 https://blog.csdn.net/qq_64444051/article/details/127870637 https://blog.csdn.net/weixin_44904239/article/details/135647536 https://www.cn 阅读全文
posted @ 2025-08-29 11:08 赏金猎人小熊 阅读(3) 评论(0) 推荐(0)
摘要: pytest+selenium+allure报告 测试步骤: 打开百度 搜索关键词 搜索结果截图,保存到报告中 退出浏览器 test_allure_baidu.py: import allure import pytest from selenium import webdriver import 阅读全文
posted @ 2025-08-29 10:08 赏金猎人小熊 阅读(8) 评论(0) 推荐(0)