Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BHFT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
陈嘉强 Rainy Chen
BHFT
Commits
a78434b5
Commit
a78434b5
authored
Mar 11, 2022
by
陈嘉强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id调整
parent
4d251e55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ParkingGateServiceImpl.java
...com/logwire/bhft/service/impl/ParkingGateServiceImpl.java
+1
-1
No files found.
src/main/java/com/logwire/bhft/service/impl/ParkingGateServiceImpl.java
View file @
a78434b5
...
@@ -33,7 +33,7 @@ public class ParkingGateServiceImpl implements ParkingGateService {
...
@@ -33,7 +33,7 @@ public class ParkingGateServiceImpl implements ParkingGateService {
// 判断是进站还是出站,进站新增,出站修改
// 判断是进站还是出站,进站新增,出站修改
if
(
""
.
equals
(
parkingGate
.
getExitId
())
||
null
==
parkingGate
.
getExitId
()){
if
(
""
.
equals
(
parkingGate
.
getExitId
())
||
null
==
parkingGate
.
getExitId
()){
// 进站逻辑
// 进站逻辑
int
id
=
(
int
)
(
Math
.
random
()*(
99999999999
L
-
1
)+
1
);
int
id
=
(
int
)
(
Math
.
random
()*(
2147483647
L
-
1
)+
1
);
parkingGate
.
setId
((
long
)
id
);
parkingGate
.
setId
((
long
)
id
);
parkingGate
.
setVersion
(
0
);
parkingGate
.
setVersion
(
0
);
parkingGate
.
setInsertUser
(
"interface"
);
parkingGate
.
setInsertUser
(
"interface"
);
...
...
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