fix: 修复自增主键并发线程问题

This commit is contained in:
lhc
2026-03-06 14:56:59 +08:00
parent c100274562
commit 7eed24c829

View File

@@ -196,7 +196,7 @@
BEGIN
result := sp_getapplock('${tableName}_seq', 'Exclusive', 'Session', 10);
IF result < 0 THEN
IF result &lt; 0 THEN
RAISE_APPLICATION_ERROR(-20001, '获取锁失败');
END IF;
END;