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; /**