This commit is contained in:
2026-08-12 20:18:47 +08:00
parent e418b60fdb
commit 0ba761bc7a
12 changed files with 1135 additions and 167 deletions
@@ -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);
}