- All Implemented Interfaces:
IdService
ID服务接口的实现类,负责将生成的ID存储到数据库中。
该类使用MyBatis-Flex框架实现数据库操作。
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IdServiceImpl
public IdServiceImpl()
-
Method Details
-
insert
将生成的ID插入到指定的表中。
使用DbChain构建器实现动态表名的数据插入。
- Specified by:
insert in interface IdService
- Parameters:
table - 目标表名
id - 要插入的ID值