WebAPI/Controllers/WebAPIController.cs
@@ -1059,7 +1059,7 @@ } //查询数据中是否存在重复代码 ds = oCN.RunProcReturn("select * from Gy_BadReason where 禁用标记='' and HNumber='" + oItem.HNumber.Trim()+"'", "Gy_BadReason"); ds = oCN.RunProcReturn("select * from Gy_BadReason where HStopflag=0 and HNumber='" + oItem.HNumber.Trim()+"'", "Gy_BadReason"); if ( oItem.HNumber.Trim()=="" ) { objJsonResult.code = "0";