|
@@ -17,6 +17,7 @@ using System.Text;
|
|
|
using Dongke.IBOSS.PRD.Basics.BaseResources;
|
|
using Dongke.IBOSS.PRD.Basics.BaseResources;
|
|
|
using Dongke.IBOSS.PRD.Basics.DataAccess;
|
|
using Dongke.IBOSS.PRD.Basics.DataAccess;
|
|
|
using Dongke.IBOSS.PRD.Basics.Library;
|
|
using Dongke.IBOSS.PRD.Basics.Library;
|
|
|
|
|
+using Dongke.IBOSS.PRD.Service.CMNModuleService;
|
|
|
using Dongke.IBOSS.PRD.Service.DataModels;
|
|
using Dongke.IBOSS.PRD.Service.DataModels;
|
|
|
using Dongke.IBOSS.PRD.WCF.DataModels;
|
|
using Dongke.IBOSS.PRD.WCF.DataModels;
|
|
|
using Oracle.ManagedDataAccess.Client;
|
|
using Oracle.ManagedDataAccess.Client;
|
|
@@ -10067,9 +10068,18 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
try
|
|
try
|
|
|
{
|
|
{
|
|
|
oracleTrConn.Connect();
|
|
oracleTrConn.Connect();
|
|
|
|
|
+
|
|
|
|
|
+ #region 校验接口是否重复调用
|
|
|
|
|
+ if (productionDataEntitys.Length > 0 && CMNModuleLogic.CheckDataDouble(productionDataEntitys[0].DataKey, sUserInfo))
|
|
|
|
|
+ {
|
|
|
|
|
+ return string.Format(Messages.MSG_HR_W006, "成检", "保存");
|
|
|
|
|
+ }
|
|
|
|
|
+ #endregion
|
|
|
|
|
+
|
|
|
#region 查询工序信息
|
|
#region 查询工序信息
|
|
|
ProcedureEntity procedure = GetProcedurByID(oracleTrConn, procedureID);
|
|
ProcedureEntity procedure = GetProcedurByID(oracleTrConn, procedureID);
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
+
|
|
|
#region 标准检验(半成品)
|
|
#region 标准检验(半成品)
|
|
|
if (procedure.ModelType == (int)Constant.ProcedureModelType.Normal)
|
|
if (procedure.ModelType == (int)Constant.ProcedureModelType.Normal)
|
|
|
{
|
|
{
|