Просмотр исходного кода

修正接口子节点变更商标釉料属性

xuwei 6 лет назад
Родитель
Сommit
0340fe24b8
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      WCF.Service/WCF.Services/PDAModuleService.cs

+ 5 - 1
WCF.Service/WCF.Services/PDAModuleService.cs

@@ -334,7 +334,7 @@ namespace Dongke.IBOSS.PRD.WCF.Services
 					PDAFunctionResult pdaFunctionChild = new PDAFunctionResult();
 
 					//xuwei add 2020-01-02
-					pdaFunctionChild.IsGlazeChange = string.IsNullOrEmpty(newRow["ProcedureID"].ToString()) ? 0 : Convert.ToInt32(newRow["IsGlazeChange"].ToString());
+					pdaFunctionChild.IsGlazeChange = string.IsNullOrEmpty(newRow["IsGlazeChange"].ToString()) ? 0 : Convert.ToInt32(newRow["IsGlazeChange"].ToString());
 
 					pdaFunctionChild.MenuCode = newRow["MenuCode"].ToString();
 					pdaFunctionChild.MenuName = newRow["MenuName"].ToString();
@@ -390,6 +390,10 @@ namespace Dongke.IBOSS.PRD.WCF.Services
 					intModelType = Convert.ToInt32(newRow["ModelType"]);
 				}
 				PDAFunctionResult pdaFunctionChild = new PDAFunctionResult();
+
+				//xuwei add 2020-01-02
+				pdaFunctionChild.IsGlazeChange = string.IsNullOrEmpty(newRow["IsGlazeChange"].ToString()) ? 0 : Convert.ToInt32(newRow["IsGlazeChange"].ToString());
+
 				pdaFunctionChild.MenuCode = newRow["MenuCode"].ToString();
 				pdaFunctionChild.MenuName = newRow["MenuName"].ToString();
 				pdaFunctionChild.ProcedureID = intProcedureID;