|
|
@ -126,6 +126,15 @@ namespace ICSSoft.FromERP |
|
|
|
log.Warn(name + "-内存占用:" + memoryUsed); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// BS MES
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="Namespace"></param>
|
|
|
|
/// <param name="ClassName"></param>
|
|
|
|
/// <param name="TenantId"></param>
|
|
|
|
/// <param name="sql"></param>
|
|
|
|
/// <param name="TempTableName"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static string Time(string Namespace, string ClassName, string TenantId, string sql, string TempTableName) |
|
|
|
{ |
|
|
|
try |
|
|
@ -157,6 +166,15 @@ WHERE Namespace='{0}' AND ClassName='{1}' AND TenantId='{2}' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// CS MES
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="Namespace"></param>
|
|
|
|
/// <param name="Class"></param>
|
|
|
|
/// <param name="WorkPoint"></param>
|
|
|
|
/// <param name="sql"></param>
|
|
|
|
/// <param name="TempTableName"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static string Time4Old(string Namespace, string Class, string WorkPoint, string sql, string TempTableName) |
|
|
|
{ |
|
|
|
try |
|
|
@ -399,6 +417,11 @@ WHERE Namespace='{0}' AND ClassName='{1}' AND TenantId='{2}' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// BS MES
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="conStr"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static DataTable GetERPDB(string conStr) |
|
|
|
{ |
|
|
|
try |
|
|
@ -413,6 +436,11 @@ WHERE Namespace='{0}' AND ClassName='{1}' AND TenantId='{2}' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// CS MES
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="conStr"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
public static DataTable GetOldERPDB(string conStr) |
|
|
|
{ |
|
|
|
try |
|
|
|