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);
}
///
/// 直供件 条码
///
///
///
///
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;
}
}
}