Compare commits
No commits in common. "defc603f9912e1682f953801a1e844ee29f2b9a7daed35a0640dec1ce5d78b79" and "3e881778c3ea677e41a220026cbc3010bf2d235576c934066b924dcfdc3253ad" have entirely different histories.
defc603f99
...
3e881778c3
@ -8,6 +8,4 @@ public interface EbikeContents {
|
||||
|
||||
String TENANT_ID = "operator_id";
|
||||
|
||||
String LOGIC_DELETE = "is_deleted";
|
||||
|
||||
}
|
||||
|
||||
@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
|
||||
keyConfig.setBefore(true);
|
||||
|
||||
globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
|
||||
|
||||
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
|
||||
|
||||
globalConfig.setKeyConfig(keyConfig);
|
||||
//方言配置
|
||||
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置
|
||||
|
||||
@ -62,6 +62,7 @@ public class EbikeBatteryInfo implements Serializable {
|
||||
/**
|
||||
* 删除状态(true表示已删除)
|
||||
*/
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
/**
|
||||
|
||||
@ -130,6 +130,7 @@ public class EbikeBikeInfo implements Serializable {
|
||||
/**
|
||||
* 删除与否
|
||||
*/
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@ -66,7 +66,7 @@ public class EbikeBikeQr implements Serializable {
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@ -59,6 +59,7 @@ public class EbikeEcuInfo implements Serializable {
|
||||
/**
|
||||
* 删除状态
|
||||
*/
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
/**
|
||||
|
||||
@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
|
||||
keyConfig.setBefore(true);
|
||||
|
||||
globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
|
||||
|
||||
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
|
||||
|
||||
globalConfig.setKeyConfig(keyConfig);
|
||||
//方言配置
|
||||
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置
|
||||
|
||||
@ -56,6 +56,7 @@ public class EbikeDic implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
@RelationOneToMany(selfField = "dicId",targetField = "dicId")
|
||||
|
||||
@ -59,6 +59,7 @@ public class EbikeOperator implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@ -57,6 +57,7 @@ public class EbikeOperatorStaff implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
private String contactPhone;
|
||||
|
||||
@ -58,6 +58,7 @@ public class EbikePermission implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
/**
|
||||
|
||||
@ -2,6 +2,7 @@ package com.cdzy.staff.model.entity;
|
||||
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
@ -45,6 +46,7 @@ public class EbikeRolePermission implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
private Boolean isEmpower;
|
||||
|
||||
@ -2,6 +2,7 @@ package com.cdzy.staff.model.entity;
|
||||
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.Id;
|
||||
import com.mybatisflex.annotation.KeyType;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
@ -45,6 +46,7 @@ public class EbikeStaffRole implements Serializable {
|
||||
@Column(onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@Column(isLogicDelete = true)
|
||||
private Boolean isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@ -42,9 +42,6 @@ public class MyBatisFlexConfiguration {
|
||||
keyConfig.setBefore(true);
|
||||
|
||||
globalConfig.setTenantColumn(EbikeContents.TENANT_ID);
|
||||
|
||||
globalConfig.setLogicDeleteColumn(EbikeContents.LOGIC_DELETE);
|
||||
|
||||
globalConfig.setKeyConfig(keyConfig);
|
||||
//方言配置
|
||||
globalConfig.setDbType(DbType.POSTGRE_SQL); // 关键配置
|
||||
|
||||
@ -16,8 +16,8 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 用户订单表实体类
|
||||
*
|
||||
* @author : yanglei
|
||||
* @since : 2025-10-15 15:11
|
||||
* @Author: yanglei
|
||||
* @Since: 2025-10-15 15:11
|
||||
*/
|
||||
|
||||
@Data
|
||||
|
||||
@ -15,8 +15,8 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 用户基本信息实体类
|
||||
*
|
||||
* @author : yanglei
|
||||
* @since : 2025-10-15 09:21
|
||||
* @Author: yanglei
|
||||
* @Since: 2025-10-15 09:21
|
||||
*/
|
||||
|
||||
@Data
|
||||
|
||||
@ -15,8 +15,8 @@ import java.time.LocalDateTime;
|
||||
/**
|
||||
* 实名认证信息 实体类
|
||||
*
|
||||
* @author : yanglei
|
||||
* @since : 2025-10-15 09:49
|
||||
* @Author: yanglei
|
||||
* @Since: 2025-10-15 09:49
|
||||
*/
|
||||
|
||||
@Data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user