可通过PACK码查询 产品静置记录 进行静置上线
This commit is contained in:
@@ -45,17 +45,12 @@ namespace MesServerFunctions
|
||||
return;
|
||||
}
|
||||
|
||||
// PLC 可能只给产品码和机型代码,补查数据库中的产品型号。
|
||||
string dbEngineType;
|
||||
int dbEngineTypeID;
|
||||
MisDataFun.Moby_Select_PDC(engineID, out orderForm, out dbEngineType, out dbEngineTypeID);
|
||||
if (dbEngineTypeID > 0)
|
||||
// PLC 当前产品区已是最终 PACK 码,只补查订单和产品型号。
|
||||
MisDataFun.Moby_Select_PDC(engineID, out orderForm, out engineType, out engineTypeID);
|
||||
if (engineTypeID <= 0)
|
||||
{
|
||||
engineTypeID = dbEngineTypeID;
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(dbEngineType))
|
||||
{
|
||||
engineType = dbEngineType;
|
||||
WriteManualStaticBSaveError(opName, "未查询到产品执行信息:" + engineID);
|
||||
return;
|
||||
}
|
||||
|
||||
string message;
|
||||
|
||||
Reference in New Issue
Block a user