@@ -50,6 +50,7 @@ public class IdSequenceUtils {
resultNo = (index + 1) + "";
}
+ //TODO 乐观锁的思想,一旦无法修改成功,返回0,但是20次之后就会出现返回''
int isOk = baseIdsequenceService.updateByVersion(idName, dateStr, sysIdsequence.getIdSequence(), index + 1);
if (isOk > 0) {
return resultNo;