提交 35924785 作者: 方治民

fix: 修复 deleted 字段处理不干净编译错误问题

上级 aae5a51d
...@@ -107,7 +107,7 @@ public class AuthController { ...@@ -107,7 +107,7 @@ public class AuthController {
} }
// 检查用户是否已被删除 // 检查用户是否已被删除
if (user.getDeleteTime() != null) { if (Boolean.TRUE.equals(user.getDeleted())) {
throw BusinessException.i18n("Code.100004"); throw BusinessException.i18n("Code.100004");
} }
......
...@@ -63,6 +63,7 @@ public abstract class BasicEntity { ...@@ -63,6 +63,7 @@ public abstract class BasicEntity {
LocalDateTime updateTime; LocalDateTime updateTime;
@Comment("删除时间") @Comment("删除时间")
@Builder.Default
Boolean deleted = Boolean.FALSE; Boolean deleted = Boolean.FALSE;
public interface Where { public interface Where {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论