|
@@ -259,7 +259,7 @@ namespace Dongke.IBOSS.PRD.WCF.WebHosting
|
|
|
DateTime ndate;
|
|
DateTime ndate;
|
|
|
|
|
|
|
|
//2022年9月23日13:06:25 添加时间限制,10月1号零点10分不再传输原接口产量数据
|
|
//2022年9月23日13:06:25 添加时间限制,10月1号零点10分不再传输原接口产量数据
|
|
|
- DateTime setTime = new DateTime(2022, 10, 1, 0, 10, 0);
|
|
|
|
|
|
|
+ DateTime setTime = Convert.ToDateTime(oracleConn.GetSqlResultToObj("SELECT OLDSYNCTIME FROM TP_SYS_SAPCONFIG"));
|
|
|
|
|
|
|
|
if (dateTimeNow < setTime && !string.IsNullOrWhiteSpace(nextDate) && !string.IsNullOrWhiteSpace(strInterval))
|
|
if (dateTimeNow < setTime && !string.IsNullOrWhiteSpace(nextDate) && !string.IsNullOrWhiteSpace(strInterval))
|
|
|
{
|
|
{
|