手动获取Mybatis-Plus雪花算法生成的主键ID值

Long ID=IdWorker.getId(entity);

 

posted @ 2021-09-23 10:36  onecyl  阅读(1547)  评论(0编辑  收藏  举报