Browse Source

条件匹配调整

lcl 3 months ago
parent
commit
063dc38426
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Util/PrizeDo.cs

+ 8 - 0
Util/PrizeDo.cs

@@ -1150,6 +1150,10 @@ namespace Util
                                             DataTable dt = new();
                                             checkObj = dt.Compute(expresssion, "false").ToString();
                                         }
+                                        else if(returnFieldId.StartsWith("val"))
+                                        {
+                                            checkObj = returnFieldId.Replace("val{", "").Replace("}", "");
+                                        }
                                         else
                                         {
                                             checkObj = GetQueryTableData(condiDic, returnFieldId);
@@ -1546,6 +1550,10 @@ namespace Util
                         DataTable dt = new();
                         checkObj = dt.Compute(expresssion, "false").ToString();
                     }
+                    else if(returnFieldId.StartsWith("val"))
+                    {
+                        checkObj = returnFieldId.Replace("val{", "").Replace("}", "");
+                    }
                     else
                     {
                         checkObj = GetQueryTableData(condiDic, returnFieldId);