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.
31 lines
913 B
31 lines
913 B
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);
|
|
}
|
|
/// <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;
|
|
}
|
|
}
|
|
}
|
|
|