浏览代码

调整列长度

zhou-hao 3 年之前
父节点
当前提交
b881e4bbef

+ 2 - 2
hsweb-system/hsweb-system-authorization/hsweb-system-authorization-api/src/main/java/org/hswebframework/web/system/authorization/api/entity/DimensionUserEntity.java

@@ -34,7 +34,7 @@ public class DimensionUserEntity extends GenericEntity<String> {
     private String dimensionTypeId;
 
     @Comment("维度ID")
-    @Column(name = "dimension_id", nullable = false, length = 32)
+    @Column(name = "dimension_id", nullable = false, length = 64)
     @Schema(description = "维度ID")
     private String dimensionId;
 
@@ -45,7 +45,7 @@ public class DimensionUserEntity extends GenericEntity<String> {
     private String dimensionName;
 
     @Comment("用户ID")
-    @Column(name = "user_id", nullable = false, length = 32)
+    @Column(name = "user_id", nullable = false, length = 64)
     @Schema(description = "用户ID")
     private String userId;
 

+ 1 - 1
hsweb-system/hsweb-system-dictionary/src/main/java/org/hswebframework/web/dictionary/entity/DictionaryEntity.java

@@ -46,7 +46,7 @@ public class DictionaryEntity extends GenericEntity<String> implements RecordCre
     @Schema(description = "字典名称")
     private String name;
     //分类
-    @Column(length = 32, name = "classified")
+    @Column(length = 64, name = "classified")
     @Schema(description = "分类标识")
     private String classified;
     //说明

+ 1 - 1
hsweb-system/hsweb-system-dictionary/src/main/java/org/hswebframework/web/dictionary/entity/DictionaryItemEntity.java

@@ -41,7 +41,7 @@ import java.util.List;
 })
 public class DictionaryItemEntity extends GenericTreeSortSupportEntity<String> implements EnumDict<String> {
     //字典id
-    @Column(name = "dict_id", length = 32, updatable = false, nullable = false)
+    @Column(name = "dict_id", length = 64, updatable = false, nullable = false)
     @Schema(description = "数据字典ID")
     private String dictId;
     //名称