ソースを参照

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

Lyyyi 1 日 前
コミット
ff71838b96
共有1 個のファイルを変更した5 個の追加1 個の削除を含む
  1. 5 1
      OASystem/OASystem.Infrastructure/Repositories/Groups/VisaProcessRepository.cs

+ 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);
                         }
                     }