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

Long ID=IdWorker.getId(entity);

 

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