From 4fe91437e747789509c9720d244df694dc14a908 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sat, 26 May 2018 22:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ButcherTraceBack/Controllers/CodeViewController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ButcherTraceBack/Controllers/CodeViewController.cs b/ButcherTraceBack/Controllers/CodeViewController.cs index 4776a2d..b5c3316 100644 --- a/ButcherTraceBack/Controllers/CodeViewController.cs +++ b/ButcherTraceBack/Controllers/CodeViewController.cs @@ -23,6 +23,8 @@ namespace ButcherTraceBack.Controllers } else if (info.Code != null && info.Code.Length >= 12) info.Code = info.Code.Substring(info.Code.Length - 6, 6); + if (!string.IsNullOrEmpty(info.TestingNo)) + info.TestingResult = "合格"; return View(info); } }