Commit c9b292c8 authored by guangjing.gao's avatar guangjing.gao

移除主键生成格式

parent cbe173a6
...@@ -26,7 +26,6 @@ public class CustomerInfoEntity extends PartitionEntity implements Serializable ...@@ -26,7 +26,6 @@ public class CustomerInfoEntity extends PartitionEntity implements Serializable
@Id @Id
@Column(name = "ID", nullable = false) @Column(name = "ID", nullable = false)
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private long id; private long id;
@Column(name = "CUSTOMER_ID", nullable = false) @Column(name = "CUSTOMER_ID", nullable = false)
......
...@@ -25,7 +25,6 @@ public class CustomerLoginEntity extends PartitionEntity implements Serializable ...@@ -25,7 +25,6 @@ public class CustomerLoginEntity extends PartitionEntity implements Serializable
@Id @Id
@Column(name = "ID", nullable = false) @Column(name = "ID", nullable = false)
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private long id; private long id;
@Column(name = "INSTITUTION_ID", nullable = false, length = 4) @Column(name = "INSTITUTION_ID", nullable = false, length = 4)
......
...@@ -27,7 +27,6 @@ public class ProductLoginEntity extends PartitionEntity implements Serializable ...@@ -27,7 +27,6 @@ public class ProductLoginEntity extends PartitionEntity implements Serializable
@Id @Id
@Column(name = "ID", nullable = false) @Column(name = "ID", nullable = false)
@GeneratedValue(strategy = GenerationType.SEQUENCE)
private long id; private long id;
@Column(name = "CUSTOMER_ID", nullable = false) @Column(name = "CUSTOMER_ID", nullable = false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment