From 850e35c8221c64a13ab824f14a4ac721d5cc8cd7 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 25 Sep 2017 00:38:15 +0800 Subject: [PATCH] - --- Src/Asp.Net/OracleTest/UnitTest/ExpressionTest/Method.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/OracleTest/UnitTest/ExpressionTest/Method.cs b/Src/Asp.Net/OracleTest/UnitTest/ExpressionTest/Method.cs index 7fee2e13e..94099629c 100644 --- a/Src/Asp.Net/OracleTest/UnitTest/ExpressionTest/Method.cs +++ b/Src/Asp.Net/OracleTest/UnitTest/ExpressionTest/Method.cs @@ -363,8 +363,10 @@ namespace OrmTest.UnitTest expContext.Resolve(exp, ResolveExpressType.WhereSingle); var value = expContext.Result.GetString(); var pars = expContext.Parameters; - base.Check(value, pars, "((\"DATETIME2\"+0.0416666666666667) = :Const2 )", new List() { - new SugarParameter(":Const2",x2) + base.Check(value, pars, "((:MethodConst0+1.15740740740741E-08) = :Const3 )", new List() { + new SugarParameter(":Const2",x2) , + new SugarParameter(":MethodConst0",x2), + new SugarParameter(":MethodConst1",11) }, "DateAddByType error"); } private void DateAddDay()