jeecg/mysql 生成uuid及细节备份

java 里面生成uuid

String uuid = UUID.randomUUID().toString().replaceAll("-","");

 

mysql 生成uuid

select replace(uuid(),"-","") as uuid;

//新加id字段md5函数生成不重复的uuid update business_checkoutvolumn set id = md5(uuid());

 

posted @ 2019-12-23 09:22  薛柏梁  阅读(1291)  评论(0编辑  收藏  举报