1
This commit is contained in:
@@ -10,9 +10,9 @@ namespace BLL
|
||||
/// <summary>
|
||||
/// 根据点口批编号生成委托单号,在流水号前追加日期段。
|
||||
/// </summary>
|
||||
public static string BuildTrustBatchCode(string pointBatchCode, System.DateTime trustDate)
|
||||
public static string BuildTrustBatchCode(string pointBatchCode, System.DateTime trustDate, string typeStr1, string typeStr2)
|
||||
{
|
||||
string trustBatchCode = (pointBatchCode ?? string.Empty).Replace("-DK-", "-WT-");
|
||||
string trustBatchCode = (pointBatchCode ?? string.Empty).Replace("-DK-", "-WT-").Replace(typeStr1, typeStr2);
|
||||
return InsertDateBeforeSerial(trustBatchCode, trustDate);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ namespace BLL
|
||||
newBatchDetail.IsBuildTrust = batchDetail.IsBuildTrust;
|
||||
newBatchDetail.IsWelderFirst = batchDetail.IsWelderFirst;
|
||||
newBatchDetail.IsPipelineFirst = batchDetail.IsPipelineFirst;
|
||||
newBatchDetail.NDT = batchDetail.NDT;
|
||||
newBatchDetail.Remark = batchDetail.Remark;
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user