SELECT @custom_uuid := CONCAT(UUID_SHORT(),'');
insert into sa_person(
id,user_id,
)
values (
@custom_uuid,@custom_uuid,
)
单表生成相同随机id, 用于两个字段
于 2023-02-14 10:25:39 首次发布
SELECT @custom_uuid := CONCAT(UUID_SHORT(),'');
insert into sa_person(
id,user_id,
)
values (
@custom_uuid,@custom_uuid,
)