上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页
摘要: 目录什么是 FastExcel主要特性适用场景结论导航快速开始EasyExcel 与 FastExcel 的区别EasyExcel 如何升级到 FastExcel1. 修改依赖2. 修改代码3. 不修改代码直接依赖 FastExcel4. 建议以后使用 FastExcel 类简单示例:读取 Exce 阅读全文
posted @ 2024-12-05 09:28 VipSoft 阅读(4249) 评论(5) 推荐(5)
摘要: 不报红,也能点到方法里面,但运行报错说 XXX 不存在 D:\Projects\80.HIS\SourceCode....\WebApplication.java:6:43 java: 程序包org.springframework.cloud.openfeign不存在 解决办法 file -> in 阅读全文
posted @ 2024-12-03 09:04 VipSoft 阅读(379) 评论(0) 推荐(0)
摘要: 同一台服务器上装了开发、测试环境。如果放在不同的目录下,文件名相同,在使用Java Sprintboot jar 项目启动、停止脚本 脚本时,会对启动、停止操作有影响 默认为:${artifactId}-${version} pom.xml <!--与build标签同级别,放在project标签中- 阅读全文
posted @ 2024-11-29 22:09 VipSoft 阅读(74) 评论(0) 推荐(0)
摘要: 将文件大小(字节),达到KB的转成KB,达到M的转成M /** * 方法一 * @param size * @return */ public static String toSize(long size) { if (size <= 0) { return "0"; } final String[ 阅读全文
posted @ 2024-11-26 14:25 VipSoft 阅读(47) 评论(0) 推荐(0)
摘要: Newtonsoft.Json Null 值默认转为 空 using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System. 阅读全文
posted @ 2024-11-22 16:07 VipSoft 阅读(63) 评论(0) 推荐(0)
摘要: 不要点系统自动升级,落后太多升不上去了,要去网页上下载dmg文件,逐个版本升 升级系统 https://support.apple.com/zh-cn/mac 阅读全文
posted @ 2024-11-21 19:54 VipSoft 阅读(20) 评论(0) 推荐(0)
摘要: 目录Fastjson2 序列化Redis.configRedisUtil.javafastjson和fastjson2的区别 Spring Data Redis 为我们提供了下面的Serializer:GenericToStringSerializer、Jackson2JsonRedisSerial 阅读全文
posted @ 2024-11-20 11:02 VipSoft 阅读(1302) 评论(0) 推荐(0)
摘要: 目录MinIO Linux 安装单节点部署启动后台启动服务启动创建 systemd 系统启动服务文件创建环境变量文件启动MinIO服务连接到MinIO服务SpringBoot项目整合MinIO配置项工具类测试链接永不过期数据备份&迁移 MinIO 是一个基于Apache License v2.0开源 阅读全文
posted @ 2024-11-19 10:07 VipSoft 阅读(1442) 评论(0) 推荐(1)
摘要: SpringBoot 2.7.18 集成 Mybatis Plus + Druid 在数据库表定义json字段; 在实体类加上@TableName(autoResultMap = true) 在JSON字段映射的属性加上@TableField(typeHandler = JacksonTypeHan 阅读全文
posted @ 2024-11-05 23:45 VipSoft 阅读(79) 评论(0) 推荐(0)
摘要: 目录创建表插入插入数据查询CAST()将字符串转成jsonJSON类型的解析JSON_EXTRACT()解析json-> 箭头函数解析jsonJSON_QUOTE()引用与JSON_UNQUOTE()取消引用->>箭头解析jsonJSON类型的查询JSON_CONTAINS()判断是否包含JSON_ 阅读全文
posted @ 2024-11-04 16:35 VipSoft 阅读(276) 评论(0) 推荐(0)
摘要: Mybatis plus 数据库时间对的,取出来后,时间少了8小时,数据连接的时区也是对的 数据库是对的 代码取出来是对的 接口返回的JSON不对 SpringBoot 返回默认采用 jackson ,出现这种情况在 @JsonFormat 加上时区 /** * 创建时间 */ @Schema(de 阅读全文
posted @ 2024-10-31 09:17 VipSoft 阅读(393) 评论(0) 推荐(0)
摘要: 根据字符串,获取实体属性上的annotation,如:createTime” 找到对应实体属性中的 TableField(value = "create_time", fill = FieldFill.INSERT) Field[] fields = clazz.getFields(); //仅能获 阅读全文
posted @ 2024-10-30 17:18 VipSoft 阅读(70) 评论(0) 推荐(0)
摘要: org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [java.lang.String code] in method [void co 阅读全文
posted @ 2024-10-28 23:03 VipSoft 阅读(45) 评论(0) 推荐(0)
摘要: Mybatis plus 默认值 @TableField(fill = FieldFill.INSERT_UPDATE) @TableField(fill = FieldFill.INSERT_UPDATE)是什么 @TableField(fill = FieldFill.INSERT)、@Tabl 阅读全文
posted @ 2024-10-28 17:16 VipSoft 阅读(2388) 评论(0) 推荐(0)
摘要: 解决方法: 将 SSH 客户端更新为支持 sha2-256 和 sha2-512 算法的版本。 阅读全文
posted @ 2024-10-28 13:13 VipSoft 阅读(889) 评论(0) 推荐(0)
摘要: Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.1.13. 阅读全文
posted @ 2024-10-27 08:58 VipSoft 阅读(95) 评论(0) 推荐(0)
摘要: 目录POMyml配置自定义的 OpenAPI 规范拦截器去除 swagger 的接口验证模型Controller 配置常用注解 注意:Swagger支持SpringBoot2.0但不支持SpringBoot3.0 OpenApi OpenApi是一个用于描述、定义和共享 RESTful API 文档 阅读全文
posted @ 2024-10-22 11:21 VipSoft 阅读(726) 评论(0) 推荐(1)
摘要: SpringBoot 2.3 升级到 SpringBoot 2.7 爬坑-- SpringDoc & Swagger When allowCredentials is true, allowedOrigins cannot contain the special value "*" since th 阅读全文
posted @ 2024-10-21 14:53 VipSoft 阅读(279) 评论(0) 推荐(0)
摘要: 目录Pom 依赖yml 配置Config 配置Mapper扫描EntityMapper.xmlMapper - SysMenuMapperServiceController条件构造器 Mybatis Plus MySql json类型操作 mybatis-plus在mybatis的基础上只做增强不做 阅读全文
posted @ 2024-10-21 14:04 VipSoft 阅读(1196) 评论(1) 推荐(2)
摘要: SpringBoot 2.3 升级到 SpringBoot 2.7 爬坑-- Swagger 报错 需要升级 到 3 详细见:https://www.cnblogs.com/vipsoft/p/18489922 SpringBoot 2.7 爬坑-- SpringDoc & Swagger (支持 阅读全文
posted @ 2024-10-19 21:37 VipSoft 阅读(379) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页