Commit 95104e86 by Java - 段鹏举

同步录音获取foc最大值出错时默认值修改

parent f022fa80
......@@ -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)+"]条");
......
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