整理初始化sql

This commit is contained in:
liulu
2024-11-18 16:47:33 +08:00
parent 493e30b318
commit 1a12f4a7bf
5 changed files with 500 additions and 19 deletions
@@ -58,6 +58,7 @@ public abstract class JnaSdfAdaptor implements SdfApiAdapter {
PointerByReference phSessionHandle = new PointerByReference();
sdfLibrary.SDF_OpenSession(device, phSessionHandle);
Assert.notNull(phSessionHandle.getValue(), "SDF_OpenSession failed");
String key = UUID.randomUUID().toString();
SESSION_HANDLE_CONTEXT.put(key, phSessionHandle.getValue());