一厂MES,含注塑,喷涂,冲孔
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

2 months ago
using MESClassLibrary.DAL.Injection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MESClassLibrary.BLL.Injection
{
public class UniqueBll
{
UniqueDal da = new UniqueDal();
public string GetSjBarCodeSerialNo(string stockNo, string batch)
{
return da.GetSjBarCodeSerialNo(stockNo,batch);
}
public string GetPackageCodeSerialNo(string partNo, string batch, string packageSize)
{
return da.GetPackageSerialNo(partNo, batch, packageSize);
}
2 months ago
/// <summary>
/// 直供件 条码
/// </summary>
/// <param name="partNo"></param>
/// <param name="batch"></param>
/// <returns></returns>
public string GetSupplySerialNo(string partNo,string QLevel, string batch)
{
string s = da. GetBillNo(partNo + QLevel + batch, 3);
//A2478852600#Q02#240826#001#
string newcode = partNo + "#" + QLevel + "#" + batch + "#" + s + "#";
return newcode;
}
}
}