Commit e2a6d393 authored by Quxl's avatar Quxl

x

parent f7ae1e7a
...@@ -75,6 +75,11 @@ public class CommonService { ...@@ -75,6 +75,11 @@ public class CommonService {
if(count == 1) { if(count == 1) {
return value; return value;
} else if(count == 0) { } else if(count == 0) {
try {
Thread.sleep(1000L);
} catch (Throwable e) {
e.printStackTrace();
}
return this.getNextval(sName); return this.getNextval(sName);
} else { } else {
throw new XRException(MessageFormat.format("序列错误[{0}]", sName)); throw new XRException(MessageFormat.format("序列错误[{0}]", sName));
......
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