Compare commits

..

No commits in common. "defc603f9912e1682f953801a1e844ee29f2b9a7daed35a0640dec1ce5d78b79" and "3e881778c3ea677e41a220026cbc3010bf2d235576c934066b924dcfdc3253ad" have entirely different histories.

17 changed files with 18 additions and 18 deletions

View File

@ -8,6 +8,4 @@ public interface EbikeContents {
String TENANT_ID = "operator_id"; String TENANT_ID = "operator_id";
String LOGIC_DELETE = "is_deleted";
} }

View File

@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
keyConfig.setBefore(true); keyConfig.setBefore(true);
globalConfig.setTenantColumn(EbikeContents.TENANT_ID); globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
globalConfig.setKeyConfig(keyConfig); globalConfig.setKeyConfig(keyConfig);
//方言配置 //方言配置
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置 globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置

View File

@ -62,6 +62,7 @@ public class EbikeBatteryInfo implements Serializable {
/** /**
* 删除状态true表示已删除 * 删除状态true表示已删除
*/ */
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
/** /**

View File

@ -130,6 +130,7 @@ public class EbikeBikeInfo implements Serializable {
/** /**
* 删除与否 * 删除与否
*/ */
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
} }

View File

@ -66,7 +66,7 @@ public class EbikeBikeQr implements Serializable {
*/ */
private Integer status; private Integer status;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
} }

View File

@ -59,6 +59,7 @@ public class EbikeEcuInfo implements Serializable {
/** /**
* 删除状态 * 删除状态
*/ */
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
/** /**

View File

@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
keyConfig.setBefore(true); keyConfig.setBefore(true);
globalConfig.setTenantColumn(EbikeContents.TENANT_ID); globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
globalConfig.setKeyConfig(keyConfig); globalConfig.setKeyConfig(keyConfig);
//方言配置 //方言配置
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置 globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置

View File

@ -56,6 +56,7 @@ public class EbikeDic implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
@RelationOneToMany(selfField = "dicId",targetField = "dicId") @RelationOneToMany(selfField = "dicId",targetField = "dicId")

View File

@ -59,6 +59,7 @@ public class EbikeOperator implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
} }

View File

@ -57,6 +57,7 @@ public class EbikeOperatorStaff implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
private String contactPhone; private String contactPhone;

View File

@ -58,6 +58,7 @@ public class EbikePermission implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
/** /**

View File

@ -2,6 +2,7 @@ package com.cdzy.staff.model.entity;
import com.mybatisflex.annotation.Column; import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id; import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table; import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
@ -45,6 +46,7 @@ public class EbikeRolePermission implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
private Boolean isEmpower; private Boolean isEmpower;

View File

@ -2,6 +2,7 @@ package com.cdzy.staff.model.entity;
import com.mybatisflex.annotation.Column; import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id; import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table; import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
@ -45,6 +46,7 @@ public class EbikeStaffRole implements Serializable {
@Column(onUpdateValue = "now()") @Column(onUpdateValue = "now()")
private LocalDateTime updateTime; private LocalDateTime updateTime;
@Column(isLogicDelete = true)
private Boolean isDeleted; private Boolean isDeleted;
} }

View File

@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
keyConfig.setBefore(true); keyConfig.setBefore(true);
globalConfig.setTenantColumn(EbikeContents.TENANT_ID); globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
globalConfig.setKeyConfig(keyConfig); globalConfig.setKeyConfig(keyConfig);
//方言配置 //方言配置
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置 globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置

View File

@ -16,8 +16,8 @@ import java.time.LocalDateTime;
/** /**
* 用户订单表实体类 * 用户订单表实体类
* *
* @author : yanglei * @Author: yanglei
* @since : 2025-10-15 15:11 * @Since: 2025-10-15 15:11
*/ */
@Data @Data

View File

@ -15,8 +15,8 @@ import java.time.LocalDateTime;
/** /**
* 用户基本信息实体类 * 用户基本信息实体类
* *
* @author : yanglei * @Author: yanglei
* @since : 2025-10-15 09:21 * @Since: 2025-10-15 09:21
*/ */
@Data @Data

View File

@ -15,8 +15,8 @@ import java.time.LocalDateTime;
/** /**
* 实名认证信息 实体类 * 实名认证信息 实体类
* *
* @author : yanglei * @Author: yanglei
* @since : 2025-10-15 09:49 * @Since: 2025-10-15 09:49
*/ */
@Data @Data