From 2301c42f67dc417c7bd844830050ee051afc535e Mon Sep 17 00:00:00 2001 From: XinYi Song <2037158277@qq.com> Date: Tue, 21 Dec 2021 17:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=90=84=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB=E7=9A=84=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=B8=BB=E9=94=AE=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/model/entity/BankCardEntity.java | 2 +- src/main/java/com/xkrs/model/entity/BusinessEntity.java | 2 +- src/main/java/com/xkrs/model/entity/FileDocumentEntity.java | 2 +- .../java/com/xkrs/model/entity/ProductContentPhotoEntity.java | 2 +- src/main/java/com/xkrs/model/entity/ProductCoverEntity.java | 2 +- src/main/java/com/xkrs/model/entity/ProductEntity.java | 2 +- src/main/java/com/xkrs/model/entity/SysUserEntity.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/xkrs/model/entity/BankCardEntity.java b/src/main/java/com/xkrs/model/entity/BankCardEntity.java index 2d2d024..d1997d3 100644 --- a/src/main/java/com/xkrs/model/entity/BankCardEntity.java +++ b/src/main/java/com/xkrs/model/entity/BankCardEntity.java @@ -15,7 +15,7 @@ public class BankCardEntity { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "bank_card_seq_gen") - @SequenceGenerator(name = "bank_card_seq_gen", sequenceName = "bank_card_id_seq") + @SequenceGenerator(name = "bank_card_seq_gen", sequenceName = "bank_card_id_seq",allocationSize = 1) private Integer id; /** diff --git a/src/main/java/com/xkrs/model/entity/BusinessEntity.java b/src/main/java/com/xkrs/model/entity/BusinessEntity.java index adcfc4d..2d2181e 100644 --- a/src/main/java/com/xkrs/model/entity/BusinessEntity.java +++ b/src/main/java/com/xkrs/model/entity/BusinessEntity.java @@ -15,7 +15,7 @@ public class BusinessEntity { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "business_seq_gen") - @SequenceGenerator(name = "business_seq_gen", sequenceName = "business_id_seq") + @SequenceGenerator(name = "business_seq_gen", sequenceName = "business_id_seq",allocationSize = 1) private Integer id; /** diff --git a/src/main/java/com/xkrs/model/entity/FileDocumentEntity.java b/src/main/java/com/xkrs/model/entity/FileDocumentEntity.java index 264e389..83a8efb 100644 --- a/src/main/java/com/xkrs/model/entity/FileDocumentEntity.java +++ b/src/main/java/com/xkrs/model/entity/FileDocumentEntity.java @@ -17,7 +17,7 @@ public class FileDocumentEntity implements Serializable { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "file_document_seq_gen") - @SequenceGenerator(name = "file_document_seq_gen", sequenceName = "file_document_seq") + @SequenceGenerator(name = "file_document_seq_gen", sequenceName = "file_document_seq",allocationSize = 1) private Integer id; @Column(length = 64, nullable = false, columnDefinition = "varchar(64)") diff --git a/src/main/java/com/xkrs/model/entity/ProductContentPhotoEntity.java b/src/main/java/com/xkrs/model/entity/ProductContentPhotoEntity.java index 5ed8557..93b130d 100644 --- a/src/main/java/com/xkrs/model/entity/ProductContentPhotoEntity.java +++ b/src/main/java/com/xkrs/model/entity/ProductContentPhotoEntity.java @@ -14,7 +14,7 @@ public class ProductContentPhotoEntity { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "product_content_photo_seq_gen") - @SequenceGenerator(name = "product_content_photo_seq_gen", sequenceName = "product_content_photo_id_seq") + @SequenceGenerator(name = "product_content_photo_seq_gen", sequenceName = "product_content_photo_id_seq",allocationSize = 1) private Integer id; /** diff --git a/src/main/java/com/xkrs/model/entity/ProductCoverEntity.java b/src/main/java/com/xkrs/model/entity/ProductCoverEntity.java index 7c1f6af..3c4dd35 100644 --- a/src/main/java/com/xkrs/model/entity/ProductCoverEntity.java +++ b/src/main/java/com/xkrs/model/entity/ProductCoverEntity.java @@ -14,7 +14,7 @@ public class ProductCoverEntity { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "product_cover_seq_gen") - @SequenceGenerator(name = "product_cover_seq_gen", sequenceName = "product_cover_id_seq") + @SequenceGenerator(name = "product_cover_seq_gen", sequenceName = "product_cover_id_seq",allocationSize = 1) private Integer id; /** diff --git a/src/main/java/com/xkrs/model/entity/ProductEntity.java b/src/main/java/com/xkrs/model/entity/ProductEntity.java index d7289c3..f7a6993 100644 --- a/src/main/java/com/xkrs/model/entity/ProductEntity.java +++ b/src/main/java/com/xkrs/model/entity/ProductEntity.java @@ -15,7 +15,7 @@ public class ProductEntity { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "product_seq_gen") - @SequenceGenerator(name = "product_seq_gen", sequenceName = "product_id_seq") + @SequenceGenerator(name = "product_seq_gen", sequenceName = "product_id_seq",allocationSize = 1) private Integer id; /** diff --git a/src/main/java/com/xkrs/model/entity/SysUserEntity.java b/src/main/java/com/xkrs/model/entity/SysUserEntity.java index ef885da..f0f28df 100644 --- a/src/main/java/com/xkrs/model/entity/SysUserEntity.java +++ b/src/main/java/com/xkrs/model/entity/SysUserEntity.java @@ -19,7 +19,7 @@ public class SysUserEntity implements Serializable { */ @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sys_user_seq_gen") - @SequenceGenerator(name = "sys_user_seq_gen", sequenceName = "sys_user_id_seq") + @SequenceGenerator(name = "sys_user_seq_gen", sequenceName = "sys_user_id_seq",allocationSize = 1) private Integer id; /**