会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
聖凯
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
10
下一页
2021年7月16日
几个常用的 lombok 注解
摘要: 
阅读全文
posted @ 2021-07-16 14:46 聖凯
阅读(18)
评论(0)
推荐(0)
2021年7月9日
Repository中自己写修改、删除语句是需要添加的注解
摘要: 1、修改时 2、删除时 在实现层中也需要添加注解
阅读全文
posted @ 2021-07-09 10:33 聖凯
阅读(155)
评论(0)
推荐(0)
SpringBoot链接数据库
摘要: 在yml文件中做配置
阅读全文
posted @ 2021-07-09 10:12 聖凯
阅读(43)
评论(0)
推荐(0)
2021年7月6日
SpringBoot项目实战:企业项目管理系统
摘要: 1、实体类编写entity (1)不继承 (2)继承 AuditEntity 区别:继承AuditEntity类,会自动生成id、创建时间、修改时间、修改人等字段 @Column注解:用来标识实体类中属性与数据表中字段的对应关系 属性: name:定义了被标注字段在数据库表中所对应字段的名称 uni
阅读全文
posted @ 2021-07-06 14:42 聖凯
阅读(429)
评论(0)
推荐(0)
ErrorUtils
摘要: 方便调试错误 public class ErrorUtils { static boolean flag = true; public static void print(String msg){ if (flag){ System.out.println(msg); }else { // } }
阅读全文
posted @ 2021-07-06 10:04 聖凯
阅读(93)
评论(0)
推荐(0)
IDUtil
摘要: 添加ID时使用 import java.util.UUID; public class IDUtil { public static String genId(){ return UUID.randomUUID().toString().replaceAll("-",""); } }
阅读全文
posted @ 2021-07-06 10:00 聖凯
阅读(367)
评论(0)
推荐(0)
2021年7月1日
菜谱中添加菜品时,已经添加的菜品中复选框未选中问题
摘要: 遍历循环两个数组,比较名称是否相同,相同则选中 效果: el-table type="selection" 默认选中 https://blog.csdn.net/qq_35257117/article/details/96294240
阅读全文
posted @ 2021-07-01 16:41 聖凯
阅读(38)
评论(0)
推荐(0)
@Temporal()注解的使用
摘要: 一般在实体类中使用
阅读全文
posted @ 2021-07-01 15:52 聖凯
阅读(39)
评论(0)
推荐(0)
java中处理两个时间相减得分钟数
摘要: date.getTime()所返回的是一个long型的毫秒数 1秒=1000毫秒
阅读全文
posted @ 2021-07-01 13:53 聖凯
阅读(3987)
评论(0)
推荐(1)
thymeleaf
摘要: 
阅读全文
posted @ 2021-07-01 08:53 聖凯
阅读(29)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告