Update oracle hasvalue

This commit is contained in:
sunkaixuan
2022-03-30 10:54:04 +08:00
parent ed60b3cade
commit ccf9871887

View File

@@ -57,6 +57,11 @@ namespace SqlSugar
}
public partial class OracleMethod : DefaultDbMethod, IDbMethods
{
public override string HasValue(MethodCallExpressionModel model)
{
var parameter = model.Args[0];
return string.Format("( {0} IS NOT NULL ) ", parameter.MemberName);
}
public override string DateDiff(MethodCallExpressionModel model)
{