1 2 3 4 5 6 7 8 9 10 11 12 13 14
package com.lyms.etl.util;import java.util.UUID;/** * @Author: litao * @Date: 2017/5/4 0004 15:41 * @Version: V1.0 */public class UUIDUtil { public static String createId() { return UUID.randomUUID().toString().replace("-", "").toUpperCase(); }}