Ver Fonte

修正因为PDA系统版本问题。导致质检记录查询界面的查询条件失效的bug

SunYaLong há 1 ano atrás
pai
commit
5322ca9356

+ 1 - 1
ZrAdminNetCore-net7.0/ZR.Admin.WebApi/Controllers/Inspect/QaInspectRecordController.cs

@@ -60,7 +60,7 @@ namespace ZR.Admin.WebApi.Controllers.Inspect
         {
             bool isPDA = false;
             ClientInfo clientInfo = HttpContext.GetClientInfo();
-            if (clientInfo.OS.ToString().Contains("Android 10"))
+            if (clientInfo.OS.ToString().Contains("Android 10") || clientInfo.OS.ToString().Contains("Android 9"))
             {
                 isPDA = true;
             }