/// <summary> /// 生产唯一编号 /// </summary> /// <returns></returns> public static string CreateNumber() { return(Net.MathRandom.RandomDateTime(true, false).ToString2() + RandomCode.GetNumChar(5).ToString2()); }
/// <summary> /// 产生一个新的唯一编号 /// </summary> /// <returns></returns> public static string CreateNewUniqueID() { return(Net.MathRandom.RandomDateTime(true, true).ToString2() + RandomCode.GetNumChar(5).ToString2()); }