first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using BeetleX.BNR;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JSMachine.WMS.Infrastructure.Helper
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列号生成帮助类
|
||||
/// </summary>
|
||||
public static class SerialNumHelper
|
||||
{
|
||||
public async static Task<string> GenerateSerialNum()
|
||||
{
|
||||
return await BNRFactory.Default.Create("[CN:WH][D:yyyyMMdd][N:[D:yyyyMMdd]/000000]");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user