فهرست منبع

装具接口调整

林勇 冯 3 سال پیش
والد
کامیت
4cbc7c3bc4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      DK.Service/PDAModuleLogic/PDAModuleLogicEntrucking.cs

+ 1 - 1
DK.Service/PDAModuleLogic/PDAModuleLogicEntrucking.cs

@@ -182,7 +182,7 @@ namespace Dongke.IBOSS.PRD.Service.PDAModuleLogic
 								TPED.BARCODE = '{barCode}'
 								ORDER BY TPED.CREATETIME DESC";
 						dt = conn.GetSqlResultToDt(sqlStr);
-						if (dt.Rows.Count > 0 && (dt.Rows[0]["dt.Rows"].Equals("1") || dt.Rows[0]["dt.Rows"].Equals("3")))
+						if (dt.Rows.Count > 0 && (dt.Rows[0]["DOFUNCTION"].Equals("1") || dt.Rows[0]["DOFUNCTION"].Equals("3")))
 						{
 							sre.Status = Constant.ServiceResultStatus.Other;
 							sre.Message = "产品" + barCode + "已在装具" + dt.Rows[0]["EntruckingCode"] + "上"; ;