From 704803952592e936488863e8000059ff6a21c175 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Tue, 2 Jan 2024 20:35:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AD=BE=E7=AB=A0=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BB=E9=94=AE=E8=87=AA=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hz/pm/api/signature/entity/CompanySignature.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java b/hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java index 968a1e8..39dfcd3 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/signature/entity/CompanySignature.java @@ -1,5 +1,7 @@ package com.hz.pm.api.signature.entity; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import lombok.Data; @@ -17,11 +19,12 @@ import java.time.LocalDateTime; */ @TableName("nd_company_signature") @Data -@ApiModel(value = "NdCompanySignature对象", description = "") +@ApiModel(value = "NdCompanySignature对象") public class CompanySignature implements Serializable { private static final long serialVersionUID = 1L; + @TableId(type = IdType.AUTO) private Long id; private String sealSn;