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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user