摘要: 新建 requirements.txt 文件,按格式列出需要下载的组件及版本,例如: 编写:requirements.txt,也可以不指定版本,不指定版本下载最新版本的 requests==2.31.0 pandas==2.2.1 numpy==1.26.4 anyio==4.10.0 批量下载到指 阅读全文
posted @ 2025-09-18 17:00 文采杰出 阅读(29) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2025-08-15 17:18 文采杰出 阅读(5) 评论(0) 推荐(0)
摘要: https://docs.halo.run/2.16/getting-started/install/jar-file 根据官网进行自定义的: server: # 运行端口 port: 8091 spring: # 数据库配置,支持 MySQL、MariaDB、PostgreSQL、H2 Datab 阅读全文
posted @ 2025-05-11 22:23 文采杰出 阅读(33) 评论(0) 推荐(0)
摘要: git config --global user.name 青岛港/duwenjie git config --global user.password Qi******* git clone https://codehub-devops.qdg-global-1.hwcloud.qdport.co 阅读全文
posted @ 2025-03-15 10:35 文采杰出 阅读(31) 评论(0) 推荐(0)
摘要: JMS(Java Message Service)和AMQP(Advanced Message Queuing Protocol)在消息队列和中间件领域都有广泛的应用,但它们之间存在一些关键的区别。以下是JMS和AMQP之间的主要区别: 通信平台与语言支持 JMS:JMS是Java平台中关于面向消息 阅读全文
posted @ 2024-08-08 09:51 文采杰出 阅读(142) 评论(0) 推荐(0)
摘要: JdbcTemplate 是 Spring 框架提供的一个用于简化 JDBC 操作的类。它处理了资源的创建和释放,使得开发者能够更专注于 SQL 语句本身和结果的处理。JdbcTemplate 提供了大量的方法,用于执行各种类型的 SQL 语句,包括查询、更新、批处理、调用存储过程等。 导入jar包 阅读全文
posted @ 2024-07-31 11:01 文采杰出 阅读(44) 评论(0) 推荐(0)
摘要: package com.atheima; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.bean 阅读全文
posted @ 2024-07-30 11:37 文采杰出 阅读(251) 评论(0) 推荐(0)
摘要: package com.atheima.controller.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class BaseLog { private Class clazz = null; publ 阅读全文
posted @ 2024-07-28 12:35 文采杰出 阅读(17) 评论(0) 推荐(0)
摘要: 在MyBatis-Plus中,分页功能通常是通过配置MybatisPlusInterceptor(或其前身PaginationInterceptor)来实现的,这是一个全局的拦截器,用于拦截MyBatis的SQL执行,并在其中添加分页逻辑。以下是一个使用MybatisPlusInterceptor进 阅读全文
posted @ 2024-07-25 10:34 文采杰出 阅读(1671) 评论(0) 推荐(0)
摘要: 具体来说,table-underline 的含义是: 当 table-underline 设置为 true 时: 假设你有一个实体类名为 UserInfo,那么 MyBatis-Plus 会默认去数据库中寻找名为 user_info 的表(即,驼峰命名法自动转换为下划线命名法)。 同理,如果你的数据 阅读全文
posted @ 2024-07-24 11:09 文采杰出 阅读(423) 评论(0) 推荐(0)