From 8e8bf9cd38f62838c76b16802ff17e3ad1d5027b Mon Sep 17 00:00:00 2001 From: cyf Date: Sun, 16 Mar 2025 05:10:33 +0000 Subject: [PATCH] SVN r328 SVN-Revision: r328 --- 插件库/Lskj.PubBill/BillModule.cs | 35 +------------------------------ 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/插件库/Lskj.PubBill/BillModule.cs b/插件库/Lskj.PubBill/BillModule.cs index 15796d1..b5c5a06 100644 --- a/插件库/Lskj.PubBill/BillModule.cs +++ b/插件库/Lskj.PubBill/BillModule.cs @@ -7918,37 +7918,4 @@ namespace Lskj.PubBill /// /// The cond. /// The data row. - /// true if XXXX, false otherwise. - private bool ValidateCond(string cond, DataRow dataRow) - { - bool result = false; - string condition = cond; - try - { - if (string.IsNullOrWhiteSpace(cond)) return true;//如果值是空格或者空行,默认正确 - cond = ReplaceHelper.ReplaceRowParam(dataRow, cond); - if (cond.StartsWith("@") || cond.StartsWith("!")) - { - result = "1".Equals(BaseImpl.GetDefaultValue(cond)); - } - else if (dataRow == null) - { - result = ReplaceHelper.EvalCond(cond); - } - else - { - result = ReplaceHelper.ReplaceRowParamCond(dataRow, cond); - } - return result; - } - catch (Exception ex) - { - - } - return result; - - } - - - } -} \ No newline at end of file + /// true if XXXX, < \ No newline at end of file