Files
ww-jst/wmsjst/JSMachine.WMS.Infrastructure/Helper/SerialNumHelper.cs
T
2026-09-02 16:31:50 +08:00

21 lines
490 B
C#

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]");
}
}
}