WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -747,6 +747,19 @@ objJsonResult.data = null; return objJsonResult; } //判断唯一ID是否为空 foreach (DataRow item in ds1.Tables[0].Rows) { if (item["HWYID"].ToString() == null || item["HWYID"].ToString() == "" || item["HWYID"].ToString() == "undefined") { objJsonResult.code = "0"; objJsonResult.count = 0; objJsonResult.Message = "唯一ID为空,请重新手动入库或联系管理员!"; objJsonResult.data = null; return objJsonResult; } } } }