diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/AuthType.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/AuthType.java index dbb63884..b91257de 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/AuthType.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/AuthType.java @@ -1,9 +1,6 @@ package com.red.circle.other.infra.database.rds.entity.user.user; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import com.red.circle.framework.mybatis.entity.TimestampBaseEntity; import java.io.Serial; import lombok.Data; @@ -55,6 +52,7 @@ public class AuthType extends TimestampBaseEntity { * 0.未删除 1.已删除 */ @TableField("is_del") + @TableLogic private Boolean del; } diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/BaseInfo.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/BaseInfo.java index e0b3ebbe..f679659c 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/BaseInfo.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/BaseInfo.java @@ -1,9 +1,6 @@ package com.red.circle.other.infra.database.rds.entity.user.user; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import com.red.circle.framework.mybatis.entity.TimestampBaseEntity; import java.io.Serial; import java.sql.Timestamp; @@ -148,6 +145,7 @@ public class BaseInfo extends TimestampBaseEntity { * 0.未删除 1.已删除. */ @TableField("is_del") + @TableLogic private Boolean del; /** diff --git a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/MobileAuth.java b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/MobileAuth.java index 482b3fe1..830b025a 100644 --- a/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/MobileAuth.java +++ b/rc-service/rc-service-other/other-infrastructure/src/main/java/com/red/circle/other/infra/database/rds/entity/user/user/MobileAuth.java @@ -1,9 +1,6 @@ package com.red.circle.other.infra.database.rds.entity.user.user; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import com.red.circle.framework.mybatis.entity.TimestampBaseEntity; import java.io.Serial; import lombok.Data; @@ -61,6 +58,7 @@ public class MobileAuth extends TimestampBaseEntity { * 0.未删除 1.已删除. */ @TableField("is_del") + @TableLogic private Boolean del;