@TableId更换IdType.ASSIGN_UUID

This commit is contained in:
cuizhibin 2025-04-24 14:17:28 +08:00
parent f9388cf0ce
commit 546750e754
12 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@ public class CombinedDictEntity extends AuditableEntity implements Serializable
@ExcelProperty("字典id")
@ApiModelProperty("字典id")
@TableId(value = "dict_id", type = IdType.ASSIGN_ID)
@TableId(value = "dict_id", type = IdType.ASSIGN_UUID)
private String dictId;
@ExcelProperty("字典类型")

View File

@ -26,7 +26,7 @@ public class DefectEntity extends AuditableEntity implements Serializable {
@ExcelProperty("缺陷id")
@ApiModelProperty("缺陷id")
@TableId(value = "defect_id", type = IdType.ASSIGN_ID)
@TableId(value = "defect_id", type = IdType.ASSIGN_UUID)
private String defectId;
@ExcelProperty("机组id")

View File

@ -25,7 +25,7 @@ public class FileInfoEntity extends AuditableEntity implements Serializable {
@ExcelProperty("文件id")
@ApiModelProperty("文件id")
@TableId(value = "file_id", type = IdType.ASSIGN_ID)
@TableId(value = "file_id", type = IdType.ASSIGN_UUID)
private Long fileId;
@ExcelProperty("业务id")

View File

@ -26,7 +26,7 @@ public class ImageEntity extends AuditableEntity implements Serializable {
@ExcelProperty("图像id")
@ApiModelProperty("图像id")
@TableId(value = "image_id", type = IdType.ASSIGN_ID)
@TableId(value = "image_id", type = IdType.ASSIGN_UUID)
private Long imageId;
@ExcelProperty("部件id")

View File

@ -25,7 +25,7 @@ public class PartEntity extends AuditableEntity implements Serializable {
@ExcelProperty("部件id")
@ApiModelProperty("部件id")
@TableId(value = "part_id", type = IdType.ASSIGN_ID)
@TableId(value = "part_id", type = IdType.ASSIGN_UUID)
private String partId;
@ExcelProperty("项目id")

View File

@ -25,7 +25,7 @@ public class PersonnelEntity extends AuditableEntity implements Serializable {
@ExcelProperty("用户名")
@ApiModelProperty("用户名")
@TableId(value = "person_id", type = IdType.ASSIGN_ID)
@TableId(value = "person_id", type = IdType.ASSIGN_UUID)
private String personId;
@ExcelProperty("姓名")

View File

@ -25,7 +25,7 @@ public class ProjectCompanyEntity extends AuditableEntity implements Serializabl
@ExcelProperty("项目id")
@ApiModelProperty("项目id")
@TableId(value = "project_id", type = IdType.ASSIGN_ID)
@TableId(value = "project_id", type = IdType.ASSIGN_UUID)
private String projectId;
@ExcelProperty("公司id")

View File

@ -25,7 +25,7 @@ public class ProjectEntity extends AuditableEntity implements Serializable {
@ExcelProperty("项目id")
@ApiModelProperty("项目id")
@TableId(value = "project_id", type = IdType.ASSIGN_ID)
@TableId(value = "project_id", type = IdType.ASSIGN_UUID)
private String projectId;
@ExcelProperty("项目名称")

View File

@ -25,7 +25,7 @@ public class TCompanyEntity extends AuditableEntity implements Serializable {
@ExcelProperty("公司id")
@ApiModelProperty("公司id")
@TableId(value = "company_id", type = IdType.ASSIGN_ID)
@TableId(value = "company_id", type = IdType.ASSIGN_UUID)
private String companyId;
@ExcelProperty("公司名称")

View File

@ -26,7 +26,7 @@ public class TConstructionEntity extends AuditableEntity implements Serializable
@ExcelProperty("施工id")
@ApiModelProperty("施工id")
@TableId(value = "construction_id", type = IdType.ASSIGN_ID)
@TableId(value = "construction_id", type = IdType.ASSIGN_UUID)
private String constructionId;
@ExcelProperty("项目id")

View File

@ -25,7 +25,7 @@ public class TurbineEntity extends AuditableEntity implements Serializable {
@ExcelProperty("机组号")
@ApiModelProperty("机组号")
@TableId(value = "turbine_id", type = IdType.ASSIGN_ID)
@TableId(value = "turbine_id", type = IdType.ASSIGN_UUID)
private String turbineId;
@ExcelProperty("项目id")

View File

@ -26,7 +26,7 @@ public class WeatherTypeEntity extends AuditableEntity implements Serializable {
@ExcelProperty("天气类型id")
@ApiModelProperty("天气类型id")
@TableId(value = "weather_code", type = IdType.ASSIGN_ID)
@TableId(value = "weather_code", type = IdType.ASSIGN_UUID)
private String weatherCode;
@ExcelProperty("天气类型中文描述")