Browse Source

修改配送商序列名过长的问题

hulh 8 years ago
parent
commit
efc187e453

+ 1 - 1
src/main/java/com/uas/platform/b2c/logistics/model/DistributorSeller.java

@@ -13,7 +13,7 @@ public class DistributorSeller {
 
 	@Id
 	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "logistics$seller_distributor_gen")
-	@SequenceGenerator(name = "logistics$seller_distributor_gen", sequenceName = "logistics$distributor_seq", allocationSize = 1, initialValue = 4855)
+	@SequenceGenerator(name = "logistics$seller_distributor_gen", sequenceName = "logistics$distributor_seq", allocationSize = 1)
 	@Column(name = "seller_id")
 	private Long id;