Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
task2.0
Overview
Overview
Details
Activity
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
首航-临时账号
task2.0
Commits
95104e86
Commit
95104e86
authored
Oct 09, 2017
by
Java - 段鹏举
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步录音获取foc最大值出错时默认值修改
parent
f022fa80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
SoundDbTaskMain.java
src/com/foc/task/SoundDbTaskMain.java
+1
-1
No files found.
src/com/foc/task/SoundDbTaskMain.java
View file @
95104e86
...
...
@@ -65,7 +65,7 @@ public class SoundDbTaskMain {
}
else
{
// 获取soundMaxId出错时不应从0开始,退出本次运行即可,不影响下次同步
// Long minId = service.getSoundMaxId(0L)+1;
Long
minId
=
service
.
getSoundMaxId
(
Long
.
MAX_VALUE
)
;
Long
minId
=
service
.
getSoundMaxId
(
Long
.
MAX_VALUE
-
1
)
+
1
;
System
.
out
.
println
(
"minId:["
+
minId
+
"]"
);
Long
maxId
=
getMaxIdFromAnke
(
1L
);
System
.
out
.
println
(
"maxId:["
+
maxId
+
"]大概["
+(
maxId
-
minId
+
1
)+
"]条"
);
...
...
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