Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
bde9923a
Commit
bde9923a
authored
Dec 08, 2021
by
guangjing.gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变更实体对象主键ID自增
parent
43253560
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CustomerInfoEntity.java
...in/java/cn/quantgroup/xyqb/entity/CustomerInfoEntity.java
+1
-1
CustomerLoginEntity.java
...n/java/cn/quantgroup/xyqb/entity/CustomerLoginEntity.java
+1
-1
ProductLoginEntity.java
...in/java/cn/quantgroup/xyqb/entity/ProductLoginEntity.java
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/entity/CustomerInfoEntity.java
View file @
bde9923a
...
...
@@ -26,7 +26,7 @@ public class CustomerInfoEntity extends PartitionEntity implements Serializable
@Id
@Column
(
name
=
"ID"
,
nullable
=
false
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
long
id
;
@Column
(
name
=
"CUSTOMER_ID"
,
nullable
=
false
)
...
...
src/main/java/cn/quantgroup/xyqb/entity/CustomerLoginEntity.java
View file @
bde9923a
...
...
@@ -25,7 +25,7 @@ public class CustomerLoginEntity extends PartitionEntity implements Serializable
@Id
@Column
(
name
=
"ID"
,
nullable
=
false
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
long
id
;
@Column
(
name
=
"INSTITUTION_ID"
,
nullable
=
false
,
length
=
4
)
...
...
src/main/java/cn/quantgroup/xyqb/entity/ProductLoginEntity.java
View file @
bde9923a
...
...
@@ -27,7 +27,7 @@ public class ProductLoginEntity extends PartitionEntity implements Serializable
@Id
@Column
(
name
=
"ID"
,
nullable
=
false
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
)
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
long
id
;
@Column
(
name
=
"CUSTOMER_ID"
,
nullable
=
false
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment