• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 276 下一页

2022年4月19日

自动生成代码3
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
posted @ 2022-04-19 08:39 吴裕雄 阅读(38) 评论(0) 推荐(0)
 
解决:NoClassDefFoundError: freemarker/template/Configuration
摘要: 解决方案(导入依赖即可): <dependency> <groupId>org.freemarker</groupId> <artifactId>freemarker</artifactId> <version>2.3.28</version> <scope>compile</scope> </de 阅读全文
posted @ 2022-04-19 08:36 吴裕雄 阅读(714) 评论(0) 推荐(0)
 
自动生成代码2
摘要: package com.tszr.generator; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.generator.AutoGenerator; import com.bao 阅读全文
posted @ 2022-04-19 08:13 吴裕雄 阅读(42) 评论(0) 推荐(0)
 
自动生成代码
摘要: package com.tszr.generator; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou. 阅读全文
posted @ 2022-04-19 07:30 吴裕雄 阅读(261) 评论(0) 推荐(0)
 

2022年4月18日

解决:Spring Boot Configuration Annotation Processor not configured
摘要: 原因 提示说明没有配置springboot的自动配置注解处理器,及spring-boot-configuration-processor。 在使用到ConfigurationProperties注解时无法识别。 在pom中增加spring-boot-configuration-processor组件 阅读全文
posted @ 2022-04-18 10:33 吴裕雄 阅读(6724) 评论(0) 推荐(1)
 

2022年4月15日

centos7安装MySQL8
摘要: https://www.cnblogs.com/secretmrj/p/15600144.html 安全后台启动MySQL # 完整命令 /usr/local/mysql8/bin/mysqld_safe --defaults-file=/usr/local/etc/my.cnf & # 添加PAT 阅读全文
posted @ 2022-04-15 18:58 吴裕雄 阅读(100) 评论(0) 推荐(0)
 
StringUtils.isNotBlank介绍
摘要: StringUtils.isNotBlank() 判断某字符串是否为空或长度为0或由空白符构成: 示例: StringUtils.isBlank(null) = true StringUtils.isBlank("") = true StringUtils.isBlank(" ") = true S 阅读全文
posted @ 2022-04-15 14:00 吴裕雄 阅读(3217) 评论(0) 推荐(0)
 
判断对象是否为空/不为空工具类
摘要: import java.util.Optional; public final class NullUtil { private static final String NULL_STRING = "null"; private static final int NULL_STRING_LENGTH 阅读全文
posted @ 2022-04-15 07:30 吴裕雄 阅读(417) 评论(0) 推荐(0)
 
@TableField(exist=false)注解
摘要: @TableField(exist=false)注解加在bean属性上,表示当前属性不是数据库的字段,但在项目中必须使用。 @ApiModelProperty(position = 12, value = "注销时间") private LocalDateTime zxsj; /** * 开始时间 阅读全文
posted @ 2022-04-15 06:52 吴裕雄 阅读(1052) 评论(0) 推荐(0)
 
@Data注解的作用
摘要: @Data注解是lombok.jar包下的注解,该注解通常用在实体bean上,不需要写出set和get方法,但是具备实体bean所具备的方法,简化编程提高变成速度。注意:项目中一定要引入lombok.jar!! @Data相当于@Getter @Setter @RequiredArgsConstru 阅读全文
posted @ 2022-04-15 06:45 吴裕雄 阅读(439) 评论(0) 推荐(0)
 
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 276 下一页