mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
Update Oracle Sqlfunc.GetDate bug
This commit is contained in:
@@ -41,6 +41,15 @@ namespace SqlSugar
|
||||
{
|
||||
return base.GetDbColumnName(entityName,propertyName).ToUpper();
|
||||
}
|
||||
public override bool IsTranslationText(string name)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(name) && name.ToLower() == "sysdate")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
var result = name.IsContainsIn(SqlTranslationLeft, SqlTranslationRight, UtilConstants.Space, ExpressionConst.LeftParenthesis, ExpressionConst.RightParenthesis);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
public partial class OracleMethod : DefaultDbMethod, IDbMethods
|
||||
{
|
||||
|
Reference in New Issue
Block a user