Pārlūkot izejas kodu

签证流程步骤 -> Step7 值查询BUG处理;

Lyyyi 1 dienu atpakaļ
vecāks
revīzija
ff71838b96

+ 5 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/VisaProcessRepository.cs

@@ -192,7 +192,11 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
                         if (listVal != null && listVal.Count > 0)
                         {
-                            contnet.IsSelected = bool.TryParse(CommonFun.GetValueOrDefault(listVal,0), out _);
+                            if (bool.TryParse(CommonFun.GetValueOrDefault(listVal, 0), out bool val))
+                            {
+                                contnet.IsSelected = val;
+                            }
+
                             contnet.ProjectedDate = CommonFun.GetValueOrDefault(listVal, 1);
                         }
                     }