取消逻辑调整 原材料看板调整
This commit is contained in:
@@ -2259,7 +2259,7 @@ where carry_code = '{coderesult}' and status = '{WmsWareHouseConst.TASK_BILL_STA
|
||||
Console.WriteLine($"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")} 开始执行四楼灭菌仓到成品库");
|
||||
LoggerTimer.LogInformation($"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")} 开始执行四楼灭菌仓到成品库");
|
||||
|
||||
var time = db_Floor4DMC2CPK.Queryable<BasFactoryConfig>().Where(p => p.key == "mjcstewingtime").FirstAsync().Result.value;
|
||||
var time = await db_Floor4DMC2CPK.Queryable<BasFactoryConfig>().Where(p => p.key == "mjcstewingtime").FirstAsync();
|
||||
|
||||
if (time == null)
|
||||
{
|
||||
@@ -2268,7 +2268,7 @@ where carry_code = '{coderesult}' and status = '{WmsWareHouseConst.TASK_BILL_STA
|
||||
}
|
||||
int hours = 168;
|
||||
|
||||
if (!int.TryParse(time, out hours))
|
||||
if (!int.TryParse(time.value, out hours))
|
||||
{
|
||||
LoggerFloor4DMC2CPK.LogWarning($"【四楼灭菌仓到成品库】 静置时间(小时) 配置有误,错误值为 {time}");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user