diff --git a/AMESCoreStudio.Web/Controllers/JIGController.cs b/AMESCoreStudio.Web/Controllers/JIGController.cs index ad347fa0..5df08f07 100644 --- a/AMESCoreStudio.Web/Controllers/JIGController.cs +++ b/AMESCoreStudio.Web/Controllers/JIGController.cs @@ -649,9 +649,9 @@ namespace AMESCoreStudio.Web.Controllers } //yiru 2022-09-19 add ==== END - if (msglist.Where(w => w.Contains("error")) == null) + if (msglist.Where(w => w.Contains("error")).Count() == 0) { - var _msg = "添加成功!共" + msglist.Count + "筆設備編號"; + var _msg = string.Join(",", msglist) +"! 共" + msglist.Count() + "筆設備編號"; return RedirectToAction("Refresh", "Home", new { msg = _msg }); } else